.invoice-entry-options,.invoice-library{padding:24px;border:1px solid var(--border,#414149);border-radius:14px;margin:0 0 24px;background:var(--surface,#fff);color:var(--text,#202124)}
.vendor-intake .vendor-warnings p{font-size:14px;line-height:1.5;margin-top:10px}
.vendor-intake .vendor-warnings summary{font-size:15px;font-weight:600}
.vendor-status.in_review{background:#233b53;color:#9aceff}
.vendor-status.on_hold{background:#473b23;color:#ffda8a}
.invoice-entry-options h2,.invoice-entry-options h3,.invoice-library h2{margin:0 0 12px;font-size:20px;line-height:1.35}
.invoice-entry-options p,.invoice-library p{margin:8px 0 16px;font-size:14px;line-height:1.5;color:inherit;opacity:.85}
.invoice-entry-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.vendor-scope-bar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:16px 0}
.vendor-scope-bar label{display:grid;gap:8px;min-width:240px;font-size:14px;font-weight:600}
.vendor-scope-bar select{min-height:44px;padding:10px 12px;font:inherit;border-radius:8px}
.vendor-scope-bar p{flex:1;min-width:220px;margin:0}
.invoice-library>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.invoice-library label{display:grid;gap:8px;font-size:14px;min-width:260px}
.invoice-library input{min-height:44px;padding:10px 12px;border:1px solid var(--border,#73737b);border-radius:8px;font:inherit;width:100%;box-sizing:border-box}
.invoice-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.invoice-library-card{min-width:0;padding:20px;border:1px solid var(--border,#73737b);border-radius:10px;background:var(--surface,#fff)}
.invoice-library-card>header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:flex-start}
.invoice-library-card h3{margin:0;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.invoice-library-card strong{font-size:18px;font-variant-numeric:tabular-nums}
.invoice-library .button,.invoice-entry-options .button{min-height:44px;font-size:14px;white-space:normal}
.invoice-library [data-library-more]{margin-top:16px}
.invoice-library [data-library-more][hidden]{display:none!important}
html[data-theme="dark"] .invoice-library,html[data-theme="dark"] .invoice-entry-options{background:#171b23;color:#f5f5f7}
html[data-theme="dark"] .invoice-library-card{background:#20252e;color:#f5f5f7}
html[data-theme="dark"] .invoice-library input{background:#171b23;color:#f5f5f7}
html[data-theme="dark"] .invoice-library .button.light,html[data-theme="dark"] .invoice-entry-options .button.light{background:#2b303a!important;color:#f5f5f7!important;border:1px solid #525865;text-decoration:none}
html[data-theme="dark"] .invoice-library .button.light:hover,html[data-theme="dark"] .invoice-entry-options .button.light:hover{background:#363d49!important}
@media(max-width:700px){.invoice-library>header{flex-direction:column}.invoice-library label{min-width:0;width:100%}.invoice-library,.invoice-entry-options{padding:16px}.invoice-library-card{padding:16px}}
.vendor-status.new,.vendor-inline-status.new{background:#e8f2ff;color:#135db9;border-color:#b8d6fc}
html[data-theme="dark"] .vendor-status.new,html[data-theme="dark"] .vendor-inline-status.new{background:#19344f;color:#a8d5ff;border-color:#365d80}
