#page-invoices [hidden]{display:none!important}
#page-invoices>fieldset{min-width:0}
#page-invoices #ivEditor{border:0;margin:0;padding:0;min-width:0}
#page-invoices #ivDetailPane{min-width:0}
#page-invoices #ivListPane{padding:0;background:transparent;border:0;box-shadow:none}
#page-invoices #ivInvoiceCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
#page-invoices .iv-invoice-card{--iv-accent:#f0b900;--iv-tint:#fff9e7;--iv-pill:#ffe69c;display:flex;flex-direction:column;gap:12px;min-width:0;min-height:310px;border:1px solid #d5e3e9;border-top:8px solid var(--iv-accent);border-radius:17px;background:var(--iv-tint);padding:20px;box-shadow:0 3px 10px #173b5108;box-sizing:border-box}
#page-invoices .iv-card-issued{--iv-accent:#008fb9;--iv-tint:#eef8ff;--iv-pill:#b9e3ff}
#page-invoices .iv-card-archived{--iv-accent:#8195a2;--iv-tint:#f1f5f7;--iv-pill:#dce5eb}
#page-invoices .iv-card-cancelled{--iv-accent:#cc7777;--iv-tint:#fff3f2;--iv-pill:#f3d7d4}
#page-invoices .iv-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
#page-invoices .iv-card-number{font-size:17px;font-weight:700;color:#153b50;overflow-wrap:anywhere}
#page-invoices .iv-card-state{padding:5px 12px;border-radius:22px;background:var(--iv-pill);color:#153b50;font-size:13px;font-weight:700;line-height:1.7}
#page-invoices .iv-invoice-card h3{font-size:22px;margin:6px 0;line-height:1.7;color:#153b50;overflow-wrap:anywhere}
#page-invoices .iv-card-line{display:flex;justify-content:space-between;align-items:baseline;gap:12px;line-height:1.8;border-top:1px solid #a8becb55;padding-top:10px;font-size:14px}
#page-invoices .iv-invoice-card small{color:#567787;line-height:1.8}
#page-invoices .iv-card-open{width:100%;min-height:44px;background:#00868a!important;color:white!important;border:0!important;border-radius:9px;margin:10px 0 0!important;font-size:16px;font-weight:700;margin-top:auto!important}
#page-invoices #ivNew{background:#00868a;color:white;font-size:17px;font-weight:700;padding:12px 22px;margin:0}
#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child{grid-template-columns:minmax(0,1fr)}
#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child>h3,#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child>.iv-pair,#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child>label:last-child{grid-column:1/-1}
#page-invoices #ivDetailPane #ivEditor>.iv-layout:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr))}
#page-invoices #ivDetailPane .iv-box{min-width:0;background:#fff;border:1px solid #d6e4e9;border-radius:13px;padding:20px}
#page-invoices #ivDetailPane input,#page-invoices #ivDetailPane select,#page-invoices #ivDetailPane textarea{box-sizing:border-box;font-size:14px;line-height:1.6}
#page-invoices #ivDetailPane #ivNotes{min-height:85px;resize:vertical}
#page-invoices #ivDetailPane table{min-width:1100px;font-size:14px}
#page-invoices #ivDetailPane th{background:#00868a!important;color:#fff!important;line-height:1.7;padding:12px 9px}
#page-invoices #ivDetailPane td{padding:10px 7px;vertical-align:top}
#page-invoices #ivDetailPane th:first-child{width:30%}
#page-invoices #ivDetailPane th:nth-child(2){width:12%}
#page-invoices #ivDetailPane th:nth-child(3){width:8%}
#page-invoices #ivDetailPane th:nth-child(4){width:8%}
#page-invoices #ivDetailPane th:nth-child(5){width:13%}
#page-invoices #ivDetailPane th:nth-child(6){width:13%}
#page-invoices #ivDetailPane th:nth-child(7){width:12%}
#page-invoices #ivDetailPane .iv-final{background:#00868a;color:#fff;border-radius:8px;font-size:21px;padding:14px}
#page-invoices #ivIssue{background:#00868a;color:#fff;font-size:15px;padding:12px 22px}
#page-invoices #ivRecordActions{border-top:1px solid #d5e3ea;padding-top:12px}
#page-invoices .iv-card-empty{grid-column:1/-1;padding:22px;color:#5a7989}
@media(max-width:1200px){#page-invoices #ivInvoiceCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#page-invoices #ivInvoiceCards{grid-template-columns:minmax(0,1fr)}#page-invoices #ivDetailPane #ivEditor>.iv-layout:nth-child(2),#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child{grid-template-columns:minmax(0,1fr)}#page-invoices #ivDetailPane #ivEditor>.iv-layout:first-child>.iv-box:first-child>*{grid-column:1/-1}#page-invoices #ivDetailPane .iv-pair{grid-template-columns:minmax(0,1fr)}}
