/* ── Past rows divider + expand/collapse ── */
.past-divider-row td {
    padding: 4px 8px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 3px solid #2e7d32 !important;
    border-bottom: none !important;
    background: #f0f8f0 !important;
    text-align: center;
}

.past-divider-btn {
    background: none;
    border: 2px solid #2e7d32;
    border-radius: 999px;
    color: #2e7d32;
    font-size: .8rem;
    font-weight: 700;
    padding: 3px 16px;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .15s, color .15s;
}

.past-divider-btn:hover {
    background: #2e7d32;
    color: #fff;
}

.past-divider-arrow {
    display: inline-block;
    font-size: .7rem;
    transition: transform .2s;
}

/* Dim past rows */
tr.past-row {
    transition: opacity .15s;
}

@media print {
    .past-divider-row { display: none !important; }
    tr.past-row {
        display: table-row !important;
        opacity: 1 !important;
        font-style: normal !important;
    }
}

/* Agency column narrower */
    th.col-agency,
    td.col-agency {
      width: 90px;
      max-width: 90px;
      white-space: normal;
      word-break: break-word;
    }

    /* Narrow nominations due column (Local Courses only) */
    th.col-nomdue,
    td.col-nomdue {
      width: 100px;
      max-width: 100px;
      white-space: normal;
      word-break: break-word;
    }

    /* Print: center content only */
    @media print {
      @page { margin: 12mm; }
      body * { visibility: hidden; }
      .main-content, .main-content * { visibility: visible; }
      .main-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
      }
      header,
      .under-bar,
      .left-sidebar,
      .right-sidebar,
      footer,
      .no-print {
        display: none !important;
      }
      .table {
        font-size: 12px;
      }
    }
