/* P09 compact two-row column headers; scoped to one initialized table. */
table.ks-compact-head thead th.ks-compact-th{padding:0!important;border:1px solid #d1e1c7!important;border-radius:9px!important;background:#fff!important;color:#203322!important;min-width:110px;vertical-align:top}
.ks-compact-th .ks-compact-title{display:flex;min-height:40px;align-items:center;justify-content:center;padding:6px 8px;text-align:center;font:700 12px/1.25 Inter,system-ui,sans-serif!important;color:#203322!important;background:#fff!important;text-transform:uppercase}
.ks-compact-th .ks-compact-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dce6d7;min-height:40px}
.ks-compact-th .ks-compact-actions button{display:flex;align-items:center;justify-content:center;border:0!important;border-radius:0!important;margin:0!important;padding:8px 4px!important;cursor:pointer;font:700 12px Inter,system-ui,sans-serif!important}
.ks-compact-th .ks-compact-eye{color:#76b900!important;background:#f8fbf6!important;border-right:1px solid #dce6d7!important}
.ks-compact-th .ks-compact-sort{color:#1766ad!important;background:#eaf2ff!important}
.ks-compact-th .ks-compact-eye[aria-pressed="false"]{color:#a9b2a5!important}
.ks-compact-th .ks-compact-actions button:focus-visible{outline:2px solid #1766ad!important;outline-offset:-2px}
.ks-compact-hidden-cell{display:none!important}
table.ks-compact-head{border-collapse:separate;border-spacing:4px 0}
.ks-compact-th.ks-compact-muted .ks-compact-title{opacity:.55}
@media(max-width:700px){table.ks-compact-head{min-width:580px}.ks-compact-th .ks-compact-title{font-size:11px!important}}

/* Rich tables: legacy column cards remain as state owners but cease rendering twice. */
.ks-rich-compact-toolbar .kst-toolbar-title,
.ks-rich-compact-toolbar .kst-columns,
.ks-rich-compact-toolbar .kst-presets{display:none!important}
.ks-rich-compact-th{position:relative}
.ks-rich-compact-th > :not(.ks-compact-title):not(.ks-compact-actions){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.ks-rich-compact-th .ks-compact-actions{position:relative!important;clip-path:none!important;overflow:visible!important;width:auto!important;height:auto!important}

/* P09 button imagery: the supplied WebP assets are the entire button surface. */
.ks-compact-actions .ks-compact-eye,.ks-compact-actions .ks-compact-sort{
 background:transparent!important;color:inherit!important;border:0!important;min-width:0;overflow:hidden;
 padding:0!important;display:flex;align-items:stretch;justify-content:stretch;
}
.ks-compact-actions .ks-icon-asset{display:block;width:100%;height:100%;max-height:78px;object-fit:contain;pointer-events:none}
.ks-compact-th .ks-compact-actions{min-height:62px;gap:3px}
.ks-compact-actions button:hover .ks-icon-asset{filter:brightness(1.08)}
.ks-compact-actions button:focus-visible{outline:2px solid #76B900!important;outline-offset:-2px}

/* P0⁹ Rich tables: existing 2 controls use the twelve real WebP assets, never duplicate nodes. */
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-heading{display:grid!important;grid-template-rows:minmax(40px,auto) 62px!important}
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-heading-actions{display:grid!important;grid-template-columns:1fr 1fr!important;min-height:62px!important}
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-eye,
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-sort{display:flex!important;align-items:center!important;justify-content:center!important;height:62px!important;background:transparent!important;border:0!important;overflow:hidden!important;padding:0!important}
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-eye{background:#f8fbf6!important}
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .kst-global-sort{background:#eaf2ff!important}
.kst-table-host table.ks-compact-head th.ks-rich-compact-th .ks-icon-asset{display:block!important;object-fit:contain!important;max-width:100%!important;width:100%!important;height:100%!important;max-height:62px!important}

/* P0⁹ — rich tables: the existing column toolbar is the hidden state owner,
   the column header eye is the only visible visibility control. */
.kst-table-host:has(table.ks-compact-head[data-ks-rich-compact-ready="1"]) > .kst-toolbar .kst-toolbar-title,
.kst-table-host:has(table.ks-compact-head[data-ks-rich-compact-ready="1"]) > .kst-toolbar .kst-columns,
.kst-table-host:has(table.ks-compact-head[data-ks-rich-compact-ready="1"]) > .kst-toolbar .kst-presets{
  display:none!important;visibility:hidden!important;
}
.kst-table-host:has(table.ks-compact-head[data-ks-rich-compact-ready="1"]) > .kst-toolbar{
  min-height:0!important;
}

/* KST owner-only icon layout: no secondary global header rendering */
th[data-kst-global-header="1"] .kst-global-heading{display:grid!important;grid-template-rows:minmax(36px,auto) 60px!important;overflow:hidden}
th[data-kst-global-header="1"] .kst-global-heading-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:3px}
th[data-kst-global-header="1"] .kst-global-heading-actions>.kst-global-eye,
th[data-kst-global-header="1"] .kst-global-heading-actions>.kst-global-sort{display:flex!important;align-items:center!important;justify-content:center!important;height:60px!important;padding:0!important;border:0!important;overflow:hidden!important}
th[data-kst-global-header="1"] .ks-icon-asset{display:block;width:100%;height:100%;max-height:60px;object-fit:contain;pointer-events:none}
.kst-table-host:has(th[data-kst-global-header="1"]) .kst-columns,
.kst-table-host:has(th[data-kst-global-header="1"]) .kst-presets{display:none!important}
