.invoice-flex-panel{padding:1rem}.invoice-flex-line{border:1px solid #dce7e5;border-radius:12px;margin-top:.65rem;background:#fbfdfd}.invoice-flex-line summary{cursor:pointer;padding:.8rem 1rem;font-weight:750;color:#17324d;display:flex;justify-content:space-between;align-items:center}.invoice-flex-line summary span{font-size:.75rem;color:#60758a;font-weight:600}.line-flex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;padding:0 1rem 1rem}.line-flex-grid label{display:flex;flex-direction:column;gap:.3rem;font-size:.78rem;font-weight:700;color:#29445e}.line-flex-grid label b{color:#c53d32}.line-flex-grid input:not([type=checkbox]),.line-flex-grid select{width:100%;min-height:42px;border:1px solid #cbdad8;border-radius:9px;padding:.55rem .7rem;background:#fff}.line-flex-grid input[type=checkbox]{width:22px;height:22px;accent-color:var(--tenant-primary)}
@media(max-width:767px){.invoice-flex-panel{padding:.75rem}.line-flex-grid{grid-template-columns:1fr;padding:0 .75rem .8rem}.invoice-flex-line summary{padding:.75rem}.draft-actions{flex-wrap:wrap}.draft-actions .btn{width:100%}}
.sale-line>.invoice-flex-line{grid-column:1/-1;width:100%;margin:.15rem 0 .4rem}.invoice-flex-panel.flex-panel-merged{display:none}
.invoice-header-print{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;padding:.6rem 0;border-bottom:1px solid #dce7e5}.invoice-header-print div{display:flex;flex-direction:column}.invoice-header-print small{color:#60758a;font-size:.68rem}.invoice-header-print strong{font-size:.82rem}@media(max-width:700px){.invoice-header-print{grid-template-columns:repeat(2,minmax(0,1fr))}}
.invoice-flex-cell{display:flex;flex-direction:column;gap:.12rem;font-size:.68rem;font-weight:700;color:#29445e;border-left:1px solid #dce7e5;padding-left:.45rem;min-width:0}.invoice-flex-cell span{height:16px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-flex-cell input:not([type=checkbox]),.invoice-flex-cell select{box-sizing:border-box;width:100%;min-width:0;height:36px!important;min-height:36px!important;border:1px solid #cbdad8;border-radius:8px;padding:.3rem .5rem!important;background:#fff;font-size:.8rem}.invoice-flex-cell.flex-cell-disabled{opacity:.5;pointer-events:none}@media(max-width:767px){.sale-line{grid-template-columns:repeat(2,1fr)!important}.invoice-flex-cell{border-left:0;padding-left:0}.invoice-flex-cell input:not([type=checkbox]),.invoice-flex-cell select{height:42px!important;min-height:42px!important}}
@media(min-width:900px){.invoice-header-fields{padding:.65rem .85rem}.invoice-header-fields .setup-fields{grid-template-columns:repeat(4,minmax(120px,1fr));gap:.4rem .55rem}.invoice-header-fields input,.invoice-header-fields select{height:34px!important;min-height:34px!important;padding:.25rem .45rem!important}.invoice-flex-panel{padding:.65rem .8rem}.invoice-flex-panel>.setup-card-title{margin-bottom:.35rem;padding-bottom:.35rem}.invoice-flex-line{display:inline-block;width:min(31%,320px);vertical-align:top;margin:.25rem}.invoice-flex-line summary{padding:.42rem .55rem;font-size:.72rem}.line-flex-grid{grid-template-columns:repeat(2,minmax(70px,1fr));gap:.35rem;padding:0 .5rem .5rem}.line-flex-grid label{gap:.15rem;font-size:.67rem}.line-flex-grid input:not([type=checkbox]),.line-flex-grid select{height:32px;min-height:32px;padding:.2rem .4rem;border-radius:7px;font-size:.75rem}}
