/* Jaku identity; interaction and visual scale follow Penetron. */
body.is-desktop .sidebar-header {box-sizing:border-box!important;min-height:80px!important;padding:18px 54px 16px 16px!important;}
#sidebarLogoImg {width:174px!important;max-width:100%!important;height:auto!important;margin:0!important;}
#appBrandSubtitle {font-size:10px!important;white-space:normal!important;letter-spacing:.6px!important;line-height:1.5!important;}
.login-logo-img {width:300px!important;max-width:100%!important;height:auto!important;max-height:80px!important;object-fit:contain;}
body.is-desktop.sidebar-compact .sidebar-header {min-height:80px!important;}

/* Subtitle sits midway between the logo baseline and the header divider. */
body .sidebar .sidebar-header { height:104px!important;min-height:104px!important;box-sizing:border-box!important;flex-direction:column!important;align-items:flex-start!important;padding:18px 16px 0!important;gap:0!important; }
.sidebar .sidebar-header #sidebarLogoImg { flex:0 0 auto;width:174px!important;max-width:calc(100% - 32px)!important; }
.sidebar .sidebar-brand-text { flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;text-align:center!important; }
.sidebar .sidebar-brand-text strong { display:none!important; }
.sidebar .sidebar-brand-text #appBrandSubtitle { font-family:inherit!important;font-size:10.5px!important;font-weight:600!important;letter-spacing:.65px!important;line-height:1.5!important;white-space:nowrap!important;margin:0!important; }
body.is-desktop .sidebar .sidebar-fold-toggle { right:8px;top:13px; }
body.is-desktop.sidebar-compact .sidebar .sidebar-header { height:80px!important;min-height:80px!important;padding:16px 12px!important;justify-content:center!important;align-items:center!important; }
body.is-desktop.sidebar-compact .sidebar .sidebar-brand-text { display:none!important; }
body.is-mobile .sidebar #closeSidebarBtn { position:absolute;right:8px;top:13px; }
.sidebar-header { position:relative; }
#pageDescription,.table-hint,#activityModalSubtitle,#configSettingsHint { display:none!important; }
p:empty,.table-hint:empty { display:none; }
.report-choice-icon svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }

#reportStatsGrid { display:flex!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto;padding:16px!important; }
#reportStatsGrid .report-summary-card { flex:1 0 118px!important;min-width:118px!important;padding:12px 14px!important;border-radius:12px!important; }
#reportStatsGrid .report-summary-card span { font-size:11px!important;line-height:1.35; }
#reportStatsGrid .report-summary-card strong { font-size:25px!important;margin-top:7px!important; }
#reportStatsGrid .report-summary-card p:empty { display:none; }
#reportAppliedFilters { margin:6px 0 0;color:var(--text-muted);font-size:12px;line-height:1.6;font-weight:400; }
.report-toolbar-left { margin-right:auto; }
.report-modify-wrap { position:relative; }
.report-modify-menu { position:absolute;right:0;top:calc(100% + 8px);min-width:260px;max-height:340px;overflow:auto;z-index:40;border:1px solid var(--border-soft);border-radius:12px;padding:8px;background:#fff;box-shadow:0 8px 28px #18386b24; }
.report-modify-menu[hidden] { display:none!important; }
.report-modify-menu label { display:flex;align-items:center;gap:10px;padding:9px;font-size:13px;cursor:pointer; }
.report-modify-menu input { width:16px;height:16px;accent-color:var(--primary); }
#reportTableElement { table-layout:auto!important;width:max-content!important;min-width:100%!important; }
#reportTableElement th,#reportTableElement td { min-width:125px!important;max-width:340px!important;width:auto!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important; }
#reportTableElement th { white-space:nowrap!important; }
.report-table-wrap { overflow-x:auto!important; }
@media print { #reportModifyWrap { display:none; } }

/* Keep report headings visible inside the vertically and horizontally scrollable result. */
.report-table-wrap { max-height:min(65vh,640px)!important;overflow:auto!important;position:relative;isolation:isolate; }
#reportTableElement { border-collapse:separate!important;border-spacing:0; }
#reportTableElement thead th { position:sticky;top:0;z-index:2;background:#f8f9fb;box-shadow:inset 0 -1px 0 var(--border-soft,#e5e7eb); }
@media print {
  .report-table-wrap { max-height:none!important;overflow:visible!important; }
  #reportTableElement thead th { position:static!important;box-shadow:none; }
  #reportTableElement thead { display:table-header-group; }
}
