.customer-invoices{font-size:15px;line-height:1.6;color:var(--ink);min-width:0}
.customer-invoices [hidden]{display:none!important}
.customer-invoices h2{font-size:22px;line-height:1.3;margin:0 0 12px;letter-spacing:-.02em}
.customer-invoices h3{font-size:17px;line-height:1.4;margin:0 0 8px}
.customer-invoices p{margin:8px 0}.customer-invoices small,.customer-invoices-item p,.customer-invoices-item li span{font-size:14px;color:var(--muted)}
.customer-invoices-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.customer-invoices-intro>div{max-width:780px}.customer-invoices .button{min-height:42px;flex-shrink:0;font-size:14px}
.customer-invoices-editor,.customer-invoices-item,.customer-invoices-empty{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:16px}
.customer-invoices-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.customer-invoices label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500;min-width:0}
.customer-invoices input:not([type=checkbox]){min-height:44px;width:100%;padding:10px 12px;font:inherit;background:var(--canvas);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-sizing:border-box}
.customer-invoices-file{grid-column:1/-1}.customer-invoices input::file-selector-button{background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:8px 12px;margin-right:12px;border-radius:6px;font:inherit}
.customer-invoices fieldset{border:0;margin:24px 0 16px;padding:0;min-width:0}.customer-invoices legend{font-size:16px;font-weight:600}
.customer-invoices fieldset>p{color:var(--muted);font-size:14px}.customer-invoices-search{margin:16px 0}
.customer-invoices-projects{max-height:280px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px}
.customer-invoices-projects>p{padding:16px}.customer-invoices label.customer-invoices-project{flex-direction:row;align-items:flex-start;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.customer-invoices-project:last-child{border-bottom:0}.customer-invoices-project span{min-width:0;overflow-wrap:anywhere}.customer-invoices-project small{display:block;font-weight:400}
.customer-invoices input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:3px 0;accent-color:var(--blue)}
.customer-invoices-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.customer-invoices-toolbar{display:flex;align-items:flex-end;gap:24px;margin:24px 0 20px}.customer-invoices-toolbar>label:first-child{flex:1}
.customer-invoices label.customer-invoices-check{flex-direction:row;align-items:center;padding:10px 0}
.customer-invoices-item{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.customer-invoices-item>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}.customer-invoices-item>.customer-invoices-actions{justify-content:flex-end;max-width:45%}
.customer-invoices-item ul{list-style:none;padding:0;margin:16px 0 0}.customer-invoices-item li{margin-top:8px;font-size:14px}.customer-invoices-item li span{display:block}
.customer-invoices-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;margin-top:24px}
.customer-invoices [role=alert]:empty{display:none}.customer-invoices [role=alert]{color:var(--danger,#df5665)}
.customer-invoice-line{padding:18px;border:1px solid var(--line);border-radius:10px;margin:16px 0;background:var(--paper)}
.customer-invoice-line textarea,.customer-invoice-line select{width:100%;min-height:44px;background:var(--canvas);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;box-sizing:border-box}
.customer-invoice-line label{margin:10px 0}.customer-invoice-line-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.customer-invoice-line pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font:inherit}
.customer-invoice-unmatched{border-left:3px solid var(--blue);padding-left:12px}
@media(max-width:700px){.customer-invoice-line-numbers{grid-template-columns:1fr}}
.customer-invoices-modal .drawer.dialog{width:min(1120px,calc(100vw - 48px));height:90dvh;max-height:90dvh}
.customer-invoices-modal .drawer-body{padding:24px;overflow:auto;min-height:0}
@media(max-width:700px){.customer-invoices-intro,.customer-invoices-item,.customer-invoices-toolbar{flex-direction:column;align-items:stretch}.customer-invoices-fields{grid-template-columns:1fr}.customer-invoices-item>.customer-invoices-actions{max-width:none;justify-content:flex-start}.customer-invoices-editor,.customer-invoices-item,.customer-invoices-empty{padding:18px}.customer-invoices-pagination{flex-wrap:wrap}.customer-invoices-modal .drawer.dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.customer-invoices-modal .drawer-body{padding:16px}}
