.customer-app #workspace-content .customer-file-preview{max-width:880px}
.customer-app #workspace-content .customer-file-preview .customer-completion-field{margin-bottom:16px}
.customer-app #workspace-content .customer-file-preview>p{margin-bottom:20px}
.customer-app #workspace-content .customer-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.customer-app #workspace-content .customer-file-preview :is(input,select){box-sizing:border-box;max-width:100%;min-width:0;font:inherit}
.customer-app #workspace-content .customer-file-preview input[type=file]{padding:10px}
.customer-app #workspace-content .customer-file-preview input::file-selector-button{font:inherit;background:#f7f8f7;border:1px solid #dfe5e1;border-radius:5px;margin-right:10px;padding:5px 8px;cursor:pointer}
.customer-app #workspace-content :is(.customer-file-mapping,.customer-file-results){margin-top:32px}
.customer-app #workspace-content .customer-file-mapping>p{margin:8px 0 20px}
.customer-app #workspace-content .customer-file-count{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0 20px;font-size:13px;color:#69726c}
.customer-app #workspace-content .customer-file-row{padding:20px 0;border-top:1px solid #dfe5e1}
.customer-app #workspace-content .customer-file-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.customer-app #workspace-content .customer-file-row h4{margin:0;font-size:14px;font-weight:600}
.customer-app #workspace-content .customer-file-values{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:8px 20px;margin:12px 0 20px}
.customer-app #workspace-content .customer-file-values dt{color:#69726c;font-size:13px}
.customer-app #workspace-content .customer-file-values dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-app #workspace-content .customer-file-issues{padding-left:20px;margin:12px 0;color:#795a31;font-size:13px}
.customer-app #workspace-content .customer-file-preview .customer-history-badge.ready{background:#edf4ee;color:#436047}
.customer-app #workspace-content .customer-file-preview .customer-history-badge.invalid{background:#fbefed;color:#964b40}
.customer-app #workspace-content .customer-file-preview .customer-history-badge.unresolved{background:#f8f3e9;color:#795a31}
.customer-app #workspace-content .customer-file-preview summary{min-height:44px;cursor:pointer}
@media(max-width:600px){.customer-app #workspace-content .customer-file-grid{grid-template-columns:minmax(0,1fr);gap:0}.customer-app #workspace-content .customer-file-values{grid-template-columns:minmax(0,1fr);gap:2px}.customer-app #workspace-content .customer-file-values dd{margin-bottom:10px}.customer-app #workspace-content .customer-file-row-head{align-items:flex-start}.customer-app #workspace-content .customer-history-toolbar{flex-wrap:wrap}}

.customer-app #workspace-content .customer-file-picker{padding:20px;margin-top:16px;border:1px solid #dfe5e1;border-radius:5px;background:#fafbfa}
.customer-app #workspace-content .customer-file-picker>p{margin:8px 0 16px}
.customer-app #workspace-content .customer-file-preview .customer-file-picker-search{display:flex;flex-direction:row;align-items:flex-end;gap:8px;margin:16px 0}
.customer-app #workspace-content .customer-file-preview .customer-file-picker-search .customer-completion-field{flex:1;margin:0}
.customer-app #workspace-content .customer-file-candidate{padding:16px 0;border-top:1px solid #dfe5e1}
.customer-app #workspace-content .customer-file-candidate h4{margin:0 0 6px;font-size:15px;font-weight:600}
.customer-app #workspace-content .customer-file-picker-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.customer-app #workspace-content .customer-file-picker-feedback{font-size:13px;color:#795a31;margin:8px 0}
.customer-app #workspace-content .customer-file-selected{margin-bottom:8px;font-weight:500}
.customer-app #workspace-content .customer-file-preview button:disabled{opacity:.6;cursor:default}
@media(max-width:600px){.customer-app #workspace-content .customer-file-picker{padding:14px}.customer-app #workspace-content .customer-file-preview .customer-file-picker-search{align-items:stretch;flex-direction:column}.customer-app #workspace-content .customer-file-picker-actions{flex-direction:column}.customer-app #workspace-content .customer-file-picker .customer-history-pagination{flex-wrap:wrap}}

.customer-app #workspace-content .customer-file-picker-results{max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}

.customer-app #workspace-content .customer-file-registration{margin-top:24px;padding:20px;border:1px solid #dfe5e1;border-radius:5px;background:#fafbfa}
.customer-app #workspace-content .customer-file-registration h3{margin:0 0 16px;font-size:16px;font-weight:600}
.customer-app #workspace-content .customer-file-registration .customer-completion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
@media(max-width:600px){.customer-app #workspace-content .customer-file-registration{padding:14px}.customer-app #workspace-content .customer-file-registration .customer-completion-actions{flex-direction:column}}

.customer-app #workspace-content .customer-file-registration-status{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom));scroll-margin-top:20px}
@media(max-width:600px){.customer-app #workspace-content .customer-file-registration{margin-bottom:100px}}

.customer-app #workspace-content .customer-file-job-completion .customer-completion-field-error{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom))}
