/* [AUTOMATED_WORKER] Annual attendance ledger presentation only. */
.app-shell.tm-ui-full .personal-attendance-ledger-grid {
  width:auto;
}
.app-shell.tm-ui-full .personal-attendance-ledger-grid table {
  border-collapse:separate;
  border-spacing:0;
}
.app-shell.tm-ui-full .personal-attendance-ledger-grid thead th:last-child {
  right:0;
  z-index:4;
}

@media (max-width:920px) {
  /* The panel already supplies its gutter. A 100% scroll box plus the retained
     18px side margins overfilled its content area and consumed its right gutter. */
  .app-shell.tm-ui-full .personal-attendance-ledger-head {
    padding:0;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-head > div {
    min-width:0;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-summary,
  .app-shell.tm-ui-full .personal-attendance-ledger-note {
    margin-inline:0;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-summary > span {
    min-width:0;
    overflow-wrap:anywhere;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-grid {
    width:auto;
    min-width:0;
    margin-inline:0;
    scroll-padding-left:6rem;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-grid thead th:first-child,
  .app-shell.tm-ui-full .personal-attendance-ledger-grid tbody th {
    width:6rem;
    min-width:6rem;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-grid tbody th button {
    padding-inline:.125rem;
    font-size:inherit;
    white-space:normal;
  }
  .app-shell.tm-ui-full.tm-ui-full-large .personal-attendance-ledger-grid tbody th button {
    font-size:1.125rem;
  }
  /* Month labels stay beside each row. Totals travel with their own header,
     leaving the day columns readable across the phone's remaining width. */
  .app-shell.tm-ui-full .personal-attendance-ledger-grid td.month-total {
    position:static;
    right:auto;
    z-index:auto;
  }
  .app-shell.tm-ui-full .personal-attendance-ledger-grid thead th:last-child {
    right:auto;
    z-index:3;
  }
}
