/* Modul Kenaikan Gaji Tahunan (kenaikangaji) - semua gaya di bawah .kgt-page */
.kgt-page {
    /* Palet korporat UPM */
    --kgt-accent: #a6192e;
    --kgt-accent-dark: #7f1425;
    --kgt-accent-soft: #f8eef0;
    --kgt-accent-past: #e2b6be;
    --kgt-ink: #252a2e;
    --kgt-muted: #6c737a;
    --kgt-line: #dfe3e7;
    --kgt-surface: #ffffff;
    --kgt-head-bg: #f8f9fc;
    --kgt-hover: #f3f4f6;
    --kgt-warn: #b54708;
    --kgt-warn-soft: #fef0e1;
    --kgt-danger: #b42318;
    --kgt-danger-soft: #fdecea;
    --kgt-ok: #067647;
    --kgt-ok-soft: #e7f6ee;
    clear: both;
    padding: 0 5px 24px;
    color: var(--kgt-ink);
    font-size: 13px;
}
.kgt-page *, .kgt-page *::before, .kgt-page *::after { box-sizing: border-box; }

/* ---------- Panel tajuk (seragam dengan .ldp-heading Lapor Diri) ---------- */
.kgt-heading {
    margin: 4px 0 12px;
    padding: 7px 12px 6px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border: 1px solid var(--kgt-line);
    border-left: 5px solid var(--kgt-accent);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(37, 42, 46, .06);
    font-family: Arial, "Helvetica Neue", sans-serif;
}
.kgt-heading__content { min-width: 0; }
.kgt-heading__label {
    display: block;
    margin-bottom: 2px;
    color: var(--kgt-accent);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}
.kgt-heading__title {
    margin: 0;
    padding: 0;
    color: var(--kgt-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.2px;
}
.kgt-heading__subtitle { margin: 2px 0 0; color: var(--kgt-muted); font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.kgt-heading__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.kgt-heading__btn {
    min-height: 32px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    border: 1px solid #d9aab4;
    border-radius: 7px;
    background: #fff;
    color: var(--kgt-accent) !important;
    box-shadow: 0 1px 3px rgba(37, 42, 46, .06);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
}
.kgt-heading__btn:hover { border-color: var(--kgt-accent); background: var(--kgt-accent); color: #fff !important; }

.kgt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .15s, border-color .15s, color .15s;
}
.kgt-btn--primary { background: var(--kgt-accent); color: #fff !important; }
.kgt-btn--primary:hover { background: var(--kgt-accent-dark); }
.kgt-btn--line { background: #fff; border-color: var(--kgt-line); color: var(--kgt-ink) !important; }
.kgt-btn--line:hover { border-color: var(--kgt-accent); color: var(--kgt-accent) !important; }
.kgt-btn--success { background: #1e8e4e; color: #fff !important; }
.kgt-btn--success:hover { background: #157040; }
.kgt-btn--excel { background: #fff; border-color: #b7e0c7; color: var(--kgt-ok) !important; }
.kgt-btn--excel:hover { background: var(--kgt-ok-soft); }
.kgt-btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- KPI ---------- */
.kgt-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
/* Setiap kad ada warna sendiri: --kpi-c (utama) & --kpi-soft (latar) */
.kgt-kpi {
    --kpi-c: var(--kgt-accent);
    --kpi-soft: var(--kgt-accent-soft);
    position: relative;
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--kgt-line);
    border-top: 4px solid var(--kpi-c);
    border-radius: 12px;
    background: linear-gradient(160deg, var(--kpi-soft) 0%, #fff 75%);
    color: var(--kgt-ink) !important;
    text-decoration: none !important;
}
.kgt-kpi--ok     { --kpi-c: #067647; --kpi-soft: #e3f4ea; }
.kgt-kpi--danger { --kpi-c: #b42318; --kpi-soft: #fde8e6; }
.kgt-kpi--warn   { --kpi-c: #c4590a; --kpi-soft: #fdeedd; }
.kgt-kpi--slate  { --kpi-c: #475467; --kpi-soft: #eaeef3; }
a.kgt-kpi { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.kgt-kpi:hover { transform: translateY(-2px); border-color: var(--kpi-c); box-shadow: 0 8px 18px rgba(37, 42, 46, .10); }
.kgt-kpi.is-active { border-color: var(--kpi-c); box-shadow: 0 0 0 2px var(--kpi-c); }
.kgt-kpi__label {
    display: block;
    padding-right: 44px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--kgt-muted);
}
.kgt-kpi__value {
    display: block;
    margin-top: 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.kgt-kpi__note { display: block; margin-top: 8px; font-size: 12px; color: var(--kgt-muted); }
.kgt-kpi__value { color: var(--kpi-c); }
.kgt-kpi__link { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--kpi-c); }
.kgt-kpi__icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--kpi-c);
    color: #fff;
    font-size: 17px;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(37, 42, 46, .15);
}

/* ---------- Panel pemantauan PTJ ---------- */
.kgt-alert {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px 18px;
    border: 1px solid #f3c7c2;
    border-left: 5px solid var(--kgt-danger);
    border-radius: 12px;
    background: #fff7f6;
}
.kgt-alert--ok { border-color: #bfe3cd; border-left-color: var(--kgt-ok); background: #f4fbf7; }
.kgt-alert__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--kgt-danger);
    color: #fff;
    font-size: 17px;
    line-height: 40px;
    text-align: center;
}
.kgt-alert--ok .kgt-alert__icon { background: var(--kgt-ok); }
.kgt-alert__text { flex: 1 1 320px; min-width: 0; font-size: 13px; }
.kgt-alert__text strong { display: block; margin-bottom: 2px; font-size: 13.5px; }
.kgt-alert__text span { display: block; }
.kgt-alert__text b { color: var(--kgt-danger); font-size: 15px; }
.kgt-alert__sub { margin-top: 2px; font-size: 12px; color: var(--kgt-muted); }
.kgt-alert__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kgt-btn--danger { background: var(--kgt-danger); color: #fff !important; }
.kgt-btn--danger:hover { background: #8f1c13; }
.kgt-btn.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor; }
.kgt-btn--danger.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--kgt-danger); }

/* ---------- Grid & kad ---------- */
.kgt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}
.kgt-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kgt-card {
    border: 1px solid var(--kgt-line);
    border-radius: 12px;
    background: var(--kgt-surface);
    margin-bottom: 14px;
}
.kgt-grid > .kgt-card { margin-bottom: 0; }
.kgt-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--kgt-line);
}
.kgt-card__title { margin: 0; font-size: 14px; font-weight: 600; color: var(--kgt-ink); }
.kgt-card__sub { margin: 2px 0 0; font-size: 12px; color: var(--kgt-muted); }
.kgt-card__tools { display: flex; align-items: center; gap: 8px; }
.kgt-card__body { padding: 16px 18px; }

/* ---------- Carta lajur (bulan) ---------- */
.kgt-cols {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 190px;
    padding-top: 26px;
    border-bottom: 1px solid #d0d5dd;
}
.kgt-col {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.kgt-col__bar {
    position: relative;
    width: 100%;
    max-width: 34px;
    border-radius: 4px 4px 0 0;
    background: var(--kgt-accent);
}
.kgt-col--past .kgt-col__bar { background: var(--kgt-accent-past); }
.kgt-col__val {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--kgt-ink);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .12s;
}
.kgt-col:hover .kgt-col__val, .kgt-col--now .kgt-col__val, .kgt-col--max .kgt-col__val { opacity: 1; }
.kgt-col:hover .kgt-col__bar { filter: brightness(.9); }
.kgt-col.is-klik { cursor: pointer; }
.kgt-col.is-klik:hover .kgt-col__bar { filter: brightness(.85); }
.kgt-cols.has-pilih .kgt-col:not(.is-pilih) .kgt-col__bar { opacity: .35; }
.kgt-col.is-pilih .kgt-col__bar { background: var(--kgt-accent-dark); }
.kgt-col.is-pilih .kgt-col__val { opacity: 1; }
.kgt-cols__labels { display: flex; gap: 8px; margin-top: 6px; }
.kgt-cols__labels span { flex: 1 1 0; text-align: center; font-size: 11px; color: var(--kgt-muted); }
.kgt-cols__labels span.is-now { color: var(--kgt-accent); font-weight: 700; }
.kgt-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 11.5px; color: var(--kgt-muted); }
.kgt-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }

/* ---------- Bar mendatar ---------- */
.kgt-hbar { margin: 0; padding: 0; list-style: none; }
.kgt-hbar li + li { margin-top: 12px; }
.kgt-hbar__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 12.5px; }
.kgt-hbar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kgt-hbar__val { font-weight: 600; font-variant-numeric: tabular-nums; }
.kgt-hbar__track { height: 8px; border-radius: 4px; background: #f2f4f7; }
.kgt-hbar__fill { height: 100%; border-radius: 4px; background: var(--kgt-accent); min-width: 4px; }
.kgt-hbar--klik li { margin-left: -8px; margin-right: -8px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.kgt-hbar--klik li + li { margin-top: 4px; }
.kgt-hbar--klik li:hover { background: var(--kgt-hover); }
.kgt-hbar--klik li.is-pilih { background: var(--kgt-accent-soft); font-weight: 600; }
.kgt-hbar.has-pilih li:not(.is-pilih) .kgt-hbar__fill { opacity: .35; }

/* ---------- Carta donut ---------- */
.kgt-pie { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; padding: 6px 0; }
.kgt-pie__chart { position: relative; flex: none; width: 190px; height: 190px; }
.kgt-pie__chart svg { display: block; width: 100%; height: 100%; }
.kgt-pie__seg { cursor: pointer; transition: stroke-width .12s, opacity .12s; }
.kgt-pie__seg:hover, .kgt-pie__seg.is-pilih { stroke-width: 7.5; }
.kgt-pie.has-pilih .kgt-pie__seg:not(.is-pilih) { opacity: .35; }
.kgt-pie__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.kgt-pie__center strong { font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.kgt-pie__center span { margin-top: 4px; font-size: 11px; color: var(--kgt-muted); text-transform: uppercase; letter-spacing: .05em; }
.kgt-pie__legend { flex: 1 1 200px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.kgt-pie__legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid var(--kgt-line);
    font-size: 12.5px;
}
.kgt-pie__legend li:first-child { border-top: 0; }
.kgt-pie__legend li { cursor: pointer; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
.kgt-pie__legend li:hover { background: var(--kgt-hover); }
.kgt-pie__legend li.is-pilih { background: var(--kgt-accent-soft); font-weight: 600; }
.kgt-hint { margin: 12px 0 0; font-size: 11.5px; color: var(--kgt-muted); }
.kgt-pie__legend i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.kgt-pie__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kgt-pie__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.kgt-pie__pct { width: 48px; text-align: right; color: var(--kgt-muted); font-variant-numeric: tabular-nums; }

/* ---------- Senarai hampir tamat ---------- */
.kgt-due { margin: 0; padding: 0; list-style: none; }
.kgt-due li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--kgt-line);
}
.kgt-due li:first-child { border-top: 0; padding-top: 0; }
.kgt-due__name { display: block; font-weight: 600; font-size: 12.5px; }
.kgt-due__meta { display: block; margin-top: 2px; font-size: 11.5px; color: var(--kgt-muted); }
.kgt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.kgt-badge--warn { background: var(--kgt-warn-soft); color: var(--kgt-warn); }
.kgt-badge--danger { background: var(--kgt-danger-soft); color: var(--kgt-danger); }
.kgt-badge--ok { background: var(--kgt-ok-soft); color: var(--kgt-ok); }
.kgt-badge--muted { background: #f2f4f7; color: var(--kgt-muted); }
.kgt-badge--accent { background: var(--kgt-accent-soft); color: var(--kgt-accent); }
.kgt-empty { padding: 26px 10px; text-align: center; color: var(--kgt-muted); font-size: 12.5px; }
.kgt-empty i { display: block; margin-bottom: 6px; font-size: 22px; color: #c0c6d0; }

/* ---------- Jadual ---------- */
.kgt-page table.kgt-table { width: 100%; margin-bottom: 0; border-collapse: collapse; background: var(--kgt-surface); }
.kgt-page table.kgt-table > thead > tr > th,
.kgt-page table.kgt-table > tbody > tr.kgt-thead > th {
    padding: 10px 12px;
    border: 0;
    border-bottom: 2px solid var(--kgt-accent-soft);
    background: var(--kgt-head-bg);
    color: var(--kgt-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}
.kgt-page table.kgt-table > tbody > tr > td {
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--kgt-line);
    font-size: 13px;
    vertical-align: middle;
}
.kgt-page table.kgt-table > tbody > tr:hover > td { background: var(--kgt-hover); }
.kgt-page table.kgt-table > tbody > tr.kgt-row-open > td { background: var(--kgt-hover); font-weight: 600; }
.kgt-page table.kgt-table > tbody > tr.kgt-row-open > td:first-child { box-shadow: inset 4px 0 0 var(--kgt-accent); }
.kgt-page table.kgt-table > tbody > tr.kgt-row-detail > td,
.kgt-page table.kgt-table > tbody > tr.kgt-row-detail:hover > td { background: #fbfbfd; padding: 4px 12px 14px; }
.kgt-page table.kgt-table .kgt-num { color: var(--kgt-muted); width: 48px; }
.kgt-page table.kgt-table .kgt-staf { font-weight: 600; color: var(--kgt-accent-dark); font-variant-numeric: tabular-nums; }
.kgt-page table.kgt-table td.kgt-nowrap { white-space: nowrap; }
.kgt-page table.kgt-table td.kgt-empty-cell { padding: 30px 12px; text-align: center; color: var(--kgt-muted); }
.kgt-actions { display: inline-flex; align-items: center; gap: 6px; }
.kgt-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--kgt-line);
    border-radius: 7px;
    background: #fff;
    color: var(--kgt-accent) !important;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
}
.kgt-icon-btn:hover { border-color: var(--kgt-accent); background: var(--kgt-accent-soft); }
.kgt-icon-btn--ok { color: var(--kgt-ok) !important; }
.kgt-icon-btn--ok:hover { border-color: var(--kgt-ok); background: var(--kgt-ok-soft); }
.kgt-icon-btn--edit { color: #1f6fd1 !important; }
.kgt-icon-btn--edit:hover { border-color: #1f6fd1; background: #e8f1fc; }
.kgt-icon-btn--danger { color: var(--kgt-danger) !important; }
.kgt-icon-btn--danger:hover { border-color: var(--kgt-danger); background: var(--kgt-danger-soft); }

/* ---------- Bootstrap dalam modul ---------- */
.kgt-page .panel.panel-inverse {
    border: 1px solid var(--kgt-line);
    border-radius: 12px;
    box-shadow: none;
    overflow: visible; /* jangan potong menu dropdown (selectpicker) */
}
.kgt-page .panel.panel-inverse > .panel-heading {
    border-radius: 12px 12px 0 0;
    padding: 13px 18px;
    border-bottom: 1px solid var(--kgt-line);
    background: var(--kgt-surface);
    color: var(--kgt-ink);
}
.kgt-page .panel.panel-inverse > .panel-heading .panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--kgt-ink);
}
.kgt-page .panel.panel-inverse > .panel-heading .panel-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    margin-right: 9px;
    border-radius: 2px;
    background: var(--kgt-accent);
    vertical-align: -2px;
}
.kgt-page .control-label { color: var(--kgt-muted); font-weight: 600; font-size: 12.5px; }
.kgt-page .form-control { border-radius: 7px; }
.kgt-page .form-control:focus { border-color: var(--kgt-accent); box-shadow: 0 0 0 3px rgba(166,25,46,.12); }
.kgt-page .btn-xs { padding: 4px 10px; border-radius: 6px; }
.kgt-page .bootstrap-select .dropdown-menu { z-index: 1050; }
.kgt-page .bootstrap-select .dropdown-menu > li.active > a,
.kgt-page .bootstrap-select .dropdown-menu > li > a:focus { background: var(--kgt-accent); color: #fff; }
.kgt-page .bootstrap-select .dropdown-menu > li > a:hover { background: var(--kgt-hover); color: var(--kgt-ink); }

.kgt-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.kgt-detail { margin: 6px 0; padding: 14px; border: 1px solid var(--kgt-line); border-radius: 10px; background: #fff; }
.kgt-search__title { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--kgt-accent-dark); }
.kgt-heading__btn--primary { border-color: var(--kgt-accent); background: var(--kgt-accent); color: #fff !important; }
.kgt-heading__btn--primary:hover { border-color: var(--kgt-accent-dark); background: var(--kgt-accent-dark); }

@media (max-width: 1199px) {
    .kgt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .kgt-grid, .kgt-grid--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .kgt-heading { padding: 7px 9px 6px 10px; }
    .kgt-heading__title { font-size: 17px; }
    .kgt-heading__actions { margin-left: 0; }
}
@media (max-width: 560px) {
    .kgt-kpis { grid-template-columns: minmax(0, 1fr); }
    .kgt-cols, .kgt-cols__labels { gap: 3px; }
    .kgt-cols__labels span { font-size: 9.5px; }
}

/* ---------- Ikon dalam kotak: tengah tepat (tema portal ubah line-height ikon FA) ---------- */
.kgt-kpi__icon, .kgt-tile__icon, .kgt-alert__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.kgt-kpi__icon > i, .kgt-tile__icon > i, .kgt-alert__icon > i {
    display: block;
    margin: 0;
    line-height: 1;
}
/* =====================================================================
   Tambahan khusus PGT
   ===================================================================== */

/* Pilihan tahun dalam panel tajuk */
.kgt-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 4px 0 10px;
    border: 1px solid var(--kgt-line);
    border-radius: 7px;
    background: #fff;
    color: var(--kgt-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.kgt-year select {
    height: 28px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: var(--kgt-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

/* Kitaran PGT: satu jubin setiap bulan pergerakan gaji */
.kgt-cycle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}
.kgt-cycle__item {
    --cy-c: var(--kgt-accent);
    --cy-soft: var(--kgt-accent-soft);
    position: relative;
    display: block;
    padding: 14px 14px 12px;
    border: 1px solid var(--kgt-line);
    border-radius: 12px;
    background: linear-gradient(165deg, var(--cy-soft) 0%, #fff 70%);
    color: var(--kgt-ink) !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.kgt-cycle__item:hover { transform: translateY(-2px); border-color: var(--cy-c); box-shadow: 0 8px 18px rgba(37, 42, 46, .10); }
.kgt-cycle__item.is-pilih { border-color: var(--cy-c); box-shadow: 0 0 0 2px var(--cy-c); }
.kgt-cycle__item.is-akan { opacity: .7; }
.kgt-cycle__item--c0 { --cy-c: #a6192e; --cy-soft: #f8eef0; }
.kgt-cycle__item--c1 { --cy-c: #2f6690; --cy-soft: #e9f1f8; }
.kgt-cycle__item--c2 { --cy-c: #2f7d5b; --cy-soft: #e8f4ee; }
.kgt-cycle__item--c3 { --cy-c: #a5781f; --cy-soft: #f8f1e3; }
.kgt-cycle__item--c4 { --cy-c: #475467; --cy-soft: #eef1f5; }
.kgt-cycle__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kgt-cycle__bln { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cy-c); }
.kgt-cycle__state { font-size: 10.5px; font-weight: 600; color: var(--kgt-muted); }
.kgt-cycle__val { display: block; margin-top: 8px; font-size: 26px; font-weight: 700; line-height: 1; color: var(--kgt-ink); font-variant-numeric: tabular-nums; }
.kgt-cycle__unit { display: block; margin-top: 3px; font-size: 11px; color: var(--kgt-muted); }
.kgt-cycle__track { height: 7px; margin-top: 10px; border-radius: 4px; background: #eceff2; overflow: hidden; }
.kgt-cycle__fill { height: 100%; border-radius: 4px; background: var(--cy-c); min-width: 3px; }
.kgt-cycle__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--kgt-muted); }
.kgt-cycle__belum {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--kgt-warn-soft);
    color: var(--kgt-warn) !important;
    font-weight: 700;
    text-decoration: none !important;
}
.kgt-cycle__belum:hover { background: #fbdcbc; }
.kgt-cycle__belum.is-ok { background: var(--kgt-ok-soft); color: var(--kgt-ok) !important; }

/* Ringkasan kenaikan gaji */
.kgt-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    border: 1px solid var(--kgt-line);
    border-radius: 10px;
    background: #fbfbfc;
}
.kgt-strip > div { padding: 10px 14px; }
.kgt-strip > div + div { border-left: 1px solid var(--kgt-line); }
.kgt-strip span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--kgt-muted); }
.kgt-strip strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 700; color: var(--kgt-ink); font-variant-numeric: tabular-nums; }

/* Trend tahunan: guna .kgt-cols + amaran PGT berganda */
.kgt-cols--trend { height: 170px; gap: 18px; }
.kgt-cols--trend .kgt-col__bar { max-width: 54px; }
.kgt-cols--trend .kgt-col__val { opacity: 1; }
.kgt-cols__labels--trend { gap: 18px; }
.kgt-cols__labels--trend span { line-height: 1.35; }
.kgt-cols__labels--trend em {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--kgt-danger-soft);
    color: var(--kgt-danger);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

/* Wang dalam jadual */
.kgt-page table.kgt-table td.kgt-rm { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kgt-page table.kgt-table th.kgt-rm { text-align: right; }
.kgt-naik { color: var(--kgt-ok); font-weight: 700; }
.kgt-butiran { font-size: 12px; line-height: 1.6; }
.kgt-butiran span { display: inline-block; margin: 0 6px 3px 0; padding: 1px 8px; border-radius: 6px; background: var(--kgt-danger-soft); color: var(--kgt-danger); font-weight: 600; white-space: nowrap; }

/* Halaman lama PGT: borang carian & radio */
.kgt-page .radio-inline, .kgt-page .checkbox-inline { font-size: 12.5px; }
.kgt-page input[type=radio], .kgt-page input[type=checkbox] { accent-color: var(--kgt-accent); }
.kgt-page .form-horizontal label.col-md-2 { color: var(--kgt-muted); font-weight: 600; font-size: 12.5px; }
.kgt-page .progress-bar { background-color: var(--kgt-accent); }
.kgt-page .panel.panel-inverse > .panel-heading .panel-heading-btn { float: right; }
.kgt-page #pgtDatalivePanel { margin: 0 0 14px; border-radius: 12px; }
.kgt-page #pgtDatalivePanel tbody tr:hover td { background: var(--kgt-hover); }

@media (max-width: 767px) {
    .kgt-strip { grid-template-columns: minmax(0, 1fr); }
    .kgt-strip > div + div { border-left: 0; border-top: 1px solid var(--kgt-line); }
}
/* Halaman lama PGT dibalut .col-md-12: kekalkan jarak tepi 5px seperti modul lain */
.kgt-page > .col-md-12 { padding-left: 0; padding-right: 0; }
.kgt-page > .col-md-12 + .col-md-12 { margin-top: 0; }
.kgt-page table.kgt-table th .kgt-btn { text-transform: none; letter-spacing: 0; font-size: 12px; padding: 5px 10px; }
/* Item jalur yang boleh diklik (PGT khas) */
.kgt-strip > a.kgt-strip__klik { display: block; padding: 10px 14px; border-left: 1px solid var(--kgt-line); border-radius: 0 10px 10px 0; color: var(--kgt-ink) !important; text-decoration: none !important; cursor: pointer; }
.kgt-strip > a.kgt-strip__klik:hover { background: var(--kgt-hover); }
.kgt-strip > a.kgt-strip__klik.is-pilih { background: var(--kgt-accent-soft); }
.kgt-strip > a.kgt-strip__klik span { color: var(--kgt-accent); }
@media (max-width: 767px) {
    .kgt-strip > a.kgt-strip__klik { border-left: 0; border-top: 1px solid var(--kgt-line); border-radius: 0 0 10px 10px; }
}
/* Lajur sebab belum PGT */
.kgt-sebab { display: flex; flex-wrap: wrap; gap: 4px; max-width: 340px; }
.kgt-sebab .kgt-badge { white-space: normal; line-height: 1.35; border-radius: 8px; text-align: left; }
/* Butang ikon sahaja dalam panel tajuk (muat semula) */
.kgt-heading__btn--icon { width: 32px; padding: 0; justify-content: center; font-size: 13px; }