.invoice-preview-dialog{background:#e9edf3}
.invoice-preview-dialog::backdrop{background:#071a33c7}
.invoice-preview .invoice-page,.invoice-preview .terms-page{padding:54px 58px 62px;color:#18283d;font-family:Arial,Helvetica,sans-serif;box-shadow:0 18px 50px #071f3f24}
.invoice-preview .lux-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:21px;border-bottom:1px solid #c49a45}
.invoice-preview .lux-logo{width:176px;height:92px;object-fit:contain;object-position:left top}
.invoice-preview .lux-title{text-align:right}.invoice-preview .lux-title span{display:block;color:#64748b;font-size:9px;letter-spacing:.16em}.invoice-preview .lux-title h1{margin:5px 0 7px;color:#071f3f;font-size:27px;letter-spacing:.05em}.invoice-preview .lux-title strong{color:#0e4d80;font-size:12px}
.invoice-preview .lux-parties{display:grid;grid-template-columns:1fr 1fr;gap:38px;margin:30px 0 22px}.invoice-preview .lux-party{padding:0 0 0 15px;border-left:3px solid #dce6f1}.invoice-preview .lux-party:first-child{border-left-color:#c49a45}.invoice-preview .lux-label{display:block;color:#718096;font-size:8px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.invoice-preview .lux-party h3{margin:7px 0 6px;color:#071f3f;font-size:13px}.invoice-preview .lux-party p{margin:0;color:#475569;font-size:10px;line-height:1.55}
.invoice-preview .lux-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:0 0 24px;background:#d8e2ed;border:1px solid #d8e2ed}.invoice-preview .lux-meta>div{padding:12px 13px;background:#f5f8fb}.invoice-preview .lux-meta strong{display:block;margin-top:4px;color:#071f3f;font-size:10px}
.invoice-preview .lux-table{margin-top:0;border-collapse:collapse}.invoice-preview .lux-table th{padding:10px 8px;background:#071f3f;color:white;font-size:8px;letter-spacing:.04em}.invoice-preview .lux-table td{padding:13px 8px;color:#334155;font-size:10px;border-bottom:1px solid #dce4ed}.invoice-preview .lux-table th:not(:first-child),.invoice-preview .lux-table td:not(:first-child){text-align:right}
.invoice-preview .lux-summary{width:320px;margin:22px 0 0 auto}.invoice-preview .lux-summary>div{display:flex;justify-content:space-between;padding:7px 2px;color:#475569}.invoice-preview .lux-summary .lux-total{margin-top:5px;padding:12px 2px;border-top:2px solid #c49a45;color:#071f3f;font-size:17px;font-weight:700}
.invoice-preview .lux-payment{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;margin-top:30px;padding:17px 19px;background:#f1f5f9;border-top:3px solid #0e4d80}.invoice-preview .lux-payment p{margin:6px 0 0;color:#334155}.invoice-preview .lux-note{margin-top:18px;padding:11px 14px;border:1px solid #dce4ed;background:#fbfcfe}
.invoice-preview .lux-footer{position:absolute;left:58px;right:58px;bottom:25px;display:flex;justify-content:space-between;padding-top:8px;border-top:1px solid #d7dee8;color:#718096;font-size:8px}
.invoice-preview .lux-terms-head{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:16px;border-bottom:1px solid #c49a45}.invoice-preview .lux-terms-head h2{margin:0;border:0;padding:0;color:#071f3f;font-size:18px}.invoice-preview .lux-terms-head img{width:135px;height:68px;object-fit:contain;object-position:right center}.invoice-preview .lux-terms-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-top:23px}.invoice-preview .lux-term h3{margin:0 0 4px;color:#0e4d80;font-size:8.5px;letter-spacing:.04em}.invoice-preview .lux-term p{margin:0;color:#405168;font-size:8.1px;line-height:1.42}
@media(max-width:700px){.invoice-preview .invoice-page,.invoice-preview .terms-page{min-width:690px}.invoice-preview .lux-meta{grid-template-columns:repeat(4,1fr)}}
.bulk-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0;padding:10px 12px;border:1px solid #dce4ed;border-radius:10px;background:#f7f9fc}.bulk-bar strong{margin-right:auto;color:#071f3f}.bulk-bar button{border:1px solid #cdd8e5;border-radius:8px;background:#fff;color:#17324f;padding:8px 11px;cursor:pointer}.bulk-bar button:hover{border-color:#0e4d80;color:#0e4d80}.select-cell{width:34px;text-align:center!important}.select-cell input{width:16px;height:16px;accent-color:#0e4d80}
.ledger-total{display:flex;justify-content:flex-end;gap:22px;align-items:flex-start;padding:9px 12px 5px;margin:0;background:transparent;color:#64748b;font-size:11px}.ledger-total>div{min-width:118px;text-align:right}.ledger-total span{display:block;margin-bottom:2px;font-size:10px;letter-spacing:.02em}.ledger-total strong{display:block;color:#17324f;font-size:12px;font-weight:700;line-height:1.4}.ledger-total .remaining strong{color:#0e4d80}
.accounting-overview{margin-top:24px}.accounting-overview .accounting-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:16px}.accounting-overview select{padding:9px 34px 9px 11px;border:1px solid #cad6e3;border-radius:8px;background:#fff}.accounting-year-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.accounting-year-grid>div{padding:17px;border:1px solid #dce4ed;border-radius:12px;background:#fff}.accounting-year-grid span{display:block;color:#64748b;font-size:12px}.accounting-year-grid strong{display:block;margin-top:8px;color:#071f3f;font-size:18px}.accounting-year-grid .net{background:#071f3f}.accounting-year-grid .net span,.accounting-year-grid .net strong{color:white}.currency-lines{font-size:12px!important;line-height:1.5}
@media(max-width:850px){.accounting-year-grid{grid-template-columns:1fr 1fr}.ledger-total{justify-content:flex-end;gap:14px}.ledger-total>div{min-width:95px}.bulk-bar strong{width:100%}}
