
/* CAPSTONE UI: reclaim content area after removing duplicate module title banners. */
.kmk-page-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.5rem; margin:0 0 .9rem; min-height:0; }
.kmk-page-actions .btn { margin:0 !important; }
.main-content > .content-body { padding-top:0; }
/* Footer script strips the header entirely; hide headings until then to avoid a flash. */
.main-content .page-header h1,
.main-content .page-header > h2,
.main-content .page-header p { display:none !important; }
.main-content .page-header { border:0 !important; margin:0 !important; padding:0 !important; }
/* Visible previous/next arrows across PHP and JS pagers. */
.pagination .kmk-pg-arrow { min-width:2.35rem; text-align:center; }
.pagination .kmk-pg-disabled { opacity:.45; cursor:default; }
/* Non-intrusive live-updates notice for users working on a form. */
.kmk-live-notice { position:fixed; right:1rem; bottom:1rem; z-index:500; max-width:min(360px,calc(100vw - 2rem)); padding:.9rem 1rem; background:#fff; color:#1e293b; border:1px solid #bfdbfe; border-radius:10px; box-shadow:0 7px 25px rgba(0,0,0,.16); font-size:.9rem; }
.kmk-live-notice button { margin-left:.65rem; padding:.35rem .65rem; border:0; border-radius:6px; background:#1565c0; color:#fff; cursor:pointer; }

/* No error-row spacing before the user has entered a value. */
.kmk-error-msg:empty, .field-error-msg:empty { display:none !important; }
