body.app-ventas .profitability-panel{min-width:0;color:#163d2c;background:#fff}
body.app-ventas .profit-report-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:18px}
body.app-ventas .profit-report-heading h3{margin:0;color:#163d2c;font-size:24px;line-height:1.25}
body.app-ventas .profit-report-heading p{margin:6px 0 0;color:#496552;font-size:14px}
body.app-ventas .profit-report-actions{display:flex;flex-wrap:wrap;gap:8px}
body.app-ventas .profit-report-actions button{min-height:44px;white-space:normal}
body.app-ventas .profit-bridge{max-width:680px;margin:0;padding:0;font-variant-numeric:tabular-nums}
body.app-ventas .profit-bridge>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,auto);align-items:baseline;gap:16px;padding:11px 12px;border-bottom:1px solid #dfebe3}
body.app-ventas .profit-bridge dt{color:#35553f;font-size:16px;line-height:1.45}
body.app-ventas .profit-bridge dd{margin:0;text-align:right;color:#163d2c;font-size:20px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
body.app-ventas .profit-bridge .profit-subtotal{border-top:1px solid #9cb7a5;font-weight:700}
body.app-ventas .profit-bridge .profit-result{background:#e7f2eb;border-bottom:2px solid #246142}
body.app-ventas .profit-bridge .profit-result dt,body.app-ventas .profit-bridge .profit-result dd{color:#154b2d;font-weight:700}
body.app-ventas .profit-bridge .profit-result.is-negative{background:#fff0eb;border-color:#9b3e2f}
body.app-ventas .profit-bridge .profit-result.is-negative dt,body.app-ventas .profit-bridge .profit-result.is-negative dd,body.app-ventas .profit-table .is-negative{color:#8f2e25}
body.app-ventas .profit-report-note,body.app-ventas .profit-purpose-note{max-width:72ch;margin:14px 0;color:#435e4a;font-size:14px;line-height:1.5;font-weight:400}
body.app-ventas .profit-field-hint{color:#536c5a;font-size:13px;font-weight:400}
body.app-ventas .admin-row.cash-movement-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:20px}
body.app-ventas .cash-movement-row>div{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;line-height:1.45}
body.app-ventas .cash-movement-row>div>strong{display:block;color:#193f2c;font-size:16px;overflow-wrap:anywhere}
body.app-ventas .cash-movement-row>div>span{display:block;color:#435e4a;font-size:14px;overflow-wrap:anywhere}
body.app-ventas .cash-movement-row>button{width:auto;min-width:100px;min-height:44px;justify-self:end;align-self:start;white-space:normal}
body.app-ventas .cash-movement-row .profit-classification,body.app-ventas .cash-movement-row .profit-classification form{min-width:0;max-width:100%}
body.app-ventas [data-cash-expense-category][hidden],body.app-ventas [data-classification-category][hidden]{display:none!important}
body.app-ventas .profit-review-note{margin:16px 0;padding:12px 14px;border:1px solid #d7c29c;border-radius:9px;background:#fff8e9;color:#62451b}
body.app-ventas .profit-review-note p{margin:5px 0 0;max-width:72ch;color:#62451b;font-size:14px;line-height:1.5}
body.app-ventas .profit-limitations{max-width:72ch;padding-left:20px;color:#62451b;font-size:14px;line-height:1.5}
body.app-ventas .profitability-panel h4{margin:26px 0 10px;font-size:18px;color:#193f2d}
body.app-ventas .profit-table-scroll{max-width:100%;min-width:0;overflow:auto;border:1px solid #d5e3da;border-radius:9px;overscroll-behavior-x:contain}
body.app-ventas .profit-table{width:100%;min-width:680px;margin:0;border-collapse:collapse;color:#1b402d;background:#fff;font-size:14px;line-height:1.45}
body.app-ventas .profit-table th,body.app-ventas .profit-table td{padding:11px 12px;border-bottom:1px solid #dfebe3;text-align:left;vertical-align:top}
body.app-ventas .profit-table thead th{background:#f0f6f2;color:#35533f;font-size:13px;font-weight:700}
body.app-ventas .profit-table th[scope=row]{font-weight:600;white-space:nowrap}
body.app-ventas .profit-table tr:last-child th,body.app-ventas .profit-table tr:last-child td{border-bottom:0}
body.app-ventas .profit-table .profit-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.app-ventas .profit-table small{display:block;margin-top:4px;color:#526b59;font-size:12px;font-weight:400;white-space:normal}
body.app-ventas .profit-category-table{min-width:360px}
body.app-ventas .profit-movements-table{min-width:1040px}
body.app-ventas .profit-movements-table td:nth-child(2){max-width:300px;min-width:190px;overflow-wrap:anywhere}
body.app-ventas .profit-period-detail{margin:18px 0}
body.app-ventas .profit-period-detail>summary{min-height:44px;display:list-item;cursor:pointer;padding:10px 0;font-weight:700;color:#1c4c33}
body.app-ventas .profit-classification{min-width:170px}
body.app-ventas .profit-classification summary{min-height:44px;padding:10px 0;cursor:pointer;color:#1b5b39;font-weight:600}
body.app-ventas .profit-classification form{min-width:230px;max-width:330px;padding:10px 0}
body.app-ventas .profit-classification form label{display:grid;gap:6px;margin:10px 0;font-size:14px;color:#254b34}
body.app-ventas .profit-classification form input,body.app-ventas .profit-classification form select,body.app-ventas #cashMovementForm input,body.app-ventas #cashMovementForm select{min-height:44px;min-width:0;max-width:100%;font-size:16px;caret-color:#175d3c}
body.app-ventas .profit-classification form p{font-size:13px;line-height:1.5;max-width:40ch;color:#4c6755}
body.app-ventas .profit-classification form .form-error{color:#8f2e25}
body.app-ventas .profitability-panel :focus-visible,body.app-ventas #cashMovementForm :focus-visible{outline:2px solid #1b6d45;outline-offset:3px}
body.app-ventas .profitability-panel ::selection,body.app-ventas #cashMovementForm ::selection{background:#cce7d5;color:#183f2b}
body.app-ventas .profit-loading{height:120px;max-width:680px;border-radius:9px;background:#edf3ef}
@media(max-width:600px){body.app-ventas .profit-report-heading h3{font-size:21px}body.app-ventas .profit-report-actions{width:100%}body.app-ventas .profit-report-actions button{flex:1 1 140px}body.app-ventas .profit-bridge>div{grid-template-columns:minmax(0,1fr) minmax(110px,auto);gap:10px;padding:10px 8px}body.app-ventas .profit-bridge dt{font-size:14px}body.app-ventas .profit-bridge dd{font-size:18px}body.app-ventas .profit-table th,body.app-ventas .profit-table td{padding:10px}body.app-ventas .profit-review-note{padding:11px}body.app-ventas #cashMovementForm .form-grid{grid-template-columns:1fr}}
@media(max-width:760px){body.app-ventas .cash-movement-row>button{width:100%;justify-self:stretch}}
