.simple-invoice-form{padding:22px}.simple-invoice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line,#dce1e8);padding-bottom:18px;margin-bottom:24px}.simple-invoice-toolbar h1{font-size:20px;margin:0}.simple-invoice-toolbar .button[type=submit]{background:#16a34a;color:white}.simple-invoice-top{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:start}.simple-invoice-top .dual-date{grid-column:auto;min-width:0}.simple-customer-details{display:flex;flex-wrap:wrap;gap:8px 24px;padding:10px;margin-top:8px;background:var(--bg,#f0f3f8);font-size:12px}.simple-balance-tools{display:flex;align-items:center;gap:12px;margin:18px 0}.simple-items{width:100%;min-width:760px;table-layout:fixed}.simple-items th{background:#4b5563;color:#fff;text-transform:none}.simple-items th:first-child{width:48%}.simple-items th:nth-child(2){width:10%}.simple-items th:nth-child(3){width:14%}.simple-items th:nth-child(4){width:8%}.simple-items th:nth-child(5){width:15%}.simple-items th:last-child{width:5%}.simple-items td{vertical-align:top;padding:12px 8px}.simple-items input{width:100%;min-width:0}.simple-items .entry-control{width:100%;min-width:0}.simple-items output{display:inline;font-weight:600}.simple-items details{font-size:12px;margin-top:7px}.simple-items summary{cursor:pointer}.simple-add-line{width:100%;text-align:left;padding:12px;border:1px solid var(--line,#dce1e8);background:transparent;color:inherit;cursor:pointer}.simple-invoice-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.simple-invoice-totals{padding:16px 20px;background:var(--bg,#f0f3f8);border:1px solid var(--line,#dce1e8)}.simple-invoice-totals p,.simple-total-discount{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:10px 0}.simple-total-discount input{width:140px;text-align:right}.simple-grand-total{border-top:1px solid var(--line,#dce1e8);font-weight:700;margin-top:10px!important;padding-top:18px!important}.simple-options{margin-top:20px}.simple-options label{margin-top:12px}.simple-return-search{max-width:420px;margin:12px 0}.return-items th:first-child{width:40%}.return-items th:nth-child(2){width:12%}.return-items th:nth-child(3){width:14%}.return-items th:nth-child(4){width:12%}.return-items th:nth-child(5){width:8%}.return-items th:last-child{width:14%}.simple-invoice-totals .danger{display:block}.simple-items tr[hidden]{display:none}@media(max-width:850px){.simple-invoice-top,.simple-invoice-bottom{grid-template-columns:1fr}.simple-invoice-toolbar{align-items:flex-start}.simple-invoice-form{padding:14px}}

/* Keep voucher actions below the responsive application header. */
.simple-invoice-toolbar{position:sticky;top:var(--invoice-toolbar-top,76px);z-index:900;background:#fff;padding:12px 0;box-shadow:0 6px 10px -10px #17203380}
html[data-theme="dark"] .simple-invoice-toolbar{background:#252838}
.simple-supplier-reference{max-width:420px;margin:10px 0 16px auto}
@media(max-width:850px){.simple-supplier-reference{max-width:none;margin-left:0}.simple-invoice-toolbar h1{font-size:16px}.simple-invoice-toolbar .inline{flex-shrink:0}.simple-invoice-toolbar .button{padding:8px 10px}}
@media print{.simple-invoice-toolbar{display:none!important}}
