/* ===================================================================
   QC Air Galon — Design System v2 "Deep Ocean"
   Tema: air premium. Gradasi laut dalam, kartu lembut, angka tabular.
   =================================================================== */

:root {
  --bg:        #edf3f7;
  --bg-top:    #e2edf3;
  --surface:   #ffffff;
  --ink:       #0c2531;
  --muted:     #5b7682;
  --line:      #dde7ec;
  --brand:     #0e7490;
  --brand-dk:  #0b5a70;
  --brand-lt:  #22b8d4;
  --aqua:      #e6f4f8;
  --grad:      linear-gradient(135deg, #062a35 0%, #0b5a70 45%, #0e7490 75%, #1596b4 100%);

  --ok:        #15803d;  --ok-bg:   #e7f5ec;
  --warn:      #b45309;  --warn-bg: #fdf2e2;
  --fail:      #be1d1d;  --fail-bg: #fdeaea;
  --info:      #64748b;  --info-bg: #eef2f6;

  --radius:    16px;
  --shadow:    0 1px 2px rgba(6,42,53,.08), 0 8px 24px rgba(6,42,53,.07);
  --shadow-lg: 0 2px 4px rgba(6,42,53,.10), 0 14px 34px rgba(6,42,53,.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 220px);
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 560px; margin: 0 auto; padding: 0 14px 130px; }

/* ---- Header gradasi laut -------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--grad);
  color: #fff;
  padding: 16px 16px 14px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 18px rgba(6,42,53,.25);
}
.topbar h1 { font-size: 18px; margin: 0; letter-spacing: .3px; font-weight: 800; }
.topbar .sub { font-size: 11px; opacity: .78; margin-top: 3px; letter-spacing: .4px; }
.topbar a, .navlinks a {
  color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 700;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 13px; border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background .15s;
}
.topbar a:active, .navlinks a:active { background: rgba(255,255,255,.3); }
.navlinks { display: flex; gap: 7px; }

.section-title { font-size: 12px; color: var(--muted); font-weight: 800;
  text-transform: uppercase; letter-spacing: .9px; margin: 24px 4px 10px; }

/* ---- Pilih sumber ----------------------------------------------------- */
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.source-btn {
  background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 20px 14px; text-align: center;
  font-size: 17px; font-weight: 800; color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s, transform .08s, box-shadow .15s;
}
.source-btn .ico {
  font-size: 24px; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--aqua);
}
.source-btn .ico { display: flex; }
.source-btn:active { transform: scale(.97); }
.source-btn.active {
  border-color: var(--brand); background: linear-gradient(180deg,#f2fafc,#e6f4f8);
  color: var(--brand-dk); box-shadow: var(--shadow-lg);
}

/* ---- Field ------------------------------------------------------------ */
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.field label { display: block; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 12px; font-size: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.field input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* ---- Grup parameter ---------------------------------------------------- */
.group { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-top: 14px; overflow: hidden; box-shadow: var(--shadow); }
.group > summary {
  list-style: none; cursor: pointer; padding: 15px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 15px;
}
.group > summary::-webkit-details-marker { display: none; }
.group > summary .freq { font-size: 11px; color: var(--brand-dk); font-weight: 700;
  background: var(--aqua); padding: 4px 10px; border-radius: 999px; }
.group[open] > summary { border-bottom: 1px solid var(--line); }

.param { display: grid; grid-template-columns: 1fr 96px 16px;
  align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.param:first-of-type { border-top: none; }
.param .name { font-size: 15px; font-weight: 700; }
.param .std  { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.param input, .param select {
  width: 100%; padding: 11px 9px; font-size: 16px; text-align: center;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.param input:focus, .param select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line);
  justify-self: center; transition: background .15s, box-shadow .15s; }
.dot.ok   { background: var(--ok);   box-shadow: 0 0 0 4px var(--ok-bg); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-bg); }
.dot.fail { background: var(--fail); box-shadow: 0 0 0 4px var(--fail-bg); }
.dot.info { background: var(--info); box-shadow: 0 0 0 4px var(--info-bg); }

.param.is-fail input, .param.is-fail select { border-color: var(--fail); background: var(--fail-bg); }
.param.is-warn input, .param.is-warn select { border-color: var(--warn); background: var(--warn-bg); }

/* ---- Tombol simpan ------------------------------------------------------ */
.savebar { position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 12px 14px; }
.savebar .inner { max-width: 560px; margin: 0 auto; }
.btn-save {
  width: 100%; padding: 16px; font-size: 17px; font-weight: 800; color: #fff;
  background: var(--grad); border: none; border-radius: 14px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(14,116,144,.35);
  transition: transform .08s, filter .15s;
}
.btn-save:disabled { filter: grayscale(.6) opacity(.7); cursor: not-allowed; }
.btn-save:active:not(:disabled) { transform: scale(.985); }

/* ---- Panel hasil --------------------------------------------------------- */
.result { margin-top: 18px; }
.result .card { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-lg); }
.banner { padding: 14px 16px; border-radius: 12px; font-weight: 800; margin-bottom: 12px; }
.banner.ok   { background: var(--ok-bg);   color: var(--ok); }
.banner.bad  { background: var(--fail-bg); color: var(--fail); }
.issue { display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.issue:first-child { border-top: none; }
.issue .tag { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag.fail { background: var(--fail-bg); color: var(--fail); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }

.hidden { display: none; }
.hint { font-size: 12.5px; color: var(--muted); margin: 8px 4px 0; }

/* ---- Dashboard harian ----------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.scard { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.scard h3 { margin: 0 0 6px; font-size: 16px; }
.scard .date { font-size: 12px; color: var(--muted); }
.counts { display: flex; gap: 8px; margin-top: 12px; }
.pill { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; font-weight: 800; }
.pill .n { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.pill .l { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }
.pill.fail { background: var(--fail-bg); color: var(--fail); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.tablecard { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-top: 16px; overflow: hidden; box-shadow: var(--shadow); }
.trow { display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 13px 16px; border-top: 1px solid var(--line); }
.trow:first-child { border-top: none; }
.trow .p { font-weight: 700; font-size: 14px; }
.trow .meta2 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.trow .val { text-align: right; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---- Halaman Bulanan: filter pil bulan ------------------------------------ */
.mpills { display: flex; flex-wrap: wrap; gap: 8px;
  padding: 2px 2px 6px; scrollbar-width: none; }
.mpills::-webkit-scrollbar { display: none; }
.mpill { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 800; color: var(--muted); cursor: pointer;
  box-shadow: var(--shadow); transition: all .15s; }
.mpill.on { background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(14,116,144,.35); }

.toggle { display: flex; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 13px; padding: 3px; margin-top: 10px; box-shadow: var(--shadow); }
.toggle button { flex: 1; border: none; background: transparent; padding: 11px 6px;
  border-radius: 10px; font-weight: 800; color: var(--muted); cursor: pointer;
  font-size: 14px; transition: all .15s; }
.toggle button.on { background: var(--grad); color: #fff; box-shadow: 0 3px 10px rgba(14,116,144,.3); }

/* ---- KPI cards --------------------------------------------------------------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 8px 11px; text-align: center; box-shadow: var(--shadow); }
.kpi .kn { display: block; font-size: 21px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.kpi .kl { display: block; font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); margin-top: 3px; }
.kpi.k-ok .kn   { color: var(--ok); }
.kpi.k-fail .kn { color: var(--fail); }
.kpi.k-warn .kn { color: var(--warn); }
.kpi.k-brand .kn{ color: var(--brand-dk); }

/* ---- Tabel rekap --------------------------------------------------------------- */
.tablewrap { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); margin-top: 4px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.rtable th { background: linear-gradient(180deg, #eef7fa, #e6f4f8); color: var(--brand-dk);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px;
  padding: 11px 8px; text-align: center; }
.rtable td { padding: 11px 8px; border-top: 1px solid var(--line); text-align: center;
  font-variant-numeric: tabular-nums; }
.rtable tr:nth-child(even) td { background: #fafcfd; }
.rtable .pnama { font-weight: 800; font-size: 13.5px; }
.rtable .psat { color: var(--muted); font-weight: 600; }
.rtable .pstd { font-size: 11px; color: var(--muted); margin-top: 2px; }

.badge { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge.fail { background: var(--fail-bg); color: var(--fail); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.ok   { background: var(--ok-bg);   color: var(--ok); }
.badge.info { background: var(--info-bg); color: var(--info); }

/* ---- Kartu grafik ----------------------------------------------------------------- */
.chartcard { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 14px; margin-top: 4px; box-shadow: var(--shadow); }
.chartcard select { width: 100%; padding: 12px 11px; font-size: 14.5px; font-weight: 700;
  color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; font-weight: 600;
  color: var(--muted); margin-top: 8px; }
.legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* ---- Animasi masuk halus ------------------------------------------------------------ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kpis, .tablewrap, .chartcard, .cards, .tablecard, .source-grid { animation: fadeUp .3s ease both; }

/* ---- Form per shift: tabs, jam, mikro -------------------------------- */
.tabs { display: flex; gap: 6px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--surface);
  padding: 10px 15px; border-radius: 999px; font-weight: 800; font-size: 13.5px;
  color: var(--muted); cursor: pointer; box-shadow: var(--shadow); transition: all .15s; }
.tabs button.on { background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(14,116,144,.3); }

.hourcard { background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; margin-top: 10px; overflow: hidden; box-shadow: var(--shadow); }
.hourcard > summary { list-style: none; cursor: pointer; padding: 15px 16px;
  display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 16px; }
.hourcard > summary::-webkit-details-marker { display: none; }
.hourcard[open] > summary { border-bottom: 1px solid var(--line); background: var(--aqua); }
.jamlbl { font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.jamprog { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.hourbody { padding-bottom: 12px; }
.hourbody .btn-mini { margin: 6px 16px 4px; }

.tahaplbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  color: var(--brand-dk); background: var(--aqua); padding: 7px 16px; }

.btn-mini { width: calc(100% - 0px); padding: 13px; font-size: 15px; font-weight: 800;
  color: #fff; background: var(--grad); border: none; border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(14,116,144,.28); }
.btn-mini:active { transform: scale(.985); }

.mikrogrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px 16px; }
.mikrocell { text-align: center; }
.mikrocell label { display: block; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 5px; }
.mikrocell input { width: 100%; padding: 10px 4px; text-align: center; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; font-variant-numeric: tabular-nums; }
.mikrocell .dot { margin: 6px auto 0; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: #0c2531; color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 700;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 50; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: var(--fail); }
#toast.ok  { background: var(--ok); }

/* ---- Form per shift v2 (profesional) -------------------------------- */
.stgroup { margin-bottom: 16px; }
.stgroup-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px;
  color: var(--muted); margin: 0 4px 8px; }

.ctxbar { display: flex; align-items: center; gap: 10px; background: var(--grad); color: #fff;
  padding: 13px 16px; border-radius: 14px; font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 18px rgba(14,116,144,.28); margin-bottom: 4px; }
.ctxbar .ctxicon { font-size: 18px; }

.progresscard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin: 14px 0 6px; box-shadow: var(--shadow); }
.progresstop { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800;
  color: var(--ink); margin-bottom: 9px; }
.progresstop span:last-child { color: var(--muted); font-weight: 700; }
.progressbar { height: 9px; background: var(--info-bg); border-radius: 999px; overflow: hidden; }
.progressfill { height: 100%; background: var(--grad); border-radius: 999px; transition: width .35s ease; }

/* baris parameter (numerik & kualitatif) */
.prow { display: grid; grid-template-columns: 1fr 108px 16px; align-items: center; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--line); }
.prow:first-of-type { border-top: none; }
.prow .name { font-size: 15px; font-weight: 700; }
.prow .std { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.prow.is-fail { background: var(--fail-bg); }
.prow.is-warn { background: var(--warn-bg); }
.prow.is-ok   { background: linear-gradient(90deg, var(--ok-bg), transparent 60%); }

.numwrap { position: relative; display: flex; align-items: center; }
.numwrap input { width: 100%; padding: 11px 34px 11px 10px; font-size: 16px; text-align: right;
  border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
  font-variant-numeric: tabular-nums; }
.numwrap input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.numwrap .unit { position: absolute; right: 10px; font-size: 11px; color: var(--muted); font-weight: 700; pointer-events: none; }
.prow.is-fail .numwrap input { border-color: var(--fail); }
.prow.is-warn .numwrap input { border-color: var(--warn); }

/* baris kualitatif (dua baris: nama di atas, segmen di bawah) */
.prow.q { display: block; }
.prow.q .prow-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.segq { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.seg-opt { border: 1.5px solid var(--line); background: #fff; padding: 11px 6px; border-radius: 10px;
  font-weight: 800; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .12s; }
.seg-opt:active { transform: scale(.97); }
.seg-opt.ok.on  { background: var(--ok);   color: #fff; border-color: var(--ok); }
.seg-opt.no.on  { background: var(--fail); color: #fff; border-color: var(--fail); }
.seg-opt.off.on { background: var(--info); color: #fff; border-color: var(--info); }

.chk { color: var(--ok); font-weight: 900; }
.hourcard[open] > summary .jamlbl .chk { color: var(--ok); }

/* ---- Dashboard defect: bar list & rate badge ------------------------ */
.barlist { display: flex; flex-direction: column; gap: 9px; }
.barrow { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: 10px; }
.barlbl { font-size: 12.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bartrack { height: 20px; background: var(--info-bg); border-radius: 6px; overflow: hidden; }
.barfill { height: 100%; background: var(--grad); border-radius: 6px; transition: width .4s ease; }
.barval { font-size: 13px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; color: var(--brand-dk); }

.ratebadge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 800;
  font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---- Form defect: distributor chips --------------------------------- */
.chipwrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px;
  font-weight: 800; font-size: 14px; color: var(--muted); cursor: pointer; box-shadow: var(--shadow); transition: all .12s; }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.chip.filled { border-color: var(--brand-lt); color: var(--brand-dk); }
.chip.filled::after { content: ' ✓'; color: var(--ok); }

/* ---- Form komplain -------------------------------------------------- */
.kform { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.kform .field label { font-size: 12px; }
.kform .field input { width: 100%; padding: 12px 11px; font-size: 15px; border: 1.5px solid var(--line);
  border-radius: 11px; background: #fff; color: var(--ink); }
.kform .field input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* ==== BERANDA (home hub) ============================================= */
.hero { background: var(--grad); color: #fff; padding: 30px 20px 26px; text-align: center; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  background: rgba(255,255,255,.16); padding: 5px 13px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { font-size: 25px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.3px; }
.hero p { font-size: 13.5px; opacity: .92; max-width: 460px; margin: 0 auto; line-height: 1.5; }
.hero p b { font-weight: 800; }

.hub-section { margin-bottom: 24px; }
.hub-lbl { font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 2px 12px; display: flex; align-items: center; gap: 8px; }
.hl-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 8px; font-size: 14px; }
.hl-ico.isi { background: var(--aqua); }
.hl-ico.lihat { background: #e8f0fe; }
.hl-note { font-weight: 600; color: var(--muted); font-size: 12px; }

.hub-grid { display: flex; flex-direction: column; gap: 10px; }
.hub-card { display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 15px; padding: 15px 16px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; }
.hub-card:active { transform: scale(.985); }
.hub-card.isi { border-left: 5px solid var(--brand); }
.hub-card.lihat { border-left: 5px solid #2563eb; }
.hc-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; font-size: 23px; }
.hub-card.isi .hc-ico { background: var(--aqua); }
.hub-card.lihat .hc-ico { background: #e8f0fe; }
.hc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hc-title { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.hc-sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.hc-arr { flex: 0 0 auto; font-size: 26px; color: var(--brand-lt); font-weight: 400; }
.hub-card.lihat .hc-arr { color: #60a5fa; }
.hub-foot { text-align: center; font-size: 11.5px; color: var(--muted); padding: 8px 0 20px; }

/* tombol Beranda di sub-halaman */
.home-link { display: inline-flex !important; align-items: center; gap: 5px; background: rgba(255,255,255,.15);
  padding: 8px 14px !important; border-radius: 999px; font-weight: 800; }
.home-link span { font-size: 14px; }
