/* Approved desktop.png / mobile.png invoice workspace, 4 November 2026. */
html,body{scrollbar-width:none;scrollbar-gutter:auto}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
.reliz-invoices-page{width:100%;min-width:0}
.reliz-invoices-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px}
.reliz-invoices-heading>div:first-child{min-width:0;flex:1 1 260px}
.reliz-invoices-heading h1{font:700 var(--type-screen,2.8125rem)/var(--line-screen,1) Unbounded,sans-serif;letter-spacing:0;overflow-wrap:anywhere;margin:0}
.reliz-invoices-heading p{font:400 .9375rem/1.5rem Manrope,sans-serif;color:#c8b69e;margin-top:10px}
.reliz-invoice-heading-actions{display:flex;align-items:center;gap:10px}
.reliz-invoice-heading-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #63584c;border-radius:12px;font:600 .875rem/1.25rem Manrope,sans-serif}
.reliz-invoice-create{background:#50533c;color:#f5f1e8;padding:11px 16px}
.reliz-invoice-directory{padding:10px;width:44px;background:#2d2a27}
.reliz-invoice-summary-layout{position:relative;margin-bottom:24px;min-width:0}
.reliz-invoice-period{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;border:1px solid #63584c;border-radius:20px;padding:0 3px;background:#2d2a27}
.reliz-invoice-period button{display:grid;place-items:center;width:36px;min-height:40px;padding:0}
.reliz-invoice-period button svg{width:18px;height:18px}
.reliz-invoice-period .next-month-select{display:flex;align-items:center;min-height:40px;position:relative;padding:0 6px;font:600 .8125rem/1.25rem Manrope,sans-serif;white-space:nowrap;margin:0}
.reliz-invoice-period input{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;margin:0;min-height:0;cursor:pointer}
.reliz-invoice-period input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.reliz-invoice-period label:focus-within{outline:2px solid #c8b69e;outline-offset:2px;border-radius:8px}
.reliz-invoice-summary{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid #8b8e77;border-radius:22px;background:#50533c;color:#f5f1e8}
.reliz-invoice-summary>span{font:600 1rem/1.5rem Manrope,sans-serif}
.reliz-invoice-summary>strong{font:700 2.5rem/3rem Unbounded,sans-serif;letter-spacing:0;overflow-wrap:anywhere;min-width:0}
.reliz-invoice-summary .invoice-currency{font:inherit;white-space:nowrap}
.reliz-invoice-summary p{font:400 .875rem/1.25rem Manrope,sans-serif;color:#f5f1e8;margin:0;overflow-wrap:anywhere}
.reliz-invoice-summary small{font:400 .75rem/1rem Manrope,sans-serif;color:#f5f1e8}
.reliz-invoice-search.invoice-search{display:flex;align-items:center;gap:12px;min-height:48px;border:1px solid #63584c;border-radius:14px;background:#2d2a27;padding:0 14px;margin:0 0 18px}
.reliz-invoice-search svg{width:22px;height:22px;color:#c8b69e}
.reliz-invoice-search #invoice-search{margin:0;border:0;border-radius:0;background:none;min-width:0;min-height:46px;padding:10px 0;font:400 1rem/1.5rem Manrope,sans-serif}
.reliz-invoices-page .reliz-invoice-filters{display:flex;flex-wrap:nowrap;gap:8px;background:none;padding:0;margin:0 0 24px;border-radius:0;overflow-x:auto;scrollbar-width:none;touch-action:pan-x pan-y;isolation:auto}
.reliz-invoice-filters::-webkit-scrollbar{display:none}
.reliz-invoices-page .reliz-invoice-filters .next-tab-marker{display:none}
.reliz-invoices-page .reliz-invoice-filters button{flex:0 0 auto;padding:9px 14px;min-height:40px;border:1px solid #63584c;border-radius:18px;background:#2d2a27;color:#c8b69e;font:500 .875rem/1.25rem Manrope,sans-serif;white-space:nowrap}
.reliz-invoices-page .reliz-invoice-filters button[aria-pressed=true]{background:#50533c;border-color:#8b8e77;color:#f5f1e8}
.reliz-invoice-list ul{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.reliz-invoice-table-head{display:grid;grid-template-columns:minmax(130px,1fr) 100px 110px 125px;gap:12px;padding:0 16px 12px;color:#c8b69e;font:500 .8125rem/1.25rem Manrope,sans-serif}
.reliz-invoice-row{display:grid;grid-template-columns:minmax(130px,1fr) 100px 110px 125px;align-items:center;gap:12px;width:100%;min-width:0;min-height:72px;padding:14px 16px;text-align:left;border:1px solid #63584c;border-radius:14px;background:#2d2a27;color:#f5f1e8}
.reliz-invoice-supplier{min-width:0;overflow-wrap:anywhere}
.reliz-invoice-supplier strong{display:block;font:700 1rem/1.5rem Manrope,sans-serif}
.reliz-invoice-supplier small{display:block;font:400 .8125rem/1.25rem Manrope,sans-serif;color:#c8b69e;margin-top:3px}
.reliz-invoice-date{font:500 .8125rem/1.25rem 'IBM Plex Mono',monospace;color:#c8b69e;min-width:0;overflow-wrap:anywhere}
.reliz-invoice-row-amount{font:700 1rem/1.5rem Manrope,sans-serif;overflow-wrap:anywhere;min-width:0}
.reliz-invoice-row-status{justify-self:start;display:inline-flex;align-items:center;max-width:100%;border:1px solid #63584c;border-radius:20px;padding:4px 8px;background:#3a342e;color:#f5f1e8;font:500 .75rem/1rem Manrope,sans-serif;overflow-wrap:anywhere}
.is-due .reliz-invoice-row-status{background:#503a2e;color:#f1d0b9;border-color:#775740}
.is-paid .reliz-invoice-row-status{background:#50533c;color:#f5f1e8;border-color:#8b8e77}
.is-overdue .reliz-invoice-row-status{background:#482d33;color:#efb4bd;border-color:#9d6872}
.is-cancelled .reliz-invoice-row-status{color:#c8b69e;background:#211f1d}
.reliz-invoice-parcel,.reliz-invoice-chevron{display:none}
.reliz-invoice-row:hover{border-color:#8b8e77}
@media(min-width:1100px){
 .reliz-invoice-summary-layout>.reliz-invoice-period{position:absolute;top:20px;right:20px}
 .reliz-invoice-summary>span{padding-right:240px}
}
@media(max-width:1099px){
 .reliz-invoices-heading{margin-bottom:18px;flex-wrap:nowrap;gap:12px}
 .reliz-invoices-heading>div:first-child{flex:1;min-width:0}
 .reliz-invoice-heading-actions{flex-shrink:0}
 .reliz-invoice-heading-actions .reliz-invoice-create{display:none}
 .reliz-invoice-summary-layout>.reliz-invoice-period{margin:0 0 20px auto}
 .reliz-invoice-summary{padding:22px;border-radius:20px}
 .reliz-invoice-table-head{display:none}
 .reliz-invoice-row{grid-template-columns:40px minmax(0,1fr) auto 14px;grid-template-rows:auto auto;column-gap:12px;row-gap:4px;min-height:94px;padding:16px 14px;border-radius:16px}
 .reliz-invoice-parcel{display:grid;place-items:center;grid-column:1;grid-row:1/3;width:40px;height:40px;background:#3a342e;border-radius:12px;color:#c8b69e}
 .reliz-invoice-parcel svg{width:25px;height:25px}
 .reliz-invoice-supplier{grid-column:2;grid-row:1}
 .reliz-invoice-supplier strong{font-size:1rem;line-height:1.375rem}
 .reliz-invoice-supplier small{font-size:.75rem;line-height:1rem}
 .reliz-invoice-date{grid-column:2;grid-row:2;font:400 .8125rem/1.125rem Manrope,sans-serif;align-self:start}
 .reliz-invoice-row-amount{grid-column:3;grid-row:1/3;font:700 1rem/1.5rem Unbounded,sans-serif;max-width:125px}
 .reliz-invoice-row-status{grid-column:2;grid-row:3;margin-top:2px;border-radius:12px;font-size:.75rem}
 .reliz-invoice-chevron{display:block;grid-column:4;grid-row:1/4;color:#c8b69e}
 .reliz-invoice-chevron svg{width:16px;height:16px}
 .reliz-invoice-row{grid-template-rows:auto auto auto}
 .reliz-invoice-parcel,.reliz-invoice-row-amount{grid-row:1/4}
}
@media(max-width:380px){
 .reliz-invoices-heading h1{font-size:var(--type-screen,2.8125rem);overflow-wrap:anywhere}
 .reliz-invoice-summary{padding:18px}
 .reliz-invoice-row{grid-template-columns:32px minmax(0,1fr) auto 12px;column-gap:8px;padding:14px 10px}
 .reliz-invoice-parcel{width:32px;height:36px;border-radius:10px}
 .reliz-invoice-row-amount{font-size:.875rem;line-height:1.25rem;max-width:100px}
 .reliz-invoice-supplier strong{font-size:.875rem;line-height:1.25rem}
}
/* Side-by-side composition of the selected desktop reference when adding/editing. */
@media(min-width:1280px){
 body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoices-page{width:calc(100% - 504px)}
 #overlay-layer:has(.reliz-invoice-editor){justify-content:flex-end;align-items:flex-start;padding:82px 24px 24px}
 #overlay-layer:has(.reliz-invoice-editor)>.sheet-backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
 #overlay-layer>.reliz-invoice-editor{width:480px;max-width:480px}
 body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoice-table-head,body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoice-row{grid-template-columns:minmax(100px,1fr) 85px 100px 105px;gap:8px;padding-inline:12px}
 body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoice-create{position:fixed;right:24px;top:16px;z-index:40}
 body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoice-directory{display:none}
 body:has(#overlay-layer .reliz-invoice-editor) .reliz-invoices-heading{display:block}
}
.reliz-sidebar .reliz-product-name-top{margin:0 2px 5px}
.reliz-sidebar[data-collapsed=true] .reliz-product-name-top{display:none}
@media(min-width:1100px){.reliz-invoice-summary{background:#2d2a27;border-color:#63584c}}
.reliz-invoice-meta{display:contents}
.reliz-date-short{display:none}
.reliz-invoice-supplier{grid-column:1}
.reliz-invoice-date{grid-column:2;grid-row:1}
.reliz-invoice-row-amount{grid-column:3;grid-row:1}
.reliz-invoice-row-status{grid-column:4;grid-row:1}
.reliz-invoices-page[data-manager=false] .reliz-invoice-table-head{display:none}
.reliz-invoice-editor>.reliz-amount{font:700 2.5rem/3rem Unbounded,sans-serif}
.reliz-invoice-editor .invoice-sheet-head h2{font:700 1.25rem/1.75rem Manrope,sans-serif}
.reliz-invoice-editor .invoice-editor-photo-button{flex-direction:column;min-height:72px;gap:6px}
.reliz-invoice-editor .invoice-editor-photo-button svg{width:24px;height:24px}
@media(max-width:1099px){
 .reliz-invoice-supplier{grid-column:2;grid-row:1}
 .reliz-invoice-meta{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;grid-column:2;grid-row:2;min-width:0}
 .reliz-invoice-date,.reliz-invoice-row-status{grid-column:auto;grid-row:auto;margin:0}
 .reliz-date-full{display:none}.reliz-date-short{display:inline}
 .reliz-invoice-row{grid-template-rows:auto auto;min-height:94px}
 .reliz-invoice-parcel,.reliz-invoice-row-amount{grid-row:1/3}
 .reliz-invoice-chevron{grid-row:1/3}
 .reliz-invoice-row-amount{grid-column:3}
 .reliz-invoice-row-status{font-size:.75rem;padding:3px 7px}
 .reliz-invoices-page[data-manager=false] .reliz-invoice-meta{grid-column:2/4}
}
@media(min-width:1100px){
 .reliz-invoice-editor .invoice-editor-photo-button{flex:0 0 64px;width:64px;height:64px;min-height:64px;font-size:0}
 .reliz-photo>.invoice-editor-photo-actions{min-width:140px}
}
.reliz-invoice-editor .reliz-delivery-row{grid-template-columns:1fr}
@media(min-width:1280px){body:has(#overlay-layer .reliz-invoice-editor) .next-version-bar .next-account{visibility:hidden}}

.invoice-bulk-toolbar,.invoice-bulk-toolbar > div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.invoice-bulk-toolbar{justify-content:space-between;margin-block:12px}
.invoice-bulk-toolbar button{min-height:44px}
.invoice-bulk-review{list-style:none;padding:0;margin:0;max-height:28vh;overflow:auto}
.invoice-bulk-review li,.invoice-bulk-total{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:10px 0;border-bottom:1px solid #63584c}
.invoice-bulk-review li span{overflow-wrap:anywhere}
.invoice-bulk-review small{display:block;color:#c8b69e}
.invoice-bulk-review strong,.invoice-bulk-total strong{white-space:nowrap}
/* Separate selection and navigation hit targets. */
.invoice-bulk-row{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px}
.invoice-bulk-select{display:grid;place-items:center;width:44px;min-height:44px;padding:0;background:transparent;border:0;border-radius:12px;color:#f5f1e8}
.invoice-bulk-select span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #a2a58d;border-radius:6px;font-size:.875rem}
.invoice-bulk-select[aria-pressed=true] span{background:#50533c}
.invoice-bulk-select[aria-pressed=true] + .reliz-invoice-row{background:#393b2e;border-color:#a2a58d}
.invoice-bulk-select:focus-visible{outline:2px solid #f5f1e8;outline-offset:1px}
@media(min-width:1100px){
  .reliz-invoice-list[data-bulk-owner=true] .reliz-invoice-table-head{padding-inline-start:68px}
  .reliz-invoice-list[data-bulk-owner=true] li:not(.invoice-bulk-row){margin-inline-start:52px}
}
@media(max-width:1099px){
  .invoice-bulk-row .reliz-invoice-row{grid-template-columns:minmax(0,1fr) auto 14px}
  .invoice-bulk-row .reliz-invoice-parcel{display:none}
  .invoice-bulk-row :is(.reliz-invoice-supplier,.reliz-invoice-meta){grid-column:1}
  .invoice-bulk-row .reliz-invoice-row-amount{grid-column:2}
  .invoice-bulk-row .reliz-invoice-chevron{grid-column:3}
}
