/* /Components/Pages/Outcomes.razor.rz.scp.css */
.outcome-actions[b-lmcufjm11e] { margin: 1rem 0; }
.outcome-table-wrap[b-lmcufjm11e] { max-width: 100%; overflow-x: auto; }
.outcome-table[b-lmcufjm11e] { border-collapse: collapse; font-size: .8rem; width: max-content; min-width: 100%; }
.outcome-table th[b-lmcufjm11e], .outcome-table td[b-lmcufjm11e] { border: 1px solid #777; padding: .3rem .45rem; text-align: center; }
.outcome-table thead th[b-lmcufjm11e] { vertical-align: bottom; }
.outcome-table thead th:first-child[b-lmcufjm11e] { min-width: 7rem; }
/* The original C1PrintDocument uses a 90-degree heading for each outcome. */
.outcome-table thead th.outcome-heading[b-lmcufjm11e] { height: 14rem; min-width: 2.6rem; width: 2.6rem; padding: .3rem; vertical-align: bottom; }
.outcome-heading span[b-lmcufjm11e] { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; white-space: normal; max-height: 13rem; }
.outcome-table tbody th[b-lmcufjm11e] { white-space: nowrap; text-align: left; }
.outcome-report-footer[b-lmcufjm11e] { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; font-size: .8rem; margin-top: 1rem; }
.outcome-report-footer span:last-child[b-lmcufjm11e] { text-align: center; }
@media print {
  .outcome-actions[b-lmcufjm11e] { display: none; }
  .outcome-table-wrap[b-lmcufjm11e] { overflow: visible; }
  .outcome-table[b-lmcufjm11e] { font-size: 7pt; width: 100%; }
  .outcome-table th[b-lmcufjm11e], .outcome-table td[b-lmcufjm11e] { padding: 2px; }
  .outcome-table thead[b-lmcufjm11e] { display: table-header-group; }
  .outcome-table tr[b-lmcufjm11e] { break-inside: avoid; }
  .outcome-table thead th.outcome-heading[b-lmcufjm11e] { height: 3.5cm; width: auto; min-width: 0; }
  .outcome-heading span[b-lmcufjm11e] { max-height: 3.3cm; }
  .outcome-report-footer[b-lmcufjm11e] { font-size: 7pt; }
  @page { size: A4 landscape; margin: 1cm; }
}

/* Stage 14: keep the month visible while scrolling across outcome categories. */
@media screen {
 .outcome-table-wrap[b-lmcufjm11e] { max-height:72vh; overflow:auto; border:1px solid #dbe2e8; border-radius:.4rem; overscroll-behavior:contain; background:white; }
 .outcome-table[b-lmcufjm11e] { border-collapse:separate; border-spacing:0; font-variant-numeric:tabular-nums; }
 .outcome-table thead th[b-lmcufjm11e] { position:sticky; top:0; z-index:3; background:#e8eff3; }
 .outcome-table thead th:first-child[b-lmcufjm11e] { position:sticky; left:0; z-index:5; background:#e8eff3; }
 .outcome-table tbody th:first-child[b-lmcufjm11e] { position:sticky; left:0; z-index:2; background:#e8eff3; box-shadow:1px 0 #dbe2e8; }
 .outcome-table tbody tr:hover td[b-lmcufjm11e] { background:#f3f8fb; }
}

/* Stage 15: compact, wrapped outcome headings on screen only.
   Keep the original vertically rotated print headings and report data intact. */
@media screen {
  .outcome-table-wrap[b-lmcufjm11e] {
    width: 100%;
    max-width: 100%;
    max-height: 72vh;
    overflow: auto;
  }
  .outcome-table[b-lmcufjm11e] {
    width: max-content;
    min-width: 100%;
    table-layout: fixed;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
  }
  .outcome-table th[b-lmcufjm11e], .outcome-table td[b-lmcufjm11e] {
    border-color: #dbe2e8;
    padding: .5rem .35rem;
    text-align: center;
  }
  .outcome-table thead th.outcome-heading[b-lmcufjm11e] {
    height: auto;
    min-width: 6.5rem;
    width: 7.5rem;
    max-width: 7.5rem;
    padding: .6rem .35rem;
    vertical-align: middle;
    line-height: 1.25;
    font-size: .82rem;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .outcome-heading span[b-lmcufjm11e] {
    display: block;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    white-space: normal;
    max-height: none;
  }
  .outcome-table thead th:first-child[b-lmcufjm11e],
  .outcome-table tbody th:first-child[b-lmcufjm11e] {
    width: 8rem;
    min-width: 8rem;
    max-width: 8rem;
    box-sizing: border-box;
  }
  .outcome-table tbody td[b-lmcufjm11e] { min-width: 6.5rem; }
  .outcome-table tbody tr:nth-child(even) td[b-lmcufjm11e] { background: #f8fafc; }
  .outcome-table tbody tr:hover td[b-lmcufjm11e] { background: #edf5fa; }
}

/* Stage 16: fixed row labels and column headers, smaller report typography. */
.outcome-report-heading[b-lmcufjm11e] { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.outcome-report-heading h1[b-lmcufjm11e] { margin:0; }
.outcome-print-button[b-lmcufjm11e] { flex:none; }
@media screen {
  .outcome-table-wrap[b-lmcufjm11e] { position:relative; isolation:isolate; overflow:auto; }
  .outcome-table[b-lmcufjm11e] { border-collapse:separate; border-spacing:0; font-size:.82rem; }
  .outcome-table th[b-lmcufjm11e], .outcome-table td[b-lmcufjm11e] { padding:.36rem .3rem; }
  .outcome-table thead th[b-lmcufjm11e] { position:sticky; top:0; z-index:4; background:#e8eff3; background-clip:padding-box; }
  .outcome-table tbody th:first-child[b-lmcufjm11e] { position:sticky; left:0; z-index:3; background:#e8eff3; background-clip:padding-box; box-shadow:1px 0 #cbd6df; white-space:nowrap; }
  .outcome-table thead th:first-child[b-lmcufjm11e] { position:sticky; top:0; left:0; z-index:6; background:#e8eff3; box-shadow:1px 1px #cbd6df; }
  .outcome-table thead th.outcome-heading[b-lmcufjm11e] { font-size:.76rem; line-height:1.2; padding:.45rem .3rem; }
  .outcome-table tbody td[b-lmcufjm11e] { font-size:.82rem; }
}
@media(max-width:650px) { .outcome-report-heading[b-lmcufjm11e] { flex-wrap:wrap; } }
@media print { .outcome-print-button[b-lmcufjm11e] { display:none; } .outcome-report-heading[b-lmcufjm11e] { display:block; } }

/* Compact screen columns: preserve frozen month/header cells and print layout. */
@media screen {
  .outcome-table[b-lmcufjm11e] { width:max-content; min-width:100%; table-layout:fixed; }
  .outcome-table th[b-lmcufjm11e], .outcome-table td[b-lmcufjm11e] { text-align:center; }
  .outcome-table thead th.outcome-heading[b-lmcufjm11e] { width:5.5rem; min-width:5.5rem; max-width:5.5rem; padding:.45rem .2rem; overflow-wrap:anywhere; word-break:normal; }
  .outcome-table tbody td[b-lmcufjm11e] { width:5.5rem; min-width:5.5rem; max-width:5.5rem; box-sizing:border-box; padding:.32rem .2rem; text-align:center; }
  .outcome-table thead th:first-child[b-lmcufjm11e],
  .outcome-table tbody th:first-child[b-lmcufjm11e] { width:6.2rem; min-width:6.2rem; max-width:6.2rem; padding:.32rem .25rem; box-sizing:border-box; }
  .outcome-table tbody th:first-child[b-lmcufjm11e] { text-align:left; }
}
