/* Tata letak: sidebar navy tetap di kiri, ruang kerja terang di kanan; kartu putih dengan aksen emas tipis pada panel utama. */
:root {
  --bg: #eff4f5; --surface: #ffffff; --surface-2: #f5f8f9; --line: #dfe7ea;
  --ink: #10242f; --muted: #566b76; --faint: #8497a1;
  --navy: #0f2c47; --navy-deep: #0b2036; --navy-line: #1c3d5b; --navy-ink: #dbe7ef; --navy-muted: #8fa9bc;
  --stat: #12385a;
  --teal: #0f766e; --teal-ink: #0b5f58; --teal-soft: #d6ebe7; --teal-bar: #cfe6e1; --on-teal: #ffffff;
  --gold: #d9a441; --gold-soft: #fbf2da; --gold-ink: #7a5410;
  --ok: #15803d; --ok-soft: #dcf3e3; --warn: #a15c07; --warn-soft: #fdf0d5; --crit: #b42318; --crit-soft: #fde4e1;
  --info: #3b5bdb; --info-soft: #e5eaff;
  --shadow: 0 1px 2px rgba(16,36,47,.05), 0 6px 18px -10px rgba(16,36,47,.14);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --r: 12px;
  --logo: url('logo.png');
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1822; --surface: #102330; --surface-2: #142b3a; --line: #1f3a4a;
    --ink: #e5eef2; --muted: #98aeb9; --faint: #6d8896;
    --navy: #081b2b; --navy-deep: #06141f; --navy-line: #16344a;
    --stat: #15405f;
    --teal: #2bb3a3; --teal-ink: #4fd1c1; --teal-soft: #123f3d; --teal-bar: #1b4a4c; --on-teal: #04211f;
    --gold: #e0b052; --gold-soft: #3a2f14; --gold-ink: #f0cd85;
    --ok: #4ade80; --ok-soft: #12361f; --warn: #f0b24a; --warn-soft: #3a2c10; --crit: #ff8a7e; --crit-soft: #3d1a17;
    --info: #8fa4ff; --info-soft: #1a2350;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px -10px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1822; --surface: #102330; --surface-2: #142b3a; --line: #1f3a4a;
  --ink: #e5eef2; --muted: #98aeb9; --faint: #6d8896;
  --navy: #081b2b; --navy-deep: #06141f; --navy-line: #16344a;
  --stat: #15405f;
  --teal: #2bb3a3; --teal-ink: #4fd1c1; --teal-soft: #123f3d; --teal-bar: #1b4a4c; --on-teal: #04211f;
  --gold: #e0b052; --gold-soft: #3a2f14; --gold-ink: #f0cd85;
  --ok: #4ade80; --ok-soft: #12361f; --warn: #f0b24a; --warn-soft: #3a2c10; --crit: #ff8a7e; --crit-soft: #3d1a17;
  --info: #8fa4ff; --info-soft: #1a2350;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px -10px rgba(0,0,0,.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.sm { width: 15px; height: 15px; }
.logo { background: var(--logo) center / contain no-repeat; flex: none; border-radius: 50%; }

/* ===== Kerangka ===== */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--navy); color: var(--navy-ink); display: flex; flex-direction: column; z-index: 40; }
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 16px 16px; }
.brand .logo { width: 44px; height: 44px; }
.brand b { display: block; font-size: 15px; line-height: 1.2; color: #fff; }
.brand b em { font-style: normal; color: var(--gold); }
.brand small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--navy-muted); }
.nav { flex: 1; overflow-y: auto; padding: 4px 10px 12px; border-top: 1px solid var(--navy-line); scrollbar-width: thin; scrollbar-color: var(--navy-line) transparent; }
.nav h6 { margin: 18px 8px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: var(--navy-ink); text-decoration: none; font-size: 13.5px; font-weight: 500; border: 1px solid transparent; }
.nav a:hover { background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { background: rgba(43,179,163,.16); border-color: rgba(43,179,163,.5); color: #fff; font-weight: 600; }
.nav a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: auto; }
.nav a .i { opacity: .85; }
.side-foot { padding: 12px; border-top: 1px solid var(--navy-line); display: grid; gap: 10px; }
.prodi { display: flex; gap: 10px; align-items: center; }
.prodi .ico { width: 36px; height: 36px; border-radius: 9px; background: rgba(217,164,65,.18); color: var(--gold); display: grid; place-items: center; }
.prodi b { display: block; font-size: 12.5px; line-height: 1.25; color: #fff; }
.prodi small { font-size: 11px; color: var(--navy-muted); }
.soc { display: flex; gap: 8px; }
.soc a, .soc button { flex: 1; text-decoration: none; cursor: pointer; height: 34px; border: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.soc > :nth-child(1) { background: #2a4f86; } .soc > :nth-child(2) { background: #7a2c62; }
.soc > :nth-child(3) { background: #1d6b4a; } .soc > :nth-child(4) { background: #7a5416; }
.cur-card { margin: 14px 4px 4px; padding: 14px; border: 1px solid var(--navy-line); border-radius: 12px; background: rgba(255,255,255,.03); }
.cur-card small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-muted); }
.cur-card b { display: block; margin: 6px 0 4px; font: 700 20px/1.2 var(--font-display); color: #fff; }
.cur-card span { font-size: 11.5px; color: var(--navy-muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .crumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; min-width: 0; }
.top .crumb b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.top .sp { flex: 1; }
.pill { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.role { background: var(--teal-soft); color: var(--teal-ink); border-color: transparent; border-radius: 99px; padding: 0 16px; }
button.pill:hover { border-color: var(--teal); }
.linkbtn { background: none; border: 0; padding: 4px; font-weight: 700; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.iconbtn { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; display: grid; place-items: center; color: var(--ink); }
.iconbtn:hover { border-color: var(--teal); }
#menuBtn { display: none; }
.page { padding: 26px 28px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1440px; width: 100%; margin: 0 auto; align-content: start; }
.foot { padding: 6px 28px 30px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 1440px; width: 100%; margin: 0 auto; }
.foot .pill { font-weight: 500; }
.foot small { margin-left: auto; color: var(--faint); font-size: 11.5px; }

/* ===== Elemen umum ===== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 20px 22px; }
.card.gold { border-left: 3px solid var(--gold); }
.card h3 { font-size: 15.5px; font-weight: 700; }
.card .sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.eyebrow.gold { color: var(--gold-ink); }
.heading { padding: 4px 0 4px 16px; border-left: 3px solid var(--gold); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.heading h1 { font: 700 34px/1.15 var(--font-display); letter-spacing: -.01em; margin: 6px 0 8px; text-wrap: balance; }
.heading p { color: var(--muted); max-width: 70ch; }
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }
.btn:hover { border-color: var(--teal); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn.danger { color: var(--crit); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--teal-soft); color: var(--teal-ink); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.crit { background: var(--crit-soft); color: var(--crit); } .chip.info { background: var(--info-soft); color: var(--info); }
.chip.mute { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag { font: 700 11px/1 var(--font-body); padding: 5px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.g2e { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.empty .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--info-soft); color: var(--info); display: grid; place-items: center; }
.empty b { color: var(--ink); font-size: 15px; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.note.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.note.good { background: var(--ok-soft); border-color: transparent; color: var(--ok); }

/* ===== Hero ===== */
.hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; flex-wrap: wrap; }
.hero .logo { width: 56px; height: 56px; }
.hero .t { display: flex; align-items: center; gap: 14px; }
.hero .t small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #8a2f38; text-transform: uppercase; }
:root[data-theme="dark"] .hero .t small { color: #e59aa3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero .t small { color: #e59aa3; } }
.hero .t b { display: block; font-size: 15.5px; margin: 2px 0; }
.hero .t span { font-size: 12.5px; color: var(--muted); }
.seal { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 10px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.seal svg { width: 46px; height: 46px; }
.seal small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.seal b { font: 700 20px/1.1 var(--font-display); color: var(--gold-ink); }
.seal span { display: block; font-size: 11px; color: var(--gold-ink); opacity: .85; }
.seal a { font-size: 11.5px; font-weight: 700; color: var(--gold-ink); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; background: none; border: 0; padding: 0; }

/* ===== Periode ===== */
.period { padding: 18px 22px; }
.period .head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.period .head b { font-size: 14.5px; }
.period .head .chip { margin-left: auto; }
.fields { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr; gap: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea, .sel { width: 100%; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: var(--surface); }
.field .hint { margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.hintline { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

/* ===== Statistik ===== */
.stat { padding: 20px 22px; display: grid; gap: 4px; align-content: start; }
.stat .lab { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.stat .big { font: 800 40px/1.1 var(--font-body); letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .big small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.stat .meta { font-size: 12px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.stat .meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.stat.dark { background: var(--stat); border-color: transparent; color: #fff; border-top: 3px solid var(--gold); }
.stat.dark .lab, .stat.dark .big small, .stat.dark .meta { color: rgba(255,255,255,.78); }
.stat.dark .lab { color: #fff; }
.stat.dark .lab svg { color: var(--gold); }

/* ===== Bagan beban studi ===== */
.bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; height: 230px; padding: 8px 22px 0; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; background: none; border: 0; padding: 0; color: var(--muted); min-width: 0; }
.bar .colbox { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bar .col { width: 100%; max-width: 44px; border-radius: 4px 4px 0 0; background: var(--teal-bar); display: flex; justify-content: center; padding-top: 8px; font-weight: 800; font-size: 13px; color: var(--teal-ink); transition: background .15s; font-variant-numeric: tabular-nums; }
.bar:hover .col { background: color-mix(in srgb, var(--teal) 40%, var(--teal-bar)); }
.bar.on .col { background: var(--teal); color: var(--on-teal); }
.bar b { font-size: 12px; color: var(--ink); } .bar small { font-size: 10.5px; color: var(--faint); }
.cardfoot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; gap: 8px; }
.legend i { display: inline-block; width: 8px; height: 8px; background: var(--teal); margin-right: 6px; }

.meter { height: 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--teal); border-radius: 99px; min-width: 0; transition: width .25s; }
.big2 { font: 800 44px/1 var(--font-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ===== Cakupan CPL ===== */
.cpl-row { display: grid; grid-template-columns: 62px minmax(120px, 1fr) minmax(80px, 180px) 52px; gap: 14px; align-items: center; padding: 6px 0; }
.cpl-row .nm { font-size: 13.5px; }
.cpl-row .n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; } .cpl-row .n small { font-weight: 500; color: var(--faint); font-size: 10.5px; }
.todo { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.todo:first-of-type { border-top: 0; }
.todo .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.todo b { display: block; font-size: 13.5px; } .todo p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.todo a, .todo button.lk { display: inline-flex; gap: 5px; align-items: center; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--teal-ink); text-decoration: none; background: none; border: 0; padding: 0; }
.todo .ic.gold { background: var(--gold-soft); color: var(--gold-ink); } .todo .ic.info { background: var(--info-soft); color: var(--info); } .todo .ic.ok { background: var(--ok-soft); color: var(--ok); }

/* ===== Tabel ===== */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--teal-soft) 35%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search { flex: 1; min-width: 200px; position: relative; }
.search svg { position: absolute; left: 12px; top: 11px; color: var(--faint); }
.search input { width: 100%; height: 40px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.toolbar select { height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); }
.semhead td { background: var(--surface-2); font-weight: 700; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.acts { display: flex; gap: 6px; justify-content: flex-end; }
.tdsel { height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); max-width: 220px; width: 100%; }

/* ===== Matriks CPL ===== */
.matrix { border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); padding: 0; }
.matrix th.cpl { text-align: center; min-width: 54px; padding: 8px 4px; }
.matrix td.mk { padding: 8px 12px; min-width: 260px; position: sticky; left: 0; background: var(--surface); z-index: 1; border-right: 1px solid var(--line); }
.matrix th.mk { position: sticky; left: 0; z-index: 2; border-right: 1px solid var(--line); }
.matrix td.c { text-align: center; }
.cell { width: 100%; height: 36px; border: 0; background: none; display: grid; place-items: center; color: transparent; }
.cell:hover { background: var(--teal-soft); }
.cell.on { color: var(--teal-ink); background: color-mix(in srgb, var(--teal-soft) 70%, transparent); }
.cell.on svg { stroke-width: 3; }
.matrix tr.sem td { background: var(--surface-2); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; color: var(--muted); padding: 7px 12px; position: static; }
.matrix tfoot td { font-weight: 800; padding: 10px 4px; text-align: center; background: var(--surface-2); }
.matrix tfoot td:first-child { text-align: left; padding-left: 12px; position: sticky; left: 0; }
.cpl-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 12.5px; }
.cpl-legend div { display: flex; gap: 10px; align-items: center; }

/* ===== Asesmen ===== */
.split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.mklist { display: grid; padding: 8px; max-height: 560px; overflow-y: auto; }
.mklist button { text-align: left; background: none; border: 1px solid transparent; border-radius: 9px; padding: 10px 12px; display: grid; gap: 3px; }
.mklist button:hover { background: var(--surface-2); }
.mklist button[aria-pressed="true"] { background: var(--teal-soft); border-color: color-mix(in srgb, var(--teal) 50%, transparent); }
.mklist b { font-size: 13px; } .mklist small { color: var(--muted); font-size: 11.5px; }
.score { width: 64px; height: 32px; text-align: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-variant-numeric: tabular-nums; }
.score:focus { outline: 2px solid var(--teal); }
.score.bad { border-color: var(--crit); }
.bobot { width: 72px; height: 32px; text-align: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }

/* ===== CQI ===== */
.cycle { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--teal-soft) 55%, var(--surface))); }
.cycle::after { content: ''; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 10%, transparent); }
.cycle > * { position: relative; z-index: 1; }
.cycle h2 { font: 700 26px/1.2 var(--font-display); margin: 8px 0; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.flow b { color: var(--teal-ink); }
.mini { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.mini .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; }
.mini .v { font: 800 24px/1 var(--font-body); }
.mini small { color: var(--muted); font-size: 12.5px; }
.check { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 11px; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.check.ok { background: var(--ok-soft); border-color: transparent; }
.check .l { display: flex; gap: 12px; align-items: center; min-width: 0; }
.check b { display: block; font-size: 14px; } .check small { color: var(--muted); font-size: 12px; }
.check .ic { color: var(--warn); } .check.ok .ic { color: var(--ok); }
.fnd { display: grid; gap: 4px; padding: 14px 18px; border-top: 1px solid var(--line); cursor: pointer; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; width: 100%; }
.fnd:hover { background: var(--surface-2); }
.fnd .t { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fnd small { color: var(--muted); font-size: 12px; }

/* ===== Audit & lain ===== */
.checklist { display: grid; }
.ck { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: center; padding: 13px 20px; border-top: 1px solid var(--line); }
.ck:first-child { border-top: 0; }
.ck .d { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.ck .d.ok { background: var(--ok-soft); color: var(--ok); } .ck .d.warn { background: var(--warn-soft); color: var(--warn); } .ck .d.crit { background: var(--crit-soft); color: var(--crit); }
.ck b { font-size: 13.5px; } .ck small { display: block; color: var(--muted); font-size: 12px; }
.prose { max-width: 72ch; color: var(--ink); line-height: 1.7; white-space: pre-wrap; }
.prose.dim { color: var(--faint); font-style: italic; }
.acuan { display: grid; gap: 12px; }
.acuan > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.acuan b { display: block; font-size: 13.5px; } .acuan span { font-size: 12.5px; color: var(--muted); }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; width: fit-content; }
.tabs button { height: 32px; padding: 0 14px; border: 0; background: none; border-radius: 7px; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); background: var(--surface-2); }
.drop.over { border-color: var(--teal); background: var(--teal-soft); }

/* ===== Modal & toast ===== */
.ov { position: fixed; inset: 0; z-index: 90; background: rgba(6,20,31,.55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.modal.wide { width: min(860px, 100%); }
.modal header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 24px 6px; }
.modal header h3 { font: 700 21px/1.25 var(--font-display); }
.modal .body { padding: 10px 24px 6px; display: grid; gap: 14px; }
.modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 20px; flex-wrap: wrap; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
dl.gl { display: grid; gap: 12px; margin: 0; }
dl.gl dt { font-weight: 700; } dl.gl dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
pre.rep { white-space: pre-wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 12.5px/1.6 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; max-height: 320px; overflow: auto; margin: 0; }

/* ===== Layar masuk ===== */
.lock { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--teal) 22%, transparent), transparent), var(--navy-deep); color: #fff; }
.lock .box { width: min(420px, 100%); text-align: center; display: grid; gap: 14px; justify-items: center; }
.lock .logo { width: 112px; height: 112px; box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); }
.lock h1 { font: 700 30px/1.2 var(--font-display); }
.lock p { color: var(--navy-muted); max-width: 36ch; }
.lock .btn { height: 44px; padding: 0 28px; margin-top: 6px; }

/* ===== Responsif ===== */
.scrim { display: none; }
@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; width: 276px; transform: translateX(-102%); transition: transform .22s; }
  body.navopen .side { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.5); }
  body.navopen .scrim { display: block; position: fixed; inset: 0; background: rgba(6,20,31,.5); z-index: 35; }
  #menuBtn { display: grid; }
  .g2, .split { grid-template-columns: minmax(0, 1fr); }
  .top, .page, .foot { padding-left: 16px; padding-right: 16px; }
  .top .opt { display: none; }
}
@media (max-width: 640px) {
  .g4, .g2e, .g3, .fields, .f2 { grid-template-columns: minmax(0, 1fr); }
  .heading h1 { font-size: 27px; }
  .cpl-row { grid-template-columns: 58px minmax(0, 1fr) 46px; } .cpl-row .meter { display: none; }
  .bars { gap: 6px; } .stat .big { font-size: 34px; }
  .foot small { margin-left: 0; width: 100%; }
  .card.pad, .period { padding: 16px; }
  .top .role { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Tambahan versi cPanel ===== */
.btn.block { width: 100%; height: 44px; }
.login-card { width: 100%; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 22px; display: grid; gap: 14px; text-align: left; box-shadow: 0 20px 50px -20px rgba(0,0,0,.55); margin-top: 6px; }
.login-card .field input { height: 44px; }
.pw { position: relative; }
.pw input { padding-right: 98px; }
.pwbtn { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--surface); color: var(--teal-ink); font-weight: 700; font-size: 12px; }
.pwbtn:hover { background: var(--teal-soft); }
.lock-foot { color: var(--navy-muted); font-size: 12.5px; }
.savestate { font-size: 12px; font-weight: 600; color: var(--muted); min-width: 74px; text-align: right; }
.savestate.err { color: var(--crit); }
input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
.cell:disabled { cursor: default; }
.cell:disabled:hover { background: none; }
.cell.on:disabled:hover { background: color-mix(in srgb, var(--teal-soft) 70%, transparent); }
.who { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.who b { font-size: 12.5px; } .who small { font-size: 11px; color: var(--muted); }
button.pill.role { cursor: pointer; }
.kvlist { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 13px; margin: 0; }
.kvlist dt { color: var(--muted); } .kvlist dd { margin: 0; font-weight: 600; word-break: break-word; }
.section-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin: 6px 0 -2px; }
.log td { font-size: 12.5px; }
.seal.empty { background: var(--surface-2); border: 1px dashed var(--line); }
.seal.empty small, .seal.empty span { color: var(--muted); }
@media print {
  .side, .top, .foot, .scrim, .toast, #ov, .btn, .toolbar, .iconbtn { display: none !important; }
  .app { display: block; } body { background: #fff; } .card { box-shadow: none; break-inside: avoid; }
  .page { padding: 0; max-width: none; }
}
@media (max-width: 640px) { .kvlist { grid-template-columns: 1fr; } .who { display: none; } }
.f3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .f3 { grid-template-columns: minmax(0, 1fr); } }
h4.sec { margin: 18px 0 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
h4.sec:first-child { margin-top: 0; }
.flinks a { color: var(--teal-ink); font-weight: 600; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.flinks a:hover { text-decoration: underline; }
