/*
 * zkoss_popup_menu_fix.css
 * Patch global untuk popup submenu ZKoss 5.5.
 *
 * Beberapa theme lama mengatur menu/sidebar dengan selector global seperti
 * .z-menubar-ver div dan .z-menu-item-cnt. Saat ZK membuat submenu popup,
 * rule tersebut ikut membuat popup melebar sampai hampir seluruh layar.
 * File ini harus dimuat paling akhir melalui MyThemeProvider.
 */

.z-menu-popup,
.z-menupopup {
	width: auto !important;
	min-width: 220px !important;
	max-width: 380px !important;
	max-height: calc(100vh - 36px) !important;
	max-height: min(calc(100vh - 36px), 88vh) !important;
	left: auto;
	right: auto;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	scrollbar-width: thin !important;
	scrollbar-color: rgba(148, 163, 184, 0.6) transparent !important;
	z-index: 2147483647 !important;
}

.z-menu-popup .z-menu-popup-cnt,
.z-menupopup .z-menupopup-cnt,
.z-menu-popup-cnt {
	width: auto !important;
	min-width: 220px !important;
	max-width: 380px !important;
	max-height: calc(100vh - 44px) !important;
	max-height: min(calc(100vh - 44px), 86vh) !important;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	scrollbar-width: thin !important;
	scrollbar-color: rgba(148, 163, 184, 0.6) transparent !important;
}

/* Scrollbar kustom yang elegan untuk popup menu ZKoss agar nyaman digulir saat menu melebihi layar */
.z-menu-popup::-webkit-scrollbar,
.z-menupopup::-webkit-scrollbar,
.z-menu-popup-cnt::-webkit-scrollbar,
.z-menupopup-cnt::-webkit-scrollbar {
	width: 6px !important;
	height: 6px !important;
}

.z-menu-popup::-webkit-scrollbar-track,
.z-menupopup::-webkit-scrollbar-track,
.z-menu-popup-cnt::-webkit-scrollbar-track,
.z-menupopup-cnt::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.08) !important;
	border-radius: 4px !important;
}

.z-menu-popup::-webkit-scrollbar-thumb,
.z-menupopup::-webkit-scrollbar-thumb,
.z-menu-popup-cnt::-webkit-scrollbar-thumb,
.z-menupopup-cnt::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.65) !important;
	border-radius: 4px !important;
}

.z-menu-popup::-webkit-scrollbar-thumb:hover,
.z-menupopup::-webkit-scrollbar-thumb:hover,
.z-menu-popup-cnt::-webkit-scrollbar-thumb:hover,
.z-menupopup-cnt::-webkit-scrollbar-thumb:hover {
	background: rgba(100, 116, 139, 0.85) !important;
}

.z-menu-popup-cnt .z-menu,
.z-menu-popup-cnt .z-menu-item,
.z-menu-popup-cnt .z-menu-body,
.z-menu-popup-cnt .z-menu-item-body,
.z-menu-popup-cnt .z-menu-inner-m,
.z-menu-popup-cnt .z-menu-item-inner-m,
.z-menu-popup-cnt .z-menu-cnt,
.z-menu-popup-cnt .z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-btn,
.z-menu-popup-cnt span:not(.z-menu-img):not(.z-menu-item-img),
.z-menu-popup-cnt a,
.z-menu-popup-cnt div {
	width: auto !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.z-menu-popup-cnt .z-menu .z-menu-img,
.z-menu-popup-cnt .z-menu-item .z-menu-item-img,
.z-menu-popup-cnt .z-menu-img,
.z-menu-popup-cnt .z-menu-item-img {
	display: inline-block !important;
	width: 14px !important;
	min-width: 14px !important;
	max-width: 14px !important;
	height: 14px !important;
	min-height: 14px !important;
	max-height: 14px !important;
	margin-left: -20px !important;
	margin-right: 6px !important;
	vertical-align: -2px !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 13px 13px !important;
}

.z-menu-popup-cnt .z-menu a.z-menu-cnt,
.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-btn {
	display: block !important;
	min-width: 220px !important;
	max-width: 360px !important;
	min-height: 27px !important;
	height: 27px !important;
	line-height: 25px !important;
	padding: 0 12px 0 28px !important;
	margin: 1px 0 !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	text-align: left !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-radius: 5px !important;
	background: rgba(255, 255, 255, 0.10) !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.z-menu-popup-cnt .z-menu,
.z-menu-popup-cnt .z-menu-item {
	margin: 0 !important;
	padding: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
}

/*
 * State hover/aktif diletakkan di berkas ini karena stylesheet ini dimuat
 * setelah CSS tenant. Latar gelap transparan menjaga kontras pada semua warna
 * tema dan indikator kiri memberi fokus tanpa menggeser ukuran item.
 */
.z-menu-popup-cnt .z-menu-over > .z-menu-cl > .z-menu-cr > .z-menu-cm > .z-menu-cnt,
.z-menu-popup-cnt .z-menu-item-over > .z-menu-item-cl > .z-menu-item-cr > .z-menu-item-cm > .z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-over > .z-menu-body .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-over > .z-menu-item-body .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-body-over .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-body-over .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-cnt:hover,
.z-menu-popup-cnt .z-menu-item-cnt:hover,
.z-menu-popup-cnt .z-menu-btn:hover,
.z-menu-popup-cnt .z-menu-item-btn:hover,
.z-menu-popup-cnt .z-menu-over a.z-menu-cnt,
.z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
.z-menu-popup-cnt li:hover a.z-menu-cnt,
.z-menu-popup-cnt li:hover a.z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-over .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-over .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-body-seld .z-menu-btn,
.z-menu-popup-cnt .z-menu-body-clk .z-menu-btn,
.z-menu-popup .z-menu-over > .z-menu-cl > .z-menu-cr > .z-menu-cm > .z-menu-cnt,
.z-menu-popup .z-menu-item-over > .z-menu-item-cl > .z-menu-item-cr > .z-menu-item-cm > .z-menu-item-cnt,
.z-menu-popup .z-menu-cnt:hover,
.z-menu-popup .z-menu-item-cnt:hover {
	min-height: 27px !important;
	height: 27px !important;
	line-height: 25px !important;
	padding: 0 12px 0 28px !important;
	margin: 1px 0 !important;
	box-sizing: border-box !important;
	background-color: rgba(15, 23, 42, 0.48) !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.42) !important;
	border-radius: 5px !important;
	box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.92) !important;
	color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38) !important;
	transform: none !important;
}

.z-menu-popup-cnt .z-menu-over .z-menu-cnt,
.z-menu-popup-cnt .z-menu-item-over .z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-over .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-over .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-over .z-label,
.z-menu-popup-cnt .z-menu-item-over .z-label {
	color: #ffffff !important;
}

@media (max-width: 480px) {
	.z-menu-popup,
	.z-menupopup,
	.z-menu-popup .z-menu-popup-cnt,
	.z-menupopup .z-menupopup-cnt,
	.z-menu-popup-cnt {
		min-width: 210px !important;
		max-width: 92vw !important;
		max-height: 68vh !important;
	}

	.z-menu-popup-cnt .z-menu a.z-menu-cnt,
	.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
	.z-menu-popup-cnt .z-menu-btn,
	.z-menu-popup-cnt .z-menu-item-btn {
		min-width: 210px !important;
		max-width: 92vw !important;
		touch-action: manipulation;
	}
}

/* ======================================================================
   UKURAN KOTAK WAJIB SAMA DI SEMUA KEADAAN (patch 2026-09-17)

   Gejala: teks item menu TURUN beberapa piksel saat di-hover atau saat
   item sedang terpilih/terbuka.

   Sebab: CSS bawaan ZK (zul.jar -> web/js/zul/menu/css/menu.css.dsp)
   menukar padding dengan border antar-keadaan, dan pertukaran itu netral
   SELAMA keduanya utuh:
       .z-menu-popup-cnt .z-menu       { padding:1px; }            <- normal, tanpa border
       .z-menu-popup-cnt .z-menu-over  { padding:0; border:1px; }  <- hover
   Berkas ini (blok di atas) memaksa padding:0 pada KEDUA keadaan namun
   hanya menghapus border kiri-kanan, sehingga pada keadaan hover tersisa
   border ATAS dan BAWAH masing-masing 1px: item bertambah tinggi 2px dan
   isinya ikut turun.

   Perbaikan: border dinolkan di semua keadaan. Penanda fokus tetap ada
   lewat box-shadow inset pada blok hover di atas, yang tidak memakan
   ruang sehingga tidak menggeser apa pun.
   ====================================================================== */
.z-menu-popup-cnt .z-menu,
.z-menu-popup-cnt .z-menu-item,
.z-menu-popup-cnt .z-menu-separator,
.z-menu-popup-cnt .z-menu-over,
.z-menu-popup-cnt .z-menu-item-over,
.z-menu-popup-cnt .z-menu:hover,
.z-menu-popup-cnt .z-menu-item:hover,
html body .z-menu-popup-cnt li.z-menu,
html body .z-menu-popup-cnt li.z-menu-item,
html body .z-menu-popup-cnt li.z-menu-over,
html body .z-menu-popup-cnt li.z-menu-item-over,
html body .z-menu-popup-cnt li.z-menu:hover,
html body .z-menu-popup-cnt li.z-menu-item:hover,
.z-menu-popup-cnt .z-menu-cl,
.z-menu-popup-cnt .z-menu-cr,
.z-menu-popup-cnt .z-menu-cm,
.z-menu-popup-cnt .z-menu-item-cl,
.z-menu-popup-cnt .z-menu-item-cr,
.z-menu-popup-cnt .z-menu-item-cm {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

/* Metrik vertikal tombol/tautan item popup identik di keadaan normal, hover,
   over, terpilih (-seld), dan sedang dibuka (-clk). */
.z-menu-popup-cnt .z-menu a.z-menu-cnt,
.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
.z-menu-popup-cnt .z-menu a.z-menu-cnt:hover,
.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt:hover,
.z-menu-popup-cnt .z-menu-over a.z-menu-cnt,
.z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
.z-menu-popup-cnt .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-btn:hover,
.z-menu-popup-cnt .z-menu-item-btn:hover,
.z-menu-popup-cnt .z-menu-over .z-menu-btn,
.z-menu-popup-cnt .z-menu-item-over .z-menu-item-btn,
.z-menu-popup-cnt .z-menu-body-over .z-menu-btn,
.z-menu-popup-cnt .z-menu-body-seld .z-menu-btn,
.z-menu-popup-cnt .z-menu-body-clk .z-menu-btn {
	min-height: 27px !important;
	height: 27px !important;
	line-height: 25px !important;
	padding: 0 12px 0 28px !important;
	border-width: 1px !important;
	margin: 1px 0 !important;
	box-sizing: border-box !important;
}

/* Mega menu (main-responsive-menu-popup, struktur z-menubar-ver): tombolnya
   memakai metrik ZK bawaan (padding-top:3px, padding-bottom:2px). Keadaan
   over/seld/clk tidak boleh mengubahnya. */
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-btn,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-item-btn,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-body-over .z-menu-btn,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-body-seld .z-menu-btn,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-body-clk .z-menu-btn,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-item-body-over .z-menu-item-btn {
	padding-top: 3px !important;
	padding-bottom: 2px !important;
	border-width: 0 !important;
	margin: 0 !important;
}

/* ZK menambah padding-right 3px -> 8px pada div pembungkus saat submenu
   dibuka (-clk), sehingga teks bergeser MENDATAR. Samakan juga. */
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-inner-m > div,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-body-clk .z-menu-inner-m > div,
html body .main-responsive-menu-popup .z-menubar-ver .z-menu-body-clk-over .z-menu-inner-m > div {
	padding-right: 3px !important;
}

/* ======================================================================
   PATCH GLOBAL: Z-INDEX POPUP, BACKDROP, DAN MODAL DI ATAS HEADER
   File ini dimuat paling akhir oleh MyThemeProvider, sehingga aturan di bawah
   menang atas semua CSS tenant perguruan tinggi.
   ====================================================================== */
.ais-af-backdrop,
.ecampus-filter-popup-mask {
	z-index: 100001 !important;
}

.ais-af-panel,
.ais-filter-lanjut-overlay,
.ais-filter-lanjut-panel,
.ais-legacy-filter-overlay,
.ecampus-filter-popup-window {
	z-index: 100002 !important;
}

/* Di dalam overlay filter (.ais-legacy-filter-overlay & .ais-filter-lanjut-overlay):
   Backdrop berada di belakang form/kartu (z-index: 0),
   kartu/body form berada di depan (z-index: 1),
   dan tombol tutup berada di paling atas (z-index: 2). */
.ais-legacy-filter-backdrop,
.ais-filter-lanjut-backdrop {
	z-index: 0 !important;
}

.ais-legacy-filter-overlay > .ecampus-zul-filter-window-body,
.ais-legacy-filter-overlay > .z-vbox,
.ais-filter-lanjut-panel {
	z-index: 1 !important;
}

.ais-legacy-filter-close {
	z-index: 2 !important;
}

.z-modal-mask {
	z-index: 99990 !important;
}

.z-window-modal,
.z-window-highlighted,
.z-window-popup,
.z-window-overlapped {
	z-index: 99995 !important;
}

/*
 * Lapisan bertingkat untuk jendela modal di atas jendela modal lain (mis. RPS OBE di dalam
 * Format Nilai -> Tambah CPMK Baru / Ambil CPMK / Generate AI -> Messagebox validasi),
 * 100% Pure CSS tanpa JavaScript tambahan sesuai ATURAN MUTLAK 1.
 */
html body .z-window-modal.ais-nested-modal-window,
html body .z-window-highlighted.ais-nested-modal-window,
html body .z-window-popup.ais-nested-modal-window,
html body .z-window-overlapped.ais-nested-modal-window,
html body .z-window-modal.ais-obe-ambil-banyak-modal {
	z-index: 100020 !important;
}

html body .z-window-modal.ais-nested-modal-top,
html body .z-window-highlighted.ais-nested-modal-top,
html body .z-window-popup.ais-nested-modal-top,
html body .z-window-overlapped.ais-nested-modal-top {
	z-index: 100035 !important;
}

html body .z-window-modal.ais-nested-modal-ultra,
html body .z-window-highlighted.ais-nested-modal-ultra,
html body .z-window-popup.ais-nested-modal-ultra,
html body .z-window-overlapped.ais-nested-modal-ultra {
	z-index: 100042 !important;
}

html body .z-window-modal.ais-nested-modal-max,
html body .z-window-highlighted.ais-nested-modal-max,
html body .z-window-popup.ais-nested-modal-max,
html body .z-window-overlapped.ais-nested-modal-max {
	z-index: 100046 !important;
}

html body .z-messagebox-window,
html body .z-window-modal.ais-modern-messagebox,
html body .z-window-highlighted.ais-modern-messagebox,
html body .z-window-modal:has(.z-messagebox),
html body .z-window-highlighted:has(.z-messagebox) {
	z-index: 100050 !important;
}

html body .ais-window-closed {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/*
 * ============================================================================
 * LAPISAN PANEL MENGAMBANG & DIALOG CKEDITOR DI ATAS MODAL ZKOSS (PURE CSS)
 * ============================================================================
 * Akar Masalah:
 * 1. Saat CKEditor (MyCkEditor / zkforge ckez) berada di dalam jendela modal ZK
 *    (.z-window-modal dengan z-index: 99995 dan .z-modal-mask dengan z-index: 99990),
 *    dropdown toolbar seperti Font, Size, Styles, Format, Text Color, Background Color,
 *    serta Context Menu dirender oleh plugin floatpanel/panel CKEditor sebagai elemen
 *    mengambang yang ditempelkan langsung ke <body>:
 *      <div class="cke_skin_kama" style="position: absolute; z-index: 10001; ...">
 *          <div class="cke_panel cke_rcombopanel">
 *              <iframe ...></iframe>
 *          </div>
 *      </div>
 * 2. Karena atribut style="position: absolute; z-index: 10001" berada pada elemen
 *    pembungkus LUAR (body > div.cke_skin_kama / div[class*="cke_skin_"]), elemen luar
 *    tersebut membentuk CSS stacking context yang terkunci pada z-index 10001.
 *    Akibatnya, memberi z-index tinggi hanya pada elemen anak (.cke_panel) TIDAK AKAN
 *    PERNAH bisa menembus .z-modal-mask (99990) maupun .z-window-modal (99995), sehingga
 *    pilihan Font/Size/Warna tidak terlihat dan tampak tidak bisa diklik.
 * 3. Demikian pula dialog popup CKEditor (Link, Image, Table, Paste, SpecialChar, More Colors)
 *    membuat .cke_dialog_background_cover (z-index: 10000) dan .cke_dialog (z-index: 10010)
 *    langsung di bawah <body>.
 *
 * Solusi Baku (100% Pure CSS - Tanpa JavaScript Tambahan sesuai ATURAN MUTLAK 1):
 * Menaikkan z-index langsung pada pembungkus luar di <body> (body > div[class*="cke_skin_"])
 * sekaligus elemen panel dan dialognya ke lapisan 200000-200010 (di atas .z-window-modal 99995
 * dan .ais-filter-lanjut-overlay 100002), serta memastikan pointer-events: auto pada panel
 * dan iframe di dalamnya agar seluruh opsi font, ukuran, gaya, warna, dan dialog CKEditor
 * dapat diklik dengan lancar.
 */
html body > div.cke_dialog_background_cover,
html body .cke_dialog_background_cover {
	z-index: 200000 !important;
}

html body > div.cke_skin_kama[role="dialog"],
html body > div[class*="cke_skin_"][role="dialog"],
html body > div[class*="cke_"][role="dialog"],
html body .cke_dialog {
	z-index: 200005 !important;
	pointer-events: auto !important;
}

html body > div.cke_skin_kama:not([role="dialog"]),
html body > div.cke_skin_office2003:not([role="dialog"]),
html body > div.cke_skin_v2:not([role="dialog"]),
html body > div[class*="cke_skin_"]:not([role="dialog"]),
html body > div.cke_panel,
html body .cke_panel,
html body .cke_rcombopanel,
html body .cke_colorblock,
html body .cke_contextmenu {
	z-index: 200010 !important;
	pointer-events: auto !important;
}

html body .cke_panel iframe,
html body .cke_panel_frame,
html body .cke_rcombopanel iframe {
	pointer-events: auto !important;
}

/* Panel dropdown pilihan (Combobox, Bandbox, Datebox, Timebox)
   harus selalu berada di atas overlay filter dan modal */
.z-bandbox-shadow,
.z-combobox-shadow,
.z-datebox-shadow,
.z-timebox-shadow,
.z-bandbox-pp,
.z-combobox-pp,
.z-datebox-pp,
.z-timebox-pp,
.z-bandpopup {
	z-index: 199999 !important;
}

/* Saat popup, filter lanjut, atau modal terbuka, turunkan z-index header */
body.ais-af-open .headerHbox,
body.ais-af-open .main-responsive-header,
body.ais-af-open .gridHeader,
body.ais-af-open .main-responsive-module-row,
body:has(.ais-af-panel.active) .main-responsive-header,
body:has(.ais-af-panel.active) .headerHbox,
body:has(.ais-filter-lanjut-panel.active) .main-responsive-header,
body:has(.ais-filter-lanjut-panel.active) .headerHbox,
body:has(.z-modal-mask) .main-responsive-header,
body:has(.z-modal-mask) .headerHbox,
body:has(.z-modal-mask) .gridHeader {
	z-index: 1 !important;
}

/* ======================================================================
   PATCH GLOBAL: LABEL / REVISI DI CAPTION GROUPBOX & GRID KONFIGURASI
   Theme tenant (mis. sma.css, hijau.css) memasang .z-caption a { color: white; }.
   Di grid konfigurasi dengan background putih, nama konfigurasi menjadi tidak terlihat.
   Aturan di bawah memastikan teks nama konfigurasi kontras dan berlatar badge jelas.
   ====================================================================== */
html body .ais-caption-styled,
html body .z-caption.ais-caption-styled,
html body .ais-konfig-grid .z-caption,
html body .ais-konfig-tabbox .z-caption {
	background: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px 16px !important;
	color: #0f172a !important;
}

html body .ais-caption-styled .z-a,
html body .ais-caption-styled a.z-a,
html body .ais-konfig-grid .z-caption .z-a,
html body .ais-konfig-grid .z-caption a.z-a,
html body .ais-konfig-tabbox .z-caption .z-a,
html body .ais-konfig-tabbox .z-caption a.z-a,
html body .z-groupbox .z-caption a,
html body .z-groupbox .z-caption a:visited,
html body .z-caption .ais-revisi-link,
html body .z-caption a.ais-revisi-link,
.ais-revisi-link,
a.ais-revisi-link {
	color: #1d4ed8 !important;
	background: #eff6ff !important;
	border: 1px solid #bfdbfe !important;
	border-radius: 6px !important;
	padding: 3px 9px !important;
	font-weight: 700 !important;
	font-size: 11.5px !important;
	text-decoration: none !important;
	text-shadow: none !important;
	display: inline-block !important;
	line-height: 1.4 !important;
	white-space: normal !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
}

html body .ais-caption-styled .z-a:hover,
html body .ais-caption-styled a.z-a:hover,
html body .ais-konfig-grid .z-caption .z-a:hover,
html body .ais-konfig-grid .z-caption a.z-a:hover,
html body .ais-konfig-tabbox .z-caption .z-a:hover,
html body .ais-konfig-tabbox .z-caption a.z-a:hover,
html body .z-groupbox .z-caption a:hover,
html body .z-caption .ais-revisi-link:hover,
html body .z-caption a.ais-revisi-link:hover,
.ais-revisi-link:hover,
a.ais-revisi-link:hover {
	color: #1e40af !important;
	background: #dbeafe !important;
	border-color: #93c5fd !important;
}

html body .ais-caption-styled .z-label,
html body .ais-konfig-grid .z-caption .z-label,
html body .ais-konfig-tabbox .z-caption .z-label,
html body .z-groupbox .z-caption .z-label,
html body .z-caption .ais-revisi-label,
.ais-revisi-label,
html body .ais-caption-styled .z-caption-cnt,
html body .ais-konfig-grid .z-caption-cnt,
html body .ais-konfig-tabbox .z-caption-cnt {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* ======================================================================
   PATCH GLOBAL: LEBAR POPUP COMBOBOX ZKOSS PROPORSIONAL
   Agar popup tidak terlalu lebar (membentang satu layar) dan tidak terlalu
   sempit ketika field combobox kecil (mis. di toolbar panel SOP):
   - Saat ZK 5 membuka popup (style width: auto), lebar dibatasi maksimal 340px
   - Lebar minimum popup dijaga 260px (atau selebar field bila field > 260px)
     dan maksimal 340px sehingga teks item dibaca nyaman & proporsional.
   ====================================================================== */
html body .z-combobox-pp[style*="width: auto"],
html body .z-combobox-pp[style*="width:auto"],
html body .z-combobox-rounded-pp[style*="width: auto"],
html body .z-combobox-rounded-pp[style*="width:auto"] {
	max-width: 340px !important;
}

html body .z-combobox-pp,
html body .z-combobox-rounded-pp {
	min-width: min(260px, calc(100vw - 24px)) !important;
	max-width: min(340px, calc(100vw - 24px)) !important;
	height: auto !important;
	max-height: 320px !important;
	max-height: min(320px, 50vh) !important;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

html body .z-combobox-pp > .z-combobox-cave,
html body .z-combobox-rounded-pp > .z-combobox-rounded-cave {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed !important;
}

html body .z-combobox-pp .z-comboitem-img,
html body .z-combobox-rounded-pp .z-comboitem-img {
	width: 18px !important;
}

html body .z-combobox-pp .z-comboitem-text,
html body .z-combobox-pp .z-comboitem-inner,
html body .z-combobox-rounded-pp .z-comboitem-text,
html body .z-combobox-rounded-pp .z-comboitem-inner {
	white-space: normal !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
	line-height: 1.35 !important;
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}

/* ======================================================================
   PATCH GLOBAL: LEBAR DATEBOX & POPUP KALENDER ZKOSS PROPORSIONAL
   Agar kotak input tanggal dan popup date picker (.z-datebox-pp) tidak
   melebar mengikuti kolom form (mis. setWidth("90%")) yang menyebabkan
   area kosong lebar di sebelah kanan kalender (215px).
   ====================================================================== */
html body .z-datebox,
html body .z-datebox-rounded {
	max-width: 190px !important;
}

html body .z-datebox .z-datebox-inp,
html body .z-datebox-rounded .z-datebox-rounded-inp,
html body input.z-datebox-inp,
html body input.z-datebox-rounded-inp {
	max-width: calc(100% - 24px) !important;
	box-sizing: border-box !important;
}

html body .z-datebox-pp,
html body .z-datebox-rounded-pp {
	width: 236px !important;
	min-width: 224px !important;
	max-width: min(248px, calc(100vw - 24px)) !important;
	height: auto !important;
	padding: 6px !important;
	box-sizing: border-box !important;
}

html body .z-datebox-pp .z-calendar,
html body .z-datebox-rounded-pp .z-calendar {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
}

html body .z-datebox-pp .z-timebox,
html body .z-datebox-rounded-pp .z-timebox {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

html body .z-datebox-shadow,
html body .z-datebox-rounded-shadow {
	max-width: min(248px, calc(100vw - 24px)) !important;
}

/* ======================================================================
   PATCH GLOBAL: KONTRAS BADGE & TOMBOL JUMLAH AKSES/AKTIVITAS E-LEARNING ("N lihat")
   Menjamin badge jumlah akses di TampilanELearningAction.dilihat(...) dan
   sub-badge aksi pertemuan selalu berwarna biru tua gelap (#0c4a6e) di atas
   pil biru langit (#e0f2fe) dengan garis tepi tegas (#0284c7), tidak pernah
   tertimpa menjadi putih oleh aturan tema global/tenant, serta tidak terpotong.
   ====================================================================== */
html body .elearning-action-pill-row,
html body .elearning-action-pill-row tbody,
html body .elearning-action-pill-row tr,
html body .elearning-action-pill-row td,
html body .elearning-action-vbox,
html body .elearning-action-vbox tbody,
html body .elearning-action-vbox tr,
html body .elearning-action-vbox td {
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
}

html body .elearning-action-vbox td {
	text-align: center !important;
}

html body .z-label.elearning-access-count,
html body .z-label.elearning-lihat-badge,
html body span.elearning-lihat-badge,
html body .z-toolbarbutton.elearning-access-count,
html body .z-toolbarbutton.elearning-access-count .z-toolbarbutton-body,
html body .z-toolbarbutton.elearning-access-count .z-toolbarbutton-cnt,
html body .z-toolbarbutton.elearning-access-count .z-toolbarbutton-cnt span {
	background: #e0f2fe !important;
	background-color: #e0f2fe !important;
	border-color: #0284c7 !important;
	color: #0c4a6e !important;
	-webkit-text-fill-color: #0c4a6e !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

html body .z-label.elearning-access-count,
html body .z-label.elearning-lihat-badge,
html body span.elearning-lihat-badge {
	display: inline-block !important;
	width: auto !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	padding: 2px 8px !important;
	margin-top: 2px !important;
	border: 1px solid #0284c7 !important;
	border-radius: 999px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	cursor: pointer !important;
}

html body .z-label.elearning-access-count:hover,
html body .z-label.elearning-lihat-badge:hover,
html body span.elearning-lihat-badge:hover,
html body .z-toolbarbutton.elearning-access-count:hover,
html body .z-toolbarbutton.elearning-access-count.z-toolbarbutton-over,
html body .z-toolbarbutton.elearning-access-count:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton.elearning-access-count.z-toolbarbutton-over .z-toolbarbutton-cnt {
	background: #bae6fd !important;
	background-color: #bae6fd !important;
	border-color: #0369a1 !important;
	color: #082f49 !important;
	-webkit-text-fill-color: #082f49 !important;
}

/* ======================================================================
   PATCH GLOBAL: PROTEKSI KONTRAS MENU KEBAB & TOMBOL BERLATAR GELAP/SOLID
   Mencegah teks menu atau tombol memiliki warna yang sama dengan warna
   background-nya (mis. teks gelap #0f172a di atas latar biru #1d4ed8 pada
   item kebab, atau teks biru --ais-theme-primary di atas tombol solid biru).
   ====================================================================== */
html body .z-popup.ais-row-popup,
html body .z-popup.ais-row-popup .z-popup-inner,
html body .z-popup.ais-row-popup .z-popup-cnt {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #0f172a !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-item.z-toolbarbutton,
html body .ais-row-popup-item.z-toolbarbutton,
html body .ais-row-popup-item .z-toolbarbutton-body {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-item.z-toolbarbutton[style*="display: none"],
html body .z-popup.ais-row-popup .ais-row-popup-item.z-toolbarbutton[style*="display:none"],
html body .z-popup.ais-row-popup .ais-row-popup-item[style*="display: none"],
html body .z-popup.ais-row-popup .ais-row-popup-item[style*="display:none"],
html body .ais-row-popup-item[style*="display: none"],
html body .ais-row-popup-item[style*="display:none"] {
	display: none !important;
}

html body .ais-row-popup-item .z-toolbarbutton-cnt,
html body .ais-row-popup-item .z-toolbarbutton-cnt span,
html body .ais-row-popup-item .z-toolbarbutton-cnt .z-label {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	text-shadow: none !important;
}

html body .ais-row-popup-item:hover .z-toolbarbutton-cnt,
html body .ais-row-popup-item.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .ais-row-popup-item .z-toolbarbutton-cnt:hover {
	background: #eff6ff !important;
	background-color: #eff6ff !important;
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
}

html body .ais-row-popup-item:hover .z-toolbarbutton-cnt span,
html body .ais-row-popup-item.z-toolbarbutton-over .z-toolbarbutton-cnt span,
html body .ais-row-popup-item .z-toolbarbutton-cnt:hover span {
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
}

/* ======================================================================
   ATURAN MUTLAK 52: KESERAGAMAN WARNA SELURUH MENU KEBAB & TOMBOL (ZKOSS)
   1. Seluruh item di dalam menu kebab/dropdown (.ais-row-popup-item,
      .ais-row-popup-item-danger, .ais-row-popup-item-has-data) wajib memiliki
      warna teks (#0f172a), latar transparan, dan hover (#eff6ff / #1d4ed8)
      yang 100% seragam.
   2. Seluruh tombol di luar menu kebab (.ais-btn, .ais-btn-hijau, .ais-btn-merah,
      .ais-btn-merah-tua, .ais-btn-biru, .ais-form-footer-action,
      .ais-toolbar-direct-btn, maupun tombol dengan inline style warna) wajib
      memiliki warna permukaan netral yang 100% seragam (#ffffff, border #cbd5e1,
      teks gelap #0f172a, hover #eff6ff / border #93c5fd / teks #1d4ed8) dan
      ikon SVG asli tanpa inversi putih.
   ====================================================================== */
html body .ais-row-popup-item-danger.z-toolbarbutton,
html body .ais-row-popup-item-danger .z-toolbarbutton-cnt,
html body .ais-row-popup-item-danger .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-danger .z-toolbarbutton-cnt .z-label,
html body .ais-row-popup-item-has-data.z-toolbarbutton,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt .z-label {
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
}

html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt .z-label {
	font-weight: 500 !important;
}

html body .ais-row-popup-item-danger:hover .z-toolbarbutton-cnt,
html body .ais-row-popup-item-danger.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .ais-row-popup-item-danger .z-toolbarbutton-cnt:hover,
html body .ais-row-popup-item-has-data:hover .z-toolbarbutton-cnt,
html body .ais-row-popup-item-has-data.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt:hover {
	background: #eff6ff !important;
	background-color: #eff6ff !important;
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
}

html body .ais-row-popup-item-danger:hover .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-danger.z-toolbarbutton-over .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-danger .z-toolbarbutton-cnt:hover span,
html body .ais-row-popup-item-has-data:hover .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-has-data.z-toolbarbutton-over .z-toolbarbutton-cnt span,
html body .ais-row-popup-item-has-data .z-toolbarbutton-cnt:hover span {
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
}

/* Normalisasi seragam seluruh tombol ZKoss (termasuk yang memiliki inline style warna) */
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1d4ed8"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1d4ed8"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1d4ed8"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1d4ed8"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#2563eb"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #2563eb"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0d6efd"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0d6efd"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1e40af"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1e40af"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1e40af"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1e40af"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1e3a8a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1e3a8a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1e3a8a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1e3a8a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0f172a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0f172a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0ea5e9"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0ea5e9"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0284c7"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0284c7"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0369a1"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0369a1"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0891b2"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0891b2"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#3b82f6"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #3b82f6"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#059669"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #059669"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#10b981"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #10b981"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#10b981"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #10b981"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#16a34a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #16a34a"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#198754"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #198754"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#dc2626"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #dc2626"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#b91c1c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #b91c1c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#b91c1c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #b91c1c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#ef4444"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #ef4444"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#4f46e5"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #4f46e5"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#4f46e5"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #4f46e5"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#7c3aed"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #7c3aed"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#c2410c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #c2410c"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#475569"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #475569"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#4CAF50"],
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #4CAF50"],
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-hijau:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah-tua:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-biru:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
}

html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1d4ed8"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1d4ed8"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1d4ed8"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1d4ed8"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#2563eb"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #2563eb"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0d6efd"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0d6efd"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1e40af"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1e40af"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1e40af"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1e40af"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#1e3a8a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #1e3a8a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#1e3a8a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #1e3a8a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0f172a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0f172a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0ea5e9"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0ea5e9"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0284c7"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0284c7"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0369a1"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0369a1"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#0891b2"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #0891b2"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#3b82f6"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #3b82f6"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#059669"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #059669"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#10b981"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #10b981"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#10b981"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #10b981"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#16a34a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #16a34a"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#198754"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #198754"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#dc2626"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #dc2626"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#b91c1c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #b91c1c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#b91c1c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #b91c1c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#ef4444"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #ef4444"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#4f46e5"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #4f46e5"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color:#4f46e5"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background-color: #4f46e5"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#7c3aed"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #7c3aed"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#c2410c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #c2410c"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#475569"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #475569"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#4CAF50"] .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #4CAF50"] .z-toolbarbutton-cnt,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-body,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-cnt,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-cnt * {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

html body .ais-btn.ais-tbar-icon-white:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) img,
html body .ais-btn.ais-tbar-icon-white:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]):hover img,
html body .ais-btn.ais-tbar-icon-white.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) img,
html body .ais-form-footer-action.ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) img,
html body .ais-form-footer-action.ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]):hover img,
html body .ais-form-footer-action.ais-btn.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) img,
html body .z-toolbarbutton.ais-tbar-icon-white img,
html body .z-toolbarbutton[style*="background:#2563eb"] img,
html body .z-toolbarbutton[style*="background: #2563eb"] img,
html body .z-toolbarbutton[style*="background:#1d4ed8"] img,
html body .z-toolbarbutton[style*="background: #1d4ed8"] img,
html body .z-toolbarbutton[style*="background:#3b82f6"] img,
html body .z-toolbarbutton[style*="background: #3b82f6"] img,
html body .z-toolbarbutton[style*="background:#0284c7"] img,
html body .z-toolbarbutton[style*="background: #0284c7"] img,
html body .z-toolbarbutton[style*="background:#059669"] img,
html body .z-toolbarbutton[style*="background: #059669"] img,
html body .z-toolbarbutton[style*="background:#16a34a"] img,
html body .z-toolbarbutton[style*="background: #16a34a"] img,
html body .z-toolbarbutton[style*="background:#198754"] img,
html body .z-toolbarbutton[style*="background: #198754"] img,
html body .z-toolbarbutton[style*="background:#dc2626"] img,
html body .z-toolbarbutton[style*="background: #dc2626"] img,
html body .z-toolbarbutton[style*="background:#ef4444"] img,
html body .z-toolbarbutton[style*="background: #ef4444"] img,
html body .z-toolbarbutton[style*="background:#991b1b"] img,
html body .z-toolbarbutton[style*="background: #991b1b"] img {
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
}

/* Hover seragam untuk seluruh tombol ZKoss */
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#3b82f6"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#3b82f6"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #3b82f6"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #3b82f6"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#198754"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #198754"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#ef4444"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #ef4444"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"].z-toolbarbutton-over,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"]:hover,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"].z-toolbarbutton-over,
html body .ais-btn:hover:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-hijau:hover:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-hijau.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah:hover:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah-tua:hover:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-merah-tua.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-biru:hover:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]),
html body .ais-btn-biru.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) {
	background: #eff6ff !important;
	background-color: #eff6ff !important;
	background-image: none !important;
	border-color: #93c5fd !important;
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
	filter: none !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .14) !important;
}

html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#2563eb"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #2563eb"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#3b82f6"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #3b82f6"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#059669"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #059669"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#16a34a"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #16a34a"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#198754"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #198754"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#dc2626"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #dc2626"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#ef4444"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #ef4444"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background:#991b1b"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"]:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton:not(.ais-row-popup-item)[style*="background: #991b1b"].z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]):hover .z-toolbarbutton-body,
html body .ais-btn.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-body,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]):hover .z-toolbarbutton-cnt,
html body .ais-btn.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-cnt,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]):hover .z-toolbarbutton-cnt *,
html body .ais-btn.z-toolbarbutton-over:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) .z-toolbarbutton-cnt * {
	color: #1d4ed8 !important;
	-webkit-text-fill-color: #1d4ed8 !important;
}

/* ======================================================================
   PATCH GLOBAL: BARIS PENCARIAN & TOMBOL TUTUP DI HEADER POPUP MENU NAVIGASI
   Ukuran seragam 32px, sebaris rapi, kontras WCAG AAA (#ffffff di atas scrim
   gelap >= 14.4:1), dan seragam sesuai ATURAN MUTLAK 16F, 28, & 52.
   ====================================================================== */
html body .main-responsive-menu-searchbar {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 6px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 8px 10px !important;
}

html body .main-responsive-menu-searchbar > tbody,
html body .main-responsive-menu-searchbar > tbody > tr,
html body .main-responsive-menu-searchbar > tbody > tr > td[id$="-frame"],
html body .main-responsive-menu-searchbar table,
html body .main-responsive-menu-searchbar tbody,
html body .main-responsive-menu-searchbar tr {
	display: contents !important;
}

html body .main-responsive-menu-searchbar td.z-hbox-inner,
html body .main-responsive-menu-searchbar .z-hbox-cell {
	display: flex !important;
	align-items: center !important;
	vertical-align: middle !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	margin: 0 !important;
}

html body .main-responsive-menu-searchbar td.z-hbox-inner:first-child,
html body .main-responsive-menu-searchbar .z-hbox-cell:first-child {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
}

html body .main-responsive-menu-searchbar td.z-hbox-sep,
html body .main-responsive-menu-searchbar .z-hbox-sep {
	display: none !important;
	width: 0 !important;
	min-width: 0 !important;
}

html body .main-responsive-menu-search-input,
html body .main-responsive-menu-searchbar .z-textbox {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	line-height: 30px !important;
	padding: 0 10px !important;
	font-size: 12.5px !important;
	border-radius: 9px !important;
	background: #ffffff !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	border: 1px solid rgba(191, 219, 254, 0.92) !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

html body .main-responsive-menu-search-button,
html body .main-responsive-menu-searchbar .main-responsive-menu-search-button.z-toolbarbutton {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 9px !important;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, rgba(15, 23, 42, 0.50) 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.65) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22) !important;
	box-sizing: border-box !important;
}

html body .main-responsive-menu-search-button .z-toolbarbutton-body,
html body .main-responsive-menu-search-button .z-toolbarbutton-cnt {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: none !important;
}

html body .main-responsive-menu-search-button img,
html body .main-responsive-menu-search-button .z-toolbarbutton-cnt img {
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	min-height: 15px !important;
	margin: 0 auto !important;
	display: block !important;
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
}

html body .main-responsive-menu-search-button:hover,
html body .main-responsive-menu-search-button.z-toolbarbutton-over,
html body .main-responsive-menu-searchbar .main-responsive-menu-search-button.z-toolbarbutton:hover,
html body .main-responsive-menu-searchbar .main-responsive-menu-search-button.z-toolbarbutton.z-toolbarbutton-over {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.64) 100%) !important;
	border-color: rgba(255, 255, 255, 0.92) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

html body .main-responsive-menu-search-button:hover img,
html body .main-responsive-menu-search-button.z-toolbarbutton-over img,
html body .main-responsive-menu-search-button:hover .z-toolbarbutton-cnt img,
html body .main-responsive-menu-search-button.z-toolbarbutton-over .z-toolbarbutton-cnt img {
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
}

html body .main-responsive-menu-popup-close-button,
html body .main-responsive-menu-searchbar .main-responsive-menu-popup-close-button.z-toolbarbutton {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 0 !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

html body .main-responsive-menu-popup-close-button .z-toolbarbutton-body {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

html body .main-responsive-menu-popup-close-button .z-toolbarbutton-cnt {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	min-width: 66px !important;
	padding: 0 14px !important;
	margin: 0 !important;
	line-height: 1 !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	border-radius: 9px !important;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, rgba(15, 23, 42, 0.50) 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.65) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28) !important;
	text-align: center !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22) !important;
}

html body .main-responsive-menu-popup-close-button:hover .z-toolbarbutton-cnt,
html body .main-responsive-menu-popup-close-button.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .main-responsive-menu-searchbar .main-responsive-menu-popup-close-button.z-toolbarbutton:hover .z-toolbarbutton-cnt,
html body .main-responsive-menu-searchbar .main-responsive-menu-popup-close-button.z-toolbarbutton.z-toolbarbutton-over .z-toolbarbutton-cnt {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.64) 100%) !important;
	border-color: rgba(255, 255, 255, 0.92) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

html body .main-responsive-menu-popup-close-button img,
html body .main-responsive-menu-popup-close-button .z-toolbarbutton-cnt img {
	display: none !important;
}

/* ======================================================================
   COLLAPSIBLE TEXT RENDERER ("Lihat selengkapnya" / "Ciutkan teks")
   ====================================================================== */
html body .ais-collapsible-text,
html body .ais-collapsible-text-full,
html body .ais-collapsible-expanded,
html body .ais-collapsible-expanded .z-label,
html body .ais-collapsible-expanded .z-a,
html body td.z-row-inner .z-row-cnt .ais-collapsible-expanded,
html body td.z-row-inner .z-row-cnt .ais-collapsible-expanded .z-label,
html body td.z-row-inner .z-row-cnt .ais-collapsible-text-full,
html body td.z-cell .z-row-cnt .ais-collapsible-expanded,
html body td.z-cell .z-row-cnt .ais-collapsible-expanded .z-label,
html body td.z-cell .z-row-cnt .ais-collapsible-text-full,
html body td.z-listcell .z-listcell-cnt .ais-collapsible-expanded,
html body td.z-listcell .z-listcell-cnt .ais-collapsible-expanded .z-label,
html body td.z-listcell .z-listcell-cnt .ais-collapsible-text-full {
	white-space: pre-wrap !important;
	overflow-wrap: anywhere !important;
	word-wrap: break-word !important;
	word-break: break-word !important;
	overflow: visible !important;
	text-overflow: clip !important;
	max-width: 100% !important;
	height: auto !important;
}

html body td.z-row-inner:has(.ais-collapsible-expanded),
html body td.z-cell:has(.ais-collapsible-expanded),
html body td.z-listcell:has(.ais-collapsible-expanded),
html body div.z-row-cnt:has(.ais-collapsible-expanded),
html body div.z-row-cnt.z-overflow-hidden:has(.ais-collapsible-expanded),
html body div.z-listcell-cnt:has(.ais-collapsible-expanded),
html body div.z-listcell-cnt.z-overflow-hidden:has(.ais-collapsible-expanded) {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	height: auto !important;
	max-height: none !important;
}


/* ======================================================================
   PATCH GLOBAL: KEBAB MENU (tiga titik) RESPONSIF MOBILE & DESKTOP
   Memastikan seluruh area tombol pemicu .ais-row-action-kebab aktif
   menerima klik/tap (tanpa dead-zone) dan popup .z-popup.ais-row-popup
   tidak pernah melampaui lebar layar HP (viewport clamping).
   ====================================================================== */
html body .ais-row-action-kebab,
html body .ais-row-actions .ais-row-action-kebab {
	display: inline-flex !important;
	box-sizing: border-box !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	cursor: pointer !important;
	touch-action: manipulation !important;
	user-select: none !important;
	-webkit-tap-highlight-color: rgba(37, 99, 235, 0.15) !important;
}

html body .ais-row-action-kebab .z-toolbarbutton-body,
html body .ais-row-action-kebab .z-toolbarbutton-cnt,
html body .ais-row-actions .ais-row-action-kebab .z-toolbarbutton-cnt {
	display: flex !important;
	box-sizing: border-box !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
}

html body .z-popup.ais-row-popup {
	max-width: calc(100vw - 16px) !important;
	box-sizing: border-box !important;
	z-index: 2147483647 !important;
}

@media only screen and (max-width: 820px) {
	html body .ais-row-action-kebab,
	html body .ais-row-actions .ais-row-action-kebab {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
		padding: 0 !important;
	}
	html body .ais-row-popup-item .z-toolbarbutton-cnt {
		min-height: 44px !important;
		padding: 8px 14px !important;
		font-size: 14px !important;
		touch-action: manipulation !important;
	}
	html body .elearning-action-pill-row {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}


/* ======================================================================
 * GLOBAL OVERRIDE: PAGING MODAL / OS MOLD (STANDAR AIS)
 * File ini dimuat paling akhir oleh MyThemeProvider setelah seluruh theme tenant.
 * Memastikan tombol nomor halaman (1, 2, 3...) pada mold "os" tidak merenggang
 * jauh ke samping dan div pembungkus Breeze dinetralisir secara permanen.
 * ====================================================================== */
html body .z-paging {
    background: #ffffff !important;
    border: 1px solid var(--ais-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    color: #334155 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Standarisasi Paging Mold Default ZK:
   Tabel kontrol navigasi ([<<] [<] | [ 1 ] / 17 | [>] [>>]) selalu rapat dan kompak di sisi kiri,
   tidak merenggang / melebar memenuhi seluruh baris kontainer. */
html body .z-paging > table,
html body .z-paging table.z-paging-table {
    display: inline-table !important;
    width: auto !important;
    max-width: fit-content !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    float: none !important;
}
html body .z-paging > table td,
html body .z-paging table.z-paging-table td {
    width: auto !important;
    padding: 1px 3px !important;
    vertical-align: middle !important;
}
html body .z-paging table.z-paging-btn,
html body .z-paging table.z-paging-btn tbody,
html body .z-paging table.z-paging-btn tr,
html body .z-paging table.z-paging-btn td {
    width: auto !important;
    border-collapse: collapse !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: table !important;
}
html body .z-paging table.z-paging-btn td.z-paging-btn-m {
    display: table-cell !important;
    vertical-align: middle !important;
}
html body .z-paging table.z-paging-btn td.z-paging-btn-l,
html body .z-paging table.z-paging-btn td.z-paging-btn-r {
    display: none !important;
}
html body .z-paging span.z-paging-sep {
    display: inline-block !important;
    width: 1px !important;
    height: 16px !important;
    margin: 0 6px !important;
    background: #cbd5e1 !important;
    background-image: none !important;
    vertical-align: middle !important;
}
html body .z-paging div.z-paging-info,
html body .z-paging span.z-paging-info {
    position: static !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    text-align: right !important;
}

html body .z-paging-os {
    background: #ffffff !important;
    border: 1px solid var(--ais-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    height: auto !important;
    min-height: 40px !important;
    line-height: normal !important;
    position: relative !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

html body .z-paging-os div.z-paging-os-cnt-l,
html body .z-paging-os div.z-paging-os-cnt-r,
html body .z-paging-os div.z-paging-os-cnt-m,
html body .z-paging-os div.z-paging-os-cnt-seld-l,
html body .z-paging-os div.z-paging-os-cnt-seld-r,
html body .z-paging-os div.z-paging-os-cnt-seld-m,
html body .z-paging-os div.z-paging-os-cnt-l-over {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle !important;
}

html body .z-paging-os a.z-paging-os-cnt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    min-width: 28px !important;
    height: 28px !important;
    line-height: 1 !important;
    text-align: center !important;
    padding: 0 8px !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    position: static !important;
    top: auto !important;
    transition: all 0.15s ease !important;
}

html body .z-paging-os a.z-paging-os-cnt:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    text-decoration: none !important;
}

html body .z-paging-os a.z-paging-os-seld,
html body .z-paging-os a.z-paging-os-cnt.z-paging-os-seld {
    background: var(--ais-theme-primary, #1e40af) !important;
    color: #ffffff !important;
    border-color: var(--ais-theme-primary, #1e40af) !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

html body .z-paging-os span,
html body .z-paging-os span.z-paging-info {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-left: auto !important;
    padding-left: 8px !important;
    position: static !important;
    float: none !important;
    height: 28px !important;
    line-height: 1 !important;
}

/* =========================================================================
   STANDARISASI ENTRY KONTROL (TEXTBOX, COMBOBOX, BANDBOX, DATEBOX, TIMEBOX, SPINNER)
   DI DALAM TOOLBAR FILTER & FORMULIR
   Mencegah input dan tombol picker tampil beda tinggi / gepeng / terpotong.
   ========================================================================= */
html body .z-toolbar input.z-textbox,
html body .z-toolbar .z-textbox,
html body .ais-toolbar input.z-textbox,
html body .ais-toolbar .z-textbox {
    min-height: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 2px 8px !important;
    box-sizing: border-box !important;
}
html body .z-toolbar .z-combobox,
html body .ais-toolbar .z-combobox,
html body .z-toolbar .z-bandbox,
html body .ais-toolbar .z-bandbox,
html body .z-toolbar .z-datebox,
html body .ais-toolbar .z-datebox,
html body .z-toolbar .z-timebox,
html body .ais-toolbar .z-timebox,
html body .z-toolbar .z-spinner,
html body .ais-toolbar .z-spinner,
html body .z-toolbar .z-doublespinner,
html body .ais-toolbar .z-doublespinner,
html body .z-combobox.elearning-periode-combo {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    vertical-align: middle !important;
    height: 32px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
}
html body .z-toolbar .z-combobox .z-combobox-inp,
html body .ais-toolbar .z-combobox .z-combobox-inp,
html body .z-toolbar .z-bandbox .z-bandbox-inp,
html body .ais-toolbar .z-bandbox .z-bandbox-inp,
html body .z-toolbar .z-datebox .z-datebox-inp,
html body .ais-toolbar .z-datebox .z-datebox-inp,
html body .z-toolbar .z-timebox .z-timebox-inp,
html body .ais-toolbar .z-timebox .z-timebox-inp,
html body .z-toolbar .z-spinner .z-spinner-inp,
html body .ais-toolbar .z-spinner .z-spinner-inp,
html body .z-toolbar .z-doublespinner .z-doublespinner-inp,
html body .ais-toolbar .z-doublespinner .z-doublespinner-inp,
html body .z-combobox.elearning-periode-combo .z-combobox-inp {
    flex: 1 1 auto !important;
    width: calc(100% - 26px) !important;
    max-width: calc(100% - 26px) !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 28px !important;
    font-size: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-right: 0 !important;
    border-radius: 6px 0 0 6px !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
html body .z-toolbar .z-combobox .z-combobox-btn,
html body .ais-toolbar .z-combobox .z-combobox-btn,
html body .z-toolbar .z-bandbox .z-bandbox-btn,
html body .ais-toolbar .z-bandbox .z-bandbox-btn,
html body .z-toolbar .z-datebox .z-datebox-btn,
html body .ais-toolbar .z-datebox .z-datebox-btn,
html body .z-toolbar .z-timebox .z-timebox-btn,
html body .ais-toolbar .z-timebox .z-timebox-btn,
html body .z-toolbar .z-spinner .z-spinner-btn,
html body .ais-toolbar .z-spinner .z-spinner-btn,
html body .z-toolbar .z-doublespinner .z-doublespinner-btn,
html body .ais-toolbar .z-doublespinner .z-doublespinner-btn,
html body .z-combobox.elearning-periode-combo .z-combobox-btn {
    flex: 0 0 26px !important;
    align-self: stretch !important;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 30px !important;
    width: 26px !important;
    min-width: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #94a3b8 !important;
    border-left: 1px solid #cbd5e1 !important;
    border-radius: 0 6px 6px 0 !important;
    background-color: #eef5ff !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* ======================================================================
   PATCH GLOBAL VISIBILITAS IKON, KESELARASAN TINGGI, & KURSOR PICKER ZKOSS
   (COMBOBOX, BANDBOX, DATEBOX, TIMEBOX, SPINNER, DOUBLESPINNER)
   Karena zkoss_popup_menu_fix.css dimuat PALING AKHIR oleh MyThemeProvider
   (setelah css_utama.css dan tema kustom tenant seperti biru_tua.css / ytb.css / asm.css),
   aturan di sini menjamin:
   1. Wrapper picker selalu inline-flex dengan align-items: stretch.
   2. Tinggi input (-inp) dan tombol (-btn) selalu identik (26px di form, 32px di toolbar).
   3. Ikon panah/kalender/jam/pencarian/stepper tidak pernah tertimpa oleh CSS tenant.
   ====================================================================== */
html body .z-combobox,
html body .z-bandbox,
html body .z-datebox,
html body .z-timebox,
html body .z-spinner,
html body .z-doublespinner,
html body .z-combobox-rounded,
html body .z-bandbox-rounded,
html body .z-datebox-rounded,
html body .z-timebox-rounded,
html body .z-spinner-rounded,
html body .z-doublespinner-rounded {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

html body .z-combobox-inp,
html body .z-bandbox-inp,
html body .z-datebox-inp,
html body .z-timebox-inp,
html body .z-spinner-inp,
html body .z-doublespinner-inp,
html body .z-combobox-rounded-inp,
html body .z-bandbox-rounded-inp,
html body .z-datebox-rounded-inp,
html body .z-timebox-rounded-inp,
html body .z-spinner-rounded-inp,
html body .z-doublespinner-rounded-inp {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 26px !important;
    height: 26px !important;
    line-height: 20px !important;
    margin: 0 !important;
    border-radius: 6px 0 0 6px !important;
    border-right: 0 !important;
    box-sizing: border-box !important;
    cursor: text !important;
    caret-color: #1d4ed8 !important;
}

html body .z-combobox-inp[readonly],
html body .z-bandbox-inp[readonly],
html body .z-datebox-inp[readonly],
html body .z-combobox-rounded-inp[readonly],
html body .z-bandbox-rounded-inp[readonly],
html body .z-datebox-rounded-inp[readonly] {
    cursor: pointer !important;
}

html body .z-combobox .z-combobox-btn,
html body .z-bandbox .z-bandbox-btn,
html body .z-datebox .z-datebox-btn,
html body .z-timebox .z-timebox-btn,
html body .z-spinner .z-spinner-btn,
html body .z-doublespinner .z-doublespinner-btn,
html body .z-combobox-rounded .z-combobox-rounded-btn,
html body .z-bandbox-rounded .z-bandbox-rounded-btn,
html body .z-datebox-rounded .z-datebox-rounded-btn,
html body .z-timebox-rounded .z-timebox-rounded-btn,
html body .z-spinner-rounded .z-spinner-rounded-btn,
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 26px !important;
    min-height: 26px !important;
    line-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    overflow: hidden !important;
    background-color: #eef5ff !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border: 1px solid #94a3b8 !important;
    border-left: 1px solid #cbd5e1 !important;
    border-radius: 0 6px 6px 0 !important;
}

html body .z-timebox .z-timebox-btn,
html body .z-spinner .z-spinner-btn,
html body .z-doublespinner .z-doublespinner-btn,
html body .z-timebox-rounded .z-timebox-rounded-btn,
html body .z-spinner-rounded .z-spinner-rounded-btn,
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

/* Pertahankan tinggi 32px di dalam Toolbar & Filter Bar (mengalahkan aturan 26px di atas) */
html body .z-toolbar .z-combobox .z-combobox-inp,
html body .ais-toolbar .z-combobox .z-combobox-inp,
html body .z-toolbar .z-bandbox .z-bandbox-inp,
html body .ais-toolbar .z-bandbox .z-bandbox-inp,
html body .z-toolbar .z-datebox .z-datebox-inp,
html body .ais-toolbar .z-datebox .z-datebox-inp,
html body .z-toolbar .z-timebox .z-timebox-inp,
html body .ais-toolbar .z-timebox .z-timebox-inp,
html body .z-toolbar .z-spinner .z-spinner-inp,
html body .ais-toolbar .z-spinner .z-spinner-inp,
html body .z-toolbar .z-doublespinner .z-doublespinner-inp,
html body .ais-toolbar .z-doublespinner .z-doublespinner-inp,
html body .ais-rekap-filter-bar .z-combobox .z-combobox-inp,
html body .ais-rekap-filter-item .z-combobox .z-combobox-inp,
html body .ais-rekap-filter-bar .z-datebox .z-datebox-inp,
html body .ais-rekap-filter-item .z-datebox .z-datebox-inp,
html body .elearning-left-filter-grid .z-combobox.elearning-left-filter-ta .z-combobox-inp,
html body .z-combobox.elearning-periode-combo .z-combobox-inp {
    height: 32px !important;
    min-height: 32px !important;
    line-height: 28px !important;
}

html body .z-toolbar .z-combobox .z-combobox-btn,
html body .ais-toolbar .z-combobox .z-combobox-btn,
html body .z-toolbar .z-bandbox .z-bandbox-btn,
html body .ais-toolbar .z-bandbox .z-bandbox-btn,
html body .z-toolbar .z-datebox .z-datebox-btn,
html body .ais-toolbar .z-datebox .z-datebox-btn,
html body .z-toolbar .z-timebox .z-timebox-btn,
html body .ais-toolbar .z-timebox .z-timebox-btn,
html body .z-toolbar .z-spinner .z-spinner-btn,
html body .ais-toolbar .z-spinner .z-spinner-btn,
html body .z-toolbar .z-doublespinner .z-doublespinner-btn,
html body .ais-toolbar .z-doublespinner .z-doublespinner-btn,
html body .ais-rekap-filter-bar .z-combobox .z-combobox-btn,
html body .ais-rekap-filter-item .z-combobox .z-combobox-btn,
html body .ais-rekap-filter-bar .z-datebox .z-datebox-btn,
html body .ais-rekap-filter-item .z-datebox .z-datebox-btn,
html body .elearning-left-filter-grid .z-combobox.elearning-left-filter-ta .z-combobox-btn,
html body .z-combobox.elearning-periode-combo .z-combobox-btn {
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 30px !important;
}

/* Pertahankan tinggi kompak 22px khusus header kolom penilaian (.ranah-cell) */
html body .ranah-cell .z-combobox .z-combobox-inp {
    height: 22px !important;
    min-height: 22px !important;
    line-height: 18px !important;
}
html body .ranah-cell .z-combobox .z-combobox-btn {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 22px !important;
    min-height: 22px !important;
}

/* Ikon Jam (Clock) di sisi kiri dalam input Timebox agar identitasnya sebagai Time Picker sangat jelas */
html body .z-timebox .z-timebox-inp,
html body .z-timebox-rounded .z-timebox-rounded-inp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%232563eb' d='M8 3.5a.5.5 0 0 0-1 0V8a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 7.71V3.5z'/%3E%3Cpath fill='%231e40af' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 7px center !important;
    background-size: 13px 13px !important;
    padding-left: 25px !important;
}

/* 1. Combobox: Panah Dropdown Tegas (termasuk hover/over/clk) */
html body .z-combobox .z-combobox-btn,
html body .z-combobox .z-combobox-btn:hover,
html body .z-combobox .z-combobox-btn-over,
html body .z-combobox .z-combobox-btn-clk,
html body .z-combobox-rounded .z-combobox-rounded-btn,
html body .z-combobox-rounded .z-combobox-rounded-btn:hover,
html body .z-combobox-rounded .z-combobox-rounded-btn-over,
html body .z-combobox-rounded .z-combobox-rounded-btn-clk,
html body .z-toolbar .z-combobox-btn,
html body .ais-toolbar .z-combobox-btn,
html body .ais-rekap-filter-bar .z-combobox .z-combobox-btn,
html body .ais-rekap-filter-item .z-combobox .z-combobox-btn,
html body .ranah-cell .z-combobox-btn,
html body .ecampus-inline-filter .z-combobox-btn,
html body .ecampus-login-tgl .z-combobox-btn {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 13px 13px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M2.8 5.3a1.1 1.1 0 0 1 1.56 0L8 8.94l3.64-3.64a1.1 1.1 0 1 1 1.56 1.56l-4.42 4.42a1.1 1.1 0 0 1-1.56 0L2.8 6.86a1.1 1.1 0 0 1 0-1.56z'/%3E%3C/svg%3E") !important;
}

/* 2. Bandbox: Ikon Lup Pencarian / Lookup Tegas (termasuk hover/over/clk) */
html body .z-bandbox .z-bandbox-btn,
html body .z-bandbox .z-bandbox-btn:hover,
html body .z-bandbox .z-bandbox-btn-over,
html body .z-bandbox .z-bandbox-btn-clk,
html body .z-bandbox-rounded .z-bandbox-rounded-btn,
html body .z-bandbox-rounded .z-bandbox-rounded-btn:hover,
html body .z-bandbox-rounded .z-bandbox-rounded-btn-over,
html body .z-bandbox-rounded .z-bandbox-rounded-btn-clk,
html body .z-toolbar .z-bandbox-btn,
html body .ais-toolbar .z-bandbox-btn,
html body .ecampus-inline-filter .z-bandbox-btn {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 13px 13px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") !important;
}

/* 3. Datebox: Ikon Kalender Tegas (termasuk hover/over/clk) */
html body .z-datebox .z-datebox-btn,
html body .z-datebox .z-datebox-btn:hover,
html body .z-datebox .z-datebox-btn-over,
html body .z-datebox .z-datebox-btn-clk,
html body .z-datebox-rounded .z-datebox-rounded-btn,
html body .z-datebox-rounded .z-datebox-rounded-btn:hover,
html body .z-datebox-rounded .z-datebox-rounded-btn-over,
html body .z-datebox-rounded .z-datebox-rounded-btn-clk,
html body .z-toolbar .z-datebox-btn,
html body .ais-toolbar .z-datebox-btn,
html body .ais-rekap-filter-bar .z-datebox .z-datebox-btn,
html body .ais-rekap-filter-item .z-datebox .z-datebox-btn {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 14px 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%231e40af' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 5v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5H1zm2.5 2h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm4 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm4 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm-8 3h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm4 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm4 0h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E") !important;
}

/* 4. Timebox, Spinner, Doublespinner: Ikon Stepper Atas-Bawah Tegas */
html body .z-timebox .z-timebox-btn,
html body .z-timebox-rounded .z-timebox-rounded-btn,
html body .z-spinner .z-spinner-btn,
html body .z-doublespinner .z-doublespinner-btn,
html body .z-spinner-rounded .z-spinner-rounded-btn,
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 12px 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M8 2.2l4.2 4.6H3.8L8 2.2zm0 11.6L3.8 9.2h8.4L8 13.8z'/%3E%3C/svg%3E") !important;
}

html body .z-timebox .z-timebox-btn:has(.z-timebox-btn-upper),
html body .z-timebox-rounded .z-timebox-rounded-btn:has(.z-timebox-rounded-btn-upper),
html body .z-spinner .z-spinner-btn:has(.z-spinner-btn-upper),
html body .z-doublespinner .z-doublespinner-btn:has(.z-doublespinner-btn-upper),
html body .z-spinner-rounded .z-spinner-rounded-btn:has(.z-spinner-rounded-btn-upper),
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn:has(.z-doublespinner-rounded-btn-upper) {
    background-image: none !important;
}

html body .z-timebox .z-timebox-btn-upper,
html body .z-timebox .z-timebox-btn-upper:hover,
html body .z-timebox .z-timebox-btn-over .z-timebox-btn-upper,
html body .z-timebox .z-timebox-btn-upper-over,
html body .z-timebox .z-timebox-btn-upper-clk,
html body .z-timebox-rounded .z-timebox-rounded-btn-upper,
html body .z-spinner .z-spinner-btn-upper,
html body .z-spinner .z-spinner-btn-upper:hover,
html body .z-spinner .z-spinner-btn-over .z-spinner-btn-upper,
html body .z-spinner .z-spinner-btn-upper-over,
html body .z-spinner .z-spinner-btn-upper-clk,
html body .z-doublespinner .z-doublespinner-btn-upper,
html body .z-doublespinner .z-doublespinner-btn-upper:hover,
html body .z-doublespinner .z-doublespinner-btn-over .z-doublespinner-btn-upper,
html body .z-doublespinner .z-doublespinner-btn-upper-over,
html body .z-doublespinner .z-doublespinner-btn-upper-clk,
html body .z-spinner-rounded .z-spinner-rounded-btn-upper,
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn-upper {
    display: block !important;
    flex: 1 1 50% !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 11px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 9px 9px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M8 3.5l4.8 5.5H3.2L8 3.5z'/%3E%3C/svg%3E") !important;
}

html body .z-timebox .z-timebox-btn-lower,
html body .z-timebox .z-timebox-btn-lower:hover,
html body .z-timebox .z-timebox-btn-over .z-timebox-btn-lower,
html body .z-timebox .z-timebox-btn-lower-over,
html body .z-timebox .z-timebox-btn-lower-clk,
html body .z-timebox-rounded .z-timebox-rounded-btn-lower,
html body .z-spinner .z-spinner-btn-lower,
html body .z-spinner .z-spinner-btn-lower:hover,
html body .z-spinner .z-spinner-btn-over .z-spinner-btn-lower,
html body .z-spinner .z-spinner-btn-lower-over,
html body .z-spinner .z-spinner-btn-lower-clk,
html body .z-doublespinner .z-doublespinner-btn-lower,
html body .z-doublespinner .z-doublespinner-btn-lower:hover,
html body .z-doublespinner .z-doublespinner-btn-over .z-doublespinner-btn-lower,
html body .z-doublespinner .z-doublespinner-btn-lower-over,
html body .z-doublespinner .z-doublespinner-btn-lower-clk,
html body .z-spinner-rounded .z-spinner-rounded-btn-lower,
html body .z-doublespinner-rounded .z-doublespinner-rounded-btn-lower {
    display: block !important;
    flex: 1 1 50% !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 11px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 9px 9px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M8 12.5L3.2 7h9.6L8 12.5z'/%3E%3C/svg%3E") !important;
}

html body .z-combobox .z-combobox-btn:hover,
html body .z-bandbox .z-bandbox-btn:hover,
html body .z-datebox .z-datebox-btn:hover,
html body .z-timebox .z-timebox-btn:hover,
html body .z-spinner .z-spinner-btn:hover,
html body .z-doublespinner .z-doublespinner-btn:hover,
html body .z-combobox .z-combobox-btn-over,
html body .z-bandbox .z-bandbox-btn-over,
html body .z-datebox .z-datebox-btn-over,
html body .z-timebox .z-timebox-btn-over,
html body .z-spinner .z-spinner-btn-over,
html body .z-doublespinner .z-doublespinner-btn-over,
html body .z-timebox .z-timebox-btn-upper:hover,
html body .z-timebox .z-timebox-btn-lower:hover,
html body .z-spinner .z-spinner-btn-upper:hover,
html body .z-spinner .z-spinner-btn-lower:hover,
html body .z-doublespinner .z-doublespinner-btn-upper:hover,
html body .z-doublespinner .z-doublespinner-btn-lower:hover {
    background-color: #dbeafe !important;
    border-color: #3b82f6 !important;
}

/* ============================================================================
   12. NORMALISASI TOMBOL ZKOSS (span.z-button / .z-button-cm) & FOOTER MODAL
       Mencegah kotak ganda (button di dalam button) dan teks putih di atas
       kotak putih pada seluruh modal dialog ZKoss.
   ============================================================================ */
html body .ais-modal-footer-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .z-button .z-button-tl,
html body .z-button .z-button-tm,
html body .z-button .z-button-tr,
html body .z-button .z-button-cl,
html body .z-button .z-button-cr,
html body .z-button .z-button-bl,
html body .z-button .z-button-bm,
html body .z-button .z-button-br {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html body .z-button .z-button-cm > button,
html body .z-button .z-button-cm button.z-button,
html body span.z-button button {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    font: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* ============================================================================
   13. ATURAN MUTLAK 56: SELURUH MENU DI DALAM KEBAB WAJIB RATA KIRI (ALIGN LEFT)
       Menjamin seluruh item Toolbarbutton maupun Checkbox di dalam popup kebab
       (.z-popup.ais-row-popup) dan Menupopup selalu rata kiri (flex-start / left).
   ============================================================================ */
html body .z-popup.ais-row-popup,
html body .z-popup.ais-row-popup .z-popup-inner,
html body .z-popup.ais-row-popup .z-popup-cnt,
html body .z-popup.ais-row-popup .ais-row-popup-content,
html body .z-popup.ais-row-popup .z-vbox,
html body .z-popup.ais-row-popup .z-vbox td,
html body .z-popup.ais-row-popup .z-vbox tr {
    text-align: left !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-content,
html body .z-popup.ais-row-popup .z-vbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-item:not([style*="display: none"]):not([style*="display:none"]),
html body .z-popup.ais-row-popup .z-toolbarbutton:not([style*="display: none"]):not([style*="display:none"]) {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-item .z-toolbarbutton-body,
html body .z-popup.ais-row-popup .z-toolbarbutton .z-toolbarbutton-body {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

html body .z-popup.ais-row-popup .ais-row-popup-item .z-toolbarbutton-cnt,
html body .z-popup.ais-row-popup .z-toolbarbutton .z-toolbarbutton-cnt {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    min-height: 34px !important;
    height: auto !important;
    padding: 6px 12px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

html body .z-popup.ais-row-popup .z-checkbox:not([style*="display: none"]):not([style*="display:none"]) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 6px 12px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

html body .z-popup.ais-row-popup .z-checkbox .z-checkbox-cnt {
    text-align: left !important;
}

/* ============================================================================
 * MOBILE HEADER CLEANUP & RESPONSIVE DASHBOARD CONTAINMENT (<= 768px)
 * Dimuat paling akhir setelah seluruh CSS tema tenant (biru_tua.css, hijau.css, dsb.)
 * sehingga menjamin:
 * 1. Tidak ada kotak putih (`rgba(255,255,255,0.4)` dari `tr.z-row td.z-row-inner`)
 *    di bawah tombol [☰ Menu] pada header utama mobile.
 * 2. Seluruh dasbor yang ditampilkan di versi mobile bersifat relative/responsive
 *    terhadap ukuran layar mobile tanpa melewati batas kanan viewport.
 * ============================================================================ */
@media only screen and (max-width: 768px) {
    html body .headerHbox tr.z-row,
    html body .headerHbox td.z-row-inner,
    html body .headerHbox .z-cell,
    html body .headerHbox .z-row-cnt,
    html body .main-responsive-header tr.z-row,
    html body .main-responsive-header td.z-row-inner,
    html body .main-responsive-header .z-cell,
    html body .main-responsive-header .z-row-cnt,
    html body .gridHeader tr.z-row,
    html body .gridHeader td.z-row-inner,
    html body .gridHeader .z-cell,
    html body .gridHeader .z-row-cnt,
    html body .main-responsive-header-grid tr.z-row,
    html body .main-responsive-header-grid td.z-row-inner,
    html body .main-responsive-header-grid .z-cell,
    html body .main-responsive-header-grid .z-row-cnt,
    html body tr.z-row.main-responsive-module-row,
    html body .main-responsive-module-row,
    html body tr.z-row.main-responsive-module-row > td.z-row-inner,
    html body .main-responsive-module-row > td.z-row-inner,
    html body .main-responsive-module-row > td > div.z-row-cnt {
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body tr.z-row.main-responsive-module-row > td:not(:first-child),
    html body tr.z-row.main-responsive-module-row > td.z-row-inner:nth-child(n+2),
    html body .main-responsive-module-row > td:not(:first-child),
    html body .main-responsive-module-row > td.z-row-inner:nth-child(n+2),
    html body tr.z-row.main-responsive-module-row > td.z-row-inner:empty,
    html body .main-responsive-module-row > td.z-row-inner:empty {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    html body .main-responsive-module-strip > table > tbody > tr > td.z-hbox-sep,
    html body .main-responsive-module-strip > tbody > tr > td.z-hbox-sep,
    html body .main-responsive-module-strip > table > tbody > tr > td:empty,
    html body .main-responsive-module-strip > tbody > tr > td:empty,
    html body .main-responsive-module-strip > table > tbody > tr > td:has(> .z-toolbarbutton[style*="display: none"]),
    html body .main-responsive-module-strip > table > tbody > tr > td:has(> .z-toolbarbutton[style*="display:none"]),
    html body .main-responsive-module-strip > tbody > tr > td:has(> .z-toolbarbutton[style*="display: none"]),
    html body .main-responsive-module-strip > tbody > tr > td:has(> .z-toolbarbutton[style*="display:none"]) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        flex: 0 0 0px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    /* Kontainer dasbor relative / responsive mengikuti lebar viewport mobile */
    html body .main-responsive-tabpanels,
    html body .main-responsive-tabpanels .z-tabpanel,
    html body .main-responsive-tabpanels .z-tabpanel-cnt,
    html body .main-responsive-tabpanels .z-window,
    html body .main-responsive-tabpanels .z-window-embedded,
    html body .main-responsive-tabpanels .z-window-embedded-cnt,
    html body .main-responsive-tabpanels .z-window-Embedded-cnt,
    html body .main-responsive-tabpanels .z-borderlayout,
    html body .main-responsive-tabpanels .z-center,
    html body .main-responsive-tabpanels .z-center-body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    html body .main-responsive-tabpanels table.z-vbox,
    html body .z-tabpanel table.z-vbox,
    html body .z-center-body table.z-vbox,
    html body .z-window-modal table.z-vbox,
    html body .z-panelchildren table.z-vbox,
    html body .z-groupbox-cnt table.z-vbox {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    html body .main-responsive-tabpanels table.z-vbox > tbody > tr > td,
    html body .z-tabpanel table.z-vbox > tbody > tr > td,
    html body .z-center-body table.z-vbox > tbody > tr > td,
    html body .z-panelchildren table.z-vbox > tbody > tr > td,
    html body .z-groupbox-cnt table.z-vbox > tbody > tr > td {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .ais-ce-portallayout,
    html body .z-portallayout {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        gap: 10px !important;
    }

    html body .ais-ce-portalchildren,
    html body .z-portalchildren {
        display: block !important;
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 4px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    html body .main-responsive-tabpanels .z-panel,
    html body .main-responsive-tabpanels .z-panel-body,
    html body .main-responsive-tabpanels .z-panelchildren,
    html body .main-responsive-tabpanels .z-groupbox,
    html body .main-responsive-tabpanels .z-groupbox-3d,
    html body .main-responsive-tabpanels .z-groupbox-cnt,
    html body .main-responsive-tabpanels .z-groupbox-3d-cnt,
    html body .ais-dashboard-studi-container,
    html body .ais-dashboard-studi-header-card,
    html body .ais-dashboard-hero-banner,
    html body .ais-dashboard-modern-groupbox,
    html body .ais-dashboard-portal-panel,
    html body .ais-dashboard-kpi-card,
    html body .ais-dashboard-header-wrap,
    html body .ais-dashboard-narrative-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .main-responsive-tabpanels div[style*="min-width:260px"],
    html body .main-responsive-tabpanels div[style*="min-width: 260px"],
    html body .main-responsive-tabpanels div[style*="min-width:220px"],
    html body .main-responsive-tabpanels div[style*="min-width: 220px"],
    html body .main-responsive-tabpanels div[style*="min-width:210px"],
    html body .main-responsive-tabpanels div[style*="min-width: 210px"],
    html body .main-responsive-tabpanels div[style*="min-width:240px"],
    html body .main-responsive-tabpanels div[style*="min-width: 240px"],
    html body .main-responsive-tabpanels div[style*="min-width:280px"],
    html body .main-responsive-tabpanels div[style*="min-width: 280px"],
    html body .main-responsive-tabpanels div[style*="min-width:300px"],
    html body .main-responsive-tabpanels div[style*="min-width: 300px"],
    html body .main-responsive-tabpanels div[style*="min-width:360px"],
    html body .main-responsive-tabpanels div[style*="min-width: 360px"] {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   PENEGAKAN ATURAN MUTLAK 14, 15, 36, 41, 131 & 379:
   1. Pencegahan mutlak tombol langsung di luar popup kebab (.ais-row-popup-content)
      melebar 100% dan memecah toolbar menjadi bertumpuk vertikal.
   2. Pencegahan mutlak Checkbox dan Radio langsung di dalam .z-toolbar / .ais-toolbar /
      .ais-crud-filter-actions (termasuk .z-toolbar di dalam .z-grid tr.z-row seperti
      error_log.zul & performa_log.zul) menyusut menjadi 1 huruf per baris secara vertikal
      (H / a / n / y / a...).
   ========================================================================== */
html body .z-toolbar:not(.ais-row-popup-content) > .z-toolbarbutton:not(.ais-row-popup-item),
html body .z-toolbar > .z-toolbar-body > .z-toolbarbutton:not(.ais-row-popup-item),
html body .z-toolbar > .z-toolbar-cnt > .z-toolbarbutton:not(.ais-row-popup-item),
html body .z-toolbar .z-toolbar-start > .z-toolbarbutton:not(.ais-row-popup-item),
html body .ais-crud-filter-actions > .z-toolbarbutton:not(.ais-row-popup-item),
html body .z-toolbarbutton.ais-toolbar-direct-btn:not(.ais-row-popup-item) {
    width: auto !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
}

html body .z-toolbar:not(.ais-row-popup-content) .z-checkbox:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .z-toolbar:not(.ais-row-popup-content) .z-radio:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .z-grid tr.z-row .z-toolbar:not(.ais-row-popup-content) .z-checkbox:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .z-grid tr.z-row .z-toolbar:not(.ais-row-popup-content) .z-radio:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .ais-crud-filter-actions .z-checkbox:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .ais-crud-filter-actions .z-radio:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .z-checkbox.ais-toolbar-direct-checkbox:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]),
html body .z-radio.ais-toolbar-direct-checkbox:not(.ais-row-popup-item):not([style*="display:none"]):not([style*="display: none"]) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    width: auto !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-height: 32px !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

html body .z-toolbar:not(.ais-row-popup-content) .z-checkbox:not(.ais-row-popup-item) .z-checkbox-cnt,
html body .z-toolbar:not(.ais-row-popup-content) .z-radio:not(.ais-row-popup-item) .z-radio-cnt,
html body .z-grid tr.z-row .z-toolbar:not(.ais-row-popup-content) .z-checkbox:not(.ais-row-popup-item) .z-checkbox-cnt,
html body .z-grid tr.z-row .z-toolbar:not(.ais-row-popup-content) .z-radio:not(.ais-row-popup-item) .z-radio-cnt,
html body .ais-crud-filter-actions .z-checkbox:not(.ais-row-popup-item) .z-checkbox-cnt,
html body .ais-crud-filter-actions .z-radio:not(.ais-row-popup-item) .z-radio-cnt,
html body .z-checkbox.ais-toolbar-direct-checkbox:not(.ais-row-popup-item) .z-checkbox-cnt,
html body .z-radio.ais-toolbar-direct-checkbox:not(.ais-row-popup-item) .z-radio-cnt {
    display: inline-block !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   GLOBAL VERTICAL ALIGN TOP PADA SELURUH SEL TABEL / GRID / LISTBOX / TREE
   SERTA MULTI-LINE WRAPPING NAMA MATAKULIAH & JADWAL PERKULIAHAN
   ========================================================================== */
html body tr.z-row > td.z-row-inner,
html body tr.z-row > td.z-cell,
html body tr.z-listitem > td.z-listcell,
html body tr.z-treerow > td.z-treecell,
html body .dgrid .z-grid-body tr.z-row td.z-row-inner,
html body .dgrid .z-grid-body tr.z-row .z-cell,
html body .fgrid .z-grid-body tr.z-row td.z-row-inner,
html body .fgrid .z-grid-body tr.z-row .z-cell,
html body .dtabel .z-grid-body tr.z-row td.z-row-inner,
html body .dtabel .z-grid-body tr.z-row .z-cell,
html body .ftabel .z-listbox-body tr.z-listitem td.z-listcell,
html body .z-grid-body table > tbody > tr > td,
html body .z-listbox-body table > tbody > tr > td,
html body div.z-tabpanel,
html body div.z-tabpanel-cnt,
html body .ais-button-tabbox-panels,
html body .ais-button-tabbox-panel,
html body .z-center-body,
html body .z-west-body,
html body .z-east-body,
html body table.z-vbox:not(.main-responsive-brand-text):not(.main2-title-box):not(.pmb-brand-text):not(.ais-dashboard-kpi-card) > tbody > tr,
html body table.z-vbox:not(.main-responsive-brand-text):not(.main2-title-box):not(.pmb-brand-text):not(.ais-dashboard-kpi-card) > tbody > tr > td[id$="-frame"],
html body table.z-vbox:not(.main-responsive-brand-text):not(.main2-title-box):not(.pmb-brand-text):not(.ais-dashboard-kpi-card) table[id$="-real"] > tbody > tr > td.z-vbox-inner,
html body tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-vbox,
html body tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-hbox,
html body tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-vbox > tbody > tr > td.z-vbox-inner,
html body tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-hbox > tbody > tr > td.z-hbox-inner {
    vertical-align: top !important;
}

html body table.z-vbox.ais-qrcode-pairing-vbox,
html body table.z-vbox.ais-qrcode-pairing-vbox > tbody > tr,
html body table.z-vbox.ais-qrcode-pairing-vbox > tbody > tr > td[id$="-frame"] {
    height: auto !important;
    vertical-align: top !important;
}

html body .ais-perkuliahan-info-card,
html body table.z-vbox.ais-perkuliahan-info-card {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    vertical-align: top !important;
}

html body .ais-perkuliahan-info-card td.z-vbox-inner,
html body .ais-perkuliahan-info-card .z-label,
html body .ais-perkuliahan-info-card .z-html,
html body .ais-matkul-title-wrap,
html body span.z-label.ais-matkul-title-wrap {
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
    vertical-align: top !important;
}





/* ==========================================================================
   PENGECUALIAN HEADER UTAMA DARI GLOBAL VERTICAL-ALIGN TOP & ANTI ZIG-ZAG
   Karena `zkoss_popup_menu_fix.css` dimuat paling akhir oleh `MyThemeProvider`,
   aturan global `vertical-align: top !important` pada baris 2331-2341 WAJIB
   dikecualikan untuk kontainer header utama (`#headerHbox`, `#gridHeader`,
   `#rowHeader`, `#headerHboxButton`, `.ais-header-kanan`) agar bendera bahasa,
   lonceng notifikasi + badge merah, dan kapsul profil pengguna sejajar sempurna
   pada satu garis tengah horizontal (40px desktop / 36px mobile).
   ========================================================================== */
html body #headerHbox tr.z-row > td.z-row-inner,
html body #headerHbox tr.z-row > td.z-cell,
html body #gridHeader tr.z-row > td.z-row-inner,
html body #gridHeader .z-grid-body table > tbody > tr > td,
html body #rowHeader > td.z-row-inner,
html body .main-responsive-header-grid tr.z-row > td.z-row-inner,
html body .main-responsive-header-grid .z-grid-body table > tbody > tr > td,
html body .main2-header-grid tr.z-row > td.z-row-inner,
html body .main2-header-grid .z-grid-body table > tbody > tr > td,
html body .main-responsive-brand-box,
html body .main-responsive-brand-box table,
html body .main-responsive-brand-box tbody,
html body .main-responsive-brand-box tr,
html body .main-responsive-brand-box td,
html body .main-responsive-brand-text,
html body .main-responsive-brand-text td,
html body .main2-brand-area,
html body .main2-brand-area td,
html body .main2-title-box,
html body .main2-title-box td,
html body #headerHbox tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-vbox,
html body #headerHbox tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-hbox,
html body #headerHbox tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-vbox > tbody > tr > td.z-vbox-inner,
html body #headerHbox tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-hbox > tbody > tr > td.z-hbox-inner,
html body .main-responsive-header-right > tbody > tr > td.z-vbox-inner,
html body #headerHboxButton > tbody > tr > td.z-hbox-inner,
html body .ais-header-kanan > tbody > tr > td.z-hbox-inner,
html body .ais-header-kanan > tbody > tr > td {
    vertical-align: middle !important;
}

/* ==========================================================================
   PENYELARASAN SUMBU TENGAH VERTIKAL LOGO & TEKS NAMA INSTITUSI / MOTTO HEADER
   Menjamin teks nama kampus/sekolah (.title1) + motto (.motto) selalu berada
   persis di tengah-tengah tinggi logo institusi pada seluruh mode ZKoss
   (index.zul, dekstop.zul, index2.zul, indexl.zul — desktop maupun mobile),
   tanpa terpengaruh aturan global `.z-grid-body table > tbody > tr > td
   { vertical-align: top !important }` atau struktur `<table>` internal ZK 5.
   ========================================================================== */
html body .main-responsive-brand-box,
html body table.z-hbox.main-responsive-brand-box,
html body .main2-brand-area,
html body table.z-hbox.main2-brand-area,
html body .pmb-brand-box,
html body table.z-hbox.pmb-brand-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
}

/* PENTING (ZK 5.5 Box.js / mold/hbox.js & mold/vbox.js):
   Struktur DOM riil <hbox> di ZK 5.5 adalah:
   <table class="z-hbox main-responsive-brand-box"><tbody><tr><td id="hboxUuid-frame">
     <table id="hboxUuid-real"><tbody><tr>
       <td id="logoUuid-chdex"><img class="main-brand-logo"/></td>
       <td id="logoUuid-chdex2" class="z-hbox-sep"></td>
       <td id="vboxUuid-chdex">
         <table class="z-vbox main-responsive-brand-text"><tbody><tr><td id="vboxUuid-frame">
           <table id="vboxUuid-real"><tbody>
             <tr><td class="z-vbox-inner"><span class="title1">...</span></td></tr>
             <tr><td class="z-vbox-inner"><span class="motto">...</span></td></tr>
           </tbody></table>
         </td></tr></tbody></table>
       </td>
     </tr></tbody></table>
   </td></tr></tbody></table>
   PERHATIKAN LARANGAN KRITIS DESCENDANT SELECTOR:
   DILARANG KERAS menulis descendant selector tanpa `>` seperti `.main-responsive-brand-box table[id$="-real"]`!
   Karena `<vbox>` anak (`.main-responsive-brand-text` / `.main2-title-box` / `.pmb-brand-text`) JUGA
   memiliki `<table id="vboxUuid-real">` di dalamnya! Jika memakai descendant selector tanpa `>`,
   maka `<table id="vboxUuid-real">` milik `<vbox>` ikut terkena `flex-direction: row !important`,
   sehingga motto melompat ke SAMPING KANAN judul!
   WAJIB gunakan rantai child langsung `> tbody > tr > td[id$="-frame"] > table[id$="-real"]`
   untuk `<hbox>` luar, dan kunci `<table id="vboxUuid-real">` milik `<vbox>` teks sebagai
   `flex-direction: column !important` agar motto SELALU berada tepat DI BAWAH judul! */
html body .main-responsive-brand-box > tbody,
html body .main-responsive-brand-box > tbody > tr,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"],
html body .main-responsive-brand-box > table,
html body .main-responsive-brand-box > table > tbody,
html body .main-responsive-brand-box > table > tbody > tr,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr,
html body .main2-brand-area > tbody,
html body .main2-brand-area > tbody > tr,
html body .main2-brand-area > tbody > tr > td[id$="-frame"],
html body .main2-brand-area > table,
html body .main2-brand-area > table > tbody,
html body .main2-brand-area > table > tbody > tr,
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody,
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr,
html body .pmb-brand-box > tbody,
html body .pmb-brand-box > tbody > tr,
html body .pmb-brand-box > tbody > tr > td[id$="-frame"],
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody,
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .main-responsive-brand-box td.z-hbox-sep,
html body .main-responsive-brand-box .z-space,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td[id$="-chdex"]:has(> .z-space),
html body .main2-brand-area td.z-hbox-sep,
html body .main2-brand-area .z-space,
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td[id$="-chdex"]:has(> .z-space),
html body .pmb-brand-box td.z-hbox-sep,
html body .pmb-brand-box .z-space,
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td[id$="-chdex"]:has(> .z-space) {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .main-responsive-brand-box > tbody > tr > td,
html body .main-responsive-brand-box > tbody > tr > td.z-hbox-inner,
html body .main-responsive-brand-box > table > tbody > tr > td,
html body .main-responsive-brand-box > table > tbody > tr > td.z-hbox-inner,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td,
html body .main2-brand-area > tbody > tr > td,
html body .main2-brand-area > tbody > tr > td.z-hbox-inner,
html body .main2-brand-area > table > tbody > tr > td,
html body .main2-brand-area > table > tbody > tr > td.z-hbox-inner,
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td,
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td {
    display: flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .main-responsive-brand-box > tbody > tr > td:last-child,
html body .main-responsive-brand-box > table > tbody > tr > td:last-child,
html body .main-responsive-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td:last-child,
html body .main2-brand-area > tbody > tr > td:last-child,
html body .main2-brand-area > table > tbody > tr > td:last-child,
html body .main2-brand-area > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td:last-child,
html body .pmb-brand-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

html body .main-responsive-brand-box img.main-brand-logo,
html body .main-responsive-brand-box .z-image.main-brand-logo,
html body .main-responsive-brand-box img {
    display: block !important;
    object-fit: contain !important;
    margin: 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* KUNCI MUTLAK SUSUNAN VERTIKAL (COLUMN) JUDUL DI ATAS & MOTTO DI BAWAH:
   Mencakup seluruh rantai DOM <vbox> di ZK 5.5 (> tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody)
   agar motto TIDAK PERNAH ditarik ke samping kanan judul pada halaman mana pun! */
html body .main-responsive-brand-text,
html body table.z-vbox.main-responsive-brand-text,
html body .main-responsive-brand-text > tbody,
html body .main-responsive-brand-text > tbody > tr,
html body .main-responsive-brand-text > tbody > tr > td[id$="-frame"],
html body .main-responsive-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .main-responsive-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody,
html body .main-responsive-brand-text > table,
html body .main-responsive-brand-text > table > tbody,
html body .main2-title-box,
html body table.z-vbox.main2-title-box,
html body .main2-title-box > tbody,
html body .main2-title-box > tbody > tr,
html body .main2-title-box > tbody > tr > td[id$="-frame"],
html body .main2-title-box > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .main2-title-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody,
html body .main2-title-box > table,
html body .main2-title-box > table > tbody,
html body .pmb-brand-text,
html body table.z-vbox.pmb-brand-text,
html body .pmb-brand-text > tbody,
html body .pmb-brand-text > tbody > tr,
html body .pmb-brand-text > tbody > tr > td[id$="-frame"],
html body .pmb-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"],
html body .pmb-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

html body .main-responsive-brand-text tr.z-vbox-sep,
html body .main2-title-box tr.z-vbox-sep,
html body .pmb-brand-text tr.z-vbox-sep {
    display: none !important;
    height: 0 !important;
}

html body .main-responsive-brand-text tr,
html body .main-responsive-brand-text td,
html body .main-responsive-brand-text td.z-vbox-inner,
html body .main-responsive-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr,
html body .main-responsive-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td,
html body .main2-title-box tr,
html body .main2-title-box td,
html body .main2-title-box td.z-vbox-inner,
html body .main2-title-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr,
html body .main2-title-box > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td,
html body .pmb-brand-text tr,
html body .pmb-brand-text td,
html body .pmb-brand-text td.z-vbox-inner,
html body .pmb-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr,
html body .pmb-brand-text > tbody > tr > td[id$="-frame"] > table[id$="-real"] > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

html body .main-responsive-brand-text .title1,
html body .main-responsive-brand-text .motto,
html body .main2-title-box .title1,
html body .main2-title-box .motto,
html body .pmb-brand-text .title1,
html body .pmb-brand-text .motto {
    display: block !important;
    width: 100% !important;
}

html body #headerHboxButton,
html body table#headerHboxButton,
html body .ais-header-kanan,
html body table.z-hbox.ais-header-kanan,
html body #headerHboxButton > tbody,
html body #headerHboxButton > tbody > tr,
html body .ais-header-kanan > tbody,
html body .ais-header-kanan > tbody > tr {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    vertical-align: middle !important;
}

html body #headerHboxButton > tbody > tr > td.z-hbox-sep,
html body .ais-header-kanan > tbody > tr > td.z-hbox-sep {
    display: none !important;
}

html body #headerHboxButton > tbody > tr > td.z-hbox-inner,
html body .ais-header-kanan > tbody > tr > td.z-hbox-inner {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   PENGUNCIAN OTORITATIF KESERAGAMAN LATAR KACA & KONTRAS KAPSUL PROFIL HEADER
   --------------------------------------------------------------------------
   `zkoss_popup_menu_fix.css` dijamin oleh `MyThemeProvider.getThemeURIs()`
   dimuat PALING AKHIR setelah `css_utama.css` maupun CSS kustom perguruan
   tinggi/sekolah (`pt.getCss()` / `sekolah.getCss()`, mis. `base-theme.css`,
   `ytb.css`, `main-responsive-zk.css`, `main-modern-zk.css`).

   Kapsul profil pengguna diseragamkan memakai latar kaca semi-transparan
   `rgba(255, 255, 255, 0.14)` dan border `rgba(255, 255, 255, 0.28)` agar
   100% senada dan tidak mencolok dibanding kapsul bendera bahasa maupun
   tombol lonceng notifikasi di sebelahnya, sementara teks nama dan peran
   dikunci tajam mengikuti kontras header (`var(--ais-theme-contrast, #ffffff)`).
   ========================================================================== */
html body a.ais-header-profile-pill,
html body #headerHbox a.ais-header-profile-pill,
html body #headerHbox a.user_button_profile.ais-header-profile-pill,
html body #headerHboxButton a.ais-header-profile-pill,
html body #headerHbox #headerHboxButton a.user_button_profile.ais-header-profile-pill,
html body .main-responsive-header .main-responsive-header-right #headerHboxButton a.user_button_profile.ais-header-profile-pill,
html body .main2-header #headerHboxButton a.user_button_profile.ais-header-profile-pill,
html body .ais-header-kanan a.user_button_profile.ais-header-profile-pill {
    background: rgba(255, 255, 255, 0.14) !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
    color: var(--ais-theme-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--ais-theme-contrast, #ffffff) !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.28) !important;
}

html body a.ais-header-profile-pill:hover,
html body #headerHbox a.user_button_profile.ais-header-profile-pill:hover,
html body #headerHboxButton a.ais-header-profile-pill:hover,
html body #headerHbox #headerHboxButton a.user_button_profile.ais-header-profile-pill:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    background-color: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18) !important;
    color: var(--ais-theme-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--ais-theme-contrast, #ffffff) !important;
}

html body a.ais-header-profile-pill .ais-header-profile-nama,
html body a.ais-header-profile-pill .z-label.ais-header-profile-nama,
html body #headerHbox a.user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-nama,
html body #headerHboxButton a.ais-header-profile-pill .ais-header-profile-nama,
html body #headerHbox #headerHboxButton a.user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-nama,
html body .main-responsive-header .user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-nama,
html body .main2-header .user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-nama,
html body .ais-header-kanan a.ais-header-profile-pill .z-label.ais-header-profile-nama {
    color: var(--ais-theme-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--ais-theme-contrast, #ffffff) !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.32) !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

html body a.ais-header-profile-pill .ais-header-profile-role,
html body a.ais-header-profile-pill .z-label.ais-header-profile-role,
html body #headerHbox a.user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-role,
html body #headerHboxButton a.ais-header-profile-pill .ais-header-profile-role,
html body #headerHbox #headerHboxButton a.user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-role,
html body .main-responsive-header .user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-role,
html body .main2-header .user_button_profile.ais-header-profile-pill .z-label.ais-header-profile-role,
html body .ais-header-kanan a.ais-header-profile-pill .z-label.ais-header-profile-role {
    color: var(--ais-theme-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--ais-theme-contrast, #ffffff) !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.28) !important;
    opacity: 0.9 !important;
    font-weight: 600 !important;
}

html body a.ais-header-profile-pill::after,
html body #headerHbox a.user_button_profile.ais-header-profile-pill::after,
html body #headerHboxButton a.ais-header-profile-pill::after,
html body #headerHbox #headerHboxButton a.user_button_profile.ais-header-profile-pill::after {
    color: var(--ais-theme-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--ais-theme-contrast, #ffffff) !important;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.28) !important;
    opacity: 0.92 !important;
}

/* Pengaman kartu popup putih header (.ais-profil-menu, .ais-notif-menu, .ais-pilih-bahasa-popup)
   agar tidak ditimpa aturan tema `.z-menu-popup .z-menu-popup-cnt { background: var(--theme-gradient) }` */
html body .z-menu-popup.ais-profil-menu,
html body .z-menu-popup.ais-notif-menu,
html body .z-menu-popup.ais-pilih-bahasa-popup {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22) !important;
}

html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt,
html body .z-menu-popup.ais-notif-menu .z-menu-popup-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt {
    background: transparent !important;
    background-image: none !important;
    color: #1e293b !important;
}

html body .z-menu-popup.ais-pilih-bahasa-popup {
    min-width: 170px !important;
    padding: 6px !important;
}

html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup a.z-menu-item-cnt {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-item-over .z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-item-cnt:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

/* =========================================================================
   JAMINAN OTORITATIF SISTEM SCROLL MENYELURUH (ZKOSS SHELL, IFRAME MENU,
   MODAL AGENDA PERKULIAHAN, MYWINDOW, MYDETAIL, & BORDERLAYOUT)
   Dimuat paling akhir oleh MyThemeProvider setelah seluruh CSS tema kampus
   (termasuk ytb.css, css_utama.css, main-modern-zk.css) sehingga 100% kebal
   terhadap penimpaan tema tenant mana pun.
   ========================================================================= */

/* 1. Kunci tinggi Tabpanel berbasis <MyIframe> (.ais-iframe-tabpanel) tepat 1 viewport
      agar window.innerHeight di dalam seluruh 800+ menu ZUL adalah tinggi layar nyata
      (bukan 20.000px), sementara panel beranda & include tetap tumbuh alami! */
html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel,
html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel > .z-tabpanel-cnt,
html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel,
html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel > .z-tabpanel-cnt {
    height: calc(100vh - 148px) !important;
    min-height: 520px !important;
    max-height: calc(100vh - 148px) !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel iframe,
html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel .z-iframe,
html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel iframe,
html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel .z-iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    max-height: 100% !important;
    border: 0 !important;
    display: block !important;
}

@media (max-width: 768px) {
    html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel,
    html body .main-responsive-tabpanels > .z-tabpanel.ais-iframe-tabpanel > .z-tabpanel-cnt,
    html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel,
    html body .main2-tabpanels > .z-tabpanel.ais-iframe-tabpanel > .z-tabpanel-cnt {
        height: calc(100vh - 116px) !important;
        min-height: 440px !important;
        max-height: calc(100vh - 116px) !important;
    }
}

/* 2. Clamp tinggi maksimum semua Window mengambang (modal, highlighted, overlapped)
      agar tidak pernah melebihi tinggi layar pengguna meskipun disetel height="99%".
      PENTING: Kecualikan .ais-modern-messagebox, .z-messagebox-window, dan
      .ais-editor-label-window agar max-width: calc(100vw - 12px) !important tidak
      menimpa batas lebar proporsional dialog alert/konfirmasi! */
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window),
html body .z-window-highlighted:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window),
html body .z-window-overlapped:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window) {
    max-height: calc(100vh - 14px) !important;
    max-width: calc(100vw - 12px) !important;
    box-sizing: border-box !important;
}

/* 3. Pastikan MyDiv (.ais-div) dan baris MyDetail (.z-detail-outer) TIDAK PERNAH
      memotong konten vertikal secara diam-diam */
html body .ais-div {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

html body tr.z-detail-outer,
html body td.z-detail-outer,
html body td.z-detail-outer > div {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
}

/* 4. Grid layout pembungkus scroll (.ais-scroll-layout-grid) & grid anak langsung di
      dalam modal Center WAJIB height: auto & overflow-y: visible agar tingginya mengikuti
      isi dan memicu scrollbar vertikal pada .z-center-body induknya */
html body .z-grid.ais-scroll-layout-grid,
html body .z-grid.ais-scroll-layout-grid > .z-grid-body,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-center-body > .z-grid,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-center-body > .z-grid > .z-grid-body,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-center-body-noborder > .z-grid,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-center-body-noborder > .z-grid > .z-grid-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-center-body > .z-grid,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-center-body > .z-grid > .z-grid-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-center-body-noborder > .z-grid,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-center-body-noborder > .z-grid > .z-grid-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: auto !important;
}

/* 5. Jaminan mutlak overflow-y: auto & batang scrollbar kontras 10px pada seluruh wadah
      scroll utama (Center modal, Center ais-scroll-center, konten modal, dan kanvas utama) */
html body .z-center.ais-scroll-center > .z-center-body,
html body .z-center.ais-scroll-center > .z-center-body-noborder,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body,
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder,
html body .z-window-overlapped .z-borderlayout .z-center-body,
html body .z-window-overlapped:not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt-noborder,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) > .z-window-highlighted-cnt,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) > .z-window-highlighted-cnt-noborder {
    overflow-y: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #64748b #e2e8f0 !important;
}

html body .z-center.ais-scroll-center > .z-center-body::-webkit-scrollbar,
html body .z-center.ais-scroll-center > .z-center-body-noborder::-webkit-scrollbar,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body::-webkit-scrollbar,
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder::-webkit-scrollbar,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body::-webkit-scrollbar,
html body .z-window-highlighted:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder::-webkit-scrollbar,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt::-webkit-scrollbar,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt-noborder::-webkit-scrollbar,
html body .z-center.main-scroll-center > .z-center-body::-webkit-scrollbar,
html body .ais-scroll-host::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
    display: block !important;
}

html body .z-center.ais-scroll-center > .z-center-body::-webkit-scrollbar-track,
html body .z-center.ais-scroll-center > .z-center-body-noborder::-webkit-scrollbar-track,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body::-webkit-scrollbar-track,
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder::-webkit-scrollbar-track,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt::-webkit-scrollbar-track,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt-noborder::-webkit-scrollbar-track,
html body .z-center.main-scroll-center > .z-center-body::-webkit-scrollbar-track,
html body .ais-scroll-host::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
}

html body .z-center.ais-scroll-center > .z-center-body::-webkit-scrollbar-thumb,
html body .z-center.ais-scroll-center > .z-center-body-noborder::-webkit-scrollbar-thumb,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body::-webkit-scrollbar-thumb,
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder::-webkit-scrollbar-thumb,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt::-webkit-scrollbar-thumb,
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt-noborder::-webkit-scrollbar-thumb,
html body .z-center.main-scroll-center > .z-center-body::-webkit-scrollbar-thumb,
html body .ais-scroll-host::-webkit-scrollbar-thumb {
    background-color: #64748b !important;
    border-radius: 999px !important;
    border: 2px solid #e2e8f0 !important;
}

html body .z-center.ais-scroll-center > .z-center-body::-webkit-scrollbar-thumb:hover,
html body .z-center.ais-scroll-center > .z-center-body-noborder::-webkit-scrollbar-thumb:hover,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout .z-center-body::-webkit-scrollbar-thumb:hover,
html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-va-popup-window) .z-borderlayout .z-center-body-noborder::-webkit-scrollbar-thumb:hover,
html body .z-center.main-scroll-center > .z-center-body::-webkit-scrollbar-thumb:hover,
html body .ais-scroll-host::-webkit-scrollbar-thumb:hover {
    background-color: #475569 !important;
}

/* ======================================================================
   ATURAN MUTLAK 16F, 28, & 52 — JAMINAN AKHIR KONTRAS TOMBOL POPUP MENU
   (#popupmenu, .main-responsive-menu-popup, .main2-popup-menu, VS SIDEBAR)
   Diletakkan di akhir zkoss_popup_menu_fix.css (stylesheet paling akhir)
   dengan spesifisitas tinggi agar tidak pernah ditimpa selector :not(...)
   atau CSS tenant pada kondisi normal maupun hover.
   ====================================================================== */
html body #popupmenu.z-popup .main-responsive-menu-search-button,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button,
html body .z-popup.main2-popup-menu .main-responsive-menu-search-button,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, rgba(15, 23, 42, 0.50) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22) !important;
}

html body #popupmenu.z-popup .main-responsive-menu-search-button .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button .z-toolbarbutton-cnt,
html body .z-popup.main2-popup-menu .main-responsive-menu-search-button .z-toolbarbutton-cnt,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn .z-toolbarbutton-cnt {
    background: transparent !important;
    border: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body #popupmenu.z-popup .main-responsive-menu-search-button img,
html body #popupmenu.z-popup .main-responsive-menu-search-button .z-toolbarbutton-cnt img,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button img,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button .z-toolbarbutton-cnt img,
html body .z-popup.main2-popup-menu .main-responsive-menu-search-button img,
html body .z-popup.main2-popup-menu .main-responsive-menu-search-button .z-toolbarbutton-cnt img,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn img,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn .z-toolbarbutton-cnt img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

html body #popupmenu.z-popup .main-responsive-menu-search-button:hover,
html body #popupmenu.z-popup .main-responsive-menu-search-button.z-toolbarbutton-over,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button:hover,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-search-button.z-toolbarbutton-over,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn:hover,
html body .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-popup-dark-btn.z-toolbarbutton-over {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.64) 100%) !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body #popupmenu.z-popup .main-responsive-menu-popup-close-button,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-popup-close-button,
html body .z-popup.main2-popup-menu .main-responsive-menu-popup-close-button,
html body .z-toolbarbutton.main-responsive-menu-popup-close-button.ais-menu-popup-dark-btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body #popupmenu.z-popup .main-responsive-menu-popup-close-button .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-popup-close-button .z-toolbarbutton-cnt,
html body .z-popup.main2-popup-menu .main-responsive-menu-popup-close-button .z-toolbarbutton-cnt,
html body .z-toolbarbutton.main-responsive-menu-popup-close-button.ais-menu-popup-dark-btn .z-toolbarbutton-cnt {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, rgba(15, 23, 42, 0.50) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22) !important;
}

html body #popupmenu.z-popup .main-responsive-menu-popup-close-button:hover .z-toolbarbutton-cnt,
html body #popupmenu.z-popup .main-responsive-menu-popup-close-button.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-popup-close-button:hover .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-popup-close-button.z-toolbarbutton-over .z-toolbarbutton-cnt,
html body .z-toolbarbutton.main-responsive-menu-popup-close-button.ais-menu-popup-dark-btn:hover .z-toolbarbutton-cnt,
html body .z-toolbarbutton.main-responsive-menu-popup-close-button.ais-menu-popup-dark-btn.z-toolbarbutton-over .z-toolbarbutton-cnt {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.64) 100%) !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body #popupmenu.z-popup .main-menu-cari-grid .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-toolbarbutton-cnt,
html body #popupmenu.z-popup .main-menu-cari-empty-label,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-empty-label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .main2-sidebar .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-sidebar-light-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

html body .main2-sidebar .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-sidebar-light-btn img,
html body .main2-sidebar .z-toolbarbutton.main-responsive-menu-search-button.ais-menu-sidebar-light-btn .z-toolbarbutton-cnt img {
    filter: none !important;
    opacity: 1 !important;
}

html body .main2-sidebar .z-toolbarbutton.main-responsive-menu-popup-close-button.ais-menu-sidebar-light-btn .z-toolbarbutton-cnt {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}

/* ======================================================================
   OVERRIDES SHIMMER PER-LABEL DI DALAM POPUP MENU GELAP & DROPDOWN BAHASA
   Memastikan skeleton shimmer mengalahkan aturan `color: #ffffff !important`
   saat masih berstatus `.ais-lang-shimmer`, dan langsung kontras penuh begitu
   `.ais-lang-shimmer` dilepas!
   ====================================================================== */
html body #popupmenu.z-popup .z-toolbarbutton.ais-lang-shimmer .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .z-toolbarbutton.ais-lang-shimmer .z-toolbarbutton-cnt,
html body #popupmenu.z-popup .z-menu.ais-lang-shimmer a.z-menu-cnt,
html body #popupmenu.z-popup .z-menu-item.ais-lang-shimmer a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-pilih-bahasa-popup) .z-menu.ais-lang-shimmer a.z-menu-cnt,
html body .z-menu-popup:not(.ais-pilih-bahasa-popup) .z-menu-item.ais-lang-shimmer a.z-menu-item-cnt {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 25%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.18) 75%) !important;
    background-size: 220% 100% !important;
    animation: aisLangShimmerSweep 1.25s ease-in-out infinite !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-item.ais-pilih-bahasa-aktif a.z-menu-item-cnt,
html body .z-menupopup.ais-pilih-bahasa-popup .z-menuitem.ais-pilih-bahasa-aktif .z-menuitem-cnt {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    font-weight: 700 !important;
}

/* ======================================================================
   PENGUNCIAN AKHIR LEBAR PROPORSIONAL DIALOG ALERT & KONFIRMASI ZKOSS
   Menjamin seluruh dialog MyMessageboxConfig (.ais-modern-messagebox) maupun
   Messagebox bawaan ZK (.z-messagebox-window / :has(.z-messagebox)) selalu
   memiliki lebar yang relevan dan pas (tidak melebar memenuhi layar dan
   tidak terlalu sempit), kebal terhadap override max-width global.
   ====================================================================== */
html body .z-window-modal.ais-modern-messagebox,
html body .z-window-highlighted.ais-modern-messagebox,
html body .ais-modern-messagebox.ais-modern-messagebox-md {
    width: min(480px, calc(100vw - 24px)) !important;
    min-width: min(380px, calc(100vw - 24px)) !important;
    max-width: min(480px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 20px) !important;
    box-sizing: border-box !important;
}

html body .z-window-modal.ais-modern-messagebox.ais-modern-messagebox-sm,
html body .z-window-highlighted.ais-modern-messagebox.ais-modern-messagebox-sm {
    width: min(440px, calc(100vw - 24px)) !important;
    min-width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(440px, calc(100vw - 24px)) !important;
}

html body .z-window-modal.ais-modern-messagebox.ais-modern-messagebox-lg,
html body .z-window-highlighted.ais-modern-messagebox.ais-modern-messagebox-lg {
    width: min(540px, calc(100vw - 24px)) !important;
    min-width: min(400px, calc(100vw - 24px)) !important;
    max-width: min(540px, calc(100vw - 24px)) !important;
}

html body .z-window-modal.ais-modern-messagebox.ais-modern-messagebox-expanded,
html body .z-window-highlighted.ais-modern-messagebox.ais-modern-messagebox-expanded {
    width: min(620px, calc(100vw - 24px)) !important;
    min-width: min(420px, calc(100vw - 24px)) !important;
    max-width: min(620px, calc(100vw - 24px)) !important;
}

html body .z-messagebox-window,
html body .z-window-highlighted:has(.z-messagebox),
html body .z-window-modal:has(.z-messagebox) {
    width: auto !important;
    min-width: min(380px, calc(100vw - 24px)) !important;
    max-width: min(480px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 20px) !important;
    box-sizing: border-box !important;
}

html body .z-window-modal.ais-editor-label-window,
html body .z-window-highlighted.ais-editor-label-window,
html body .ais-editor-label-window {
    width: min(560px, calc(100vw - 24px)) !important;
    min-width: min(360px, calc(100vw - 24px)) !important;
    max-width: min(560px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 24px) !important;
    box-sizing: border-box !important;
}

/* ======================================================================
   PENGUNCIAN PEMBEDA TEGAS NOTIFIKASI "BELUM DIBACA" VS "SUDAH DIBACA"
   (ATURAN MUTLAK 450 — PARITAS ZKOSS DESKTOP & MOBILE)
   ----------------------------------------------------------------------
   Akar Masalah Sebelumnya:
   1. Selektor `.z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt`
      (spesifisitas 0,5,1) di css_utama.css baris 8306 serta aturan global di
      zkoss_popup_menu_fix.css baris 119, 176, dan 273 mengunci:
        - `background: transparent !important`
        - `border: 1px solid transparent !important`
        - `color: #1f2937 !important; font-weight: 600 !important`
        - `height: 27px !important; line-height: 25px !important`
        - `white-space: nowrap !important; text-overflow: ellipsis !important`
      sehingga kelas `.ais-notif-baru` (belum dibaca) dan `.ais-notif-dibaca`
      (sudah dibaca) tertimpa total dan tampil 100% identik tanpa warna pembeda!
   2. Selektor di bawah ini menggunakan spesifisitas tinggi (0,6,2 s.d. 0,7,2)
      dan dimuat paling akhir agar dijamin menang di seluruh tema warna kampus:
        - BELUM DIBACA (.ais-notif-baru): Latar biru lembut (#eff6ff), garis kiri
          biru tegas 4px (#2563eb), teks gelap tebal (#0f172a, kontras 16.5:1),
          ikon biru tajam, serta titik indikator biru menyala di sisi kanan (::after).
        - SUDAH DIBACA (.ais-notif-dibaca): Latar abu-abu netral (#f8fafc), garis
          kiri abu-abu halus (#cbd5e1), teks abu-abu slate terbaca nyaman (#64748b,
          kontras 4.6:1 sesuai WCAG AA), ikon centang kalem, tanpa titik biru.
   ====================================================================== */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu {
    min-width: 340px !important;
    max-width: min(440px, calc(100vw - 16px)) !important;
    max-height: min(76vh, 560px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 8px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22) !important;
}

/* Header judul "Notifikasi (X belum dibaca)" */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-header a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-header.z-menu-item-disd a.z-menu-item-cnt {
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 38px !important;
    line-height: 1.35 !important;
    padding: 9px 12px 9px 36px !important;
    margin: 0 0 6px 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    opacity: 1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-header .z-menu-item-img {
    background-image: none !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: -24px !important;
    margin-right: 8px !important;
    vertical-align: -3px !important;
    opacity: 0.9 !important;
    filter: none !important;
}

/* Tombol aksi cepat "Tandai semua sudah dibaca" */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-mark-all a.z-menu-item-cnt {
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 34px !important;
    line-height: 1.3 !important;
    padding: 7px 12px 7px 36px !important;
    margin: 0 0 7px 0 !important;
    background: #eff6ff !important;
    border: 1px solid #93c5fd !important;
    border-radius: 9px !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-mark-all a.z-menu-item-cnt:hover,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item-over.ais-notif-mark-all a.z-menu-item-cnt {
    height: auto !important;
    min-height: 34px !important;
    line-height: 1.3 !important;
    padding: 7px 12px 7px 36px !important;
    margin: 0 0 7px 0 !important;
    background: #dbeafe !important;
    border: 1px solid #60a5fa !important;
    color: #1e3a8a !important;
    -webkit-text-fill-color: #1e3a8a !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-mark-all .z-menu-item-img {
    background-image: none !important;
    width: 15px !important;
    height: 15px !important;
    margin-left: -24px !important;
    margin-right: 8px !important;
    vertical-align: -3px !important;
    opacity: 1 !important;
    filter: invert(24%) sepia(90%) saturate(2456%) hue-rotate(213deg) brightness(92%) contrast(96%) !important;
}

/* Dasar bersama seluruh baris item notifikasi: boleh multi-baris, tinggi otomatis */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item a.z-menu-item-cnt {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 42px !important;
    line-height: 1.42 !important;
    padding: 9px 30px 9px 36px !important;
    margin: 5px 0 !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item .z-menu-item-img {
    background-image: none !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: -25px !important;
    margin-right: 9px !important;
    margin-top: 1px !important;
    vertical-align: text-top !important;
}

/* 1. STATUS BELUM DIBACA (.ais-notif-baru) — MENONJOL, TEGAS, TITIK BIRU AKTIF */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-baru a.z-menu-item-cnt {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-left: 4px solid #2563eb !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700 !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-baru a.z-menu-item-cnt::after {
    content: "" !important;
    position: absolute !important;
    right: 11px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-baru .z-menu-item-img {
    opacity: 1 !important;
    filter: invert(27%) sepia(93%) saturate(1950%) hue-rotate(211deg) brightness(96%) contrast(95%) !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-baru a.z-menu-item-cnt:hover,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item-over.ais-notif-item.ais-notif-baru a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt li.ais-notif-baru:hover a.z-menu-item-cnt {
    height: auto !important;
    min-height: 42px !important;
    line-height: 1.42 !important;
    padding: 9px 30px 9px 36px !important;
    margin: 5px 0 !important;
    background: #dbeafe !important;
    border: 1px solid #93c5fd !important;
    border-left: 4px solid #1d4ed8 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
    text-shadow: none !important;
}

/* 2. STATUS SUDAH DIBACA (.ais-notif-dibaca) — KALEM, RAPI, KONTRAS TETAP >= 4.5:1 */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-dibaca a.z-menu-item-cnt {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #cbd5e1 !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    font-weight: 500 !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-dibaca a.z-menu-item-cnt::after {
    content: none !important;
    display: none !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-dibaca .z-menu-item-img {
    opacity: 0.62 !important;
    filter: invert(44%) sepia(13%) saturate(654%) hue-rotate(176deg) brightness(92%) contrast(88%) !important;
}

html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-item.ais-notif-dibaca a.z-menu-item-cnt:hover,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item-over.ais-notif-item.ais-notif-dibaca a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt li.ais-notif-dibaca:hover a.z-menu-item-cnt {
    height: auto !important;
    min-height: 42px !important;
    line-height: 1.42 !important;
    padding: 9px 30px 9px 36px !important;
    margin: 5px 0 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #94a3b8 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Empty state ("Tidak ada informasi baru") */
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-kosong a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu.ais-notif-menu .z-menu-popup-cnt .z-menu-item.ais-notif-kosong.z-menu-item-disd a.z-menu-item-cnt {
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 40px !important;
    line-height: 1.4 !important;
    padding: 10px 14px !important;
    margin: 4px 0 !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 10px !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: normal !important;
    opacity: 1 !important;
}

@media (max-width: 600px) {
    html body .z-menu-popup.ais-profil-menu.ais-notif-menu {
        min-width: 0 !important;
        width: 94vw !important;
        max-width: 96vw !important;
        max-height: 68vh !important;
    }
}

/* ==========================================================================
   PENGUNCIAN OTORITATIF HEADER MOBILE RINGKAS & DASBOR VERTIKAL RESPONSIF (<= 768px)
   Karena zkoss_popup_menu_fix.css selalu dimuat paling akhir setelah CSS tema
   institusi (mis. hijau_kuning.css / ytb.css / biru_tua.css), blok ini menjamin:
   1. Tidak ada aturan tema (.headerHbox_mobile { height: 250px !important })
      maupun aturan global yang memisahkan judul kampus & motto atau menciptakan
      ruang kosong besar pada header mobile.
   2. Bilah tindakan/filter dasbor (.ais-crud-filter-head / .ais-crud-filter-actions),
      sub-tab dasbor (.ais-button-tabbox), dan kartu/grafik dasbor otomatis
      tersusun vertikal tanpa terpotong di sisi kanan pada layar mobile.
   ========================================================================== */
@media only screen and (max-width: 768px) {
    html body .main-responsive-main-grid,
    html body .main-responsive-main-grid > .z-grid-body,
    html body .main-responsive-main-grid > .z-grid-body > table,
    html body .main-responsive-main-grid > .z-grid-body > table > tbody,
    html body .main-responsive-main-grid > .z-grid-body > table > tbody > tr,
    html body .main-responsive-main-grid > .z-grid-body > table > tbody > tr > td.z-row-inner,
    html body .main-responsive-main-grid > .z-grid-body > table > tbody > tr > td.z-row-inner > div.z-row-cnt {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    html body #headerHbox,
    html body .headerHbox.main-responsive-header,
    html body .headerHbox_mobile,
    html body .headerHbox_mobile.main-responsive-header,
    html body #gridHeader,
    html body .gridHeader.main-responsive-header-grid,
    html body #rowHeader,
    html body tr#rowHeader.main-responsive-brand-row,
    html body #rowHeader > td.z-row-inner,
    html body #rowHeader > td.z-row-inner > div.z-row-cnt {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
    }

    html body .main-responsive-header-right .users_online_button,
    html body .main-responsive-header-right .users_online_button .z-toolbarbutton-body,
    html body .main-responsive-header-right .users_online_button .z-toolbarbutton-cnt {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    html body .main-responsive-brand-box,
    html body table.z-hbox.main-responsive-brand-box,
    html body .main-responsive-brand-box > tbody,
    html body .main-responsive-brand-box > tbody > tr,
    html body .main-responsive-brand-box > tbody > tr > td,
    html body .main-responsive-brand-text,
    html body table.z-vbox.main-responsive-brand-text,
    html body .main-responsive-brand-text > tbody,
    html body .main-responsive-brand-text tr,
    html body .main-responsive-brand-text td,
    html body .main-responsive-brand-text td.z-vbox-inner {
        height: auto !important;
        min-height: 0 !important;
    }

    html body .main-responsive-header-right #headerHboxButton,
    html body .main-responsive-header-right .ais-header-kanan,
    html body .main-responsive-header-right #headerHboxButton > tbody,
    html body .main-responsive-header-right #headerHboxButton > tbody > tr,
    html body .main-responsive-header-right .ais-header-kanan > tbody,
    html body .main-responsive-header-right .ais-header-kanan > tbody > tr {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        gap: 8px !important;
    }

    html body .ais-crud-filter-head {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body .ais-crud-filter-actions {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    html body .ais-crud-filter-actions > .z-toolbarbutton:not(.ais-row-popup-item),
    html body .z-toolbarbutton.ais-toolbar-direct-btn:not(.ais-row-popup-item) {
        max-width: 100% !important;
        white-space: normal !important;
    }
}


/* ==========================================================================
   PENGUNCIAN OTORITATIF MODE DESKTOP DI HP (~980px / dekstop.zul) — ATURAN 466
   ========================================================================== */
html body table.z-hbox.ais-akad-filterbar,
html body table.z-hbox.ais-akad-filterbar > tbody,
html body .ais-ce-portalchildren .dgrid.fgrid table.z-hbox,
html body .ais-ce-portalchildren .dgrid.fgrid table.z-hbox > tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

html body table.z-hbox.ais-akad-filterbar > tbody > tr,
html body .ais-ce-portalchildren .dgrid.fgrid table.z-hbox > tbody > tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 8px !important;
    width: 100% !important;
}

html body table.z-hbox.ais-akad-filterbar td.z-hbox-sep,
html body .ais-ce-portalchildren .dgrid.fgrid table.z-hbox td.z-hbox-sep {
    display: none !important;
}

html body .ais-ce-portalchildren .dgrid.fgrid table.z-hbox > tbody > tr > td[align="right"] {
    margin-left: auto !important;
}

html body .ais-ce-portalchildren .dgrid,
html body .ais-ce-portalchildren .dgrid > .z-grid-body,
html body .ais-ce-portalchildren .dgrid > .z-grid-body > table,
html body .ais-ce-portalchildren .dgrid table.z-vbox {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

html body .ais-profil-kartu-info .z-toolbarbutton,
html body .ais-profil-kartu-info .z-toolbarbutton-body,
html body .ais-profil-kartu-info .z-toolbarbutton-cnt {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}


/* ==========================================================================
   PENGUNCIAN OTORITATIF BATAS KANAN KARTU LINIMASA E-LEARNING (`.z-fieldset-cnt`,
   RINGKASAN KONTEN & AKTIVITAS PERTEMUAN, KEBAB `⋯`, DAN DISKUSI PERKULIAHAN)
   ========================================================================== */
html body .elearning-timeline-grid.z-grid > .z-grid-body > table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

html body .elearning-timeline-grid.z-grid > .z-grid-body > table > colgroup > col {
    width: 100% !important;
}

html body .elearning-timeline-grid.z-grid > .z-grid-body > table td[id$="-bdflex"] {
    display: none !important;
    width: 0 !important;
}

html body .elearning-timeline-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner,
html body .elearning-timeline-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

html body .elearning-timeline-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt {
    padding: 4px 10px 6px 8px !important;
}

html body .ais-timeline-meeting-card,
html body fieldset.z-fieldset.ais-timeline-meeting-card,
html body .ais-timeline-meeting-card > .z-fieldset-cnt,
html body .ais-timeline-meeting-card > .z-groupbox-cnt,
html body .ais-timeline-meeting-card > .z-groupbox-3d-cnt {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    text-align: left !important;
}

html body .ais-timeline-catatan-container,
html body .ais-timeline-catatan-container td.z-vbox-inner,
html body .ais-timeline-html-block,
html body .ais-timeline-html-block > div,
html body .ais-timeline-meeting-card .z-html,
html body .ais-timeline-meeting-card .z-html > div,
html body .ais-timeline-meeting-card .z-label,
html body .ais-timeline-diskusi,
html body .ais-timeline-diskusi td.z-vbox-inner,
html body .ais-timeline-diskusi .z-label,
html body .ais-diskusi-status,
html body .ais-diskusi-bubble,
html body .elearning-portal-col-right fieldset.z-fieldset,
html body .elearning-portal-col-right fieldset.z-fieldset > .z-fieldset-cnt,
html body fieldset.z-fieldset.ais-elearning-content-card,
html body fieldset.z-fieldset.ais-elearning-content-card > .z-fieldset-cnt,
html body .ais-elearning-content-card,
html body .ais-elearning-content-card .z-label,
html body .ais-elearning-content-card a.z-a,
html body .elearning-portal-col-right fieldset.z-fieldset a.z-a {
    text-align: left !important;
}

html body .elearning-portal-col-right fieldset.z-fieldset .z-toolbarbutton:not(.ais-kebab-trigger),
html body .elearning-portal-col-right fieldset.z-fieldset .z-toolbarbutton:not(.ais-kebab-trigger) .z-toolbarbutton-body,
html body .elearning-portal-col-right fieldset.z-fieldset .z-toolbarbutton:not(.ais-kebab-trigger) .z-toolbarbutton-cnt,
html body .ais-elearning-content-card .z-toolbarbutton:not(.ais-kebab-trigger),
html body .ais-elearning-content-card .z-toolbarbutton:not(.ais-kebab-trigger) .z-toolbarbutton-body,
html body .ais-elearning-content-card .z-toolbarbutton:not(.ais-kebab-trigger) .z-toolbarbutton-cnt {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

html body .elearning-portal-col-right fieldset.z-fieldset table.z-hbox > tbody > tr,
html body .ais-elearning-content-card table.z-hbox > tbody > tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 6px 8px !important;
}

html body .ais-timeline-meeting-card table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col):not(.ais-timeline-info-vbox),
html body .ais-activity-summary-root {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

html body .ais-timeline-meeting-card table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col):not(.ais-timeline-info-vbox) > tbody > tr > td.z-vbox-inner,
html body .ais-activity-summary-root > tbody > tr > td,
html body .ais-activity-summary-wrapper,
html body .ais-activity-summary-box,
html body .ais-timeline-diskusi {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

html body .ais-activity-summary-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body .ais-activity-summary-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body .ais-activity-summary-chips > a,
html body .ais-activity-summary-chips > span {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}


/* ==========================================================================
   PENEGAKAN OTORITATIF ATURAN MUTLAK 468 (DIMUAT SETELAH TEMA TENANT):
   1. Kartu Hasil Scan (`scan_berhasil.zul`) bebas clipping `position: fixed` pada tema tenant.
   2. Toolbar & seluruh tabel multi-kolom (>= 4 kolom) pada mobile bergulir horizontal rapi
      dan tidak pernah mematahkan judul kolom secara vertikal 1-2 huruf per baris.
   ========================================================================== */
html body .ais-scan-berhasil-window,
html body .ais-scan-berhasil-window > .z-window-embedded-cnt,
html body .ais-scan-berhasil-window > .z-window-embedded-cnt-noborder,
html body .ais-scan-berhasil-container {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

html body .z-page #camBox,
html body .z-window-embedded #camBox,
html body .ais-mywindow #camBox {
    position: relative !important;
    height: auto !important;
    overflow-y: auto !important;
    -webkit-perspective: none !important;
    perspective: none !important;
}

@media only screen and (max-width: 768px) {
    html body .ais-absn-toolbar,
    html body .ais-absn-toolbar > .z-toolbar-body,
    html body .z-window-modal .z-toolbar,
    html body .z-window-modal .z-toolbar > .z-toolbar-body {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    html body .ais-absn-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger),
    html body .z-window-modal .z-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger) {
        max-width: 100% !important;
        height: auto !important;
        min-height: 32px !important;
        max-height: none !important;
        white-space: normal !important;
        flex-shrink: 1 !important;
    }

    html body .ais-absn-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger) .z-toolbarbutton-body,
    html body .ais-absn-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger) .z-toolbarbutton-cnt,
    html body .z-window-modal .z-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger) .z-toolbarbutton-body,
    html body .z-window-modal .z-toolbar .z-toolbarbutton:not(.ais-row-popup-item):not(.ais-kebab-trigger) .z-toolbarbutton-cnt {
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
    }

    html body .ais-sejarah-absen-grid,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)),
    html body .z-window-modal .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)),
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    html body .ais-sejarah-absen-grid > .z-grid-header,
    html body .ais-sejarah-absen-grid > .z-grid-body,
    html body .ais-sejarah-absen-grid > .z-grid-header > table,
    html body .ais-sejarah-absen-grid > .z-grid-body > table,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-body,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header > table,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-body > table,
    html body .z-window-modal .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header,
    html body .z-window-modal .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-body,
    html body .z-window-modal .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header > table,
    html body .z-window-modal .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-body > table,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-header,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-body,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-header > table,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-body > table {
        width: 100% !important;
        min-width: 660px !important;
        max-width: none !important;
        overflow-x: visible !important;
        table-layout: fixed !important;
    }

    html body .ais-sejarah-absen-grid > .z-grid-header tr.z-columns th.z-column,
    html body .ais-sejarah-absen-grid > .z-grid-header tr.z-columns th.z-column .z-column-cnt,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header tr.z-columns th.z-column,
    html body .z-grid:not(.fgrid):not(.ais-crud-filter-grid):not(.main-responsive-main-grid):not(.main-responsive-header-grid):not(.ais-matriks-presensi):has(> .z-grid-header tr.z-columns > th.z-column:nth-child(4)) > .z-grid-header tr.z-columns th.z-column .z-column-cnt,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-header tr.z-listhead th.z-listheader,
    html body .z-listbox:has(> .z-listbox-header tr.z-listhead > th.z-listheader:nth-child(4)) > .z-listbox-header tr.z-listhead th.z-listheader .z-listheader-cnt {
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }
}
/* ======================================================================
   STANDAR OTORITATIF RATA ATAS (VERTICAL-ALIGN TOP / FLEX-START) FOTO
   DOSEN / GURU DI INFORMASI KEHADIRAN & KARTU IDENTITAS PROFIL:
   - Kontainer Flexbox (.ais-kh-card-top, .ais-kh-skel-card, .ais-profil-kartu)
     mengabaikan properti CSS vertical-align, sehingga wajib menggunakan
     align-items: flex-start !important dan align-self: flex-start !important
     pada elemen foto (.ais-kh-avatar, .ais-profil-kartu-foto).
   - Kartu kehadiran (.ais-kh-card) wajib menggunakan justify-content: flex-start
     (bukan space-between) agar rincian mata kuliah/jam rapat rapi dari atas.
   - Header brand utama (#gridHeader, .main-responsive-brand-box) TIDAK
     disentuh agar tetap mematuhi ATURAN MUTLAK 422.
   ====================================================================== */
html body .ais-kh-card {
    justify-content: flex-start !important;
}

html body .ais-kh-card-top,
html body .ais-kh-skel-card,
html body .ais-profil-kartu {
    align-items: flex-start !important;
}

html body .ais-kh-avatar,
html body .main-teacher-presence-body img.ais-kh-avatar,
html body .ais-kh-skel-avatar,
html body .ais-profil-kartu-foto,
html body .ais-profil-kartu-foto img {
    align-self: flex-start !important;
    vertical-align: top !important;
}

html body .ais-profil-kartu-info > table {
    vertical-align: top !important;
}

/* ======================================================================
   PENGUNCIAN OTORITATIF RATA KIRI (TEXT-ALIGN LEFT) PADA BERANDA (PAPAN
   PENGUMUMAN, KALENDER AKADEMIK, KEHADIRAN PENGAJAR, DASBOR EMEDIC, PROFIL,
   & RINGKASAN AKADEMIK) — ATURAN MUTLAK 489
   Dimuat paling akhir setelah seluruh tema tenant agar tidak ada selektor
   tabel/avatar yang membelokkan teks Beranda ke tengah (center).
   ====================================================================== */
html body .main-responsive-content-row,
html body .main-responsive-content-row > td.z-row-inner,
html body .main-responsive-content-row > td.z-row-inner > div.z-row-cnt,
html body .main-responsive-frame,
html body .main-responsive-center,
html body .main-responsive-home-panel,
html body .main-home-stack,
html body .main-announcement-panel,
html body .main-announcement-board-panel,
html body .main-announcement-modern-v7,
html body .main-announcement-hero,
html body .main-announcement-hero-text,
html body .main-announcement-eyebrow,
html body .main-announcement-title,
html body .main-announcement-board-title,
html body .main-announcement-subtitle,
html body .main-announcement-list,
html body .main-announcement-board-list,
html body .main-announcement-group,
html body .main-announcement-group .z-label,
html body .main-announcement-group-primary .z-label,
html body .main-announcement-card,
html body .main-announcement-board-card,
html body .main-announcement-meta,
html body .main-announcement-link,
html body .main-announcement-link .z-toolbarbutton-body,
html body .main-announcement-link .z-toolbarbutton-cnt,
html body .main-announcement-desc,
html body .main-announcement-board-desc,
html body .main-announcement-desc .z-html,
html body .main-announcement-empty-box,
html body .main-announcement-empty,
html body .main-kalender-akademik-panel,
html body .main-kalender-akademik-hero,
html body .main-kalender-akademik-body,
html body .main-kalender-filter-baris,
html body .main-kalender-grid,
html body .main-kalender-card,
html body .main-kalender-isi,
html body .main-kalender-judul,
html body .main-kalender-badge-baris,
html body .main-kalender-deskripsi,
html body .main-kalender-rentang,
html body .main-kalender-kosong,
html body .main-emedic-home-panel,
html body .main-emedic-home-body,
html body .main-teacher-presence-panel,
html body .main-teacher-presence-hero,
html body .main-teacher-presence-body,
html body .ais-kh-head,
html body .ais-kh-title,
html body .ais-kh-date,
html body .ais-kh-card,
html body .ais-kh-card-top,
html body .ais-kh-card-identity,
html body .ais-kh-teacher-name,
html body .ais-kh-teacher-id,
html body .ais-kh-card-meta,
html body .ais-kh-course-name,
html body .ais-kh-meta-line,
html body .ais-kh-meta-status,
html body .ais-kh-student-status,
html body .main-profile-bottom-panel,
html body .main-profile-bottom-body,
html body .ais-profil-kartu,
html body .ais-profil-kartu-info,
html body .ais-profile-modern,
html body .ais-profile-card,
html body .ais-profile-head,
html body .ais-profile-title,
html body .ais-profile-desc,
html body .ais-profile-stat,
html body .ais-profile-stat .label,
html body .ais-profile-stat .value,
html body .ais-profile-stat .hint,
html body .ais-akad-card,
html body .ais-akad-head,
html body .ais-akad-title,
html body .ais-akad-desc,
html body .ais-akad-body,
html body .ais-akad-stat,
html body .ais-akad-stat .l,
html body .ais-akad-stat .v,
html body .ais-akad-stat .h,
html body .ais-akad-rowitem,
html body .ais-akad-rowtitle,
html body .ais-akad-rowmeta {
    text-align: left !important;
}

/* ============================================================================
   SINGLE MAIN SCROLL PORTAL E-LEARNING (AKTIVITAS PEMBELAJARAN SETARA KIRI & KANAN)
   ----------------------------------------------------------------------------
   Dimuat paling akhir setelah seluruh CSS tema tenant (MyThemeProvider) agar:
   1. Tidak ada tema tenant (div.z-grid-body { overflow: auto }) maupun aturan
      overflow-x: hidden + overflow-y: visible (yang oleh spesifikasi W3C CSS
      diubah menjadi overflow-y: auto) yang menciptakan scroll vertikal terpisah
      di dalam panel "Aktivitas Pembelajaran".
   2. Ketiga kolom ("Perkuliahan & Kelas", "Aktivitas Pembelajaran", dan
      "Tugas, Ujian, Materi & Diskusi") 100% meneruskan roda scroll mouse
      langsung ke satu-satunya scrollbar utama halaman (.main-scroll-center).
   ============================================================================ */
html body .elearning-portal-col-center,
html body .elearning-portal-col-center .elearning-portal-panel,
html body .elearning-portal-col-center .z-panel-body,
html body .elearning-portal-col-center .z-panel-children,
html body .elearning-portal-col-center .elearning-portal-panel-body,
html body .elearning-portal-col-center .elearning-portal-main-body,
html body .elearning-portal-col-center .ais-button-tabbox-container,
html body .elearning-portal-col-center .ais-button-tabbox-panels,
html body .elearning-portal-col-center .ais-button-tabbox-panel,
html body .elearning-portal-col-center .elearning-timeline-window,
html body .elearning-portal-col-center .elearning-timeline-flow,
html body .elearning-portal-col-center .z-window-embedded,
html body .elearning-portal-col-center .z-window-embedded-cnt,
html body .elearning-portal-col-center .z-window-embedded-cnt-noborder,
html body .elearning-portal-col-center .elearning-timeline-grid.z-grid,
html body .elearning-portal-col-center .elearning-timeline-grid.z-grid > .z-grid-body,
html body .elearning-timeline-window .elearning-timeline-grid.z-grid,
html body .elearning-timeline-window .elearning-timeline-grid.z-grid > .z-grid-body,
html body .elearning-portal-col-center .fgrid.z-grid,
html body .elearning-portal-col-center .fgrid.z-grid > .z-grid-body {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

html body .elearning-portal-col-left .z-grid-body,
html body .elearning-portal-col-right .z-grid-body {
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* ============================================================================
   AUTHORITATIVE SKELETON SHIMMER ALA FACEBOOK LINIMASA PADA RINGKASAN & TILE
   AKTIVITAS E-LEARNING (KEBAL TERHADAP OVERRIDE CSS TEMA TENANT)
   ============================================================================ */
@keyframes aisFbShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

html body .ais-fb-shimmer {
    background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%) !important;
    background-size: 250% 100% !important;
    animation: aisFbShimmer 1.3s ease-in-out infinite !important;
}

html body .ais-fb-tile-skeleton-flow {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 5px !important;
    box-sizing: border-box !important;
}

html body .ais-fb-tile-skeleton-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 6px !important;
    flex: 0 1 84px !important;
    min-width: 72px !important;
    max-width: 90px !important;
    min-height: 68px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
}

/* ============================================================================
   PERBAIKAN GLOBAL FORM MODAL 2-KOLOM ZKOSS (ANTI KOLOM INPUT TERJEPIT &
   ANTI RUANG KOSONG KANAN AKIBAT tr.z-grid-faker > th[id$="fakerflex"] ZK 5.5)
   ----------------------------------------------------------------------------
   Kasus (STIKES ISFI - Tambah/Buat Ujian di UjianAction & 182 Grid sejenis):
   Pada ZKoss 5.5 (zul.mesh.MeshWidget.domFaker_), struktur kolom di dalam
   .z-grid-header > table dan .z-grid-body > table BUKAN memakai <colgroup><col>,
   melainkan baris pertama tersembunyi <tr class="z-grid-faker"> yang berisi:
     - <th id="...-bdfaker" class="z-column" style="width:30%">
     - <th id="...-bdfaker" class="z-column" style="width:70%">
     - <th id="...-bdfakerflex"> (TANPA style="width:0px" bila semua Column
       memiliki atribut width persen/piksel!)
   Jika kolom ke-2 sempat tersempit (mis. 84px) sementara table-layout: fixed
   aktif, maka sel ke-3 (th[id$="fakerflex"]) menyerap ~600px sisa lebar modal
   sebagai ruang putih kosong di kanan dan menjepit seluruh input di kiri.

   Solusi sistemik murni CSS (ATURAN MUTLAK 1, 100% tanpa JS):
   1. Kunci lebar sel filler ke-(N+1) (th[id$="fakerflex"] pada tr.z-grid-faker
      serta col[id$="-bdflex"]) ke width: 0px !important TANPA display: none!
      PENTING: DILARANG menggunakan display: none pada th[id$="fakerflex"] di
      .z-grid-body > table karena baris <tr class="z-group"><td colspan="N+1">
      (mis. MyGroupConfig "Ringkasan Akademik" di Beranda /main) tetap mengacu ke
      N+1 kolom; jika th[id$="fakerflex"] diberi display: none, browser membuat
      kolom ke-(N+1) tak bertuan yang memakan ~45% lebar kanan panel!
      Selain itu, selektor .z-grid.fgrid dibatasi hanya di dalam jendela modal/popup
      agar grid profil/beranda (.dgrid.fgrid) tidak pernah terpengaruh aturan form modal.
   2. Kunci proporsi 30% (label) : 70% (input) pada layar desktop (>768px)
      untuk grid form modal 2-kolom (tr.z-grid-faker yang memiliki 2 th.z-column
      dan tidak memiliki th.z-column ke-3).
   3. Pastikan konten kolom input (termasuk Checkbox & MyCkEditor) merentang
      proporsional dan tidak terpotong di tepi kanan.
   ============================================================================ */
html body .z-grid:has(tr.ais-form-row) tr.z-grid-faker > th[id$="fakerflex"],
html body .z-window-modal .z-grid.fgrid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-window-highlighted .z-grid.fgrid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-window-overlapped .z-grid.fgrid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-ujian-form-grid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-sekolah-form-grid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-gelombang-form-grid tr.z-grid-faker > th[id$="fakerflex"],
html body .z-window-modal .z-grid:has(> .z-grid-header[style*="display: none"]):has(> .z-grid-body tr.z-row input) tr.z-grid-faker:not(:has(> th.z-column:nth-child(3))) > th[id$="fakerflex"],
html body .z-window-modal .z-grid:has(> .z-grid-header[style*="display:none"]):has(> .z-grid-body tr.z-row input) tr.z-grid-faker:not(:has(> th.z-column:nth-child(3))) > th[id$="fakerflex"] {
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    border: 0 !important;
}

html body .z-grid:has(tr.ais-form-row) > .z-grid-header > table th.z-grid-header-bar,
html body .z-window-modal .z-grid.fgrid > .z-grid-header > table th.z-grid-header-bar,
html body .z-window-highlighted .z-grid.fgrid > .z-grid-header > table th.z-grid-header-bar,
html body .z-window-overlapped .z-grid.fgrid > .z-grid-header > table th.z-grid-header-bar {
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    border: 0 !important;
    display: none !important;
}

@media only screen and (min-width: 769px) {
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-body > table > colgroup > col[id$="-bdflex"],
    html body .z-window-modal .z-grid.ais-ujian-form-grid > .z-grid-body > table > colgroup > col[id$="-bdflex"],
    html body .z-window-modal .z-grid.ais-sekolah-form-grid > .z-grid-body > table > colgroup > col[id$="-bdflex"],
    html body .z-window-modal .z-grid.ais-gelombang-form-grid > .z-grid-body > table > colgroup > col[id$="-bdflex"],
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-body > table > colgroup > col[id$="-bdflex"],
    html body .z-window-overlapped .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-body > table > colgroup > col[id$="-bdflex"] {
        width: 0px !important;
        min-width: 0px !important;
        max-width: 0px !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-header > table > colgroup > col[id$="-hdfaker-bar"] {
        width: 0px !important;
        min-width: 0px !important;
        max-width: 0px !important;
        display: none !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(1),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(1),
    html body .z-window-overlapped .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(> .z-grid-header[style*="display: none"]):has(> .z-grid-body tr.z-row input):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(> .z-grid-header[style*="display:none"]):has(> .z-grid-body tr.z-row input):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid.ais-ujian-form-grid tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-body > table > colgroup:not(:has(> col:nth-child(3))) > col:nth-child(1),
    html body .z-window-modal .z-grid.ais-ujian-form-grid > .z-grid-body > table > colgroup > col:nth-child(1),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid > .z-grid-body > table > colgroup > col:nth-child(1),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid > .z-grid-body > table > colgroup > col:nth-child(1) {
        width: 30% !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(2),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(2),
    html body .z-window-overlapped .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(> .z-grid-header[style*="display: none"]):has(> .z-grid-body tr.z-row input):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(> .z-grid-header[style*="display:none"]):has(> .z-grid-body tr.z-row input):not(:has(td.z-detail-outer)) tr.z-grid-faker:has(> th.z-column:nth-child(2)):not(:has(> th.z-column:nth-child(3))) > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid.ais-ujian-form-grid tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)) > .z-grid-body > table > colgroup:not(:has(> col:nth-child(3))) > col:nth-child(2),
    html body .z-window-modal .z-grid.ais-ujian-form-grid > .z-grid-body > table > colgroup > col:nth-child(2),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid > .z-grid-body > table > colgroup > col:nth-child(2),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid > .z-grid-body > table > colgroup > col:nth-child(2) {
        width: 70% !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)):not(:has(tr.z-grid-faker > th.z-column:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(1):not([colspan]):not(.z-detail-outer),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)):not(:has(tr.z-grid-faker > th.z-column:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(1):not([colspan]):not(.z-detail-outer) {
        width: 30% !important;
        text-align: left !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)):not(:has(tr.z-grid-faker > th.z-column:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):has(tr.ais-form-row):not(:has(td.z-detail-outer)):not(:has(tr.z-grid-faker > th.z-column:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2) {
        width: 70% !important;
        text-align: left !important;
    }

    /* Penjaga tegas kolom ikon ekspander Detail ZKoss (td.z-detail-outer = 24-32px maksimal) */
    html body .z-grid td.z-detail-outer {
        width: 28px !important;
        max-width: 32px !important;
    }

    html body .z-window-modal .z-grid:has(tr.ais-form-row) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2) > div.z-row-cnt,
    html body .z-window-highlighted .z-grid:has(tr.ais-form-row) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2) > div.z-row-cnt {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}
