/* BilgiKesfi v144 — WhatsApp OG + page background + compact admin logo. */
/* Scrolling on Android must not uncover a white root canvas. */
html { min-height:100%; background-color:#eef2f7; }
body { min-height:100vh; min-height:100dvh; }
/* Removing fixed background prevents delayed/compositor repaint on mobile Chrome. */
body:not(.dark-theme) {
  background:linear-gradient(145deg,#eaf0f5,#f9fafb 65%,#f2f6f8) !important;
  background-attachment:scroll !important;
}
html:has(body.dark-theme) { background-color:#0d1728 !important; }
body.dark-theme { background:#0d1728 !important; background-attachment:scroll !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
/* Sidebar only. The logo stays in its original navy design, without an oversized heading. */
#sidebar .bnx-sidebar-brand {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap:2px; margin:0 6px 10px; padding:2px 0 8px;
  min-height:0; width:calc(100% - 12px); line-height:1; letter-spacing:normal;
}
#sidebar .bnx-sidebar-brand img {
  display:block; width:100%; max-width:180px; height:auto; max-height:65px;
  object-fit:contain; object-position:left center; flex:none;
}
#sidebar .bnx-sidebar-caption {
  display:block; font-size:10px; line-height:1.3; letter-spacing:.15px;
  color:#9cafca; font-weight:500; padding-left:4px;
}
@media (min-width:901px) {
  #sidebar .bnx-sidebar-brand img {max-width:182px;}
}
