/* ProMaths Hub (admin). Builds on one.css tokens and components. */
.hub-avail{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-bottom:26px}
.hub-avail-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px 16px;display:flex;flex-direction:column;gap:3px;min-width:0}
.hub-avail-card strong{font-size:28px;line-height:1.15;letter-spacing:-1px;font-weight:650;margin-top:8px;font-variant-numeric:tabular-nums}
.hub-avail-card small{font-size:10px;overflow-wrap:anywhere}
.hub-avail-card.is-full{background:#fff8f7;border-color:#f1d8d3}
.hub-avail-card.is-full strong{color:var(--red)}
.hub-program{margin-bottom:20px}
.hub-stream{margin-top:18px}
.hub-stream:first-of-type{margin-top:0}
.hub-stream h4{font-size:13px;margin:0 0 10px;color:#2f4a33}
.hub-stream h4 small{font-weight:500;font-size:11px}
.hub-table td{vertical-align:top}
.hub-table td small{font-size:10px}
.hub-seat{min-width:170px}
.hub-seat .progress{margin:6px 0 4px}
.hub-full span{background:var(--red)}
.hub-offers{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.hub-structure{align-items:start}
.hub-stream-line{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #edf0e9;font-size:12px}
.hub-stream-line:first-of-type{border-top:0;padding-top:0}
.hub-stream-line small{font-size:10px}
@media(max-width:1020px){.hub-structure{grid-template-columns:1fr}}

.hub-child-results{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hub-child-results .chip{font-size:11px}

.hub-send{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.hub-send legend{font-size:12px;font-weight:650;padding:0 4px}
/* Import murid (phase 3) */
.hub-steps{margin:0 0 16px;padding-left:20px;font-size:13px;line-height:1.7}
.hub-im-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:4px 0 14px}
.hub-im-kpi{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}
.hub-im-kpi strong{display:block;font-size:22px;line-height:1.1}
.hub-im-kpi span{font-size:11px;color:var(--muted)}
.hub-im-kpi.good strong{color:var(--green,#2f7d4f)}
.hub-im-kpi.bad strong{color:var(--red)}
.hub-im-table{max-height:460px;overflow:auto}
.hub-im-table td{vertical-align:top}
.hub-im-slot{display:block;font-size:12px}
tr.hub-im-error td{background:#fff8f6}
.hub-im-go{margin-top:16px;padding-top:14px;border-top:1px solid #edf0e9}
.hub-im-go .checkline{align-items:flex-start;font-size:13px}
.hub-columns summary{cursor:pointer}
.hub-columns code{font-size:12px}
.hub-pay-bar{margin-bottom:12px;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.hub-im-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.hub-im-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hub-im-table table{white-space:normal}
.hub-im-table td:last-child{min-width:200px}
.hub-im-table td:first-child{width:44px}
.hub-im-table .cm-error,.hub-im-table .cm-block{display:block;margin-top:4px}
/* Bayaran (phase 4) */
.bl-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.bl-table td{vertical-align:top}
.bl-facts{gap:12px 16px;margin-bottom:14px;font-size:13px}
.bl-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.bl-doc{width:100%;height:64vh;border:1px solid var(--line);border-radius:12px;background:#fff}
.bl-branches{display:grid;gap:2px;margin-bottom:14px}
.bl-branches small{overflow-wrap:anywhere}
@media(max-width:760px){.bl-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bl-facts{grid-template-columns:1fr}}
