/* Override the legacy :last-child rule only for the departures tile. */
html body #root .admin-portfolio-unified-metrics > .portfolio-departures-card {
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
}
html body #root .portfolio-departures-card .portfolio-departures-open {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8794;
  font: inherit;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.portfolio-departures-open:focus-visible { outline: 2px solid #12a89c; outline-offset: 3px; }
html body #root dialog.portfolio-departures-dialog {
  margin: auto;
  padding: 24px;
  width: min(640px, calc(100vw - 32px));
  max-height: 80vh;
  overflow: auto;
  border: 1px solid #cddedb;
  border-radius: 16px;
  background: white;
  color: #17212b;
  box-shadow: 0 18px 50px #17212b30;
}
.portfolio-departures-dialog::backdrop { background: #17212b66; }
.portfolio-departures-dialog h2 { font-size: 20px; margin: 0; }
.portfolio-departures-dialog ul { list-style: none; margin: 12px 0; padding: 0; }
.portfolio-departures-dialog li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
