.r8-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.r8-tabs button{flex:1 1 10rem;min-height:44px;white-space:normal}.r8-tabs [aria-pressed=true]{color:var(--portal-accent,#a62878);background:var(--portal-accent-soft,#f4e7f0);border-color:var(--portal-accent,#a62878)}
.r8-route-list{display:grid;gap:1rem;margin:1rem 0}.r8-step{min-width:0;border:1px solid var(--line,#dce3ec);border-radius:1rem;background:var(--surface,#fff);margin-bottom:1rem}.r8-step summary{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:1rem;cursor:pointer;min-height:48px}.r8-step summary strong{flex:1 1 12rem;overflow-wrap:anywhere}.r8-step summary:after{content:'⌄';font-size:1.3em}.r8-step[open] summary:after{content:'⌃'}.r8-step summary:focus-visible{outline:2px solid #a62878;outline-offset:2px}.r8-step-number{display:grid;place-items:center;flex:0 0 2rem;height:2rem;border-radius:50%;background:#f4e7f0;color:#a62878;font-weight:800}.r8-step-body{padding:0 1rem 1rem}.r8-step-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:1rem}.r8-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem;margin:1rem 0}.r8-assignment{min-width:0;padding:1rem;border:1px solid var(--line,#dce3ec);border-radius:1rem;display:grid;gap:.75rem;align-content:start}.r8-assignment h3,.r8-assignment p{margin:0}.r8-check{display:flex;align-items:center;gap:.6rem;min-height:44px;overflow-wrap:anywhere}.r8-check input{width:1.15rem!important;min-width:1.15rem;height:1.15rem!important;flex-shrink:0}.r8-save-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 0}.r8-save-bar button{min-height:48px}.icon-remove{color:#b42338!important;min-width:44px!important;width:44px;min-height:44px;padding:.3rem!important;font-size:1.4em!important;line-height:1!important;background:transparent!important;box-shadow:none!important}.items-table td:has(.icon-remove){width:3rem}.items-table select[data-item=taxTreatment]{min-width:7.4rem}.r8-override{border-color:#b42338}.r8-override summary{color:#b42338}.r8-action-card{border-left:4px solid #a62878}.r8-action-card .footer-actions form{min-width:0;max-width:100%}.r8-action-card textarea{width:100%}.r8-voucher-steps{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0}.r8-voucher-steps li{flex:1 1 10rem;border:1px solid var(--line,#dce3ec);padding:.8rem;border-radius:.75rem;overflow-wrap:anywhere}.r8-voucher-steps li[data-status=pending]{border-color:#a62878;background:var(--portal-accent-soft,#f4e7f0)}.r8-voucher-steps small{display:block}.r8-step .grid>*{min-width:0}#officialWorkflowForm select,#officialWorkflowForm input{width:100%;max-width:100%}#officialWorkflowForm [hidden]{display:none!important}@media(max-width:600px){.r8-step-body .grid{grid-template-columns:minmax(0,1fr)}.r8-save-bar button{width:100%}.r8-step summary .pill{white-space:normal;max-width:100%}}
.r8-edit-table{width:100%;min-width:58rem;table-layout:fixed}.r8-edit-table th,.r8-edit-table td{vertical-align:top;padding:.65rem}.r8-edit-table :is(input,select,textarea){min-width:0!important;width:100%;max-width:100%}.r8-edit-table th:nth-child(1){width:16%}.r8-edit-table th:nth-child(2){width:20%}.r8-edit-table th:nth-child(3){width:7%}.r8-edit-table th:nth-child(4){width:16%}.r8-edit-table th:nth-child(5){width:9%}.r8-edit-table th:nth-child(6){width:12%}.r8-edit-table th:nth-child(7){width:14%}.r8-edit-table th:nth-child(8){width:6%}.r8-edit-table textarea{min-height:5rem}#purchaseEditBudgets [hidden],#purchaseEditRows [hidden]{display:none!important}#purchaseEditBudgets h3{overflow-wrap:anywhere}
.r8-edit-table .icon-remove{border:1px solid currentColor;border-radius:.5rem;cursor:pointer}.r8-assignment [data-funding-coding]{display:grid;gap:.65rem;min-width:0}.r8-assignment [data-funding-coding] :is(input,select,textarea){width:100%;min-width:0;max-width:100%}
/* Read-only financial records keep readable columns inside their own scroll area. */
@media screen{
  .table-wrap .purchase-record-table{min-width:52rem;table-layout:auto}
  .purchase-record-table th,.purchase-record-table td{vertical-align:top}
  .purchase-record-table th{white-space:nowrap}
  .purchase-record-table td:first-child{min-width:12rem;max-width:24rem}
  .purchase-record-table td{word-break:normal;overflow-wrap:anywhere}
  .purchase-item-table td:nth-child(n+2):nth-child(-n+5),.purchase-signature-table td:nth-child(2),.purchase-signature-table td:nth-child(5),.voucher-history-table td:nth-child(3){white-space:nowrap}
  .purchase-item-table td:nth-child(n+6){min-width:7rem;max-width:16rem}
  .purchase-signature-table td:nth-child(3){min-width:7rem}
  .purchase-signature-table td:nth-child(4){min-width:11rem;max-width:20rem}
  .purchase-signature-table td:nth-child(6){min-width:9rem}
  .voucher-history-table td:nth-child(2){min-width:10rem;max-width:18rem}
  .voucher-history-table td:nth-child(4){min-width:12rem;max-width:20rem}
  .voucher-history-table td:nth-child(5){min-width:12rem;max-width:24rem}
}
