/* BAFF OS v1.6.35.36 — Business Dashboard permanent readability correction. */

/* Keep the dashboard inside the available page width. */
html body .baff-command-dashboard{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
}
html body .baff-command-dashboard .command-grid,
html body .baff-command-dashboard .command-panel,
html body .baff-command-dashboard .attention-list,
html body .baff-command-dashboard .command-actions{
  min-width:0!important;
}
html body .baff-command-dashboard .command-grid-secondary{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Section identity and headings. */
html body .baff-command-dashboard .panel-heading span{
  color:#f1c75b!important;
  font-size:.76rem!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
  opacity:1!important;
}
html body .baff-command-dashboard .panel-heading h2{
  font-size:1.48rem!important;
  font-weight:800!important;
  line-height:1.25!important;
  opacity:1!important;
}
html body .baff-command-dashboard .panel-heading>small{
  background:#173f33!important;
  color:#f6d77f!important;
  border:1px solid rgba(241,199,91,.28)!important;
  font-size:.82rem!important;
  font-weight:900!important;
  opacity:1!important;
}

/* Dark and system-theme panels: all primary copy remains bright and readable. */
html[data-theme="night"] body .baff-command-dashboard .command-panel,
html[data-theme="system"] body .baff-command-dashboard .command-panel{
  color:#f7fbf9!important;
  background:linear-gradient(145deg,#0c2c22,#0a261e)!important;
}
html[data-theme="night"] body .baff-command-dashboard .panel-heading h2,
html[data-theme="system"] body .baff-command-dashboard .panel-heading h2,
html[data-theme="night"] body .baff-command-dashboard .command-empty b,
html[data-theme="system"] body .baff-command-dashboard .command-empty b{
  color:#fffdf5!important;
}

/* Empty product-ranking state. */
html[data-theme="night"] body .baff-command-dashboard .command-empty,
html[data-theme="system"] body .baff-command-dashboard .command-empty{
  background:#10382c!important;
  border:2px dashed #9fbeb2!important;
  color:#d8e8e2!important;
}
html body .baff-command-dashboard .command-empty b{
  font-size:1.05rem!important;
  font-weight:900!important;
  opacity:1!important;
}
html body .baff-command-dashboard .command-empty span{
  font-size:.98rem!important;
  line-height:1.55!important;
  opacity:1!important;
}

/* Management Attention cards use a dark luxury surface with clear hierarchy. */
html body .baff-command-dashboard .attention-list>a,
html[data-theme="night"] body .baff-command-dashboard .attention-list>a,
html[data-theme="system"] body .baff-command-dashboard .attention-list>a{
  background:linear-gradient(110deg,#123a2f,#0e3127)!important;
  border:1px solid rgba(241,199,91,.48)!important;
  color:#f7fbf9!important;
  box-shadow:0 6px 16px rgba(0,25,19,.16)!important;
}
html body .baff-command-dashboard .attention-list>a strong{
  color:#fffdf5!important;
  font-size:1rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  opacity:1!important;
}
html body .baff-command-dashboard .attention-list>a small{
  color:#c4d9d1!important;
  font-size:.9rem!important;
  line-height:1.4!important;
  opacity:1!important;
}
html body .baff-command-dashboard .attention-list>a>b{
  color:#f1c75b!important;
  font-size:1.25rem!important;
  opacity:1!important;
}
html body .baff-command-dashboard .attention-list>a:hover,
html body .baff-command-dashboard .attention-list>a:focus-visible{
  background:linear-gradient(110deg,#18513f,#114031)!important;
  border-color:#f1c75b!important;
  transform:translateY(-1px)!important;
}

/* Quick Decisions remain readable in every theme. */
html[data-theme="night"] body .baff-command-dashboard .command-actions a,
html[data-theme="system"] body .baff-command-dashboard .command-actions a{
  background:#12372c!important;
  border-color:#426b5e!important;
  color:#fffdf5!important;
}
html[data-theme="night"] body .baff-command-dashboard .command-actions a strong,
html[data-theme="system"] body .baff-command-dashboard .command-actions a strong{
  color:#fffdf5!important;
}
html[data-theme="night"] body .baff-command-dashboard .command-actions a span,
html[data-theme="system"] body .baff-command-dashboard .command-actions a span{
  color:#f1c75b!important;
}

@media(max-width:1500px){
  html body .baff-command-dashboard .command-grid-secondary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .baff-command-dashboard .quick-panel{grid-column:1/-1!important}
}
@media(max-width:900px){
  html body .baff-command-dashboard .command-grid-secondary{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body .baff-command-dashboard .quick-panel{grid-column:auto!important}
}

