/* Align additive dashboard tools without moving DOM nodes or changing actions. */
#root header:has(> #performx-planner-shortcut) {
  display:grid;
  grid-template-columns:minmax(1rem,1fr) repeat(4,minmax(0,19.125rem)) minmax(1rem,1fr);
  column-gap:.5rem;
  row-gap:.5rem;
  padding-bottom:.75rem;
}
#root header:has(> #performx-planner-shortcut) > :first-child {
  grid-column:1 / -1;
  width:100%;
  box-sizing:border-box;
}
#root header:has(> #performx-planner-shortcut) > .w-full {
  grid-column:1 / -1;
}
#root header > #performx-planner-shortcut {grid-column:2;}
#root header > #performx-report-monitor {grid-column:3;}
#root header > #btwzt-cascading-shortcut {grid-column:4;}
#root header > #btwzt-journal-shortcut {grid-column:5;}
#root header > :is(#performx-planner-shortcut,#performx-report-monitor,#btwzt-cascading-shortcut,#btwzt-journal-shortcut) {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  font:inherit;
  align-self:stretch;
}
#root header > :is(#performx-planner-shortcut,#performx-report-monitor) {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.65rem .8rem;
  border:1px solid rgba(96,165,250,.28);
  border-radius:10px;
  background:rgba(59,130,246,.09);
  color:inherit;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  text-align:center;
  cursor:pointer;
  overflow-wrap:anywhere;
}
#root header > :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) {padding:0;}
#root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) > a {
  width:100%;
  height:100%;
  min-height:48px;
  padding:.65rem .8rem;
  border-radius:10px;
  justify-content:center;
}
#root header > :is(#performx-planner-shortcut,#performx-report-monitor):hover {background:rgba(59,130,246,.17);border-color:rgba(96,165,250,.6);}
#root header > :is(#performx-planner-shortcut,#performx-report-monitor):focus-visible {outline:3px solid #60a5fa;outline-offset:3px;}
#root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) .cascading-shortcut-copy,
#root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) .journal-shortcut-copy {min-width:0;}
@media(max-width:1023px) {
  #root header:has(> #performx-planner-shortcut) {grid-template-columns:.5rem minmax(0,1fr) minmax(0,1fr) .5rem;}
  #root header > #performx-planner-shortcut {grid-column:2;grid-row:3;}
  #root header > #performx-report-monitor {grid-column:3;grid-row:3;}
  #root header > #btwzt-cascading-shortcut {grid-column:2;grid-row:4;}
  #root header > #btwzt-journal-shortcut {grid-column:3;grid-row:4;}
}
@media(max-width:639px) {
  #root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) .cascading-shortcut-copy > span,
  #root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) .journal-shortcut-copy > span {display:none;}
  #root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) > a {gap:.45rem;padding:.6rem;}
  #root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) svg {flex-shrink:0;}
}
/* Keep the navigation row compact; accessible link labels retain descriptions. */
#root header #btwzt-cascading-shortcut .cascading-shortcut-copy > span,
#root header #btwzt-journal-shortcut > a > span > small {display:none;}
#root header :is(#btwzt-cascading-shortcut,#btwzt-journal-shortcut) > a {min-height:48px;}
