/* MUKLAWA_UI_POLISH_V261: visual-only, no changes to authorization, routing, forms */
:root{--muklawa-rose:#e86a9e;--muklawa-sidebar:#260815;--muklawa-white:#fff}
/* Clear, high-contrast headings on every dark branded banner */
.mlpro-hero h1,.mlpro-hero h2,.mlpro-hero h3,
.crm24-hero h1,.crm24-hero h2,.crm24-hero h3,
.c26-hero h1,.c26-hero h2,.c26-hero h3{
  color:#fff!important;text-shadow:none!important;opacity:1!important;
}
.mlpro-hero p,.crm24-hero p,.c26-hero p{color:#f5e9ef!important}
.mlpro-overline,.crm24-eyebrow{color:#ffd0e0!important}
/* Sidebar: independent vertical scrolling, clear links and accessible focus */
@media (min-width:769px){
  .app>.sidebar{height:100vh!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#98546e #2a0b1c}
}
.app>.sidebar{box-sizing:border-box}
.app>.sidebar .brand{color:#fff}
.app>.sidebar .brand b{color:#fff!important}
.app>.sidebar .brand small{color:#e1b9ca!important}
.app>.sidebar nav{display:flex;flex-direction:column;gap:3px}
.app>.sidebar nav a,.app>.sidebar .logout{display:block;box-sizing:border-box;color:#f4e8ed!important;text-decoration:none!important;border-radius:10px;line-height:1.45;transition:background-color .15s ease,color .15s ease}
.app>.sidebar nav a:hover,.app>.sidebar .logout:hover{background:#572038!important;color:#fff!important}
.app>.sidebar nav a.active{background:#63233e!important;color:#fff!important;font-weight:700!important;box-shadow:inset 3px 0 0 var(--muklawa-rose)}
.app>.sidebar nav a:focus-visible,.app>.sidebar .logout:focus-visible{outline:2px solid #ffc5dc;outline-offset:2px}
/* Card heading ink stays legible on white surfaces */
.mlpro-stat strong,.mlpro-results-head h3,.crm24-panel h3{color:#182a40}
/* Layout scales without horizontal overflow on narrow screens */
.app>main,.content{min-width:0}
@media (max-width:768px){
  .app>.sidebar{max-height:none;overflow-y:visible}
  .app>.sidebar nav{gap:2px}
  .mlpro-hero,.crm24-hero,.c26-hero{gap:12px}
  .mlpro-hero h2,.crm24-hero h2,.c26-hero h2{color:#fff!important}
}
