.batch-controls{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:20px}.batch-controls .field{flex:1;min-width:150px}.batch-controls .check-label{min-height:40px}.batch-steps{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.batch-steps button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:13px 0;display:flex;align-items:center;gap:10px}.batch-steps button.active{color:var(--blue);border-color:var(--blue)}.batch-steps span{display:grid;place-items:center;min-width:23px;height:23px;border-radius:6px;background:#ebedf1;font-size:11px}.batch-project-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.batch-card-check{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted);margin-bottom:17px;cursor:pointer}.batch-card-check input,.batch-ledger .checkbox{width:19px;height:19px}.batch-project-card .card-metrics{grid-template-columns:1fr 1fr;margin-top:22px}.batch-project-card .card-metrics>div:last-child{grid-column:auto}.batch-project-chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.batch-project-chips .person-chip{display:flex;align-items:center;gap:12px;font-size:11px;white-space:normal}.batch-project-chips button{border:0;background:transparent;color:var(--muted);font-size:19px;padding:0 2px}.batch-ledger th:first-child,.batch-ledger td:first-child{width:45px}.batch-ledger td{vertical-align:top}.batch-ledger .project-row-label{color:var(--blue);margin-bottom:8px}.batch-ledger .selected-row{background:#f5f9ff}.receipt-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.receipt-actions .text-button,.receipt-actions .receipt-link{font-size:12px;padding:2px 0}.receipt-thumb{display:block;width:54px;height:48px;background:white;border:1px solid var(--line);border-radius:6px;padding:2px;margin-top:9px;overflow:hidden}.receipt-thumb img{width:100%;height:100%;object-fit:cover}.warning-text{color:var(--amber);font-size:11px}.ready-text{font-size:11px;color:var(--green)}.batch-selection-bar{position:sticky;bottom:18px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 8px 30px rgba(20,25,40,.07);padding:17px 20px;margin-top:26px}.batch-selection-bar>div:first-child{display:flex;flex-direction:column;gap:4px}.batch-selection-bar strong{font-size:13px}.batch-selection-bar span{font-size:12px;color:var(--muted)}.batch-selection-bar b{font-size:22px;color:var(--ink);font-weight:650;margin-left:9px}.batch-selection-bar small{color:var(--amber);font-size:11px}.source-files{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:15px 18px;font-size:12px;margin-top:18px}.source-files summary{cursor:pointer}.source-files-list{display:flex;flex-direction:column;gap:11px;margin-top:12px;overflow-wrap:anywhere}.source-files-list a{display:flex;justify-content:space-between;gap:15px}.source-files-list small{color:var(--muted)}a.button{text-decoration:none}.bill-project-subtotal{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.bill-project-subtotal strong{white-space:nowrap}.bill-requirements{display:flex;flex-direction:column;gap:10px;margin:18px 0}.source-files .source-files-list a{white-space:normal}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.import-preview .ledger{min-width:720px}.import-preview select{max-width:180px}.import-preview .field-grid{margin-bottom:18px}
@media(max-width:640px){.batch-controls{gap:12px;padding:15px}.batch-controls .field{min-width:130px}.batch-controls .field:first-child{flex-basis:100%}.batch-controls .check-label{flex-basis:100%}.batch-selection-bar{bottom:83px;padding:14px;flex-wrap:wrap;gap:12px}.batch-selection-bar .button-group{width:100%;display:grid;grid-template-columns:1fr 1fr}.batch-selection-bar>.button{width:100%}.batch-selection-bar .button{padding:10px 8px;font-size:12px;white-space:normal}.batch-steps{gap:20px;font-size:12px}.batch-project-card .card-metrics .metric-value{font-size:23px}.batch-ledger{min-width:720px}.batch-ledger td{padding:15px 12px}.receipt-thumb{width:48px;height:44px}.page-heading .button-group{width:100%}.source-files-list a{flex-wrap:wrap}.batch-project-chips .person-chip{font-size:10px}.report-actions .button{font-size:11px}.batch-selection-bar b{font-size:21px}}
@media print{.batch-selection-bar,.batch-controls,.batch-steps,.source-files{display:none}.bill-project-subtotal{break-inside:avoid}}
.button[aria-disabled="true"]{opacity:.45;pointer-events:none;cursor:default}
.receipt-note{font-size:11px;line-height:1.6;color:var(--muted);max-width:260px;margin-top:10px}.receipt-note p{white-space:pre-line;margin:8px 0}.receipt-note summary{cursor:pointer;color:#94662b}
.batch-toolbar{flex-wrap:wrap;align-items:center}.batch-toolbar .button-group{align-items:center}.batch-status-filter{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}.batch-status-filter select{border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);padding:9px 30px 9px 11px;min-height:40px}.batch-ledger{min-width:1080px}.batch-ledger th:nth-child(2){min-width:240px}.batch-ledger th.num{min-width:100px}.batch-ledger th:nth-child(6),.batch-ledger th:nth-child(7){min-width:120px}.batch-ledger td.num{font-variant-numeric:tabular-nums;white-space:nowrap}.batch-ledger .expense-state{display:block;margin-top:10px}.batch-operation{min-width:155px;max-width:200px}.batch-operation .warning-text,.batch-operation .document-empty{line-height:1.6}.document-empty{color:var(--muted);font-size:11px}.amount-unknown{font-size:13px;color:var(--muted)}.batch-ledger .receipt-note{max-width:190px}.batch-selection-bar{padding-bottom:max(17px,env(safe-area-inset-bottom))}.batch-project-card .metric-note{min-height:32px;line-height:1.55}.batch-project-card .card-meta{line-height:1.7}
@media(max-width:640px){.batch-toolbar .search-box{width:100%}.batch-toolbar .button-group{gap:12px}.batch-toolbar .check-label{flex-basis:100%}.batch-status-filter select{min-height:40px}.batch-selection-bar{padding-bottom:max(14px,env(safe-area-inset-bottom))}.batch-ledger{min-width:1080px}}
.batch-status-filter-group{display:flex;flex-direction:column;gap:5px}.batch-status-filter-group>small{color:var(--muted);font-size:11px}.batch-ledger{min-width:1280px}.batch-operation{min-width:175px;max-width:220px}.batch-operation .button{white-space:nowrap;font-size:12px;padding:8px 12px;min-height:36px}.file-downloads{font-size:11px;color:var(--muted);margin-top:9px}.file-downloads summary{cursor:pointer}.file-downloads a{display:block;overflow-wrap:anywhere;white-space:normal;margin-top:7px}.company-proof-cell{min-width:130px;max-width:190px}.company-proof-file{display:flex;flex-direction:column;gap:5px;font-size:11px}.company-proof-file>a:first-child{display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere;white-space:normal}.company-proof-file img{width:64px;height:50px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.company-proof-cell button small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.cost-completion{border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:17px}.cost-completion .check-label{font-weight:600;align-items:flex-start;color:var(--ink)}.cost-completion p{font-size:12px;line-height:1.65;color:var(--muted);margin:10px 0 6px}.selected-upload-files{display:flex;flex-direction:column;gap:8px;margin-top:12px;font-size:12px}.selected-upload-files span{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.selected-upload-files strong{font-weight:500;color:var(--blue)}.reimbursement-proof{margin-top:18px}.metric-value.green{color:var(--green)}.metric-value.amber{color:var(--amber)}.metric-value.danger{color:#b42318}
.batch-project-card .batch-card-check{pointer-events:auto}.batch-selection-bar small{max-width:58ch;line-height:1.6}.field input[aria-invalid="true"]{border-color:#b42318}.batch-project-card .project-title{cursor:inherit}
.expense-list{display:flex;flex-direction:column;gap:16px;min-width:0}.expense-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:20px;min-width:0}.expense-card.selected{border-color:var(--blue);background:#f8fbff}.expense-card-head{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(110px,170px);align-items:start;gap:16px}.expense-card-check{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;color:var(--muted);padding:5px 0;cursor:pointer}.expense-card-check .checkbox{width:19px;height:19px}.expense-card-title{display:flex;flex-direction:column;gap:7px;min-width:0}.expense-card-title .project-row-label{color:var(--blue);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.expense-card-title .row-title{font-size:15px;font-weight:600;text-align:left;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.expense-card-title>small:last-child{color:var(--muted);font-size:11px;line-height:1.5}.expense-card-total{display:flex;flex-direction:column;align-items:flex-end;gap:7px;text-align:right;min-width:0}.expense-card-total>span:first-child{font-size:11px;color:var(--muted)}.expense-card-total>strong{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}.expense-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;border-top:1px solid var(--line);margin:17px 0 0;padding-top:16px}.expense-amounts dt{font-size:11px;color:var(--muted);margin-bottom:7px}.expense-amounts dd{margin:0;min-width:0}.expense-amounts strong{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.expense-amounts .amount-unknown{font-size:14px;font-weight:500}.expense-amounts small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px}.expense-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:17px}.expense-actions .button-group{max-width:100%;flex-wrap:wrap}.expense-actions .button{white-space:normal;max-width:100%;text-align:center}.expense-fact{font-size:12px;color:var(--muted);line-height:1.6}.expense-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.expense-document{min-width:0;background:var(--bg);border-radius:10px;padding:13px 14px}.expense-document h3{font-size:12px;font-weight:600;line-height:1.6;margin-bottom:9px}.expense-document .document-actions{flex-direction:row;gap:8px 12px;flex-wrap:wrap;align-items:center}.expense-document .receipt-actions{max-width:100%;min-width:0}.expense-document .company-proof-cell{max-width:none;width:100%}.expense-document .file-downloads{margin-top:7px;max-width:100%;overflow-wrap:anywhere}.expense-document .document-proof-files{margin-top:0}.expense-document .company-proof-file{padding-top:9px;gap:7px}.expense-document .receipt-note{max-width:none;margin-top:8px}.expense-document .text-button,.expense-document .receipt-link{white-space:normal;text-align:left;line-height:1.5}.batch-unknown-notice{margin-bottom:16px;line-height:1.65}.batch-selection-bar{flex-wrap:wrap;align-items:flex-start;gap:14px}.batch-selection-bar>div:first-child{min-width:0;flex:1 1 300px}.batch-selection-actions{max-width:100%;flex:0 1 auto;flex-wrap:wrap;align-items:flex-start}.batch-selection-actions .button{white-space:normal;max-width:100%;text-align:center}.batch-selection-bar small{max-width:68ch}.batch-selection-bar b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:860px){.expense-documents{grid-template-columns:1fr}.expense-document{padding:12px 14px}.expense-card-total>strong{font-size:21px}}
@media(max-width:640px){.expense-card{padding:16px}.expense-card-head{grid-template-columns:36px minmax(0,1fr);gap:12px}.expense-card-total{grid-column:2;align-items:flex-start;text-align:left}.expense-card-total>strong{font-size:23px}.expense-card-total .tag{align-self:flex-start}.expense-amounts{gap:14px}.expense-amounts strong{font-size:18px}.expense-actions .button-group{width:100%;display:flex;flex-wrap:wrap}.expense-actions .button{flex:1 1 160px;min-height:40px}.batch-selection-bar>div:first-child{flex-basis:100%}.batch-selection-bar .batch-selection-actions{display:flex;flex-wrap:wrap;width:100%;gap:8px}.batch-selection-actions .button{flex:1 1 140px}}
.batch-item-actions{display:flex;flex-direction:column;gap:8px;margin:0 0 16px;min-width:0}.batch-item-actions>small{font-size:11px;color:var(--muted);line-height:1.6}.batch-selection-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}.batch-selection-bar{padding:14px 18px max(14px,env(safe-area-inset-bottom));gap:12px}.batch-selection-bar small{font-size:11px}.expense-list{padding-bottom:16px}.batch-item-actions .batch-selection-actions{flex-wrap:wrap}
@media(max-width:640px){.batch-selection-bar{position:static;margin-top:18px;padding:14px}.batch-selection-bar .batch-selection-actions,.batch-item-actions .batch-selection-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:8px}.batch-selection-actions .button{width:100%;min-height:40px}.batch-selection-summary{align-items:flex-start}.expense-list{padding-bottom:0}}
