/*
 * 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;
	contain: layout style;
}

/* ATURAN MUTLAK 753: Isolasi layout/paint pada #popupmenu dan style pada #panel_home agar pembukaan popup [Menu]
   saat mouse-over (hover) berjalan 100% instan (< 16 ms) tanpa memicu reflow pada ribuan elemen Beranda
   (catatan ATURAN MUTLAK 571: #panel_home menggunakan contain: style agar tidak menjebak position: fixed modal). */
#popupmenu,
.z-popup.main-responsive-menu-popup {
	contain: layout style;
	will-change: transform, opacity;
}
#panel_home,
.main-responsive-home-panel,
.main-home-stack {
	contain: style;
}

.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:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu a.z-menu-cnt,
.z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
.z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-btn,
.z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .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: 27px !important;
	padding: 0 12px 0 28px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	text-align: left !important;
	border: 0 !important;
	border-radius: 5px !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu a.z-menu-cnt,
.z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt {
	background-image: 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: 27px !important;
	padding: 0 12px 0 28px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	background-color: rgba(255, 255, 255, 0.16) !important;
	border: 0 !important;
	border-radius: 5px !important;
	box-shadow: none !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: 27px !important;
	padding: 0 12px 0 28px !important;
	border: 0 !important;
	border-width: 0 !important;
	margin: 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;
}

/* Dialog Otorisasi Eksternal / Prioritas Tertinggi (Google Drive, Dropbox, SharePoint,
 * Google Calendar, Google Classroom) WAJIB berada di atas seluruh lapisan modal form
 * (99995 s.d. 100048) agar tidak pernah tersembunyi di belakang window editor/form! */
html body .z-window-modal.ais-oauth-topmost-modal,
html body .z-window-highlighted.ais-oauth-topmost-modal,
html body .z-window-popup.ais-oauth-topmost-modal,
html body .z-window-overlapped.ais-oauth-topmost-modal {
	z-index: 100049 !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;
}

/* Messagebox bertingkat (stacked messagebox — mis. dialog konfirmasi yang dipicu
 * dari tombol di dalam messagebox modern lain) wajib berada di atas messagebox
 * induk agar tidak pernah tertutup di belakang popup sebelumnya. */
html body .z-window-modal.ais-modern-messagebox.ais-modern-messagebox-top,
html body .z-window-highlighted.ais-modern-messagebox.ais-modern-messagebox-top {
	z-index: 100065 !important;
}

html body .z-window-modal.ais-modern-messagebox.ais-modern-messagebox-top2,
html body .z-window-highlighted.ais-modern-messagebox.ais-modern-messagebox-top2 {
	z-index: 100080 !important;
}

html body .ais-window-closed {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Popup Filter Pencarian Lengkap pada dialog AmbilData* wajib tampil di atas modal bertingkat (100046) */
html body .ais-ambil-filter-lanjut-overlay {
	z-index: 100048 !important;
}

/* Pita informasi ringkas baca-saja pada dialog AmbilData* (mis. Tahun Akademik, SKS diambil, Maks SKS) */
html body .ais-ambil-info-strip {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px 12px !important;
	padding: 6px 12px !important;
	background: #eff6ff !important;
	border-bottom: 1px solid #dbeafe !important;
	box-sizing: border-box !important;
	width: 100% !important;
}
html body .ais-ambil-info-chip {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	padding: 3px 10px !important;
	min-height: 28px !important;
	background: #ffffff !important;
	border: 1px solid #dbeafe !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	color: #1e293b !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-info-chip.ais-ambil-info-chip--warn {
	background: #fffbeb !important;
	border-color: #fde68a !important;
	color: #92400e !important;
}
html body .ais-ambil-info-val,
html body .ais-ambil-info-val .z-vbox,
html body .ais-ambil-info-val .z-vbox > tbody,
html body .ais-ambil-info-val .z-vbox > tbody > tr,
html body .ais-ambil-info-val .z-vbox > tbody > tr > td {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	width: auto !important;
}
html body .ais-ambil-info-val .z-toolbarbutton.ais-ambil-info-btn,
html body .ais-ambil-info-chip .z-toolbarbutton.ais-ambil-info-btn {
	min-height: 22px !important;
	height: 22px !important;
	padding: 1px 8px !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
	border-radius: 5px !important;
}
html body .ais-ambil-primary-control .z-combobox,
html body .ais-ambil-primary-control .z-bandbox,
html body .ais-ambil-primary-control .z-datebox,
html body .ais-filter-lanjut-control .z-combobox,
html body .ais-filter-lanjut-control .z-bandbox,
html body .ais-filter-lanjut-control .z-datebox {
	display: inline-flex !important;
	width: 100% !important;
	min-height: 32px !important;
	height: 32px !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-primary-control .z-combobox > .z-combobox-inp,
html body .ais-ambil-primary-control .z-bandbox > .z-bandbox-inp,
html body .ais-ambil-primary-control .z-datebox > .z-datebox-inp,
html body .ais-filter-lanjut-control .z-combobox > .z-combobox-inp,
html body .ais-filter-lanjut-control .z-bandbox > .z-bandbox-inp,
html body .ais-filter-lanjut-control .z-datebox > .z-datebox-inp {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 32px !important;
	height: 32px !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-primary-filter-bar {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: flex-end !important;
	gap: 8px 12px !important;
	padding: 10px 14px !important;
	background: #f8fafc !important;
	border-bottom: 1px solid #e2e8f0 !important;
	box-sizing: border-box !important;
	width: 100% !important;
}
html body .ais-ambil-primary-field {
	flex: 1 1 150px !important;
	min-width: 135px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-primary-control {
	width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-primary-control .z-textbox,
html body .ais-ambil-primary-control .z-decimalbox,
html body .ais-ambil-primary-control .z-intbox,
html body .ais-ambil-primary-control .z-longbox,
html body .ais-ambil-primary-control .z-doublebox,
html body .ais-ambil-primary-control .ais-locked-combo-label {
	width: 100% !important;
	min-height: 32px !important;
	height: 32px !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-primary-filter-bar > .ais-ambil-search-toolbar.ais-ambil-inline-actions.z-toolbar {
	flex: 0 0 auto !important;
	width: auto !important;
	min-height: 34px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 6px !important;
}
html body .ais-btn-pencarian-lanjut.z-toolbarbutton {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
	border-radius: 7px !important;
	min-height: 32px !important;
	padding: 0 11px !important;
}
html body .ais-btn-pencarian-lanjut.z-toolbarbutton .z-toolbarbutton-cnt {
	background: transparent !important;
	color: #0f172a !important;
	border: 0 !important;
	padding: 0 !important;
	font-weight: 600 !important;
	font-size: 12.5px !important;
}
html body .ais-btn-pencarian-lanjut.ais-btn-pencarian-lanjut--active.z-toolbarbutton {
	background: #eff6ff !important;
	border-color: #93c5fd !important;
	color: #1e3a8a !important;
}
html body .ais-btn-pencarian-lanjut.ais-btn-pencarian-lanjut--active.z-toolbarbutton .z-toolbarbutton-cnt {
	background: transparent !important;
	color: #1e3a8a !important;
	box-shadow: none !important;
	outline: none !important;
}
html body .z-center.ais-ambil-unified-scroll-center > .z-center-body {
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	padding: 0 0 12px 0 !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-unified-scroll-body,
html body .ais-ambil-unified-header {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}
html body .ais-ambil-unified-scroll-body > .z-grid.ais-ambil-unified-result-grid,
html body .ais-ambil-unified-scroll-body > .z-grid.ais-ambil-unified-result-grid > .z-grid-body {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow-y: visible !important;
	overflow-x: auto !important;
	width: 100% !important;
}
html body .ais-ambil-unified-scroll-body > .z-paging.ais-ambil-unified-paging {
	border-top: 1px solid #e2e8f0 !important;
	background: #f8fafc !important;
	padding: 4px 12px !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 filter lanjut terbuka (body.ais-af-open), turunkan z-index header TANPA memakai body:has(...)
   agar mutasi DOM body oleh popup/submenu ZK 5.5 (makeVParent/undoVParent) tidak memicu
   recalculasi style sinkron ke 15.000+ node DOM halaman utama! (Modal ZK sendiri sudah z-index >= 99990). */
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 {
	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-a.elearning-soft-access-link,
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: #f8fafc !important;
	background-color: #f8fafc !important;
	border-color: #e0f2fe !important;
	color: #0284c7 !important;
	-webkit-text-fill-color: #0284c7 !important;
	text-shadow: none !important;
	box-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,
html body .z-a.elearning-soft-access-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	width: auto !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	padding: 2px 9px !important;
	margin-top: 2px !important;
	border: 1px solid #e0f2fe !important;
	border-radius: 999px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	text-decoration: none !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-a.elearning-soft-access-link: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: #f0f9ff !important;
	background-color: #f0f9ff !important;
	border-color: #bae6fd !important;
	color: #0369a1 !important;
	-webkit-text-fill-color: #0369a1 !important;
	text-decoration: underline !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:not(#popupmenu td):has(> div.z-row-cnt > .ais-collapsible-expanded),
html body td.z-row-inner:not(#popupmenu td):has(.ais-collapsible-expanded),
html body td.z-cell:not(#popupmenu td):has(.ais-collapsible-expanded),
html body td.z-listcell:has(.ais-collapsible-expanded),
html body div.z-row-cnt:not(#popupmenu div):has(.ais-collapsible-expanded),
html body div.z-row-cnt.z-overflow-hidden:not(#popupmenu div):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;
}

html body .ais-collapsible-toggle,
html body a.ais-collapsible-toggle.z-toolbarbutton,
html body a.ais-ket-soft-toggle,
html body a.ais-ket-soft-toggle:visited {
	display: inline !important;
	margin-top: 2px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
	font-size: 10.5px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-decoration: underline dotted #94a3b8 !important;
	text-underline-offset: 2px !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

html body .ais-collapsible-toggle:hover,
html body a.ais-collapsible-toggle.z-toolbarbutton:hover,
html body a.ais-ket-soft-toggle:hover {
	background: transparent !important;
	border: 0 !important;
	color: #2563eb !important;
	-webkit-text-fill-color: #2563eb !important;
	text-decoration: underline solid #2563eb !important;
}

html body .ais-collapsible-expanded > .ais-collapsible-toggle,
html body .ais-collapsible-expanded > a.ais-collapsible-toggle.z-toolbarbutton,
html body a.ais-ket-soft-toggle.is-open {
	background: transparent !important;
	border: 0 !important;
	color: #475569 !important;
	-webkit-text-fill-color: #475569 !important;
}

html body .ais-ket-collapsible-detail[style*="display:none"],
html body .ais-ket-collapsible-detail[style*="display: none"] {
	display: none !important;
}

/* ======================================================================
   ANTI-ZIGZAG KARTU FOTO + NAMA PENGGUNA DI SEL TABEL ZKOSS (ATURAN MUTLAK 681)
   ====================================================================== */
html body td.z-row-inner table.z-hbox:has(a.ais-foto-kecil-link),
html body td.z-cell table.z-hbox:has(a.ais-foto-kecil-link),
html body td.z-listcell table.z-hbox:has(a.ais-foto-kecil-link),
html body table.z-hbox.ais-user-access-card {
	width: auto !important;
	max-width: 100% !important;
	table-layout: auto !important;
}

html body td.z-row-inner table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:first-child,
html body td.z-cell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:first-child,
html body td.z-listcell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:first-child,
html body table.z-hbox.ais-user-access-card > tbody > tr > td.z-hbox-inner:first-child {
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	padding-right: 4px !important;
	text-align: center !important;
	vertical-align: top !important;
}

html body td.z-row-inner table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-sep,
html body td.z-cell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-sep,
html body td.z-listcell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-sep,
html body table.z-hbox.ais-user-access-card > tbody > tr > td.z-hbox-sep {
	width: 8px !important;
	min-width: 8px !important;
	max-width: 8px !important;
}

html body td.z-row-inner table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:last-child,
html body td.z-cell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:last-child,
html body td.z-listcell table.z-hbox:has(a.ais-foto-kecil-link) > tbody > tr > td.z-hbox-inner:last-child,
html body table.z-hbox.ais-user-access-card > tbody > tr > td.z-hbox-inner:last-child {
	width: auto !important;
	text-align: left !important;
	vertical-align: top !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:not([style*="display:none"]):not([style*="display: none"]):not([hidden]) {
    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:not([style*="display:none"]):not([style*="display: none"]):not([hidden]) {
    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;
    user-select: none !important;
    -webkit-user-select: none !important;
    transform: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

html body span.z-button,
html body span.z-button .z-button-cm,
html body .z-toolbarbutton,
html body .z-toolbarbutton .z-toolbarbutton-cnt {
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: pointer !important;
}

html body span.z-button:hover,
html body .z-toolbarbutton:hover {
    transform: 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. Tinggi minimal 2150px desktop / 1520px mobile untuk Tabpanel berbasis <MyIframe>
      (.ais-iframe-tabpanel) agar seluruh halaman dan laporan inline di dalam menu memiliki
      ruang baca minimal >= 1560px (3x tinggi lama 520px) di bawah baris tab bertingkat! */
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: max(2150px, calc(100vh - 148px)) !important;
    min-height: 2150px !important;
    max-height: none !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: 2150px !important;
    max-height: none !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: max(1520px, calc(100vh - 116px)) !important;
        min-height: 1520px !important;
        max-height: none !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 {
        min-height: 1520px !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;
}

/* Pengaman tambahan untuk modal/window di dalam dokumen ZUL standalone (<MyIframe> 1680px):
   pastikan dialog popup/modal tetap kompak <= 840px dan tidak ikut merentang setinggi iframe halaman! */
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)) body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)) body .z-window-highlighted:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)) body .z-window-overlapped:not(.ais-ujian-cbt-window):not(.ais-modern-messagebox):not(.z-messagebox-window):not(.ais-editor-label-window) {
    max-height: min(calc(100vh - 20px), 840px) !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-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-west-body,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-east-body,
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-highlighted:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-west-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-east-body,
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;
}

/* Di dalam modal PertemuanHelper desktop, bila panel tab aktif menampung langsung 3-kolom
   .ais-absn-borderlayout yang masing-masing kolomnya (Informasi / Presensi / Izin) sudah
   memiliki scrollbar mandiri, kunci .ais-button-tabbox-panel tepat 100% agar tinggi modal
   pas penuh tanpa memunculkan scrollbar vertikal ganda di luar Borderlayout! */
@media only screen and (min-width: 901px) {
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel:has(> .ais-absn-borderlayout),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel:has(> .ais-absn-borderlayout) {
        height: 100% !important;
        overflow: hidden !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-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-west-body::-webkit-scrollbar,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-east-body::-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-borderlayout.ais-absn-borderlayout .z-west-body::-webkit-scrollbar-track,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-east-body::-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-borderlayout.ais-absn-borderlayout .z-west-body::-webkit-scrollbar-thumb,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout.ais-absn-borderlayout .z-east-body::-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 #popupmenu.z-popup .main-responsive-menu-searchbar,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-searchbar {
    width: 100% !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
}
html body #popupmenu.z-popup .main-responsive-menu-searchbar tr,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-searchbar tr {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
}
html body #popupmenu.z-popup .main-responsive-menu-searchbar td.z-hbox-sep,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-searchbar td.z-hbox-sep {
    display: none !important;
}
html body #popupmenu.z-popup .main-responsive-menu-searchbar td:first-child,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-searchbar td:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
html body #popupmenu.z-popup .main-responsive-menu-searchbar .main-responsive-menu-search-input,
html body .z-popup.main-responsive-menu-popup .main-responsive-menu-searchbar .main-responsive-menu-search-input {
    width: 100% !important;
    box-sizing: border-box !important;
}
html body #popupmenu.z-popup .main-menu-cari-grid .z-group-img,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-group-img,
html body .main-menu-cari-grid .z-group-img {
    display: none !important;
}
html body #popupmenu.z-popup .main-menu-cari-grid tr.z-row td.z-row-inner,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid tr.z-row td.z-row-inner,
html body #popupmenu.z-popup .main-menu-cari-grid .z-row-cnt,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-row-cnt {
    padding: 1px 4px !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html body #popupmenu.z-popup .main-menu-cari-grid .z-toolbarbutton .z-toolbarbutton-cnt,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-toolbarbutton .z-toolbarbutton-cnt {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 1.35 !important;
}
html body #popupmenu.z-popup .main-menu-cari-grid .z-toolbarbutton img,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-toolbarbutton img,
html body .z-popup.main2-popup-menu .main-menu-cari-grid .z-toolbarbutton img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.92 !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    flex: 0 0 15px !important;
    margin-top: 1px !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-title {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    html body .ais-crud-filter-actions,
    html body .ais-crud-filter-head > .z-toolbar,
    html body .ais-crud-filter-actions > .z-toolbar {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin-left: 0 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !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:not(.ais-preserve-viewport-height):not(.ais-cal-page),
html body .elearning-portal-col-center .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
html body .elearning-portal-col-center .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .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;
}

/* Penjaga tinggi konkret wajib pada zkoss_popup_menu_fix.css (dimuat setelah css_utama.css):
   Window/Include yang memuat Borderlayout (seperti tab Info / TampilanPengumumanPerkuliahanAction
   dan tab Kalender Hari Ini / Minggu Ini / Bulan Ini) DILARANG KERAS dipaksa menjadi
   `height: auto !important`, sebab seluruh anak `.z-borderlayout` berposisi `position: absolute`
   sehingga `100% dari auto = 0px` (area tab putih kosong). */
html body .elearning-portal-col-center .z-include.ais-preserve-viewport-height,
html body .elearning-portal-col-center .z-div.ais-preserve-viewport-height,
html body .elearning-portal-col-center .ais-idspace-holder.ais-preserve-viewport-height {
    height: 760px !important;
    min-height: 760px !important;
    box-sizing: border-box !important;
}

html body .elearning-portal-col-center .z-window-embedded.ais-preserve-viewport-height,
html body .elearning-portal-col-center .z-window-embedded.ais-cal-page {
    height: 760px !important;
    min-height: 760px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body .elearning-portal-col-center .z-window-embedded.ais-preserve-viewport-height > .z-window-embedded-cnt,
html body .elearning-portal-col-center .z-window-embedded.ais-preserve-viewport-height > .z-window-embedded-cnt-noborder,
html body .elearning-portal-col-center .z-window-embedded.ais-cal-page > .z-window-embedded-cnt,
html body .elearning-portal-col-center .z-window-embedded.ais-cal-page > .z-window-embedded-cnt-noborder {
    height: 100% !important;
    min-height: 760px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body .elearning-portal-col-center .z-window-embedded.ais-preserve-viewport-height > .z-window-embedded-cnt-noborder > .z-borderlayout,
html body .elearning-portal-col-center .z-window-embedded.ais-preserve-viewport-height > .z-window-embedded-cnt > .z-borderlayout,
html body .elearning-portal-col-center .z-window-embedded.ais-cal-page > .z-window-embedded-cnt-noborder > .z-borderlayout,
html body .elearning-portal-col-center .z-window-embedded.ais-cal-page > .z-window-embedded-cnt > .z-borderlayout {
    height: 760px !important;
    min-height: 760px !important;
    width: 100% !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;
}

/* ============================================================================
   ATURAN MUTLAK 754 & 758 (/docs/AGENTS.md): JANGAN ADA BATASAN KE BAWAH, IKUTI SCROLL UTAMA SAJA
   & ANTI-SPACE-KOSONG HEADER + ANTI-BLANK-TAB PADA BORDERLAYOUT / INCLUDE!
   ----------------------------------------------------------------------------
   1. DILARANG KERAS menargetkan wildcard `.main-responsive-frame.z-borderlayout > div` dengan
      `position: relative !important; min-height: calc(100vh - 148px) !important`, karena pembungkus
      luar `<west id="navigasi">` (`<div id="uuid_navigasi">`) tidak memiliki class CSS sehingga
      berubah menjadi blok kosong setinggi ~750px di atas bilah tab `Home | Elearning | Prestasi`!
      Sembunyikan pembungkus `West` (`> div:has(> .main-responsive-sidebar)`) menjadi 0px penuh, dan
      terapkan aliran relatif HANYA pada pembungkus `Center` (`> div:has(> .main-responsive-center)`).
   2. Di dalam `.main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel)` (di luar modal window):
      - Seluruh `MyInclude` (`.z-include`), `Window` embedded (`.z-window-embedded*`), pembungkus scroll
        1-kolom (`.ais-scroll-layout-borderlayout`), serta `Borderlayout` 1-kolom (tanpa `West`/`East`,
        termasuk varian `-noborder` pada `Center`/`North`/`South`) WAJIB memakai `position: relative !important;
        height: auto !important; overflow: visible !important` agar TIDAK PERNAH kolaps menjadi tinggi 0px
        (layar putih blank) ketika induknya `height: auto`.
      - Sedangkan `Borderlayout` multi-kolom (yang memiliki `West` atau `East`) dijamin memiliki
        `min-height: 680px !important` agar panel samping dan tengah tetap tampil utuh.
   ============================================================================ */
html body .main-responsive-frame.main-responsive-frame-dropdown > div:has(> .main-responsive-sidebar),
html body .main-responsive-frame.main-responsive-frame-dropdown > div:has(> .navigasi),
html body .main-responsive-frame.main-responsive-frame-dropdown > .z-west,
html body .main-responsive-frame.main-responsive-frame-dropdown > .z-west-noborder,
html body .main-responsive-frame.main-responsive-frame-dropdown > .z-west-splt,
html body .main-responsive-frame.main-responsive-frame-dropdown > .z-west-colled,
html body .main-responsive-frame.main-responsive-frame-dropdown > .z-west-colps,
html body .main-responsive-frame.main-responsive-frame-dropdown .main-responsive-sidebar-dropdown-hidden {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

html body .main-responsive-frame,
html body .main-responsive-frame.z-borderlayout,
html body .main-responsive-frame.z-borderlayout > div:has(> .main-responsive-center),
html body .main-responsive-center,
html body .main-responsive-center.z-center,
html body .main-responsive-center.z-center-noborder,
html body .main-responsive-center > .z-center-body,
html body .main-responsive-center > .z-center-body-noborder,
html body .main-responsive-tabbox,
html body .main-responsive-tabpanels,
html body .main-responsive-tabbox > .z-tabpanels,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
html body .main-responsive-tabbox > .z-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt,
html body .main-responsive-home-panel,
html body .main-responsive-home-panel > .z-tabpanel-cnt,
html body .main-dashboard-frame,
html body .main-dashboard-content,
html body .main-dashboard-tabbox,
html body .main-dashboard-tabpanels,
html body .main-dashboard-tabpanel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Lepaskan semua Tabbox/Tabpanel native bersarang, MyButtonTabbox, dan portal CRUD
   di dalam tab menu utama non-iframe (di luar modal/popup) agar tingginya menyesuaikan
   data secara otomatis (height: auto) tanpa menumpuk scroll vertikal ke-2!
   PENTING: Di spesifikasi CSS, `overflow-x: hidden` pada sebuah kontainer otomatis memaksa
   `overflow-y: visible` dihitung sebagai `overflow-y: auto` oleh browser! Oleh sebab itu,
   seluruh wadah perantara wajib menggunakan `overflow: visible !important` murni. */
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-tabbox:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-tabpanels:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-tabpanels-cnt:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-tabpanel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-tabpanel-cnt:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-button-tabbox-wrapper:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-button-tabbox-container:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-button-tabbox-panels:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-button-tabbox-panel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-crud-portal:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Kartu data CRUD (.ais-crud-data-card, termasuk tabel dengan ekspansi [+] MyDetail seperti
   Skripsi / Karya Tulis Ilmiah / Tugas Akhir): di luar modal wajib bertinggi otomatis penuh
   dan TIDAK BOLEH memotong vertikal (overflow-y: hidden di css_utama.css dilepas), sambil tetap
   mengizinkan geser horizontal bila kolom tabel melebihi lebar layar! */
html body .ais-crud-data-card:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: auto !important;
}
html body .ais-crud-data-card:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) .dgrid.z-grid:not(.z-bandpopup *):not(.z-popup *),
html body .ais-crud-data-card:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) .dgrid.z-grid:not(.z-bandpopup *):not(.z-popup *) > .z-grid-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
}

html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-include:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt-noborder,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > div,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > div > [class*="z-center"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > div > [class*="z-center"] > [class*="z-center-body"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > [class*="z-center"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout.ais-scroll-layout-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > [class*="z-center"] > [class*="z-center-body"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"] > [class*="z-north-body"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"] > [class*="z-center-body"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"],
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"] > [class*="z-south-body"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* ============================================================================
   ATURAN MUTLAK 761 & 762 (/docs/AGENTS.md):
   TATA LETAK FLEXBOX TINGGI OTOMATIS (AUTO-HEIGHT) & 1 SCROLL VERTIKAL TERPUSAT
   UNTUK BORDERLAYOUT MULTI-KOLOM (WEST / CENTER / EAST) & PRATINJAU EXCEL/TABEL
   ----------------------------------------------------------------------------
   Menggantikan paksaan tinggi kaku `calc(100vh - Xpx)` dengan CSS Flexbox murni
   berdasarkan struktur DOM ZK 5.5 (`zul/layout/mold/layoutregion.src.js`):
   - North (`order: 1`, `flex: 0 0 100%`) dan South (`order: 5`, `flex: 0 0 100%`)
     menempati lebar penuh di atas dan bawah.
   - West (`order: 2`, `flex: 0 0 auto`) mempertahankan lebar panel filter (mis. 120px)
     atau menyusut ke 24px saat dilipat (`.z-west-colpsd`), dan tingginya tumbuh otomatis
     menampilkan seluruh field (sampai `Waktu`) tanpa terpotong.
   - Center (`order: 3`, `flex: 1 1 0%; min-width: 0`) dan East (`order: 4`, `flex: 0 0 auto`)
     tumbuh vertikal secara otomatis menyesuaikan jumlah data per halaman (maks. 25 baris +
     baris `TOTAL` + tombol paging bawah) dan seluruh halaman digulir hanya dengan SATU
     scrollbar vertikal utama (`.main-scroll-center > .z-center-body`).
   ============================================================================ */
@media only screen and (min-width: 901px) {
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Region North & South di dalam Borderlayout multi-kolom */
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-north"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-south"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 5 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"]:not([class*="-splt"]):not([class*="-colpsd"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"] > [class*="z-north-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"]:not([class*="-splt"]):not([class*="-colpsd"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"] > [class*="z-south-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Region West & East di dalam Borderlayout multi-kolom */
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-west"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 42% !important;
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin-right: 6px !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-east"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 42% !important;
        order: 4 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin-left: 6px !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-noborder:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-noborder:not([style*="display: none"]):not([style*="display:none"]) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-east"] > [class*="z-east-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"] > .z-grid,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"] > .z-grid > .z-grid-body {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    /* Pertahankan batang lipat (collapsed bar `>>`) saat pengguna melipat panel West/East */
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-colpsd:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-colpsd:not([style*="display: none"]):not([style*="display:none"]) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 24px !important;
        min-height: 260px !important;
        height: auto !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-splt,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-splt,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-north-splt,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-south-splt {
        display: none !important;
    }

    /* Region Center di dalam Borderlayout multi-kolom: mengisi sisa lebar & tinggi otomatis */
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-center"]) {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        order: 3 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"] > [class*="z-center-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
}

/* Pratinjau "Tampilan Excel" & "Tabel Data" di kanvas utama (non-modal):
   WAJIB bertinggi otomatis (height: auto, max-height: none) tanpa scrollbar vertikal kedua,
   sambil menyediakan scrollbar mendatar (overflow-x: auto) yang kontras & jelas di bagian bawah tabel! */
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-xlsx-preview-outer:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .xlsx-preview-region-wrapper:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .ais-sapto-table-scroll-wrap:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
    scrollbar-color: #64748b #e2e8f0 !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar,
html body .ais-sapto-table-scroll-wrap::-webkit-scrollbar {
    width: 11px !important;
    height: 11px !important;
    display: block !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-track,
html body .ais-sapto-table-scroll-wrap::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
    border-radius: 999px !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-thumb,
html body .ais-sapto-table-scroll-wrap::-webkit-scrollbar-thumb {
    background-color: #64748b !important;
    border-radius: 999px !important;
    border: 2px solid #e2e8f0 !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-thumb:hover,
html body .ais-sapto-table-scroll-wrap::-webkit-scrollbar-thumb:hover {
    background-color: #334155 !important;
}
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-listbox.ais-sapto-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-listbox.ais-sapto-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > .z-listbox-body,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-grid.ais-excel-preview-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-grid.ais-excel-preview-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) > .z-grid-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* Pengaman dokumen standalone / di dalam <MyIframe> (.ais-iframe-tabpanel) ketika konfigurasi
   pakai_include_saat_menu dimatikan: halaman ZUL standalone (body tanpa .main-responsive-root)
   yang memuat MyButtonTabbox atau laporan bertinggi otomatis tetap memiliki 1 scroll dokumen utuh! */
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt-noborder,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-tabbox:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-tabpanels:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-tabpanel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-tabpanel-cnt:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-tabbox *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .ais-button-tabbox-wrapper:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .ais-button-tabbox-container:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .ais-button-tabbox-panels:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .ais-button-tabbox-panel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .ais-crud-portal:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .elearning-portal-shell,
html body .elearning-portal,
html body .elearning-portal-col-left,
html body .elearning-portal-col-right,
html body .elearning-portal-col-left .elearning-portal-panel,
html body .elearning-portal-col-right .elearning-portal-panel,
html body .elearning-portal-col-left .z-panel-body,
html body .elearning-portal-col-right .z-panel-body,
html body .elearning-portal-col-left .z-panel-children,
html body .elearning-portal-col-right .z-panel-children,
html body .elearning-portal-col-left .elearning-portal-body,
html body .elearning-portal-col-right .elearning-portal-body,
html body .elearning-portal-col-left .z-borderlayout,
html body .elearning-portal-col-right .z-borderlayout,
html body .elearning-portal-col-left .z-borderlayout > div,
html body .elearning-portal-col-right .z-borderlayout > div,
html body .elearning-portal-col-left [class*="z-north"],
html body .elearning-portal-col-left [class*="z-north-body"],
html body .elearning-portal-col-left [class*="z-center"],
html body .elearning-portal-col-left [class*="z-center-body"],
html body .elearning-portal-col-right [class*="z-north"],
html body .elearning-portal-col-right [class*="z-north-body"],
html body .elearning-portal-col-right [class*="z-center"],
html body .elearning-portal-col-right [class*="z-center-body"],
html body .elearning-portal-col-left .elearning-menu-combo-shell,
html body .elearning-portal-col-left .elearning-menu-combo-tabbox,
html body .elearning-portal-col-left .elearning-menu-combo-tabbox > .z-tabpanels,
html body .elearning-portal-col-left .elearning-menu-combo-tabbox .z-tabpanel,
html body .elearning-portal-col-left .elearning-menu-combo-tabbox .z-tabpanel-cnt,
html body .elearning-portal-col-left .elearning-kelas-layout,
html body .elearning-portal-col-left .z-grid,
html body .elearning-portal-col-right .z-grid,
html body .elearning-portal-col-right .ais-button-tabbox-container,
html body .elearning-portal-col-right .ais-button-tabbox-panels,
html body .elearning-portal-col-right .ais-button-tabbox-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

html body .ais-soft-num-link,
html body a.ais-soft-num-link,
html body .ais-clickable-metric-num,
html body a.ais-clickable-metric-num,
html body .z-a.ais-clickable-metric-num {
    display: inline-block !important;
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.07) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    padding: 2px 9px !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

html body .ais-soft-num-link:hover,
html body a.ais-soft-num-link:hover,
html body .ais-clickable-metric-num:hover,
html body a.ais-clickable-metric-num:hover,
html body .z-a.ais-clickable-metric-num:hover {
    color: #1d4ed8 !important;
    background: rgba(37, 99, 235, 0.15) !important;
    text-decoration: underline !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:not(.ais-menu-popup-grid):has(> .z-grid-body > table > tbody > tr.ais-form-row) > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)) > th[id$="fakerflex"],
html body .z-grid:not(.ais-menu-popup-grid):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2))) > .z-grid-header > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-window-modal .z-grid.fgrid > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)) > th[id$="fakerflex"],
html body .z-window-highlighted .z-grid.fgrid > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)) > th[id$="fakerflex"],
html body .z-window-overlapped .z-grid.fgrid > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)) > th[id$="fakerflex"],
html body .z-grid.ais-ujian-form-grid > .z-grid-header > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-sekolah-form-grid > .z-grid-header > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-gelombang-form-grid > .z-grid-header > table 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 > table > tbody > tr.z-row input) > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)):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 > table > tbody > tr.z-row input) > .z-grid-header > table tr.z-grid-faker:has(> th.z-column:nth-child(2)):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;
}

/* Fallback CSS anti-terpotong apabila sebuah Grid form 2-sel (tr.ais-form-row memiliki
   td.z-row-inner:nth-child(2)) baru memiliki 1 <column> di <columns> (tr.z-grid-faker
   hanya memiliki 1 th.z-column + 1 th[id$="fakerflex"]): dalam mode table-layout: fixed,
   th[id$="fakerflex"] berfungsi sebagai header kolom ke-2, sehingga WAJIB diberi lebar 70%
   (dan th.z-column:nth-child(1) diberi 30%) agar kolom input ke-2 tidak terjepit ke 0px! */
@media only screen and (min-width: 769px) {
    html body .z-grid:not(.dgrid):not(.ais-checklist-subgrid):not(.ais-menu-popup-grid):not(.ais-scroll-layout-grid):not(:has(> .z-grid-header tr.z-columns > th.z-column > div.z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table tr.z-grid-faker:not(:has(> th.z-column:nth-child(2))) > th.z-column:nth-child(1) {
        width: 30% !important;
    }

    html body .z-grid:not(.dgrid):not(.ais-checklist-subgrid):not(.ais-menu-popup-grid):not(.ais-scroll-layout-grid):not(:has(> .z-grid-header tr.z-columns > th.z-column > div.z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table tr.z-grid-faker:not(:has(> th.z-column:nth-child(2))) > th[id$="fakerflex"] {
        width: 70% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

html body .z-grid:not(.ais-menu-popup-grid):has(> .z-grid-body > table > tbody > 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;
    }

    /* PENTING: Gunakan jalur anak langsung (> .z-grid-header > table tr.z-grid-faker) dan kecualikan .dgrid / .ais-data-grid / .ais-obe-subcpmk-grid
       agar grid formulir induk di modal (mis. Perintah Tugas / Tugas Kelompok) TIDAK PERNAH membocorkan width 30% / 70% ke tabel data bersarang di dalamnya! */
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):has(> .z-grid-header[style*="display: none"]):has(> .z-grid-body > table > tbody > tr.z-row input):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):has(> .z-grid-header[style*="display:none"]):has(> .z-grid-body > table > tbody > tr.z-row input):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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 > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(1),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > colgroup:not(:has(> col:nth-child(3))) > col:nth-child(1):not(:has(+ col[id$="-bdflex"])),
    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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):has(> .z-grid-header[style*="display: none"]):has(> .z-grid-body > table > tbody > tr.z-row input):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):has(> .z-grid-header[style*="display:none"]):has(> .z-grid-body > table > tbody > tr.z-row input):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)) > .z-grid-header > table 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 > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid.ais-sekolah-form-grid > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid.ais-gelombang-form-grid > .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(2),
    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > colgroup:not(:has(> col:nth-child(3))) > col:nth-child(2):not([id$="-bdflex"]),
    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):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(1):not([colspan]):not(:last-child):not(.z-detail-outer),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2)):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(1):not([colspan]):not(:last-child):not(.z-detail-outer) {
        width: 30% !important;
        text-align: left !important;
    }

    html body .z-window-modal .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2):not([colspan]),
    html body .z-window-highlighted .z-grid:not(.ais-scroll-layout-grid):not(.dgrid):not(.ais-data-grid):not(.ais-obe-subcpmk-grid):not(.ppu-subcpmk-grid):not(:has(> .z-grid-header tr.z-columns th.z-column .z-column-cnt:not(:empty))):has(> .z-grid-body > table > tbody > tr.ais-form-row):not(:has(> .z-grid-body > table > tbody > tr > td.z-detail-outer)):not(:has(> .z-grid-header > table tr.z-grid-faker > th.z-column:nth-child(3))):not(:has(> .z-grid-body > table > tbody > tr > td.z-row-inner:nth-child(3))) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(2):not([colspan]) {
        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-modal .z-grid:has(tr.ais-form-row) > .z-grid-body > table > tbody > tr.ais-form-row > td.z-row-inner:nth-child(even) > 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,
    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(even) > 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;
    }
}


/* ============================================================================
   PENGUNCIAN OTORITATIF ATURAN MUTLAK 530 (DIMUAT PALING AKHIR SETELAH TEMA TENANT):
   1. Seluruh MyButtonTabbox, MyTabboxButton, & Tabbox non-shell di layar sempit /
      mobile (<= 900px) membungkus secara fleksibel mengikuti lebar layar
      (flex-wrap: wrap + flex: 1 1 auto pada baris dalam table[id$="-real"] > tbody > tr),
      turun ke bawah hanya bila tidak muat, dengan tepi kiri & kanan selalu sejajar rata.
   2. Space kosong kiri & kanan pada modal rincian kegiatan (.ais-elearning-agenda-modal),
      sel pembungkus (.ais-scroll-layout-grid, .ais-agenda-meeting-grid), dan kartu
      pertemuan (.ais-timeline-meeting-card) dipersempit agar konten tampil lebih luas.
   ============================================================================ */
html body .ais-elearning-agenda-modal > .z-window-modal-cnt,
html body .ais-elearning-agenda-modal > .z-window-modal-cnt-noborder,
html body .ais-elearning-agenda-modal .z-window-modal-cm > .z-window-modal-cnt,
html body .ais-elearning-agenda-modal .z-window-modal-cm > .z-window-modal-cnt-noborder,
html body .ais-scroll-layout-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner,
html body .ais-scroll-layout-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt {
    padding: 0 !important;
}

html body .ais-agenda-meeting-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner,
html body tr.z-row:not(#popupmenu tr) > td.z-row-inner:has(> div.z-row-cnt > .ais-timeline-meeting-card) {
    padding: 3px 0 !important;
}

html body .ais-agenda-meeting-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt,
html body tr.z-row:not(#popupmenu tr) > td.z-row-inner:has(> div.z-row-cnt > .ais-timeline-meeting-card) > div.z-row-cnt {
    padding: 2px 0 !important;
}

/* ============================================================================
   PENGUNCIAN OTORITATIF PORTALLAYOUT CE (.ais-ce-portallayout):
   Wajib memiliki align-content: flex-start !important dan height: auto !important
   agar ketika terdapat > 1 baris flex (misalnya baris tombol [Cetak PDF] [Ekspor Excel]
   di atas MyPortalchildren berlebar 100%) pada kontainer yang diberi height/min-height
   besar (seperti 11000px / 165000px), browser TIDAK membagi tinggi tersebut dengan
   align-content: stretch (default CSS Flexbox) yang mendorong MyPortalchildren ribuan
   piksel ke bawah layar sehingga area di bawah tombol tampak putih kosong.
   ============================================================================ */
html body .ais-ce-portallayout:not(.ais-tugas-equal-height-portal) {
    align-items: flex-start !important;
    align-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
}

@media only screen and (max-width: 900px) {
    html body .ais-button-tabbox-bar-wrap {
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox[style*="display:none"],
    html body table.z-hbox.ais-btn-group.ais-button-tabbox[style*="display: none"],
    html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver)[style*="display:none"],
    html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver)[style*="display: none"] {
        display: none !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]),
    html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver):not([style*="display:none"]):not([style*="display: none"]) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
        padding: 5px !important;
        box-sizing: border-box !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) > tbody,
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) > tbody > tr:has(> td[id$="-frame"]),
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) > tbody > tr > td[id$="-frame"],
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) table[id$="-real"],
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) table[id$="-real"] > tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        box-sizing: border-box !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) table[id$="-real"] > tbody > tr,
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not([style*="display:none"]):not([style*="display: none"]) > tbody > tr:not(:has(> td[id$="-frame"])) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox td.z-hbox-sep,
    html body table.z-hbox.ais-btn-group.ais-button-tabbox td[style*="display:none"],
    html body table.z-hbox.ais-btn-group.ais-button-tabbox td[style*="display: none"],
    html body table.z-hbox.ais-btn-group.ais-button-tabbox td:has(> [style*="display:none"]),
    html body table.z-hbox.ais-btn-group.ais-button-tabbox td:has(> [style*="display: none"]),
    html body .ais-btn-group.ais-button-tabbox .z-toolbarbutton[style*="display:none"],
    html body .ais-btn-group.ais-button-tabbox .z-toolbarbutton[style*="display: none"] {
        display: none !important;
        width: 0 !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox table[id$="-real"] > tbody > tr > td:not(.z-hbox-sep):not([style*="display:none"]):not([style*="display: none"]),
    html body table.z-hbox.ais-btn-group.ais-button-tabbox > tbody > tr:not(:has(> td[id$="-frame"])) > td:not(.z-hbox-sep):not([style*="display:none"]):not([style*="display: none"]) {
        display: flex !important;
        align-items: stretch !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
    html body table.z-hbox.ais-btn-group.ais-button-tabbox .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 36px !important;
        height: 100% !important;
        padding: 6px 10px !important;
        line-height: 1.25 !important;
        font-size: 12px !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-body,
    html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-cnt {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        line-height: 1.25 !important;
        font-size: 12px !important;
        text-align: center !important;
    }

    html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-cnt img {
        flex-shrink: 0 !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        white-space: normal !important;
        height: auto !important;
        padding: 5px !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tabs-left-scroll,
    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tabs-right-scroll,
    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tabs-space {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tabs-header {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tabs-cnt,
    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs ul.z-tabs-cnt {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tab:not([style*="display:none"]):not([style*="display: none"]) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        float: none !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }

    html body .z-tabbox:not(.main-responsive-tabbox):not(.main2-tabbox):not(.ais-m-iframe):not(.z-tabbox-ver):not(.ais-konfig-tabbox) > .z-tabs .z-tab .z-tab-text {
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }

    html body > .z-window-modal.ais-elearning-agenda-modal,
    html body > .z-window-highlighted.ais-elearning-agenda-modal {
        width: calc(100vw - 8px) !important;
        max-width: calc(100vw - 8px) !important;
        left: 4px !important;
        top: 4px !important;
        height: calc(100dvh - 8px) !important;
        max-height: calc(100dvh - 8px) !important;
        border-radius: 10px !important;
    }

    html body > .z-window-modal:not(.ais-ujian-cbt-window),
    html body > .z-window-highlighted:not(.ais-ujian-cbt-window) {
        max-width: calc(100vw - 8px) !important;
        left: 4px !important;
    }

    html body .ais-elearning-agenda-modal .z-center.ais-elearning-agenda-center,
    html body .ais-elearning-agenda-modal .z-center.ais-scroll-center,
    html body .ais-elearning-agenda-modal .z-center.ais-scroll-center > .z-center-body {
        padding: 3px 4px !important;
    }

    html body .ais-elearning-agenda-host {
        padding: 3px 4px !important;
    }

    html body .ais-agenda-meeting-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner,
    html body .ais-agenda-meeting-grid.z-grid > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt,
    html body tr.z-row > td.z-row-inner:has(> div.z-row-cnt > .ais-timeline-meeting-card),
    html body tr.z-row > td.z-row-inner:has(> div.z-row-cnt > .ais-timeline-meeting-card) > div.z-row-cnt {
        padding: 2px 0 !important;
    }

    html body .ais-timeline-meeting-card,
    html body fieldset.z-fieldset.ais-timeline-meeting-card {
        padding: 6px 6px 8px 6px !important;
    }

    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 {
        padding: 4px 4px !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 2px 6px 2px !important;
    }

    html body .main-responsive-tabpanels > .z-tabpanel,
    html body .main-dashboard-frame,
    html body .ais-crud-portal {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/* ============================================================================
 * ATURAN MUTLAK 544 (FALLBACK CACHE-SAFE): INVARIAN ANTI-OVERFLOW MOBILE
 * (<= 900px) — SELURUH 21 DASBOR MODUL & SELURUH HALAMAN ZKOSS <= 100% VIEWPORT
 * ============================================================================ */
@media only screen and (max-width: 900px) {
    html body table.z-vbox.main-dashboard-frame,
    html body .main-responsive-tabpanels table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col):not(.main-responsive-brand-text),
    html body .ais-crud-portal table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col),
    html body .z-window-modal:not(.ais-ujian-cbt-window) table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    html body table.z-vbox.main-dashboard-frame > tbody,
    html body table.z-vbox.main-dashboard-frame > tbody > tr:not([style*="display:none"]):not([style*="display: none"]),
    html body table.z-vbox.main-dashboard-frame > tbody > tr:not([style*="display:none"]):not([style*="display: none"]) > td,
    html body table.z-vbox.main-dashboard-frame table[id$="-real"],
    html body table.z-vbox.main-dashboard-frame table[id$="-real"] > tbody,
    html body table.z-vbox.main-dashboard-frame table[id$="-real"] > tbody > tr:not([style*="display:none"]):not([style*="display: none"]),
    html body table.z-vbox.main-dashboard-frame table[id$="-real"] > tbody > tr:not([style*="display:none"]):not([style*="display: none"]) > td,
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) > tbody,
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) > tbody > tr:not([style*="display:none"]):not([style*="display: none"]),
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) > tbody > tr:not([style*="display:none"]):not([style*="display: none"]) > td,
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) table[id$="-real"],
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) table[id$="-real"] > tbody,
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) table[id$="-real"] > tbody > tr:not([style*="display:none"]):not([style*="display: none"]),
    html body .main-dashboard-content table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col) table[id$="-real"] > tbody > tr:not([style*="display:none"]):not([style*="display: none"]) > td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab),
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab),
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody,
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr:has(> td[id$="-frame"]),
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr > td[id$="-frame"],
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"],
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody,
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody,
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr:has(> td[id$="-frame"]),
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr > td[id$="-frame"],
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"],
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody > tr,
    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr:not(:has(> td[id$="-frame"])),
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody > tr,
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) > tbody > tr:not(:has(> td[id$="-frame"])) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) td.z-hbox-sep,
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) td.z-hbox-sep {
        display: none !important;
        width: 0 !important;
    }

    html body .main-dashboard-content table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody > tr > td:not(.z-hbox-sep):not([style*="display:none"]):not([style*="display: none"]),
    html body .ais-crud-portal table.z-hbox:not(.ais-button-tabbox):not(.ais-header-kanan):not(.ais-timeline-header-hbox):not(.ais-activity-summary-kebab) table[id$="-real"] > tbody > tr > td:not(.z-hbox-sep):not([style*="display:none"]):not([style*="display: none"]) {
        display: block !important;
        flex: 0 1 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    html body .ais-dashboard-filter-bar,
    html body .ais-dashboard-filter-group,
    html body .ais-dashboard-filter-actions,
    html body .main-dashboard-content div[style*="display:inline-flex"],
    html body .main-dashboard-content div[style*="display: inline-flex"],
    html body .ais-crud-portal div[style*="display:inline-flex"],
    html body .ais-crud-portal div[style*="display: inline-flex"] {
        flex-wrap: wrap !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .ais-dashboard-filter-actions {
        display: flex !important;
        width: 100% !important;
        gap: 6px !important;
    }

    html body .ais-dashboard-filter-actions > .z-toolbarbutton,
    html body .ais-dashboard-filter-actions > .z-button {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 34px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    html body .ais-sop-dashboard-shell {
        padding: 8px 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    html body .ais-sop-hero {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body .ais-sop-hero-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body .ais-sop-hero-numbers {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body .ais-sop-hero-numbers > div,
    html body .ais-sop-hero-number-card {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: min(100%, 120px) !important;
        max-width: 100% !important;
        padding: 10px 12px !important;
        box-sizing: border-box !important;
    }

    html body .ais-sop-metric-cards {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body .ais-sop-metric-card {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
    }

    html body .main-dashboard-content div > span.z-html,
    html body .main-dashboard-content .z-panelchildren > span.z-html,
    html body .main-dashboard-content td > span.z-html,
    html body .ais-button-tabbox-panel > span.z-html,
    html body .ais-crud-portal div > span.z-html {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    html body .z-portallayout,
    html body .z-portalchildren,
    html body .z-portalchildren-cnt,
    html body .z-panel,
    html body .z-panel-body,
    html body .z-panelchildren {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .z-portalchildren {
        width: 100% !important;
        float: none !important;
    }
}

/* ============================================================================
 * KONTRAS TINGGI WCAG AAA TOMBOL "GANTI TANGGAL" (.ais-kh-btn-date) DI ATAS
 * BANNER BERGRADIEN GELAP (.ais-kh-head) PADA BERANDA ZKOSS
 * ============================================================================ */
html body .ais-kh-head-top,
html body .kh-head-top {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .ais-kh-btn-date,
html body .ais-kh-btn-date.z-toolbarbutton {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    transition: none !important;
}

html body .ais-kh-btn-date .z-toolbarbutton-body,
html body .ais-kh-btn-date.z-toolbarbutton .z-toolbarbutton-body {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    padding: 0 !important;
}

html body .ais-kh-btn-date .z-toolbarbutton-cnt,
html body .ais-kh-btn-date.z-toolbarbutton .z-toolbarbutton-cnt {
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
}

html body .ais-kh-btn-date:hover,
html body .ais-kh-btn-date.z-toolbarbutton:hover,
html body .ais-kh-btn-date.z-toolbarbutton-over {
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    border-color: #ffffff !important;
    color: var(--ais-theme-primary, #1d4ed8) !important;
    -webkit-text-fill-color: var(--ais-theme-primary, #1d4ed8) !important;
    box-shadow: none !important;
}

html body .ais-kh-btn-date:hover .z-toolbarbutton-cnt,
html body .ais-kh-btn-date.z-toolbarbutton:hover .z-toolbarbutton-cnt,
html body .ais-kh-btn-date.z-toolbarbutton-over .z-toolbarbutton-cnt {
    color: var(--ais-theme-primary, #1d4ed8) !important;
    -webkit-text-fill-color: var(--ais-theme-primary, #1d4ed8) !important;
}

html body .ais-kh-date-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

html body .ais-kh-date-modal-desc {
    display: block;
    font-size: 12.5px !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
}

html body .ais-kh-date-modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

html body .ais-kh-date-modal-label {
    display: block;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

html body .ais-kh-date-modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

html body .ais-kh-date-modal-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Kartu aktor penerima disposisi SOP (SopUtil.buatKartuAktor / buatKartuAktorTerpilih): rata kiri (text-align:left)
   termasuk sel tabel internal Vbox ZK 5.5, label nama/userId, dan badge peran. */
html body .ais-sop-aktor-card,
html body .ais-sop-aktor-card td,
html body .ais-sop-aktor-card .z-label,
html body .ais-sop-aktor-card .z-image {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
html body .ais-sop-aktor-card td[align] {
    text-align: left !important;
}

/* Kartu aktor SOP berjejer ke samping (flex-wrap) di desktop; di layar mobile sempit (<= 480px) boleh satu per baris. */
html body .ais-sop-aktor-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
    width: 96px !important;
    max-width: 96px !important;
}
@media only screen and (max-width: 480px) {
    html body .ais-sop-aktor-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ======================================================================
   OPTIMASI RESPONSIVITAS INSTAN & ISOLASI LAYOUT POPUP MENU / SUBMENU
   (Mencegah layout thrashing / reflow 15.000+ DOM beranda pada laptop & HP
   serta memastikan ketukan pada HP 0 ms tanpa tap-delay 300ms)
   ====================================================================== */
.main-responsive-menu-popup,
.z-popup.main-responsive-menu-popup,
.z-menu-popup,
.z-menupopup {
    contain: style;
    transition: none !important;
    touch-action: manipulation;
}

.main-responsive-header-menu-button,
.main-responsive-menu-popup .z-menu,
.main-responsive-menu-popup .z-menu-item,
.main-responsive-menu-popup .z-menu-cnt,
.main-responsive-menu-popup .z-menu-item-cnt,
.main-responsive-menu-popup .z-menu-btn,
.main-responsive-menu-popup .z-menu-item-btn,
.z-menu-popup-cnt .z-menu,
.z-menu-popup-cnt .z-menu-item,
.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 {
    touch-action: manipulation;
    cursor: pointer !important;
    transition: none !important;
}

/* ======================================================================
   JAMINAN MUTLAK KONTRAS & KESERAGAMAN VISUAL POPUP MENU UTAMA VS SUB-MENU
   (#popupmenu, .main-responsive-menu-popup, .main2-popup-menu)
   1. Mencegah .z-popup.ais-row-popup (#ffffff) menimpa latar biru/gelap tema.
   2. Menyamakan tampilan item menu utama (.z-menubar-ver) 100% dengan sub-menu
      (.z-menu-popup-cnt): lebar penuh 100%, rapat (compact), TANPA border antar
      menu pada keadaan normal, dan highlight fokus penuh saat mouse-over/aktif!
   ====================================================================== */
html body #popupmenu.z-popup,
html body #popupmenu.z-popup .z-popup-inner,
html body #popupmenu.z-popup .z-popup-cl,
html body #popupmenu.z-popup .z-popup-cm,
html body #popupmenu.z-popup .z-popup-cr,
html body #popupmenu.z-popup .z-popup-cnt,
html body .z-popup.main-responsive-menu-popup,
html body .z-popup.main-responsive-menu-popup .z-popup-inner,
html body .z-popup.main-responsive-menu-popup .z-popup-cl,
html body .z-popup.main-responsive-menu-popup .z-popup-cm,
html body .z-popup.main-responsive-menu-popup .z-popup-cr,
html body .z-popup.main-responsive-menu-popup .z-popup-cnt,
html body .z-popup.main2-popup-menu,
html body .z-popup.main2-popup-menu .z-popup-inner,
html body .z-popup.main2-popup-menu .z-popup-cl,
html body .z-popup.main2-popup-menu .z-popup-cm,
html body .z-popup.main2-popup-menu .z-popup-cr,
html body .z-popup.main2-popup-menu .z-popup-cnt {
    background: var(--ais-theme-primary-bg, linear-gradient(63deg, rgb(3, 86, 153) 0%, rgb(12, 113, 195) 42%, rgb(70, 161, 235) 100%)) !important;
    background-color: var(--ais-theme-primary, #0c71c3) !important;
    color: #ffffff !important;
}

/* Tabel kerangka z-menubar-ver penuh 100% dan tanpa garis/celah bawaan tema */
html body #popupmenu.z-popup .z-menubar-ver,
html body #popupmenu.z-popup .z-menubar-ver > table,
html body #popupmenu.z-popup .z-menubar-ver > table > tbody,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver > table,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver > table > tbody,
html body .z-popup.main2-popup-menu .z-menubar-ver,
html body .z-popup.main2-popup-menu .z-menubar-ver > table,
html body .z-popup.main2-popup-menu .z-menubar-ver > table > tbody {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body #popupmenu.z-popup .z-menubar-ver tr,
html body #popupmenu.z-popup .z-menubar-ver td.z-menu,
html body #popupmenu.z-popup .z-menubar-ver td.z-menu-item,
html body #popupmenu.z-popup .z-menubar-ver td.menu_item,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver tr,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.z-menu,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.z-menu-item,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.menu_item,
html body .z-popup.main2-popup-menu .z-menubar-ver tr,
html body .z-popup.main2-popup-menu .z-menubar-ver td.z-menu,
html body .z-popup.main2-popup-menu .z-menubar-ver td.z-menu-item,
html body .z-popup.main2-popup-menu .z-menubar-ver td.menu_item {
    width: 100% !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

html body #popupmenu.z-popup .z-menubar-ver .z-menu-inner-l,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-inner-r,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-inner-l,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-inner-r,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-space,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-space,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-inner-l,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-inner-r,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-inner-l,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-inner-r,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-space,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-space,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-inner-l,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-inner-r,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-inner-l,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-inner-r,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-space,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-space {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

html body #popupmenu.z-popup .z-menubar-ver .z-menu-inner-m,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-inner-m,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-inner-m > div,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-inner-m > div,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-inner-m,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-inner-m,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-inner-m > div,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-inner-m > div,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-inner-m,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-inner-m,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-inner-m > div,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-inner-m > div {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* Keadaan normal item menu utama, sidebar, & sub-menu: 100% TRANSPARAN agar mengikuti
   warna asli latar belakang menu dan TIDAK tampak kotak/garis-garis antar item menu */
html body #popupmenu.z-popup .z-menubar-ver .z-menu-body,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-body,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-body,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-body,
html body .navigasi .z-menubar-ver .z-menu-body,
html body .navigasi .z-menubar-ver .z-menu-item-body,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-body,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-item-body {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

html body .navigasi .z-menubar-ver .z-menu,
html body .navigasi .z-menubar-ver .z-menu-item,
html body .main-responsive-sidebar .z-menubar-ver .z-menu,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-item {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu a.z-menu-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-width: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 27px !important;
}

/* PENTING: Pada button.z-menu-btn / .z-menu-item-btn, gunakan background-color: transparent !important
   TANPA menghapus background-image agar ikon panah putih (>) / (>>) tetap tampil utuh! */
html body #popupmenu.z-popup .z-menubar-ver .z-menu-btn,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-btn,
html body .navigasi .z-menubar-ver .z-menu-btn,
html body .navigasi .z-menubar-ver .z-menu-item-btn,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-btn,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item-btn,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-btn,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-item-btn,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-btn,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item-btn {
    background-color: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-width: 0 !important;
    box-shadow: none !important;
    line-height: 27px !important;
}

html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-over a.z-menu-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu.z-menu-over a.z-menu-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu-item.z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li:hover a.z-menu-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li:hover a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu a.z-menu-cnt:hover,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt:hover,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-cnt:hover,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt .z-menu-item-cnt:hover {
    background-color: rgba(255, 255, 255, 0.28) !important;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.20) 100%) !important;
    border: 0 !important;
    border-width: 0 !important;
    border-radius: 6px !important;
    box-shadow: inset 4px 0 0 #ffffff, inset 0 0 0 1px rgba(255, 255, 255, 0.48) !important;
    cursor: pointer !important;
}

/* PENTING (PENJAJARAN MENUITEM TOPMOST vs MENU FOLDER TOPMOST DI ZKOSS 5.5):
   Pada mold ZK 5.5 (zul/menu/mold/menuitem.src.js vs menu.src.js):
   - Folder <menu> topmost merender: <td><table class="z-menu-body">...<button class="z-menu-btn">
   - Item daun <menuitem> topmost (seperti "Bantuan", "Keluar Aplikasi", atau menu daun root=0)
     merender pembungkus ekstra <a class="z-menu-item-cnt"> DI LUAR <table class="z-menu-item-body">!
   Jika <a class="z-menu-item-cnt"> ikut diberi padding-left: 28px bersama .z-menu-item-btn,
   maka item daun mengalami DOUBLE PADDING (28px + 28px = 56px) sehingga menjorok ke kanan!
   Solusi: <a> pembungkus luar wajib padding: 0 !important, dan padding ikon 28px HANYA dipasang
   pada <button class="z-menu-btn"> & <button class="z-menu-item-btn">! */
html body #popupmenu.z-popup .z-menubar-ver td.z-menu-item > a.z-menu-item-cnt,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.z-menu-item > a.z-menu-item-cnt,
html body .z-popup.main2-popup-menu .z-menubar-ver td.z-menu-item > a.z-menu-item-cnt,
html body .navigasi .z-menubar-ver td.z-menu-item > a.z-menu-item-cnt {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

html body #popupmenu.z-popup .z-menubar-ver .z-menu-btn,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-btn {
    display: block !important;
    width: 100% !important;
    min-height: 27px !important;
    height: 27px !important;
    line-height: 27px !important;
    padding: 0 12px 0 28px !important;
    margin: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
    background-repeat: no-repeat !important;
    background-position: 9px center !important;
    background-size: 13px 13px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.30) !important;
}

/* Keadaan hover / sedang aktif dibuka (-body-over, -body-seld, -body-clk-over, :hover):
   kapsul terang kontras tinggi + garis penanda kiri 4px putih/sky-blue tanpa menggeser piksel (0px layout shift).
   PENTING (ZK 5.5 Menu.src.js & Menuitem.src.js):
   - Topmost <menu> menambahkan `z-menu-body-over` (hover) atau `z-menu-body-seld` (saat submenu anak terbuka)
     langsung pada `<table id="uuid-a" class="z-menu-body">`, BUKAN `.z-menu-over` pada `<td>`!
   - Topmost <menuitem> menambahkan `z-menu-item-body-over` langsung pada `<table id="uuid-a" class="z-menu-item-body">`!
   - DILARANG mencocokkan bare `.z-menu-body-clk` tanpa `-over` karena `bind_()` memasang `-body-clk` secara statis! */
html body #popupmenu.z-popup .z-menubar-ver .z-menu-body:hover,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-body-over,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-body-seld,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body #popupmenu.z-popup .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body #popupmenu.z-popup .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-body:hover,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-body-over,
html body #popupmenu.z-popup .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body #popupmenu.z-popup .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-body:hover,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-body-over,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-body-seld,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-body:hover,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-body-over,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-body:hover,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-body-over,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-body-seld,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body .z-popup.main2-popup-menu .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body .z-popup.main2-popup-menu .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-body:hover,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-body-over,
html body .z-popup.main2-popup-menu .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body .z-popup.main2-popup-menu .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body,
html body .navigasi .z-menubar-ver .z-menu-body:hover,
html body .navigasi .z-menubar-ver .z-menu-body-over,
html body .navigasi .z-menubar-ver .z-menu-body-seld,
html body .navigasi .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body .navigasi .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body .navigasi .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body .navigasi .z-menubar-ver .z-menu-item-body:hover,
html body .navigasi .z-menubar-ver .z-menu-item-body-over,
html body .navigasi .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body .navigasi .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-body:hover,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-body-over,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-body-seld,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body .main-responsive-sidebar .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body .main-responsive-sidebar .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item-body:hover,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item-body-over,
html body .main-responsive-sidebar .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body .main-responsive-sidebar .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-body:hover,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-body-over,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-body-seld,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-body-clk-over .z-menu-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver td.menu_item:hover > table.z-menu-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver td.z-menu:hover > table.z-menu-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-item-body:hover,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver .z-menu-item-body-over,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver td.menu_item:hover > a > table.z-menu-item-body,
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver td.z-menu-item:hover > a > table.z-menu-item-body {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background-color: rgba(255, 255, 255, 0.28) !important;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.20) 100%) !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: inset 4px 0 0 #ffffff, inset 0 0 0 1px rgba(255, 255, 255, 0.48) !important;
    cursor: pointer !important;
}

/* PERINGATAN KRITIS POPUP & SUB-MENU ZKOSS 5.5 (ATURAN MUTLAK 571):
   1. DILARANG KERAS memasang `display: none` pada `.z-menu-popup-shadow` atau `.z-popup-shadow`!
      Pada ZK 5.5 (`zk/effect.src.js` baris 142, cabang `if (zk.css3)`), `zk.eff.Shadow.sync()` TIDAK
      membuat elemen bayangan terpisah, melainkan menambahkan class `.z-menu-popup-shadow` LANGSUNG
      PADA elemen `<div class="z-menu-popup z-menu-popup-shadow">` itu sendiri saat sub-menu dibuka!
      Menyembunyikan `.z-menu-popup-shadow` akan langsung menghilangkan seluruh sub-menu!
   2. Gunakan `contain: style` murni (TANPA `contain: layout` / `will-change: transform`) pada
      `#popupmenu` dan `.z-menu-popup` agar `makeVParent()`, `offsetParent`, dan `zIndex` bawaan ZK 5.5
      bekerja 100% alami tanpa membuat containing block baru yang mengganggu penempatan sub-menu! */
html body #popupmenu.z-popup,
html body .z-popup.main-responsive-menu-popup,
html body .z-popup.main2-popup-menu,
html body .z-menu-popup,
html body .z-menupopup {
    contain: style;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24) !important;
}

/* ======================================================================
   ATURAN MUTLAK 604 — JAMINAN OTORITATIF KESERAGAMAN TINGGI SELURUH TAB
   (MyButtonTabbox / MyTabboxButton & Tabbox Native .z-tabbox) DI ZKOSS
   ----------------------------------------------------------------------
   Dimuat paling akhir setelah seluruh CSS tema kampus (mis. biru_tua.css,
   asm.css, sma.css) sehingga padding `.z-toolbarbutton-cnt` dari tema
   kampus TIDAK PERNAH lagi membuat tinggi tab aktif (.ais-button-tabbox-active)
   lebih pendek daripada tab nonaktif (:not(.ais-button-tabbox-active)).
   ====================================================================== */
html body .ais-btn-group.ais-button-tabbox:not(.ais-button-tabbox-wrap) tr {
    align-items: stretch !important;
}
html body .ais-btn-group.ais-button-tabbox:not(.ais-button-tabbox-wrap) td:not(.z-hbox-sep):not([style*="display:none"]):not([style*="display: none"]):not(:has(> [style*="display:none"])):not(:has(> [style*="display: none"])) {
    display: inline-flex !important;
    align-items: stretch !important;
}
html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver) .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver) .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]),
html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
html body table.z-hbox.ais-btn-group.ais-button-tabbox .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 7px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}
html body .ais-btn-group.ais-button-tabbox .ais-button-tabbox-active,
html body .ais-btn-group.ais-button-tabbox .z-toolbarbutton.ais-button-tabbox-active,
html body table.z-hbox.ais-btn-group.ais-button-tabbox .ais-button-tabbox-active,
html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton.ais-button-tabbox-active {
    border: 1px solid #1d4ed8 !important;
}
html body .ais-btn-group.ais-button-tabbox.ais-button-tabbox-wrap:not(.z-vbox):not(.ais-button-tabbox-ver) .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
html body .ais-btn-group.ais-button-tabbox.ais-button-tabbox-wrap:not(.z-vbox):not(.ais-button-tabbox-ver) .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]),
html body table.z-hbox.ais-btn-group.ais-button-tabbox.ais-button-tabbox-wrap .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
html body table.z-hbox.ais-btn-group.ais-button-tabbox.ais-button-tabbox-wrap .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]) {
    min-height: 34px !important;
    height: auto !important;
    align-self: stretch !important;
    padding: 6px 14px !important;
    white-space: normal !important;
}
html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver) .z-toolbarbutton-body,
html body .ais-btn-group.ais-button-tabbox:not(.z-vbox):not(.ais-button-tabbox-ver) .z-toolbarbutton-cnt,
html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-body,
html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-cnt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.25 !important;
}
html body .ais-btn-group.ais-button-tabbox .z-toolbarbutton-cnt img,
html body table.z-hbox.ais-btn-group.ais-button-tabbox .z-toolbarbutton-cnt img {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}
@media only screen and (max-width: 900px) {
    html body .ais-ujian-cbt-window .ais-btn-group.ais-button-tabbox .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
    html body .ais-ujian-cbt-window .ais-btn-group.ais-button-tabbox .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]) {
        min-height: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
        padding: 0 8px !important;
    }
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not(.ais-ujian-cbt-tabs) .z-toolbarbutton:not([style*="display:none"]):not([style*="display: none"]),
    html body table.z-hbox.ais-btn-group.ais-button-tabbox:not(.ais-ujian-cbt-tabs) .ais-button-tabbox-button:not([style*="display:none"]):not([style*="display: none"]) {
        min-height: 36px !important;
        height: 100% !important;
        align-self: stretch !important;
        padding: 6px 10px !important;
    }
}
/* Keseragaman tinggi tab native ZK (.z-tabbox horizontal, termasuk tab workspace [Home] [e-Learning]) */
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs ul.z-tabs-cnt > li.z-tab,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs ul.z-tabs-cnt > li.z-tab-seld {
    vertical-align: bottom !important;
}
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-hl,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-hr,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-hm,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-seld .z-tab-hl,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-seld .z-tab-hr,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-seld .z-tab-hm {
    min-height: 34px !important;
    box-sizing: border-box !important;
}
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab .z-tab-text,
html body .z-tabbox:not(.z-tabbox-ver) > .z-tabs .z-tab-seld .z-tab-text {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 33px !important;
    padding: 6px 13px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
}

/* ============================================================================
   TINGGI MINIMUM AREA KETIK CKEDITOR (MYCKEDITOR / ZKFORGE CKEZ — PURE CSS)
   Mencegah area ketik td.cke_contents kolaps menjadi celah abu-abu sempit di
   bawah 3 baris toolbar CKEditor (100% Pure CSS sesuai ATURAN MUTLAK 1).
   ============================================================================ */
html body .ais-ckeditor {
    min-height: 386px !important;
}
html body .ais-ckeditor .z-ckeditor,
html body .z-ckeditor {
    min-height: 340px !important;
}
html body .z-ckeditor .cke_contents,
html body .cke_editor td.cke_contents,
html body td.cke_contents {
    min-height: 210px !important;
}
html body .z-ckeditor .cke_contents > iframe,
html body td.cke_contents > iframe,
html body td.cke_contents > textarea.cke_source {
    min-height: 210px !important;
}

/* ============================================================================
   STANDAR GLOBAL AIS (FINAL OVERRIDE PALING AKHIR):
   1. Paging 1 halaman (autohide / style="display:none" / hidden) WAJIB tersembunyi.
   2. Popup kebab kosong (.ais-row-popup-content:empty) DILARANG tampil.
   3. Seluruh popup/modal window mendapat max-height: 95vh !important.
   ============================================================================ */
html body .z-paging[style*="display:none"],
html body .z-paging[style*="display: none"],
html body .z-paging[hidden],
html body .z-paging-os[style*="display:none"],
html body .z-paging-os[style*="display: none"],
html body .z-paging-os[hidden],
html body .z-grid-pgi-b[style*="display:none"],
html body .z-grid-pgi-b[style*="display: none"],
html body .z-listbox-pgi-b[style*="display:none"],
html body .z-listbox-pgi-b[style*="display: none"],
html body .z-tree-pgi-b[style*="display:none"],
html body .z-tree-pgi-b[style*="display: none"],
html body .z-grid-pgi-b:has(> .z-paging[style*="display:none"]),
html body .z-grid-pgi-b:has(> .z-paging[style*="display: none"]),
html body .z-grid-pgi-b:has(> .z-paging-os[style*="display:none"]),
html body .z-grid-pgi-b:has(> .z-paging-os[style*="display: none"]),
html body .z-listbox-pgi-b:has(> .z-paging[style*="display:none"]),
html body .z-listbox-pgi-b:has(> .z-paging[style*="display: none"]),
html body .z-listbox-pgi-b:has(> .z-paging-os[style*="display:none"]),
html body .z-listbox-pgi-b:has(> .z-paging-os[style*="display: none"]),
html body .z-tree-pgi-b:has(> .z-paging[style*="display:none"]),
html body .z-tree-pgi-b:has(> .z-paging[style*="display: none"]),
html body .z-tree-pgi-b:has(> .z-paging-os[style*="display:none"]),
html body .z-tree-pgi-b:has(> .z-paging-os[style*="display: none"]) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

html body .z-popup:has(.ais-row-popup-content:empty),
html body .ais-row-popup-content:empty {
    display: none !important;
}

html body .z-window-modal:not(.ais-ujian-cbt-window):not(.ais-window-closed):not([style*="display:none"]):not([style*="display: none"]),
html body .z-window-highlighted:not(.ais-ujian-cbt-window):not(.ais-window-closed):not([style*="display:none"]):not([style*="display: none"]),
html body .z-window-overlapped:not(.ais-ujian-cbt-window):not(.ais-window-closed):not([style*="display:none"]):not([style*="display: none"]) {
    max-height: 95vh !important;
}

/* ============================================================================
   INVARIAN MUTLAK KONTRAS TOMBOL & MENU GLOBAL ZKOSS (FINAL OVERRIDE PALING AKHIR)
   ----------------------------------------------------------------------------
   Stylesheet ini selalu dimuat PALING AKHIR oleh MyThemeProvider setelah
   css_utama.css maupun CSS kustom tenant/sekolah/PT (seperti biru_tua.css,
   base-theme.css, my24.css, merah.css, dsb.).
   Menjamin 100% tombol (span.z-button, .z-toolbarbutton, .ais-btn, tab, messagebox,
   bar pratinjau laporan) dan 100% menu (.z-menu, .z-menu-item, .z-menu-popup,
   menu kebab, profil, bahasa, notifikasi) memiliki kontras rasio tinggi (WCAG AA
   >= 4.5:1) antara warna latar dan warna label teks/ikon, baik normal maupun hover!
   ============================================================================ */

/* 1. Anatomi ZK 5 span.z-button: sel tengah (.z-button-cm) dan elemen <button> anak
      WAJIB transparan dan mewarisi warna teks (color: inherit !important) dari
      span.z-button induknya agar TIDAK PERNAH terjadi latar gelap + teks gelap
      atau latar putih + teks putih! */
html body span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn) .z-button-cm,
html body span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn) .z-button-cm > button,
html body span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn) button.z-button {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

/* 2. Seluruh tombol workspace standar (span.z-button umum, termasuk yang terkena
      .z-button { background: var(--theme-gradient) !important } dari base-theme.css
      atau inline style background warna apa pun) dikunci secara ATOMIK:
      Latar putih bersih (#ffffff) + border tegas (#cbd5e1) + teks gelap pekat (#0f172a). */
html body *:not(.ais-bayar-gateway-area):not(.pmb-zk-window):not(.ecampus-login-actions) > span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-window-modal:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-window-highlighted:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-window-overlapped:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-window-embedded:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body span.z-button[style*="background"]:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body span.z-button.ais-report-preview-btn:not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}

html body *:not(.ais-bayar-gateway-area):not(.pmb-zk-window):not(.ecampus-login-actions) > span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-window-modal:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-window-highlighted:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-window-overlapped:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-window-embedded:not(.pmb-zk-window) span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body span.z-button[style*="background"]:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body span.z-button.ais-report-preview-btn:not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd) {
    background: #eff6ff !important;
    background-color: #eff6ff !important;
    background-image: none !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

/* Tombol nonaktif (disabled) pada span.z-button tetap terbaca tegas */
html body span.z-button[disabled],
html body span.z-button.z-button-disd {
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

/* 3. Tombol Aksi Utama Solid ("Cetak" pada bar pratinjau laporan, tombol utama Messagebox,
      dan tombol Login/PMB/Gateway): dikunci ATOMIK Latar Biru Tua (#1d4ed8) + Teks Putih (#ffffff)
      pada seluruh lapisan luar maupun dalam! */
html body span.z-button.ais-report-preview-btn-primary,
html body .ais-report-preview-bar span.z-button.ais-report-preview-btn-primary {
    background: #1d4ed8 !important;
    background-color: #1d4ed8 !important;
    background-image: none !important;
    border: 1px solid #1e40af !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.24) !important;
}
html body span.z-button.ais-report-preview-btn-primary:hover:not([disabled]):not(.z-button-disd),
html body .ais-report-preview-bar span.z-button.ais-report-preview-btn-primary:hover:not([disabled]):not(.z-button-disd) {
    background: #1e40af !important;
    background-color: #1e40af !important;
    background-image: none !important;
    border-color: #1e3a8a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html body span.z-button.ais-report-preview-btn-primary .z-button-cm,
html body span.z-button.ais-report-preview-btn-primary .z-button-cm > button,
html body .z-window-highlighted td:first-child > .z-messagebox-btn .z-button-cm,
html body .z-window-highlighted td:first-child > .z-messagebox-btn .z-button-cm > button,
html body .z-window-modal td:first-child > .z-messagebox-btn .z-button-cm,
html body .z-window-modal td:first-child > .z-messagebox-btn .z-button-cm > button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html body .z-window-highlighted td:not(:first-child) > .z-messagebox-btn .z-button-cm,
html body .z-window-highlighted td:not(:first-child) > .z-messagebox-btn .z-button-cm > button,
html body .z-window-modal td:not(:first-child) > .z-messagebox-btn .z-button-cm,
html body .z-window-modal td:not(:first-child) > .z-messagebox-btn .z-button-cm > button {
    background: #ffffff !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

/* 4. Jaminan Kontras Mutlak Seluruh Menu Popup Terang (Profil, Notifikasi, Pilih Bahasa, Kebab Baris):
      tidak boleh tertimpa aturan .z-menu-popup-cnt skin lama yang menyamakan warna teks & background! */
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,
html body .z-popup.ais-row-popup,
html body .z-popup.ais-row-popup .z-popup-cl,
html body .z-popup.ais-row-popup .z-popup-cnt {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
}
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item .z-menu-item-btn,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item .z-menu-item-btn {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item-over,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item-over .z-menu-item-btn,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item-over,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item-over .z-menu-item-btn {
    background-color: #eff6ff !important;
    background-image: none !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    text-shadow: none !important;
}
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .ais-profil-keluar.z-menu-item-over,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .ais-profil-keluar.z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .ais-profil-keluar.z-menu-item-over .z-menu-item-btn {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    -webkit-text-fill-color: #b91c1c !important;
}

/* 5. Proteksi Lapisan <a id="...-a"> pada Toolbarbutton ber-href (mencegah latar inline biru/gelap
      bertahan di balik teks .z-toolbarbutton-cnt gelap seperti pada tombol Kirim Komentar): */
html body .z-toolbarbutton:not(.ais-row-popup-item) > a,
html body .z-toolbarbutton:not(.ais-row-popup-item) a[id$="-a"],
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) > a,
html body .ais-btn:not(.z-toolbarbutton-disd):not(.z-toolbarbutton-disabled):not([disabled]) a[id$="-a"] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* 6. Proporsi Ideal, Lebar 100%, & Penggeser Lebar Kolom Tabel Pemetaan Sub-CPMK / CPMK & Bobot
      (.ais-obe-subcpmk-grid, .ppu-subcpmk-grid, .ais-rps-subcpmk-grid):
      - Tabel merentang 100% penuh tanpa kolom ke-N filler kosong (-hdfaker-bar / -hdflex / -bdflex / fakerflex).
      - Kolom Sub-CPMK / CPMK lebar (~88% pada Tugas Individu/Kelompok; ~65% pada Ujian) dan kolom Bobot (%)
        sempit/ringkas (~12%).
      - Mendukung penuh columns.setSizable(true) bawaan ZKoss (garis batas kolom tampak jelas dan input
        Bobot merentang 100% mengikuti kolom saat digeser/diperlebar/dipersempit pengguna). */
html body .z-grid.ais-obe-subcpmk-grid,
html body .z-grid.ppu-subcpmk-grid,
html body .z-grid.ais-rps-subcpmk-grid,
html body .z-grid.ais-obe-subcpmk-grid > .z-grid-header,
html body .z-grid.ais-obe-subcpmk-grid > .z-grid-body,
html body .z-grid.ppu-subcpmk-grid > .z-grid-header,
html body .z-grid.ppu-subcpmk-grid > .z-grid-body {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
html body .z-grid.ais-obe-subcpmk-grid > .z-grid-header > table,
html body .z-grid.ais-obe-subcpmk-grid > .z-grid-body > table,
html body .z-grid.ppu-subcpmk-grid > .z-grid-header > table,
html body .z-grid.ppu-subcpmk-grid > .z-grid-body > table,
html body .z-grid.ais-rps-subcpmk-grid > .z-grid-header > table,
html body .z-grid.ais-rps-subcpmk-grid > .z-grid-body > table {
    width: 100% !important;
    table-layout: fixed !important;
}
html body .z-grid.ais-obe-subcpmk-grid col[id$="-hdfaker-bar"],
html body .z-grid.ais-obe-subcpmk-grid col[id$="-hdflex"],
html body .z-grid.ais-obe-subcpmk-grid col[id$="-bdflex"],
html body .z-grid.ais-obe-subcpmk-grid th.z-grid-header-bar,
html body .z-grid.ais-obe-subcpmk-grid th[id$="fakerflex"],
html body .z-grid.ppu-subcpmk-grid col[id$="-hdfaker-bar"],
html body .z-grid.ppu-subcpmk-grid col[id$="-hdflex"],
html body .z-grid.ppu-subcpmk-grid col[id$="-bdflex"],
html body .z-grid.ppu-subcpmk-grid th.z-grid-header-bar,
html body .z-grid.ppu-subcpmk-grid th[id$="fakerflex"],
html body .z-grid.ais-rps-subcpmk-grid col[id$="-hdfaker-bar"],
html body .z-grid.ais-rps-subcpmk-grid col[id$="-hdflex"],
html body .z-grid.ais-rps-subcpmk-grid col[id$="-bdflex"],
html body .z-grid.ais-rps-subcpmk-grid th.z-grid-header-bar,
html body .z-grid.ais-rps-subcpmk-grid th[id$="fakerflex"] {
    display: none !important;
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    border: 0 !important;
}
html body .z-grid.ais-obe-subcpmk-grid tr.z-columns.z-columns-sizable > th.z-column:not(:last-of-type),
html body .z-grid.ppu-subcpmk-grid tr.z-columns.z-columns-sizable > th.z-column:not(:last-of-type),
html body .z-grid.ais-rps-subcpmk-grid tr.z-columns.z-columns-sizable > th.z-column:not(:last-of-type) {
    border-right: 1px solid #cbd5e1 !important;
}
html body .z-grid.ais-obe-subcpmk-grid .z-checkbox,
html body .z-grid.ppu-subcpmk-grid .z-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    white-space: normal !important;
}
html body .z-grid.ais-obe-subcpmk-grid .z-checkbox input[type="checkbox"],
html body .z-grid.ppu-subcpmk-grid .z-checkbox input[type="checkbox"] {
    margin-top: 3px !important;
    flex: 0 0 auto !important;
}
html body .z-grid.ais-obe-subcpmk-grid .z-checkbox .z-checkbox-cnt,
html body .z-grid.ppu-subcpmk-grid .z-checkbox .z-checkbox-cnt {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
}
html body .z-grid.ais-obe-subcpmk-grid input.z-doublebox,
html body .z-grid.ppu-subcpmk-grid input.z-doublebox,
html body .z-grid.ais-rps-subcpmk-grid input.z-doublebox {
    width: 100% !important;
    min-width: 56px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
    padding: 4px 8px !important;
}

/* 7. Jaminan Scroll 2 Arah (Vertikal & Horizontal) untuk Pratinjau Data / Template Excel
      (.ais-xlsx-preview-window, .xlsx-preview-region-wrapper, .ais-excel-preview-grid):
      - Wadah .xlsx-preview-region-wrapper dan .ais-xlsx-preview-center menangani overflow-x: auto
        dan overflow-y: auto sekaligus dengan bilah gulir (scrollbar) 10px yang tampak tegas.
      - Grid .ais-excel-preview-grid dibebaskan dari kuncian max-width: 100% modal umum sehingga
        kolom ke-10..N (seperti SUMATIF 1..10, Total, dsb.) tidak pernah terpotong dan seluruh
        baris ke-1..25+ beserta paging di bawahnya dapat di-scroll dengan mulus. */
html body .z-window-modal.ais-xlsx-preview-window,
html body .z-window-highlighted.ais-xlsx-preview-window {
    max-height: 90vh !important;
}
html body .ais-xlsx-preview-center > .z-center-body,
html body .ais-xlsx-preview-center > .z-center-body-noborder {
    overflow: hidden !important;
}
html body .xlsx-preview-region-wrapper {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    scrollbar-width: auto !important;
    scrollbar-color: #64748b #e2e8f0 !important;
    box-sizing: border-box !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
    display: block !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 6px !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 6px !important;
    border: 2px solid #f1f5f9 !important;
}
html body .xlsx-preview-region-wrapper::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}
html body .z-grid.ais-excel-preview-grid,
html body .z-window-modal .z-grid.ais-excel-preview-grid,
html body .dgrid.z-grid.ais-excel-preview-grid {
    min-width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
html body .z-grid.ais-excel-preview-grid > .z-grid-header,
html body .z-grid.ais-excel-preview-grid > .z-grid-body,
html body .z-window-modal .z-grid.ais-excel-preview-grid > .z-grid-header,
html body .z-window-modal .z-grid.ais-excel-preview-grid > .z-grid-body,
html body .dgrid.z-grid.ais-excel-preview-grid > .z-grid-header,
html body .dgrid.z-grid.ais-excel-preview-grid > .z-grid-body {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
html body .z-grid.ais-excel-preview-grid > .z-grid-header > table,
html body .z-grid.ais-excel-preview-grid > .z-grid-body > table,
html body .z-window-modal .z-grid.ais-excel-preview-grid > .z-grid-header > table,
html body .z-window-modal .z-grid.ais-excel-preview-grid > .z-grid-body > table,
html body .dgrid.z-grid.ais-excel-preview-grid > .z-grid-header > table,
html body .dgrid.z-grid.ais-excel-preview-grid > .z-grid-body > table {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: fixed !important;
}
html body .ais-subpanel-peserta-toolbar.z-toolbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}
html body .ais-subpanel-peserta-toolbar.z-toolbar .ais-toolbar-right-spacer {
    flex: 1 1 auto !important;
    min-width: 8px !important;
}

/* ============================================================================
   PERBAIKAN SISTEMIK SUB-GRID CHECKLIST 1-KOLOM ("Kepada Yth :", "Daftar Jabatan Lain",
   "Kelengkapan Berkas", "Daftar Akun", dsb.) DI SELURUH MODAL & HALAMAN ZKOSS:
   1. Pastikan setiap Grid 1-kolom (baik bertanda .ais-checklist-subgrid maupun Grid
      umum yang hanya memiliki 1 th.z-column + th[id$="fakerflex"] dan baris 1-sel)
      merentang 100% penuh pada header maupun body tanpa tersisa kolom hantu 70% di kanan.
   2. Pastikan Vbox (table.z-vbox) di dalam sel form yang membungkus sub-grid atau
      daftar Checkbox selalu melebar 100% (tidak shrink-to-fit ~90px).
   3. Pastikan setiap Checkbox & Label jabatan/item di dalam sub-grid 1-kolom
      membungkus teks panjang secara multi-baris utuh tanpa terpotong di tepi kanan.
   ============================================================================ */
html body .z-grid.ais-checklist-subgrid,
html body .z-window-modal .z-grid.ais-checklist-subgrid,
html body .z-window-highlighted .z-grid.ais-checklist-subgrid,
html body .z-window-overlapped .z-grid.ais-checklist-subgrid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 4px 0 !important;
}

html body .z-grid.ais-checklist-subgrid > .z-grid-header,
html body .z-grid.ais-checklist-subgrid > .z-grid-body,
html body .z-grid.ais-checklist-subgrid > .z-grid-header > table,
html body .z-grid.ais-checklist-subgrid > .z-grid-body > table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    background: #ffffff !important;
    background-image: none !important;
}

html body .z-grid.ais-checklist-subgrid > .z-grid-header tr.z-columns > th.z-column {
    background: #f1f5f9 !important;
    background-image: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html body .z-grid.ais-checklist-subgrid > .z-grid-header tr.z-columns > th.z-column > div.z-column-cnt {
    padding: 8px 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
}

html body .z-grid.ais-checklist-subgrid > .z-grid-header > table tr.z-grid-faker > th.z-column:first-child,
html body .z-grid.ais-checklist-subgrid > .z-grid-body > table tr.z-grid-faker > th.z-column:first-child,
html body .z-grid.ais-checklist-subgrid > .z-grid-header > table > colgroup > col:first-child,
html body .z-grid.ais-checklist-subgrid > .z-grid-body > table > colgroup > col:first-child,
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-header > table tr.z-grid-faker > th.z-column:first-child:nth-last-child(2):has(+ th[id$="fakerflex"]),
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table tr.z-grid-faker > th.z-column:first-child:nth-last-child(2):has(+ th[id$="fakerflex"]) {
    width: 100% !important;
}

html body .z-grid.ais-checklist-subgrid > .z-grid-header > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-checklist-subgrid > .z-grid-body > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-checklist-subgrid > .z-grid-header > table th.z-grid-header-bar,
html body .z-grid.ais-checklist-subgrid > .z-grid-header > table > colgroup > col[id$="-hdfaker-bar"],
html body .z-grid.ais-checklist-subgrid > .z-grid-header > table > colgroup > col[id$="-hdflex"],
html body .z-grid.ais-checklist-subgrid > .z-grid-body > table > colgroup > col[id$="-bdflex"],
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-header > table tr.z-grid-faker > th.z-column:first-child:nth-last-child(2) + th[id$="fakerflex"],
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table tr.z-grid-faker > th.z-column:first-child:nth-last-child(2) + th[id$="fakerflex"] {
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    border: 0 !important;
}

html body tr.ais-form-row > td.z-row-inner > div.z-row-cnt > table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col):not(.ais-timeline-info-vbox):not(.elearning-action-vbox):has(> tbody > tr > td > .z-grid),
html body tr.ais-form-row > td.z-row-inner > div.z-row-cnt > table.z-vbox:not(.ais-activity-summary-kebab):not(.ais-timeline-avatar-col):not(.ais-timeline-info-vbox):not(.elearning-action-vbox):has(> tbody > tr > td > .z-checkbox),
html body .z-grid.ais-checklist-subgrid table.z-vbox:not(.ais-activity-summary-kebab),
html body .z-grid.ais-checklist-subgrid tr.z-row > td.z-row-inner,
html body .z-grid.ais-checklist-subgrid tr.z-row > td.z-row-inner > div.z-row-cnt,
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child,
html body .z-grid:not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow: visible !important;
}

html body .z-grid.ais-checklist-subgrid tr.z-row > td.z-row-inner {
    background: #ffffff !important;
    background-image: none !important;
    padding: 8px 12px !important;
}

html body .z-grid.ais-checklist-subgrid table.z-vbox > tbody > tr > td {
    width: 100% !important;
    padding: 3px 0 !important;
    text-align: left !important;
    white-space: normal !important;
}

html body .z-grid.ais-checklist-subgrid tr.z-row > td.z-row-inner > div.z-row-cnt > .z-label,
html body .z-grid.ais-checklist-subgrid tr.z-row > td.z-row-inner > div.z-row-cnt > table.z-vbox > tbody > tr > td > .z-label,
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > table.z-vbox > tbody > tr > td > .z-label {
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.45 !important;
}

html body .z-grid.ais-checklist-subgrid .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle):not(.ais-diskusi-config-opsi .z-checkbox):not(.z-hbox .z-checkbox):not(.z-toolbar .z-checkbox),
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle),
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > table.z-vbox > tbody > tr > td > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.45 !important;
    padding: 2px 0 !important;
}

html body .z-grid.ais-checklist-subgrid .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle):not(.ais-diskusi-config-opsi .z-checkbox):not(.z-hbox .z-checkbox):not(.z-toolbar .z-checkbox) > input[type="checkbox"],
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle) > input[type="checkbox"],
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > table.z-vbox > tbody > tr > td > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle) > input[type="checkbox"] {
    flex: 0 0 auto !important;
    margin: 3px 0 0 0 !important;
}

html body .z-grid.ais-checklist-subgrid .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle):not(.ais-diskusi-config-opsi .z-checkbox):not(.z-hbox .z-checkbox):not(.z-toolbar .z-checkbox) > .z-checkbox-cnt,
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle) > .z-checkbox-cnt,
html body tr.ais-form-row > td.z-row-inner .z-grid:not(.fgrid):not(.main-responsive-main-grid):not(.main2-main-grid):not(.elearning-timeline-grid):not(.ais-agenda-meeting-grid):not(.ais-scroll-layout-grid):not(.ais-menu-popup-grid):not(.ais-excel-preview-grid):not(.ais-crud-filter-grid):not(:has(.z-grid)):not(:has(.z-borderlayout)):not(:has(.z-portallayout)):not(:has(.z-tabbox)):not(:has(> .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:nth-child(2))) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner:first-child:last-child > div.z-row-cnt > table.z-vbox > tbody > tr > td > .z-checkbox:not(.ais-toggle-switch):not(.ais-report-preview-toggle) > .z-checkbox-cnt {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

/* ============================================================================
   INVARIANT OPSI CHECKBOX DISKUSI PERKULIAHAN (.ais-diskusi-config-opsi):
   - Desktop (>= 769px): WAJIB berjajar HORIZONTAL (flex-direction: row, wrap rapi)
   - Mobile (<= 768px): Tersusun VERTIKAL (flex-direction: column, 1 baris per opsi)
   ============================================================================ */
@media only screen and (min-width: 769px) {
    html body .ais-diskusi-config-opsi,
    html body div.ais-diskusi-config-opsi {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .ais-diskusi-config-opsi > .z-checkbox:not([style*="display:none"]):not([style*="display: none"]),
    html body .ais-diskusi-config-opsi .z-checkbox:not([style*="display:none"]):not([style*="display: none"]) {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 1px 0 !important;
        white-space: nowrap !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox.ais-diskusi-urutkan-cb:not([style*="display:none"]):not([style*="display: none"]) {
        margin-left: auto !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox > input[type="checkbox"] {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox > .z-checkbox-cnt {
        flex: 0 0 auto !important;
        width: auto !important;
        white-space: nowrap !important;
    }
}

@media only screen and (max-width: 768px) {
    html body .ais-diskusi-config-opsi,
    html body div.ais-diskusi-config-opsi {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    html body .ais-diskusi-config-opsi > .z-checkbox:not([style*="display:none"]):not([style*="display: none"]),
    html body .ais-diskusi-config-opsi .z-checkbox:not([style*="display:none"]):not([style*="display: none"]) {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 2px 0 !important;
        white-space: normal !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox.ais-diskusi-urutkan-cb:not([style*="display:none"]):not([style*="display: none"]) {
        margin-left: 0 !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox > input[type="checkbox"] {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    html body .ais-diskusi-config-opsi .z-checkbox > .z-checkbox-cnt {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* ============================================================================
   ATURAN PAGING BERSIH TANPA IKON (Papan Pengumuman & Seluruh Pager Kustom ZKoss):
   Pastikan seluruh tombol paging (.main-announcement-page-button, .z-paging)
   tampil bersih murni teks/angka tanpa ikon gambar/SVG, dan tombol halaman aktif
   tampil tajam berlatar warna primer penuh (tidak pudar oleh .z-toolbarbutton-disd).
   ============================================================================ */
html body .main-announcement-pager .main-announcement-page-button img,
html body .main-announcement-pager .main-announcement-page-button svg,
html body .main-announcement-pager .z-toolbarbutton img,
html body .z-paging a.z-paging-os-cnt img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html body .main-announcement-pager .main-announcement-page-button.main-announcement-page-active,
html body .main-announcement-pager .main-announcement-page-button.main-announcement-page-active.z-toolbarbutton-disd {
    background: var(--ais-theme-primary, #1e40af) !important;
    border-color: var(--ais-theme-primary, #1e40af) !important;
    opacity: 1 !important;
}

html body .main-announcement-pager .main-announcement-page-button.main-announcement-page-active .z-toolbarbutton-cnt,
html body .main-announcement-pager .main-announcement-page-button.main-announcement-page-active.z-toolbarbutton-disd .z-toolbarbutton-cnt {
    color: #ffffff !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* ============================================================================
   INVARIANT 1-BARIS BAR PRATINJAU LAPORAN NON-MOBILE (.ais-report-preview-bar)
   Berlaku pada seluruh 378+ layar laporan ZKoss termasuk yang dibungkus
   Common.tampilanScrollTabbox / Common.tampilanScroll1.
   ============================================================================ */
@media only screen and (min-width: 768px) {
    html body .ais-report-preview-bar,
    html body div.ais-report-preview-bar.ais-report-preview-bar-desktop {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        box-sizing: border-box !important;
    }

    html body .ais-report-preview-bar > .ais-report-preview-title,
    html body .ais-report-preview-bar > span.z-label,
    html body .ais-report-preview-bar > span.z-html,
    html body .ais-report-preview-bar > span.z-checkbox,
    html body .ais-report-preview-bar > span.z-checkbox.ais-toggle-switch,
    html body .ais-report-preview-bar > span.z-button {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    html body .ais-report-preview-bar > span.z-checkbox.ais-toggle-switch > .z-checkbox-cnt {
        flex: 0 0 auto !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    html body .ais-report-preview-bar > span.z-button.ais-report-preview-btn-primary {
        margin-left: auto !important;
    }
}

/* ============================================================================
   STANDAR KERAPIAN GLOBAL PANEL FILTER SAMPING LAPORAN (.z-west / .ais-west-filter-card)
   Dimuat paling akhir sesudah base-theme.css & CSS kustom tenant agar:
   1. Header .z-west-header memiliki tinggi deterministik 34px sejak render awal
      sehingga kalkulasi Borderlayout ZK5 tidak pernah memotong baris pertama.
   2. Grid filter 2-kolom tanpa judul header di dalam .z-west tidak menampilkan
      pita biru kosong (.z-grid-header tr.z-columns) dari base-theme.css.
   3. Seluruh tombol berikon (seperti [Cari] dan [Tampilkan Kartu]) dikunci
      1 baris horizontal (flex-wrap: nowrap) tanpa pernah melipat ikon di atas teks,
      serta ikon SVG pada tombol primer biru otomatis di-invert menjadi putih tajam.
   ============================================================================ */
html body .z-west:not(.main-responsive-sidebar):not(.navigasi) > .z-west-header {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    line-height: 20px !important;
    padding: 7px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

html body .z-west:not(.main-responsive-sidebar):not(.navigasi) > .z-west-header > .z-borderlayout-icon {
    float: none !important;
    order: 2 !important;
    margin-left: auto !important;
}

/* Hilangkan pita biru kosong pada .z-grid-header milik grid filter tanpa label kolom di dalam .z-west */
html body .z-grid.ais-report-west-filter-grid > .z-grid-header,
html body .z-west:not(.main-responsive-sidebar):not(.navigasi) .z-grid:not([id="grid"]):not(:has(th.z-column .z-column-cnt:not(:empty))):not(:has(th.z-column * > *)) > .z-grid-header {
    height: 0px !important;
    min-height: 0px !important;
    max-height: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Jaminan 100% seluruh tombol berikon tetap 1 baris horizontal (ikon di kiri teks, tidak pernah bertumpuk) */
html body span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn),
html body span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn) .z-button-cm {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

html body span.z-button.ais-report-preview-btn-primary,
html body .z-window-embedded span.z-button.ais-report-preview-btn-primary,
html body .z-west span.z-button.ais-report-preview-btn-primary {
    background: #1d4ed8 !important;
    background-color: #1d4ed8 !important;
    background-image: none !important;
    border: 1px solid #1e40af !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body span.z-button.ais-report-preview-btn-primary img[src*=".svg"],
html body .z-west span.z-button.ais-report-preview-btn-primary img[src*=".svg"] {
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
}

html body .ais-west-filter-card .z-datebox,
html body .ais-west-filter-card .z-bandbox,
html body .ais-west-filter-card .z-combobox {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 34px !important;
    box-sizing: border-box !important;
}

html body .ais-west-filter-card .z-datebox > .z-datebox-inp,
html body .ais-west-filter-card .z-bandbox > .z-bandbox-inp,
html body .ais-west-filter-card .z-combobox > .z-combobox-inp {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 5px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-right: 0 !important;
    border-radius: 6px 0 0 6px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

html body .ais-west-filter-card .z-datebox > .z-datebox-btn,
html body .ais-west-filter-card .z-bandbox > .z-bandbox-btn,
html body .ais-west-filter-card .z-combobox > .z-combobox-btn {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 34px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0 6px 6px 0 !important;
    background-color: #f8fafc !important;
    box-sizing: border-box !important;
}

html body .ais-west-search-row > input.z-textbox.ais-west-search-input {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
}

html body .ais-west-search-row > span.z-button.ais-west-search-btn {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
}

/* ============================================================================
   FINAL SOFT ACTION BUTTON OVERRIDE (.ais-btn-soft & TOMBOL AKSI BARIS TABEL)
   Memastikan tombol aksi di dalam baris tabel (seperti "Rencana Angsuran",
   "Lakukan Penilaian", "Cek Pembayaran", dsb.) tampil soft, rapi 1 baris,
   ber-border biru lembut (#c7d9f2), dan bebas kotak kaku/tebal di semua mold ZK.
   ============================================================================ */
html body span.z-button.ais-btn-soft:not([disabled]):not(.z-button-disd),
html body button.z-button-os.ais-btn-soft:not([disabled]),
html body .z-grid tr.z-row span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-grid tr.z-row button.z-button-os:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]),
html body .z-listbox tr.z-listitem span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]):not(.z-button-disd),
html body .z-listbox tr.z-listitem button.z-button-os:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):not([disabled]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-height: 30px !important;
    height: auto !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #c7d9f2 !important;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%) !important;
    background-color: #f4f8ff !important;
    color: #1e40af !important;
    -webkit-text-fill-color: #1e40af !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(30, 64, 175, 0.06) !important;
}

html body span.z-button.ais-btn-soft:hover:not([disabled]):not(.z-button-disd),
html body button.z-button-os.ais-btn-soft:hover:not([disabled]),
html body .z-grid tr.z-row span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-grid tr.z-row button.z-button-os:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]),
html body .z-listbox tr.z-listitem span.z-button:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]):not(.z-button-disd),
html body .z-listbox tr.z-listitem button.z-button-os:not(.z-messagebox-btn):not(.ais-modern-messagebox-button):not(.ais-bayar-gateway-btn):not(.ais-report-preview-btn-primary):hover:not([disabled]) {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
    background-color: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.14) !important;
}

/* Pastikan grid lebar angsuran bulanan di dalam .ais-rencana-grid-scroll dapat di-scroll horizontal */
html body .z-window-modal .ais-rencana-grid-scroll > .ais-rencana-grid.z-grid,
html body .z-window-modal .ais-rencana-grid-scroll > .ais-rencana-grid.z-grid > .z-grid-header,
html body .z-window-modal .ais-rencana-grid-scroll > .ais-rencana-grid.z-grid > .z-grid-header > table,
html body .z-window-modal .ais-rencana-grid-scroll > .ais-rencana-grid.z-grid > .z-grid-body,
html body .z-window-modal .ais-rencana-grid-scroll > .ais-rencana-grid.z-grid > .z-grid-body > table {
    max-width: none !important;
}

/* ============================================================================
   INVARIAN GLOBAL ANTI-SPACE KOSONG SAMPING TABEL ZKOSS (DIMUAT PALING AKHIR)
   - Grid berkolom sedikit (.ais-full-fixed-grid & .ais-crud-data-card .dgrid <= 9 kolom):
     merentang penuh 100% dengan fixedLayout dan mengunci th[id$="fakerflex"] = 0px
     (tanpa display:none agar colspan Group tetap presisi).
   - Grid billing pembayaran / matriks banyak kolom (.ais-wide-scroll-grid /
     .ais-billing-matrix-grid / .ais-rencana-grid / .ais-excel-preview-grid):
     tetap mempertahankan lebar kolom & scroll horizontal dengan min-width: 100%.
   ============================================================================ */
html body .z-grid.ais-full-fixed-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html body .z-grid.ais-full-fixed-grid > .z-grid-header > table,
html body .z-grid.ais-full-fixed-grid > .z-grid-body > table,
html body .z-grid.ais-full-fixed-grid > .z-grid-footer > table,
html body .z-grid.ais-full-fixed-grid > .z-grid-inner > .z-grid-header > table,
html body .z-grid.ais-full-fixed-grid > .z-grid-inner > .z-grid-body > table {
    width: 100% !important;
    min-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

html body .z-grid.ais-full-fixed-grid > .z-grid-header > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-full-fixed-grid > .z-grid-body > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-full-fixed-grid > .z-grid-footer > table tr.z-grid-faker > th[id$="fakerflex"],
html body .z-grid.ais-full-fixed-grid > .z-grid-header > table col[id$="-hdflex"],
html body .z-grid.ais-full-fixed-grid > .z-grid-body > table col[id$="-bdflex"],
html body .z-grid.ais-full-fixed-grid > .z-grid-body > table td[id$="-bdflex"],
html body .ais-crud-data-card .dgrid.z-grid:not(.ais-wide-scroll-grid):not(.ais-billing-matrix-grid):not(.ais-excel-preview-grid):not(.ais-matriks-presensi):not(.ais-penilaian-grid) > .z-grid-header > table tr.z-grid-faker:not(:has(> th.z-column:nth-child(10))) > th[id$="fakerflex"],
html body .ais-crud-data-card .dgrid.z-grid:not(.ais-wide-scroll-grid):not(.ais-billing-matrix-grid):not(.ais-excel-preview-grid):not(.ais-matriks-presensi):not(.ais-penilaian-grid) > .z-grid-body > table tr.z-grid-faker:not(:has(> th.z-column:nth-child(10))) > th[id$="fakerflex"],
html body .ais-crud-data-card .dgrid.z-grid:not(.ais-wide-scroll-grid):not(.ais-billing-matrix-grid):not(.ais-excel-preview-grid):not(.ais-matriks-presensi):not(.ais-penilaian-grid) > .z-grid-footer > table tr.z-grid-faker:not(:has(> th.z-column:nth-child(10))) > th[id$="fakerflex"] {
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    border: 0 !important;
}

html body .z-grid.ais-wide-scroll-grid > .z-grid-body,
html body .z-grid.ais-billing-matrix-grid.ais-wide-scroll-grid > .z-grid-body {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

html body .z-grid.ais-wide-scroll-grid,
html body .z-grid.ais-wide-scroll-grid > .z-grid-header > table,
html body .z-grid.ais-wide-scroll-grid > .z-grid-body > table,
html body .z-grid.ais-billing-matrix-grid,
html body .z-grid.ais-billing-matrix-grid > .z-grid-header > table,
html body .z-grid.ais-billing-matrix-grid > .z-grid-body > table {
    min-width: 100% !important;
    max-width: none !important;
}

/* ============================================================================
   INVARIAN MUTLAK KONTRAS TEKS VS BACKGROUND ZKOSS (WCAG 2.1 AA >= 4.5:1 / AAA >= 7:1)
   Dimuat PALING AKHIR oleh MyThemeProvider sesudah css_utama.css maupun seluruh
   18 CSS tema kustom tenant/sekolah/PT (biru_tua.css, asm.css, base-theme.css,
   hijau_orange2.css, kuning_orange.css, kuning_hijau.css, my24.css, dsb.).
   ============================================================================ */

/* 1. Gelembung Validasi ZK 5.5 (`Clients.wrongValue(...)` -> `zul.inp.Errorbox`,
      DOM: `<div class="z-errbox z-popup"><div class="z-popup-cl">...<div class="z-popup-cnt">...<div class="z-errbox-center">`):
      Mencegah aturan `.z-popup .z-popup-cl { background: linear-gradient(90deg, #1a4087 ...) !important }`
      dari 18 skin tenant menimpa gelembung validasi dengan latar biru tua gelap di balik
      teks `.z-popup-cnt { color: #444 }` yang membuat pesan validasi tidak terbaca sama sekali!
      Dikunci atomik menjadi kartu peringatan kontras tinggi (#fffbeb + border #f59e0b + teks #7c2d12,
      rasio kontras WCAG AAA = 9.48:1) lengkap dengan z-index di atas modal Window. */
html body div.z-errbox.z-popup,
html body .z-errbox.z-popup {
    background: #fffbeb !important;
    background-color: #fffbeb !important;
    background-image: none !important;
    border: 1.5px solid #f59e0b !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22), 0 0 0 3px rgba(245, 158, 11, 0.16) !important;
    color: #7c2d12 !important;
    -webkit-text-fill-color: #7c2d12 !important;
    padding: 8px 12px !important;
    max-width: min(440px, 90vw) !important;
    z-index: 200020 !important;
    overflow: visible !important;
}

html body .z-errbox.z-popup > .z-popup-tl,
html body .z-errbox.z-popup > .z-popup-tr,
html body .z-errbox.z-popup > .z-popup-bl,
html body .z-errbox.z-popup > .z-popup-br {
    display: none !important;
    height: 0 !important;
    background: none !important;
}

html body .z-errbox.z-popup .z-popup-cl,
html body .z-errbox.z-popup .z-popup-cr,
html body .z-errbox.z-popup .z-popup-cm {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #7c2d12 !important;
    -webkit-text-fill-color: #7c2d12 !important;
    overflow: visible !important;
}

html body .z-errbox.z-popup .z-popup-cnt,
html body .z-errbox.z-popup .z-errbox-left,
html body .z-errbox.z-popup .z-errbox-right,
html body .z-errbox.z-popup .z-errbox-center {
    background-color: transparent !important;
    color: #7c2d12 !important;
    -webkit-text-fill-color: #7c2d12 !important;
    text-shadow: none !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

html body .z-errbox.z-popup .z-errbox-center {
    padding: 2px 22px 2px 6px !important;
}

/* 2. Seluruh `<popup>` Konten / Tooltip / Filter / Info Umum ZKoss
      (`.z-popup` SELAIN menu navigasi gelap `#popupmenu`, `.main-responsive-menu-popup`,
      `.main2-popup-menu`, dan SELAIN `.z-errbox` di atas):
      Dikunci ke permukaan putih bersih (#ffffff) + teks slate pekat (#0f172a, kontras 17.4:1)
      sehingga TIDAK ADA skin tenant (`biru_tua.css`, `asm.css`, `hijau_orange2.css`, dsb.)
      yang dapat menyuntikkan gradasi gelap/kuning pada `.z-popup-cl` di balik teks gelap `#444`! */
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) > .z-popup-tl,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) > .z-popup-tr,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) > .z-popup-bl,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) > .z-popup-br {
    background: none !important;
    background-image: none !important;
}

html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cl {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18) !important;
    color: #0f172a !important;
}

html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cr,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cm,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cnt {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #0f172a !important;
}

html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cnt > .z-label,
html body .z-popup:not(#popupmenu):not(.main-responsive-menu-popup):not(.main2-popup-menu):not(.z-errbox) .z-popup-cnt > div > .z-label {
    color: #0f172a !important;
}

/* 3. Notifikasi ZK (`Clients.showNotification` -> `.z-notification`) & Indikator Busy (`.z-loading`, `.z-apply-loading`):
      Pastikan permukaan dan teks selalu dikunci berpasangan kontras tinggi di semua skin! */
html body .z-notification .z-notification-cl,
html body .z-notification .z-notification-cr,
html body .z-notification .z-notification-cm {
    background-image: none !important;
}

html body .z-notification-info .z-notification-cl,
html body .z-notification-info .z-notification-cm,
html body .z-notification-info .z-notification-cnt {
    background-color: #eff6ff !important;
    color: #1e3a8a !important;
    -webkit-text-fill-color: #1e3a8a !important;
}

html body .z-notification-warning .z-notification-cl,
html body .z-notification-warning .z-notification-cm,
html body .z-notification-warning .z-notification-cnt {
    background-color: #fffbeb !important;
    color: #7c2d12 !important;
    -webkit-text-fill-color: #7c2d12 !important;
}

html body .z-notification-error .z-notification-cl,
html body .z-notification-error .z-notification-cm,
html body .z-notification-error .z-notification-cnt {
    background-color: #fef2f2 !important;
    color: #7f1d1d !important;
    -webkit-text-fill-color: #7f1d1d !important;
}

html body .z-loading,
html body .z-apply-loading {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
    color: #0f172a !important;
}

html body .z-loading-indicator,
html body .z-apply-loading-indicator {
    background: transparent !important;
    border: 0 !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* 4. Keserasian Tema & Kontras Submenu `.z-menu-popup` Navigasi Lintas 18 Tema Tenant:
      JANGAN meng-hardcode warna hitam/slate gelap (#1e293b / #0f172a) pada `.z-menu-popup`, karena membuat
      submenu tampak menghitam dan belang terhadap panel utama `#popupmenu`!
      Solusi: Gunakan permukaan gradien tema terpilih (`var(--ais-theme-primary)` + scrim adaptif
      `--ais-menu-scrim-top` / `--ais-menu-scrim-bottom`) persis seperti `.main-responsive-menu-popup .z-popup-cnt`,
      serta buat `> .z-menu-popup-cnt` transparan agar lapisan scrim tidak menumpuk dua kali.
      Hasilnya: warna submenu mengikuti tema kampus yang dipilih DAN teks putih `#ffffff` tetap kontras tajam! */
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) {
    background-color: var(--ais-theme-primary, #1a4087) !important;
    background-image:
        linear-gradient(180deg,
            var(--ais-menu-scrim-top, rgba(15, 23, 42, 0.22)) 0%,
            var(--ais-menu-scrim-bottom, rgba(15, 23, 42, 0.34)) 100%),
        linear-gradient(180deg, var(--ais-theme-primary, #1a4087) 0%,
            rgba(var(--ais-theme-primary-rgb, 26, 64, 135), 0.96) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.30) !important;
    color: #ffffff !important;
    padding: 5px !important;
}

html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) > .z-menu-popup-cnt {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    padding: 0 !important;
}

html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-cnt {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu-item:hover > div > div > div > a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu:hover > div > div > div > a.z-menu-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu-item.z-menu-item-over > div > div > div > a.z-menu-item-cnt,
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu.z-menu-over > div > div > div > a.z-menu-cnt {
    background-color: rgba(255, 255, 255, 0.28) !important;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.20) 100%) !important;
    border-radius: 6px !important;
    box-shadow: inset 4px 0 0 #ffffff, inset 0 0 0 1px rgba(255, 255, 255, 0.48) !important;
    cursor: pointer !important;
}

/* 5. Proteksi Hover Tombol Berwarna Pekat terhadap Aturan Warisan `button:hover { color: black !important }`
      di seluruh 18 berkas CSS tema tenant (`biru_tua.css` baris 8, dsb.):
      Pastikan tombol utama biru/hijau/merah tidak pernah berubah menjadi teks hitam di atas biru tua saat di-hover! */
html body .ais-bayar-gateway-area button.z-button-os:hover,
html body .ais-bayar-gateway-area span.z-button:hover .z-button-cm > button,
html body span.z-button.ais-report-preview-btn-primary:hover button,
html body span.z-button.ais-report-preview-btn-primary:hover .z-button-cm > button,
html body .z-window-highlighted td:first-child > .z-messagebox-btn:hover button,
html body .z-window-modal td:first-child > .z-messagebox-btn:hover button,
html body button.ais-modern-messagebox-button-primary:hover,
html body button.btn-primary:hover,
html body button.btn-success:hover,
html body button.btn-danger:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 6. Kontras Input Terkunci pada Modal Pengaturan Pembayaran Bulanan (`.ais-rencana-input-locked`):
      Naikkan kontras teks dari #64748b (4.28:1 di atas #f1f5f9) menjadi #475569 (6.85:1 WCAG AA/AAA). */
html body input.ais-rencana-input.ais-rencana-input-locked {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

/* ============================================================================
   7. ARSITEKTUR SCROLL VERTIKAL TERPUSAT TUNGGAL (SINGLE CENTRALIZED SCROLLBAR)
      DI SELURUH HALAMAN & MODAL ZKOSS (MURNI CSS TANPA JS — ATURAN MUTLAK 1):
      - Saat modal window (.z-window-modal / .z-window-highlighted) terbuka di atas
        kanvas utama (/lama / /main), sembunyikan scrollbar vertikal latar belakang
        (.z-center.main-scroll-center > .z-center-body & html/body) agar TIDAK
        tampil dua scrollbar vertikal bersebelahan antara modal 99% dan halaman latar!
      - Di dalam modal yang memakai MyButtonTabbox langsung di .z-center-body
        (seperti PertemuanHelper, Calon Mahasiswa, Biodata Mahasiswa), kunci
        .z-center-body ke overflow: hidden !important agar HANYA panel aktif
        (.ais-button-tabbox-panel) yang memiliki 1 scrollbar vertikal terpusat!
      - Lepaskan kunci tinggi & scroll internal (.z-grid-body) pada Grid data biasa
        (kecuali .ais-wide-scroll-grid / .ais-billing-matrix-grid untuk arah X)
        di dalam panel tab & wadah scroll tunggal agar tidak pernah memunculkan
        scrollbar vertikal kedua di dalam tab/modal.
   ============================================================================ */
/*
 * PENJAGA KETAT PEMULIHAN SCROLLBAR UTAMA PASCA TUTUP MODAL / PREVIEW UJIAN (MURNI CSS — ATURAN MUTLAK 1):
 * 1. JANGAN PERNAH mengunci overflow-y: hidden pada html/body/.main-scroll-center hanya karena ada
 *    elemen .z-modal-mask yang tersembunyi (display:none) atau yatim (orphan) di dalam <body>!
 *    Di ZK 5.5, jendela yang ditutup dengan setVisible(false) (MyWindow.pakaiClose=true) atau transisi
 *    dialog berlapis (seperti Tata Tertib Ujian -> Preview Ujian CBT -> Tutup) sering menyisakan
 *    <div class="z-modal-mask"> tersembunyi atau yatim di <body>, yang sebelumnya membuat selektor
 *    body:has(> .z-modal-mask) terus aktif dan menghilangkan scrollbar utama halaman e-Learning!
 * 2. Kunci scroll latar belakang HANYA apabila benar-benar terdapat .z-modal-mask yang terlihat
 *    DAN setidaknya satu .z-window-modal / .z-window-highlighted yang sedang terbuka (bukan
 *    .ais-window-closed, bukan .ais-cbt-window-closed, dan bukan display:none).
 * 3. Sembunyikan & matikan pointer-events pada setiap .z-modal-mask yatim apabila tidak ada lagi
 *    jendela modal/highlighted yang sedang tampil di layar.
 */
html:has(body > .z-modal-mask:not([style*="display: none"]):not([style*="display:none"]):not([style*="visibility: hidden"]):not([style*="visibility:hidden"])):has(body .z-window-modal:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"]), body .z-window-highlighted:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"])),
body:has(> .z-modal-mask:not([style*="display: none"]):not([style*="display:none"]):not([style*="visibility: hidden"]):not([style*="visibility:hidden"])):has(.z-window-modal:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"]), .z-window-highlighted:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"])) {
    overflow-y: hidden !important;
}

body:has(> .z-modal-mask:not([style*="display: none"]):not([style*="display:none"]):not([style*="visibility: hidden"]):not([style*="visibility:hidden"])):has(.z-window-modal:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"]), .z-window-highlighted:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"])) .z-center.main-scroll-center > .z-center-body {
    overflow-y: hidden !important;
}

body:not(:has(.z-window-modal:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"]), .z-window-highlighted:not(.ais-window-closed):not(.ais-cbt-window-closed):not([style*="display: none"]):not([style*="display:none"]))) > .z-modal-mask {
    display: none !important;
    pointer-events: none !important;
}

html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .ais-button-tabbox-container),
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .ais-button-tabbox-wrapper),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .ais-button-tabbox-container),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .ais-button-tabbox-wrapper),
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .z-tabbox),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-center-body:has(> .z-tabbox) {
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Tampilan emptyMessage Grid & Listbox yang bersih, informatif, dan kontras (mis. saat belum ada peserta mengumpulkan tugas) */
html body .z-grid-empty-body td,
html body .z-listbox-empty-body td {
    padding: 22px 16px !important;
    text-align: center !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Pastikan seluruh sub-tabbox & layout tugas di desktop maupun mobile selalu auto-height tanpa scroll ganda */
html body .ais-mobile-tugas-layout,
html body .ais-mobile-tugas-layout .ais-button-tabbox-wrapper,
html body .ais-mobile-tugas-layout .ais-button-tabbox-container,
html body .ais-mobile-tugas-layout .ais-button-tabbox-panels,
html body .ais-mobile-tugas-layout .ais-button-tabbox-panel,
html body .ais-tugas-jawaban-layout,
html body .ais-tugas-jawaban-layout .ais-button-tabbox-wrapper,
html body .ais-tugas-jawaban-layout .ais-button-tabbox-container,
html body .ais-tugas-jawaban-layout .ais-button-tabbox-panels,
html body .ais-tugas-jawaban-layout .ais-button-tabbox-panel {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* Lepaskan vertical scroll internal pada .z-grid / .z-grid-body di dalam panel tab modal & sublayout tugas
   (sambil tetap mengizinkan overflow-x: auto bila tabel memang lebar seperti .ais-wide-scroll-grid) */
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-grid:not(.ais-menu-popup-grid),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-grid:not(.ais-menu-popup-grid) > .z-grid-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-grid:not(.ais-menu-popup-grid),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-grid:not(.ais-menu-popup-grid) > .z-grid-body,
html body .ais-tugas-jawaban-sublayout .z-grid,
html body .ais-tugas-jawaban-sublayout .z-grid > .z-grid-body,
html body .ais-tugas-jawaban-layout .z-grid,
html body .ais-tugas-jawaban-layout .z-grid > .z-grid-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
}

/* ============================================================================
   8. ANTI-OVERLAP (ANTI-MENUMPUK) SEL TABEL & CHECKBOX KOLOM SEMPIT ZKOSS
      (MURNI CSS + UIHelper.rapikanCheckboxSelTabel TANPA JS — ATURAN MUTLAK 1):
      - Mencegah teks/checkbox di dalam td.z-row-inner meluber menimpa kolom tetangga
        akibat default Flexbox min-width: auto pada .z-checkbox-cnt atau inline nowrap.
      - Merapikan tajuk kolom .dgrid agar membungkus rapi (tidak terpotong "Kegiata...").
      - Menata pil komponen & pengaturan rapor (.ais-jrs-flag-group / .ais-jrs-flag-pill)
        serta checkbox tunggal rata tengah (.ais-cell-checkbox-only) di seluruh tabel.
   ============================================================================ */
html body .dgrid.z-grid:not(#popupmenu .z-grid):not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) > .z-grid-header tr.z-columns th.z-column,
html body .dgrid.z-grid:not(#popupmenu .z-grid):not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) > .z-grid-header tr.z-columns th.z-column > div.z-column-cnt {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.28 !important;
    height: auto !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

html body .dgrid.z-grid:not(#popupmenu .z-grid):not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner {
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

html body .dgrid.z-grid:not(#popupmenu .z-grid):not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) > .z-grid-body > table > tbody > tr.z-row > td.z-row-inner > div.z-row-cnt {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body .z-grid:not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) tr.z-row:not(.ais-form-row) .z-checkbox.ais-cell-checkbox-wrap:not(.ais-toolbar-direct-checkbox) {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

html body .z-grid:not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) tr.z-row:not(.ais-form-row) .z-checkbox.ais-cell-checkbox-wrap:not(.ais-toolbar-direct-checkbox) > input[type="checkbox"] {
    flex: 0 0 auto !important;
    margin: 2px 0 0 0 !important;
}

html body .z-grid:not(.ais-crud-filter-grid):not(.ais-menu-popup-grid) tr.z-row:not(.ais-form-row) .z-checkbox.ais-cell-checkbox-wrap:not(.ais-toolbar-direct-checkbox) > .z-checkbox-cnt {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-cell-checkbox-only {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 2px !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-cell-checkbox-only > .z-checkbox-cnt:empty {
    display: none !important;
}

html body .z-grid tr.z-row td.z-row-inner:has(> div.z-row-cnt > .z-checkbox.ais-cell-checkbox-only:only-child) > div.z-row-cnt {
    text-align: center !important;
}

html body table.z-vbox.ais-cell-checkbox-stack {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

html body table.z-vbox.ais-cell-checkbox-stack td.z-vbox-inner {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    padding: 2px 0 !important;
}

/* Tata letak pil komponen & pengaturan Jenis Rapor Siswa (.ais-jrs-flag-group / .ais-jrs-flag-pill) */
html body .ais-jrs-setting-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html body .ais-jrs-flag-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-jrs-flag-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 3px 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 7px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-jrs-flag-pill:has(> input[type="checkbox"]:checked) {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1e3a8a !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-jrs-flag-pill > input[type="checkbox"] {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

html body .z-grid tr.z-row .z-checkbox.ais-jrs-flag-pill > .z-checkbox-cnt {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: inherit !important;
    line-height: 1.28 !important;
}

html body .ais-jrs-min-tingkat-row {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 1px !important;
}

html body .ais-jrs-min-tingkat-lbl {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

html body input.ais-jrs-min-tingkat-input {
    width: 54px !important;
    min-width: 48px !important;
    height: 26px !important;
    padding: 2px 6px !important;
    text-align: center !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
}

/* ============================================================================
   9. ATURAN MUTLAK 759 (/docs/AGENTS.md):
      DI VERSI MOBILE, SELURUH MODUL WAJIB SCROLL TERPUSAT TUNGGAL DENGAN
      TINGGI OTOMATIS (height: auto) MENYESUAIKAN DATA TANPA BATASAN BAWAH!
   ============================================================================ */

/* (B.1) Shell e-Learning Mobile (.elearning-mobile-shell):
         Lepaskan seluruh kunci tinggi tetap (480px / 420px / overflow:hidden) pada
         Borderlayout, Center, MyButtonTabbox, Combobox Menu, dan Grid Perkuliahan
         agar kartu mata kuliah (Skripsi, Bahasa Indonesia, dst.) tampil utuh 100%
         menyesuaikan jumlah data yang ada dengan satu scroll terpusat! */
html body .elearning-mobile-shell,
html body .elearning-mobile-shell .elearning-mobile-root-borderlayout,
html body .elearning-mobile-shell .elearning-mobile-sub-borderlayout,
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div,
html body .elearning-mobile-shell [class*="z-north"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell [class*="z-north-body"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell [class*="z-center"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell [class*="z-center-body"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell [class*="z-south"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell [class*="z-south-body"]:not(.z-window-modal *):not(.z-window-highlighted *):not(.ais-ujian-cbt-window *),
html body .elearning-mobile-shell .ais-button-tabbox-wrapper:not(.z-window-modal *):not(.z-window-highlighted *),
html body .elearning-mobile-shell .ais-button-tabbox-container:not(.z-window-modal *):not(.z-window-highlighted *),
html body .elearning-mobile-shell .ais-button-tabbox-panels:not(.z-window-modal *):not(.z-window-highlighted *),
html body .elearning-mobile-shell .ais-button-tabbox-panel:not(.z-window-modal *):not(.z-window-highlighted *),
html body .elearning-mobile-shell .elearning-menu-combo-shell,
html body .elearning-mobile-shell .elearning-menu-combo-tabbox,
html body .elearning-mobile-shell .elearning-menu-combo-tabbox > .z-tabpanels,
html body .elearning-mobile-shell .elearning-menu-combo-tabbox .z-tabpanel,
html body .elearning-mobile-shell .elearning-menu-combo-tabbox .z-tabpanel-cnt,
html body .elearning-mobile-shell .elearning-kelas-layout,
html body .elearning-mobile-shell .dgrid:not(.z-window-modal *):not(.z-window-highlighted *),
html body .elearning-mobile-shell .dgrid:not(.z-window-modal *):not(.z-window-highlighted *) > .z-grid-body {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
}

/* (B.2) ATURAN GLOBAL SELURUH MODUL DI VERSI MOBILE (<= 900px):
         Wajib tetap 1 scroll vertikal terpusat (.main-scroll-center > .z-center-body
         atau dokumen utama pada halaman standalone/iframe), dengan tinggi kontainer
         otomatis (height: auto; min-height: 0; max-height: none; overflow-y: visible)
         menyesuaikan data yang ada tanpa membatasi posisi bawah! */
@media only screen and (max-width: 900px) {
    /* Penggulir utama terpusat di mobile wajib aktif, mulus dengan sentuhan jari */
    html body .z-center.main-scroll-center > .z-center-body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Seluruh frame, panel tab, portal CRUD, Borderlayout non-modal, Grid, dan Listbox
       di semua modul wajib tumbuh otomatis sesuai tinggi data nyata tanpa terpotong di bawah */
    html body .main-responsive-frame,
    html body .main-responsive-frame.z-borderlayout,
    html body .main-responsive-frame.z-borderlayout > div:has(> .main-responsive-center),
    html body .main-responsive-center,
    html body .main-responsive-center > .z-center-body,
    html body .main-responsive-tabbox,
    html body .main-responsive-tabpanels,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt,
    html body .main-dashboard-frame,
    html body .main-dashboard-content,
    html body .main-dashboard-tabbox,
    html body .main-dashboard-tabpanels,
    html body .main-dashboard-tabpanel,
    html body .ais-button-tabbox-wrapper:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .ais-button-tabbox-container:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .ais-button-tabbox-panels:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .ais-button-tabbox-panel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .ais-crud-portal:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *),
    html body .ais-crud-data-card:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* Di layar mobile, Borderlayout modul di dalam Tabpanel (termasuk yang sebelumnya diberi
       fallback 920px oleh MyButtonTabbox) maupun di halaman modul standalone (di luar #myborder
       root shell dan di luar modal/popup/ujian CBT) wajib mengalir otomatis tanpa batas bawah! */
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-north"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-north"] > [class*="z-north-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-west"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-west"] > [class*="z-west-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-east"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-east"] > [class*="z-east-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-center"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-center"] > [class*="z-center-body"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-south"],
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div > [class*="z-south"] > [class*="z-south-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* Lepaskan scroll vertikal internal pada Grid dan Listbox data di mobile (di luar popup/modal/combo)
       agar daftar baris mengikuti satu scroll terpusat dan tinggi otomatis menyesuaikan data */
    html body .main-responsive-tabpanels .dgrid.z-grid:not(#popupmenu *):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-bandpopup *):not(.z-popup *),
    html body .main-responsive-tabpanels .dgrid.z-grid:not(#popupmenu *):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-bandpopup *):not(.z-popup *) > .z-grid-body,
    html body .ais-crud-portal .dgrid.z-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-bandpopup *):not(.z-popup *),
    html body .ais-crud-portal .dgrid.z-grid:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-bandpopup *):not(.z-popup *) > .z-grid-body,
    html body .main-responsive-tabpanels .z-listbox:not(#popupmenu *):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *),
    html body .main-responsive-tabpanels .z-listbox:not(#popupmenu *):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *) > .z-listbox-body {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}

/* ============================================================================
   10. JAMINAN OTORITATIF HOVER & JEJAK INDUK SUBMENU TERBUKA DI SELURUH MENU
       ZKOSS (MURNI CSS 100%, 0% JS — ATURAN MUTLAK 1 & 10):
       - Memastikan pointer tangan (cursor: pointer) aktif di semua tombol/tautan menu.
       - Membedakan dengan jelas item yang tepat berada di bawah kursor (:hover)
         dan folder induk yang submenunya sedang terbuka (.z-menu-body-seld / .z-menu-over)
         sehingga pengguna selalu tahu persis jalur menu yang sedang diakses.
       - Menggunakan inset box-shadow + background murni (0px pergeseran tata letak).
   ============================================================================ */
html body #popupmenu.z-popup .z-menubar-ver .z-menu-btn,
html body #popupmenu.z-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-btn,
html body .z-popup.main-responsive-menu-popup .z-menubar-ver .z-menu-item-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-btn,
html body .z-popup.main2-popup-menu .z-menubar-ver .z-menu-item-btn,
html body .navigasi .z-menubar-ver .z-menu-btn,
html body .navigasi .z-menubar-ver .z-menu-item-btn,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-btn,
html body .main-responsive-sidebar .z-menubar-ver .z-menu-item-btn,
html body .z-menu-popup .z-menu-popup-cnt a.z-menu-cnt,
html body .z-menu-popup .z-menu-popup-cnt a.z-menu-item-cnt,
html body .z-menu-popup .z-menu-popup-cnt .z-menu-btn,
html body .z-menu-popup .z-menu-popup-cnt .z-menu-item-btn {
    cursor: pointer !important;
}

/* Jejak folder induk yang submenunya sedang terbuka di kanan (.z-menu-body-seld / li.z-menu-over)
   saat kursor sudah berpindah ke submenu anak: garis penanda aksen biru muda (#7dd3fc) + kapsul terang */
html body #popupmenu.z-popup .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .z-popup.main-responsive-menu-popup .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .z-popup.main2-popup-menu .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .navigasi .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .main-responsive-sidebar .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .main2-sidebar:not(.main2-sidebar-light) .z-menubar-ver table.z-menu-body.z-menu-body-seld:not(:hover),
html body .z-menu-popup:not(.ais-profil-menu):not(.ais-notif-menu):not(.ais-pilih-bahasa-popup) .z-menu-popup-cnt li.z-menu.z-menu-over:not(:hover) a.z-menu-cnt {
    background-color: rgba(125, 211, 252, 0.26) !important;
    background-image: linear-gradient(90deg, rgba(125, 211, 252, 0.36) 0%, rgba(255, 255, 255, 0.18) 100%) !important;
    box-shadow: inset 4px 0 0 #7dd3fc, inset 0 0 0 1px rgba(186, 230, 253, 0.55) !important;
}

/* Hasil pencarian menu di dalam #popupmenu gelap & sidebar terang */
html body #popupmenu.z-popup .main-menu-cari-grid .z-toolbarbutton:hover,
html body #popupmenu.z-popup .main-menu-cari-grid .z-toolbarbutton.z-toolbarbutton-over,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-toolbarbutton:hover,
html body .z-popup.main-responsive-menu-popup .main-menu-cari-grid .z-toolbarbutton.z-toolbarbutton-over,
html body .z-popup.main2-popup-menu .main-menu-cari-grid .z-toolbarbutton:hover,
html body .z-popup.main2-popup-menu .main-menu-cari-grid .z-toolbarbutton.z-toolbarbutton-over {
    background-color: rgba(255, 255, 255, 0.28) !important;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.20) 100%) !important;
    box-shadow: inset 4px 0 0 #ffffff, inset 0 0 0 1px rgba(255, 255, 255, 0.48) !important;
    border-radius: 7px !important;
}

/* Popup menu terang (Profil, Pilih Bahasa, Kebab Baris): hover biru lembut kontras tinggi */
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt li.z-menu-item:hover a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt li.z-menu-item:hover a.z-menu-item-cnt,
html body .z-menu-popup.ais-pilih-bahasa-popup .z-menu-popup-cnt .z-menu-item-over a.z-menu-item-cnt {
    background-color: #dbeafe !important;
    background-image: none !important;
    box-shadow: inset 3.5px 0 0 #2563eb, inset 0 0 0 1px rgba(37, 99, 235, 0.24) !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt li.ais-profil-keluar:hover a.z-menu-item-cnt,
html body .z-menu-popup.ais-profil-menu .z-menu-popup-cnt li.ais-profil-keluar.z-menu-item-over a.z-menu-item-cnt {
    background-color: #fee2e2 !important;
    background-image: none !important;
    box-shadow: inset 3.5px 0 0 #dc2626, inset 0 0 0 1px rgba(220, 38, 38, 0.24) !important;
    color: #b91c1c !important;
    -webkit-text-fill-color: #b91c1c !important;
}

/* Fallback Tree Menu (.z-dottree) di dalam panel menu gelap */
html body #popupmenu.z-popup div.z-dottree tr.z-treerow:hover > td.z-treecell,
html body #popupmenu.z-popup div.z-dottree tr.z-treerow-over > td.z-treecell,
html body .z-popup.main-responsive-menu-popup div.z-dottree tr.z-treerow:hover > td.z-treecell,
html body .z-popup.main-responsive-menu-popup div.z-dottree tr.z-treerow-over > td.z-treecell,
html body .navigasi div.z-dottree tr.z-treerow:hover > td.z-treecell,
html body .navigasi div.z-dottree tr.z-treerow-over > td.z-treecell {
    background-color: rgba(255, 255, 255, 0.26) !important;
    box-shadow: inset 3.5px 0 0 #ffffff !important;
}

/* Sidebar terang shell modern ZK (.main2-sidebar.main2-sidebar-light) */
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body:hover,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body-over,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body-seld,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-item-body:hover,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-item-body-over {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background-color: #dbeafe !important;
    background-image: none !important;
    border-radius: 6px !important;
    box-shadow: inset 3.5px 0 0 #2563eb, inset 0 0 0 1px rgba(37, 99, 235, 0.24) !important;
}
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body:hover .z-menu-btn,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body-over .z-menu-btn,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-body-seld .z-menu-btn,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-item-body:hover .z-menu-item-btn,
html body .main2-sidebar.main2-sidebar-light .z-menubar-ver .z-menu-item-body-over .z-menu-item-btn {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

/* ============================================================================
   11. STANDAR TINGGI MINIMAL 3X (1560px–1680px DESKTOP / 1200px MOBILE) UNTUK SELURUH
       HALAMAN DAN PRATINJAU LAPORAN INLINE (BUKAN POPUP / DI DALAM WINDOW):
       - Membebaskan kontainer halaman utama dari kunci 100vh (`html, body` & `.main-responsive-root`
         menjadi aliran tinggi alami dokumen) atau memastikan `.main-responsive-tabpanels`,
         `.ais-iframe-tabpanel` (`height: auto; min-height: 2150px`), dan dokumen ZUL standalone
         di dalam `<MyIframe>` tumbuh penuh tanpa memotong bagian bawah laporan!
       - Membongkar `.z-borderlayout` 1-kolom maupun multi-kolom (West/Center/East) di dalam
         dokumen ZUL standalone (`html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell))`)
         menjadi CSS Flexbox bertinggi otomatis persis seperti mode `<MyInclude>`, sehingga
         laporan inline tidak pernah terjepit ke `~400px` sisa tinggi layar oleh JS `Borderlayout.onSize`!
       - Seluruh wadah & iframe pratinjau laporan yang dirender langsung inline di halaman
         (`.ais-report-preview-inline`, `.ais-report-preview-area-inline`, `.ais-report-preview-iframe-inline`,
         serta `Borderlayout` induknya) WAJIB memiliki `min-height: 1560px`–`1680px` (desktop) / `1200px` (mobile).
       - Dikecualikan secara ketat dari seluruh jendela popup/modal (`.z-window-modal`,
         `.z-window-highlighted`, `.z-window-overlapped`, `.z-window-popup`, `.z-popup`).
   ============================================================================ */
html body .main-responsive-frame,
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt,
html body .main-responsive-home-panel,
html body .main-responsive-home-panel > .z-tabpanel-cnt,
html body .main2-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
html body .main2-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt {
    min-height: 1560px !important;
}

/* Tabpanel berbasis <MyIframe> (.ais-iframe-tabpanel): beri tinggi minimal 2150px di desktop
   (cukup untuk 3 baris tab bertingkat ~250px + toolbar ekspor ~44px + bar pratinjau ~44px +
   area laporan minimal 1560px = >= 1900px terlihat utuh sekaligus!) */
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: max(2150px, calc(100vh - 148px)) !important;
    min-height: 2150px !important;
    max-height: none !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 {
    height: 100% !important;
    min-height: 2150px !important;
    max-height: none !important;
}

/* Paritas penuh Borderlayout dokumen ZUL standalone / di dalam <MyIframe> (saat pakai_include_saat_menu = false):
   Jangan biarkan Borderlayout non-modal memakai position:absolute / height:920px / 100% yang memotong laporan! */
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt-noborder {
    min-height: 1560px !important;
}

html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt-noborder,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div,
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"],
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"] > [class*="z-north-body"],
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"],
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"] > [class*="z-center-body"],
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"],
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"] > [class*="z-south-body"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

@media only screen and (min-width: 901px) {
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-north"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-south"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 5 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"]:not([class*="-splt"]):not([class*="-colpsd"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"] > [class*="z-north-body"],
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"]:not([class*="-splt"]):not([class*="-colpsd"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"] > [class*="z-south-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-west"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 42% !important;
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin-right: 6px !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-east"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 42% !important;
        order: 4 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin-left: 6px !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west:not([style*="display: none"]):not([style*="display:none"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-noborder:not([style*="display: none"]):not([style*="display:none"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east:not([style*="display: none"]):not([style*="display:none"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-noborder:not([style*="display: none"]):not([style*="display:none"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"],
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-east"] > [class*="z-east-body"],
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"] > .z-grid,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"] > .z-grid > .z-grid-body {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-colpsd:not([style*="display: none"]):not([style*="display:none"]),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-colpsd:not([style*="display: none"]):not([style*="display:none"]) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 24px !important;
        min-height: 260px !important;
        height: auto !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-splt,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-splt,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-north-splt,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-south-splt {
        display: none !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-center"]) {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        order: 3 !important;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"],
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"] > [class*="z-center-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
}

/* Jaminan tinggi minimal 3x (1560px–1680px desktop) pada seluruh wadah, Borderlayout induk,
   dan iframe pratinjau laporan inline (bukan di dalam jendela popup/modal)! */
html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):has(.ais-report-preview-inline) {
    height: auto !important;
    min-height: 1680px !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > div > [class*="z-center"]:has(> [class*="z-center-body"] > .ais-report-preview-inline),
html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-report-preview-inline),
html body .ais-report-preview-wrapper.ais-report-preview-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) {
    height: auto !important;
    min-height: 1620px !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .ais-report-preview-area.ais-report-preview-area-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) {
    height: auto !important;
    min-height: 1560px !important;
    max-height: none !important;
    overflow: visible !important;
}

html body iframe.ais-report-preview-iframe.ais-report-preview-iframe-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *),
html body .z-center:not(.main-scroll-center):not(.main-responsive-center):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > .z-center-body > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .z-center-noborder:not(.main-scroll-center):not(.main-responsive-center):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > .z-center-body > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .z-tabpanel:not(.ais-iframe-tabpanel):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .z-tabpanel:not(.ais-iframe-tabpanel):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > .z-tabpanel-cnt > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .ais-button-tabbox-panel:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > .z-window-embedded-cnt > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]),
html body .z-window-embedded:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):not(.z-detail-outer *):not(tr.z-detail-faker *) > .z-window-embedded-cnt-noborder > iframe.z-iframe:not(.ais-report-preview-iframe-modal):not([src*="youtube.com"]):not([src*="youtu.be"]):not([src*="google.com/maps"]) {
    height: 1560px !important;
    min-height: 1560px !important;
}

@media only screen and (max-width: 768px) {
    html body .main-responsive-frame,
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt,
    html body .main-responsive-home-panel,
    html body .main-responsive-home-panel > .z-tabpanel-cnt,
    html body .main2-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel),
    html body .main2-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) > .z-tabpanel-cnt {
        min-height: 1200px !important;
    }

    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,
    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 {
        height: max(1520px, calc(100vh - 116px)) !important;
        min-height: 1520px !important;
    }

    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page),
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt,
    html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) > body > .z-page > .z-window-embedded:not(.ais-preserve-viewport-height):not(.ais-cal-page) > .z-window-embedded-cnt-noborder {
        min-height: 1200px !important;
    }

    html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *):has(.ais-report-preview-inline) {
        min-height: 1320px !important;
    }

    html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > div > [class*="z-center"]:has(> [class*="z-center-body"] > .ais-report-preview-inline),
    html body .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-report-preview-inline),
    html body .ais-report-preview-wrapper.ais-report-preview-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) {
        min-height: 1260px !important;
    }

    html body .ais-report-preview-area.ais-report-preview-area-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *),
    html body iframe.ais-report-preview-iframe.ais-report-preview-iframe-inline:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *),
    html body .z-center:not(.main-scroll-center):not(.main-responsive-center):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > .z-center-body > iframe.z-iframe:not(.ais-report-preview-iframe-modal),
    html body .z-center-noborder:not(.main-scroll-center):not(.main-responsive-center):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.z-popup *) > .z-center-body > iframe.z-iframe:not(.ais-report-preview-iframe-modal) {
        height: 1200px !important;
        min-height: 1200px !important;
    }
}

/* ============================================================================
   12. STANDAR MUTLAK "LIHAT RINCI" (LABEL BOLD READ-ONLY) & ARSITEKTUR
       1 SCROLL VERTIKAL TERPUSAT TANPA SPACE KOSONG DI SELURUH WINDOW / POPUP
       ZKOSS (MURNI CSS + JAVA ZKOSS, 0% JS — ATURAN MUTLAK 1, 779, & 780):
       ------------------------------------------------------------------------
       1. Nilai pada mode "Lihat Rinci" (.ais-lihat-rinci-value-label) tampil
          sebagai teks Label BOLD (#0f172a, font-weight: 700) yang bersih tanpa
          kotak input, tanpa border fokus kuning, dan tanpa kursor ketik.
       2. Seluruh jendela dialog/popup (.z-window-modal, .z-window-highlighted,
          .z-window-popup, .z-window-overlapped) memakai latar permukaan putih
          bersih (#ffffff) sehingga gambar wallpaper bg_default.jpg tidak pernah
          bocor membuat strip/space kosong berpola di atas tombol [Tutup]/[Simpan].
       3. Ketika Center modal menampung MyButtonTabbox terluar:
          - .z-center-body dikunci flex-column (overflow: hidden !important)
            merentang penuh 100% sampai tepat menyentuh bilah South [Tutup]/[Simpan].
          - Panel aktif terluar (.ais-button-tabbox-panel) menjadi SATU-SATUNYA
            kontainer scroll vertikal terpusat di dalam modal!
          - Seluruh sub-tabbox bersarang, Borderlayout 1-kolom maupun multi-kolom
            (West foto + Center form), Grid, dan Listbox di dalam panel tab modal
            WAJIB mengalir otomatis (height: auto, overflow-y: visible) sehingga
            TIDAK PERNAH muncul 2 scrollbar vertikal bersebelahan!
   ============================================================================ */

/* A. Tampilan Label BOLD untuk "Lihat Rinci" (.ais-lihat-rinci-value-label) */
html body .ais-lihat-rinci-cell-wrap {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

html body span.ais-lihat-rinci-value-label,
html body .ais-lihat-rinci-value-label {
    display: inline-block;
    font-weight: 700 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 3px 0 !important;
    word-break: break-word !important;
    white-space: pre-wrap;
}

html body span.ais-lihat-rinci-value-label.ais-lihat-rinci-value-empty,
html body .ais-lihat-rinci-value-label.ais-lihat-rinci-value-empty {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    font-weight: 700 !important;
}

/* Radio & Checkbox terkunci di dalam mode Lihat Rinci: tetap tajam & opsi terpilih tampil BOLD */
html body .ais-window-lihat-rinci .ais-lihat-rinci-choice,
html body .ais-window-lihat-rinci .ais-lihat-rinci-choice label,
html body .ais-window-lihat-rinci .z-radio-disd,
html body .ais-window-lihat-rinci .z-checkbox-disd {
    opacity: 1 !important;
    cursor: default !important;
}

html body .ais-window-lihat-rinci input[type="radio"]:checked + label,
html body .ais-window-lihat-rinci input[type="checkbox"]:checked + label,
html body .ais-window-lihat-rinci .ais-lihat-rinci-choice input:checked + label {
    font-weight: 700 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

html body .ais-window-lihat-rinci input[type="radio"]:not(:checked) + label,
html body .ais-window-lihat-rinci input[type="checkbox"]:not(:checked) + label {
    font-weight: 500 !important;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}

/* Pertahanan lapis kedua: bila ada komponen input kustom yang tersisa di dalam .ais-window-lihat-rinci
   (di luar bar filter pencarian), samarkan kotak inputnya menjadi teks BOLD non-interaktif */
html body .ais-window-lihat-rinci input.z-textbox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci textarea.z-textbox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-intbox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-longbox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-decimalbox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-doublebox[readonly]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-combobox-inp[disabled]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-bandbox-inp[disabled]:not(.ais-crud-filter-card *),
html body .ais-window-lihat-rinci input.z-datebox-inp[disabled]:not(.ais-crud-filter-card *) {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    pointer-events: none !important;
    cursor: default !important;
    padding-left: 0 !important;
}

/* B. Permukaan Putih Bersih pada Seluruh Window/Popup (Mencegah Bocornya Wallpaper bg_default.jpg) */
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,
html body .z-window-popup:not(.ais-ujian-cbt-window) > .z-window-popup-cnt,
html body .z-window-popup:not(.ais-ujian-cbt-window) > .z-window-popup-cnt-noborder,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) > .z-window-overlapped-cnt,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) > .z-window-overlapped-cnt-noborder,
html body .z-window-modal:not(.ais-ujian-cbt-window) .z-borderlayout,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .z-borderlayout,
html body .z-window-popup:not(.ais-ujian-cbt-window) .z-borderlayout,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) .z-borderlayout {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* C. Rantai Tinggi 100% Penuh Tanpa Space Kosong di Atas Footer [Tutup]/[Simpan]
      pada Seluruh Modal/Popup Berbasis MyButtonTabbox */
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-wrapper),
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-container),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-wrapper),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-container),
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-wrapper),
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-container),
html body .z-window-popup:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-wrapper),
html body .z-window-popup:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) .z-borderlayout > div > [class*="z-center"] > [class*="z-center-body"]:has(> .ais-button-tabbox-container) {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Kontainer MyButtonTabbox TERLUAR di dalam Center modal wajib mengisi 100% ruang vertikal */
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper,
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container,
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container,
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels,
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels,
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper,
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container,
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container,
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels,
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels,
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper,
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container,
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container,
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels,
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Panel aktif TERLUAR di dalam modal menjadi SATU-SATUNYA kontainer scroll vertikal terpusat! */
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)),
html body .z-window-modal:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)),
html body .z-window-highlighted:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)),
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-wrapper > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)),
html body .z-window-overlapped:not(.ais-pesantren-shortcut-modal):not(.ais-ujian-cbt-window) [class*="z-center-body"] > .ais-button-tabbox-container > .ais-button-tabbox-panels > .ais-button-tabbox-panel:not(:has(> .ais-absn-borderlayout)) {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #64748b #e2e8f0 !important;
    padding-bottom: 16px !important;
    box-sizing: border-box !important;
}

/* Matikan scroll ganda pada > .z-window-modal-cnt apabila modal sudah memakai Borderlayout */
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt:has(> .z-borderlayout),
html body .z-window-modal:not(.ais-ujian-cbt-window) > .z-window-modal-cnt-noborder:has(> .z-borderlayout),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) > .z-window-highlighted-cnt:has(> .z-borderlayout),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) > .z-window-highlighted-cnt-noborder:has(> .z-borderlayout) {
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* D. Hapus Seluruh Scroll Vertikal Kedua/Bersarang di Dalam Panel Tab Modal (.ais-button-tabbox-panel):
      Sub-Tabbox bersarang, Borderlayout 1-kolom, Borderlayout multi-kolom (West foto + Center form),
      MyInclude, Window embedded, Grid, dan Listbox WAJIB bertinggi otomatis (height: auto)! */
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-wrapper,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-container,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panels,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panel,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-wrapper,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-container,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panels,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panel,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-wrapper,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-container,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panels,
html body .z-window-overlapped:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .ais-button-tabbox-panel,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-include:not(:has(iframe)),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page) > .z-window-embedded-cnt,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page) > .z-window-embedded-cnt-noborder,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-include:not(:has(iframe)),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page) > .z-window-embedded-cnt,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-window-embedded:not(.ais-cal-page) > .z-window-embedded-cnt-noborder {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* Borderlayout 1-kolom (tanpa West/East) di dalam .ais-button-tabbox-panel modal */
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div,
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"],
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-north"] > [class*="z-north-body"],
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"],
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"] > [class*="z-center-body"],
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"],
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-south"] > [class*="z-south-body"],
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"],
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div > [class*="z-center"] > [class*="z-center-body"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Borderlayout multi-kolom (West foto/sidebar + Center form, mis. Data Mahasiswa, Kelulusan, Dosen)
   di dalam .ais-button-tabbox-panel modal: Flexbox baris auto-height agar ikut digulir oleh
   1 scrollbar terpusat modal tanpa memunculkan scroll ke-2 di dalam Center! */
@media only screen and (min-width: 901px) {
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-north"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-north"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        order: 1 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-west"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-west"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 38% !important;
        order: 2 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        margin-right: 8px !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-center"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-center"]) {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        width: auto !important;
        order: 3 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-east"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-east"]) {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 38% !important;
        order: 4 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        margin-left: 8px !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-south"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div:has(> [class*="z-south"]) {
        flex: 0 0 100% !important;
        width: 100% !important;
        order: 5 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-east"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-east"] > [class*="z-east-body"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"] > [class*="z-center-body"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-north"] > [class*="z-north-body"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-south"] > [class*="z-south-body"],
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-west"] > [class*="z-west-body"],
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"],
    html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > [class*="z-center"] > [class*="z-center-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
    }

    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-west-splt,
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-east-splt,
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-north-splt,
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):has(> .z-west, > .z-west-noborder, > div > .z-west, > div > .z-west-noborder, > .z-east, > .z-east-noborder, > div > .z-east, > div > .z-east-noborder) > div > .z-south-splt {
        display: none !important;
    }
}

/* Di layar mobile <= 900px, tumpuk West foto di atas Center form di dalam panel tab modal */
@media only screen and (max-width: 900px) {
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div,
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div > [class*="z-west"]:not([style*="display: none"]):not([style*="display:none"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div > [class*="z-west"] > [class*="z-west-body"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div > [class*="z-center"],
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div > [class*="z-center"] > [class*="z-center-body"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Lepaskan pula scroll vertikal internal pada Listbox data non-combo di dalam panel tab modal
   & di dalam .ais-scroll-window-center agar semua mengikuti 1 scrollbar utama modal */
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-listbox:not(.z-select):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-listbox:not(.z-select):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *) > .z-listbox-body,
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-listbox:not(.z-select):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-listbox:not(.z-select):not(.z-combobox-pp *):not(.z-bandpopup *):not(.z-popup *) > .z-listbox-body,
html body .ais-scroll-window .ais-scroll-window-center .z-grid:not(.z-bandpopup *):not(.z-popup *),
html body .ais-scroll-window .ais-scroll-window-center .z-grid:not(.z-bandpopup *):not(.z-popup *) > .z-grid-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
}

/* ============================================================================
   JAMINAN URUTAN KANONIK REGION BORDERLAYOUT 1-KOLOM AUTO-HEIGHT (NORTH DI ATAS!)
   ----------------------------------------------------------------------------
   Ketika .z-borderlayout 1-kolom (tanpa West/East) diubah menjadi aliran tinggi
   otomatis (position: relative; height: auto), browser akan merender anak-anaknya
   berdasarkan urutan penyisipan DOM jika tidak memakai Flexbox + order.
   Pada sejumlah kelas lama yang menyisipkan Center terlebih dahulu lalu North
   (mis. PenilaianSkripsiHelper lama, AktifitasSkripsiHelper, AktifitasTugasAkhirHelper,
   CommonReport, dsb.), ketiadaan order membuat toolbar di North terlempar ke PALING BAWAH!
   Aturan Flexbox kolom + order eksplisit di bawah menjamin 100%:
     - North  -> order: 1 (SELALU DI ATAS)
     - Center -> order: 2 (DI TENGAH)
     - South  -> order: 3 (SELALU DI BAWAH)
   tanpa sebaris pun JavaScript tambahan (patuh ATURAN MUTLAK 1).
   ============================================================================ */
html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)),
html body td.z-detail-outer .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) {
    display: flex !important;
    flex-direction: column !important;
}

html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-north"]),
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-north"]),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-north"]),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-north"]),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-north"]),
html body td.z-detail-outer .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-north"]) {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
}

html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-center"]),
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-center"]),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-center"]),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-center"]),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-center"]),
html body td.z-detail-outer .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-center"]) {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: 100% !important;
}

html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-south"]),
html body .elearning-mobile-shell .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-south"]),
html:not(:has(body .main-responsive-root)):not(:has(body .main2-shell)):not(:has(body .ais-ujian-cbt-window)) .z-borderlayout:not(#myborder):not(#tinggiFrame):not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-south"]),
html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-south"]),
html body .z-window-highlighted:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout):not(.ais-cal-main):not(:has(.z-calendars)):not(:has(> .z-west)):not(:has(> .z-west-noborder)):not(:has(> div > .z-west)):not(:has(> div > .z-west-noborder)):not(:has(> .z-east)):not(:has(> .z-east-noborder)):not(:has(> div > .z-east)):not(:has(> div > .z-east-noborder)) > div:has(> [class*="z-south"]),
html body td.z-detail-outer .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(:has(> .z-west)):not(:has(> div > .z-west)):not(:has(> .z-east)):not(:has(> div > .z-east)) > div:has(> [class*="z-south"]) {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
}

@media only screen and (max-width: 900px) {
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) {
        display: flex !important;
        flex-direction: column !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div:has(> [class*="z-north"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div:has(> [class*="z-north"]) {
        order: 1 !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div:has(> [class*="z-west"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div:has(> [class*="z-west"]) {
        order: 2 !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div:has(> [class*="z-center"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div:has(> [class*="z-center"]) {
        order: 3 !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div:has(> [class*="z-east"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div:has(> [class*="z-east"]) {
        order: 4 !important;
    }
    html body .main-responsive-tabpanels > .z-tabpanel:not(.ais-iframe-tabpanel) .z-borderlayout:not(.z-window-modal *):not(.z-window-highlighted *):not(.z-window-overlapped *):not(.z-window-popup *):not(.ais-ujian-cbt-window *) > div:has(> [class*="z-south"]),
    html body .z-window-modal:not(.ais-ujian-cbt-window) .ais-button-tabbox-panel .z-borderlayout:not(.ais-absn-borderlayout) > div:has(> [class*="z-south"]) {
        order: 5 !important;
    }
}













