/* Compact only the five selected content canvases; shared navigation stays consistent. */
body[data-page-density="compact"] main {
  width: 100%;
  margin-inline: auto;
  zoom: 0.9;
}
body[data-page-density="compact"] main > section {
  min-height: 0 !important;
}
@media (min-width: 768px) and (max-width: 1099px) {
  body[data-page-density="compact"] main {
    zoom: 0.95;
  }
}
@media (max-width: 767px) {
  /* Keep phone text and form controls readable; compact the vertical spacing instead. */
  body[data-page-density="compact"] main {
    zoom: 1;
  }
  body[data-page-density="compact"] main > section {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }
}
@media print {
  body[data-page-density="compact"] main {
    zoom: 1;
  }
}
