/* Partner-first EUR allocation form. Scope deliberately excludes the app shell and print receipts. */
@media screen {
 #billingBatchScreen{font:12px Arial,sans-serif;color:#222;padding:6px 12px 12px;background:#f0f0f0;box-sizing:border-box;min-width:0}
 #billingBatchScreen :is(input,select,button,summary){font:12px Arial,sans-serif}
 #billingBatchScreen :is(input,select,button):focus-visible{outline:2px solid #3179f2;outline-offset:1px}
 #billingBatchScreen .billingBatchHeading{position:relative;display:flex;align-items:center;justify-content:center;min-height:41px;border-bottom:1px solid #bbb;margin:0 0 6px}
 #billingBatchTitle{font:400 28px/1.2 Arial,sans-serif;margin:0 90px 7px;text-align:center}
 #billingBatchMode{position:absolute;right:4px;bottom:9px;color:#3596b5;font-size:14px}
 #billingBatchScreen .billingBatchRecovery{display:flex;justify-content:flex-end;align-items:center;gap:7px;min-height:28px;margin:0 0 6px}
 #billingBatchStatus{flex:1;margin:0;font-size:11px;color:#555}
 #billingBatchForm{display:flex;flex-direction:column;min-height:calc(100dvh - 142px);margin:0}
 #billingBatchFields{display:flex;flex-direction:column;flex:1;min-width:0;padding:0;margin:0;border:0}
 #billingBatchScreen .billingBatchAccessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #billingBatchScreen .billingBatchHeader{display:grid;grid-template-columns:minmax(250px,1fr) minmax(240px,1fr) minmax(260px,1fr);gap:32px;align-items:start;margin:0 0 20px;min-height:139px}
 #billingBatchScreen .billingBatchColumn{display:grid;grid-template-columns:80px minmax(0,1fr);gap:3px 5px;align-items:center}
 #billingBatchScreen .billingBatchColumn>:is(label,span){line-height:1.2;margin:0;white-space:nowrap}
 #billingBatchScreen .billingBatchColumn :is(input,select){height:25px;width:100%;min-width:0;padding:2px 6px;border:1px solid #bdc0c6;border-radius:2px;box-sizing:border-box;background:#fff;color:#222}
 #billingBatchScreen .billingBatchColumn input:read-only{background:#f7f7f8}
 #billingBatchScreen .billingBatchColumn>output{min-height:22px;padding:2px 6px;box-sizing:border-box;overflow-wrap:anywhere}
 #billingBatchScreen .billingBatchGrid{flex:1;overflow:auto;min-height:280px;background:#fff;border:1px solid #c7c7ce}
 #billingBatchScreen .billingBatchGrid table{border-collapse:collapse;margin:0;width:100%;min-width:1010px;table-layout:auto;font-size:12px}
 #billingBatchScreen .billingBatchGrid :is(th,td){border:1px solid #d1d1d8;height:30px;padding:3px 6px;box-sizing:border-box;text-align:left;font-weight:400}
 #billingBatchScreen .billingBatchGrid th{position:sticky;top:0;background:#e8e8ed;white-space:nowrap;z-index:1}
 #billingBatchScreen .billingBatchGrid th:nth-child(4){min-width:145px}
 #billingBatchScreen .billingBatchGrid td:nth-child(n+6){text-align:right;font-variant-numeric:tabular-nums}
 #billingBatchScreen .billingBatchGrid tbody tr:nth-child(even){background:#f6f6f8}
 #billingBatchScreen .billingBatchGrid input{width:104px;min-width:70px;height:25px;box-sizing:border-box;text-align:right;border:1px solid #bfc3cc;border-radius:0;background:#fff;padding:2px 5px}
 #billingBatchScreen .billingBatchGrid input:disabled{background:transparent;border-color:transparent;color:#333;opacity:1}
 #billingBatchEmpty{margin:12px;color:#666;font-size:12px}
 #billingBatchEmpty:empty{display:none}
 #billingBatchScreen .billingBatchFooter{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;border-top:1px solid #bbb;padding:8px 0 4px}
 #billingBatchScreen .billingBatchFooter>button{justify-self:start}
 #billingBatchScreen .billingBatchFooter>div{display:flex;gap:8px}
 #billingBatchTotal{justify-self:end;font-size:16px;font-variant-numeric:tabular-nums}
 #billingBatchScreen :is(.ghost,.action,.danger){min-height:27px;border-radius:2px;padding:4px 10px;font-weight:400;box-shadow:none}
 #billingBatchTotals,#billingBatchScreen .billingBatchScope{font-size:11px;color:#62626a;margin:4px 0}
 #billingBatchHistoryPanel{margin-top:14px;border-top:1px solid #ccc;padding-top:7px}
 #billingBatchHistoryPanel>summary{cursor:pointer;padding:5px 0}
 #billingBatchHistoryPanel .table{background:#fff;font-size:12px}
 #billingBatchHistoryPanel .table th{background:#e8e8ed;font-weight:400}
 #billingBatchCancelForm{border:1px solid #b42318;padding:12px;background:#fff;margin-top:10px}
 #billingBatchHistoryStatus{font-size:11px;color:#666}
}
