/* Material collection: compact controls in normal document flow, no floating footer. */
.claim-draft-dialog{width:min(440px,calc(100% - 24px));padding:16px;border:1px solid #e2dadb;border-radius:12px;max-height:80dvh;color:#252122;box-sizing:border-box}
.claim-draft-dialog::backdrop{background:#0006}
.claim-draft-dialog header,.collection-info-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.claim-draft-dialog header strong{font-size:16px}
.claim-draft-dialog header button{border:0;background:none;font-size:24px;width:36px;height:36px}
.draft-new{width:100%;min-height:42px;border:1px solid #b5222d;color:#a41d27;background:#fff;border-radius:7px;font-weight:600}
.draft-search{width:100%;box-sizing:border-box;margin:10px 0;min-height:36px;border:1px solid #ded7d8;border-radius:6px;padding:7px 10px}
.draft-list{max-height:48dvh;overflow:auto}
.draft-option{width:100%;display:flex;align-items:center;gap:12px;justify-content:space-between;border:0;border-bottom:1px solid #eee8e9;background:#fff;padding:10px 0;text-align:left;min-height:52px}
.draft-option[hidden]{display:none}
.draft-option span{min-width:0;flex:1}.draft-option strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-option small{display:block;font-size:12px;font-weight:400;color:#777;margin-top:3px}.draft-option b{font-size:13px;color:#a41d27;white-space:nowrap}
.draft-error{font-size:13px;color:#a41d27;margin-top:8px}
#claimFlow.unified-collection #step2 .page-heading{margin-bottom:10px}
#claimFlow.unified-collection #step2 .page-heading p{display:none}
#claimFlow.unified-collection #step2>.card{padding:12px;margin-bottom:10px;border-radius:9px}
.collection-info-bar strong{font-size:14px}.collection-info-bar button{border:1px solid #d8d2d3;border-radius:6px;background:#fff;font-size:13px;color:#a41d27;min-height:40px;padding:6px 10px;white-space:nowrap}
.collection-purpose,.collection-amount{display:flex!important;align-items:center;gap:12px;font-size:14px;margin:0!important}
.collection-purpose>span{flex-shrink:0}.collection-purpose input{flex:1;min-width:0;height:36px;border:1px solid #ddd4d6;border-radius:6px;padding:6px 8px;font-size:14px;background:#fff;box-sizing:border-box}
.collection-sources{font-size:12px;color:#666;margin-top:8px;line-height:1.5}
.collection-totals{font-size:14px;font-weight:600;margin-bottom:9px}
.collection-fuel{font-size:13px;line-height:1.5;color:#8b2730;background:#faf1f2;padding:7px 9px;margin-bottom:10px;border-radius:5px}
.collection-amount{justify-content:space-between}.collection-amount>div{display:flex;align-items:center;gap:5px}.collection-amount input{width:125px;height:36px;border:1px solid #d8ced0;border-radius:6px;font-size:16px;font-weight:600;padding:6px 8px;text-align:right;box-sizing:border-box}
.collection-actions{display:flex;gap:8px;margin-top:12px}.collection-actions .button{min-height:40px;height:40px;font-size:14px;padding:0 12px}.collection-actions .primary{flex:1}
#claimFlow.unified-collection #step2 .upload-zone{padding:0;border:0;background:none;min-height:0}
#claimFlow.unified-collection #step2 .upload-zone>strong,#claimFlow.unified-collection #step2 .upload-zone>small,#claimFlow.unified-collection .invoice-entry-card small,#claimFlow.unified-collection .pending-picker-entry small,#claimFlow.unified-collection .existing-document-head small{display:none}
#claimFlow.unified-collection .invoice-entry-grid{gap:8px;margin:0 0 10px}
#claimFlow.unified-collection .invoice-entry-card{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px;border-radius:6px;box-shadow:none}
#claimFlow.unified-collection .invoice-entry-card>span{width:22px;height:22px;margin:0;border-radius:0;background:none}
#claimFlow.unified-collection .invoice-entry-card svg{width:18px;height:18px}
#claimFlow.unified-collection .invoice-entry-card strong{font-size:13px}
#claimFlow.unified-collection .pending-picker-entry{padding:7px 0;margin:0;border-bottom:1px solid #eee7e8;min-height:38px;gap:8px}
#claimFlow.unified-collection .pending-picker-entry strong{font-size:14px}
#claimFlow.unified-collection .pending-picker-entry .button{min-height:40px;padding:6px 10px;font-size:13px;border:1px solid #d9b9bb;border-radius:6px;white-space:nowrap;box-shadow:none}
#claimFlow.unified-collection .drive-description{font-size:12px;line-height:1.4;margin:4px 0}
#claimFlow.unified-collection .existing-document-card{margin-top:9px;padding:0;border:0}
#claimFlow.unified-collection .existing-document-head{margin-bottom:3px;min-height:28px}
#claimFlow.unified-collection .existing-document-head strong{font-size:13px}
#claimFlow.unified-collection .existing-document-row{padding:6px 0;min-height:36px;gap:8px}
#claimFlow.unified-collection .existing-document-row strong{font-size:13px}.unified-collection .existing-document-row small{font-size:11px}
#claimFlow.unified-collection .existing-document-row>button{min-height:40px;padding:6px 10px;font-size:13px;border:1px solid #d9b9bb;border-radius:6px;white-space:nowrap}
#claimFlow.unified-collection .processing-card{display:flex;align-items:center;gap:10px}#claimFlow.unified-collection .processing-card h2{font-size:14px;margin:0}#claimFlow.unified-collection .processing-card p{display:none}#claimFlow.unified-collection .spinner{width:22px;height:22px}
.trip-saved-item [data-reimburse-trip]{border:0;background:none;color:#a41d27;padding:8px;font-size:13px;white-space:nowrap;flex:0 0 auto}
/* Override the retired high-specificity/mobile rules only inside this flow. */
body:not(.home-screen) #claimFlow.unified-collection #step2 :is(#collectionFields,#collectionFinish){display:block!important;padding:8px 0!important;margin:0 0 8px!important;max-width:none!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .collection-info-bar{margin:0 0 4px}
body:not(.home-screen) #claimFlow.unified-collection #step2 :is(.collection-purpose,.collection-amount){display:flex!important;padding:0!important;gap:10px!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .upload-card{padding:0!important;margin:0!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .upload-zone{padding:4px 0 8px!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .pending-picker-entry{display:flex;align-items:center;min-height:48px;gap:8px;padding:4px 0}
body:not(.home-screen) #claimFlow.unified-collection #step2 #driveUploadHint{display:none!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .existing-document-card{padding:7px 0!important;margin:0!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 .existing-document-row{min-height:40px!important;padding:5px 0!important}
body:not(.home-screen) #claimFlow.unified-collection #step2 #startRecognition{position:static;margin:8px 0;min-height:44px}
