#profit{max-width:1400px;margin:auto}#profit h2{font-size:18px;margin:24px 0 12px}#profit .profit-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #cfdee1}.profit-metric{padding:20px 16px;border-top:1px solid #cfdee1;min-width:0}.profit-metric span{display:block;color:#596c72;font-size:13px}.profit-metric strong{display:block;font-size:26px;margin-top:10px;overflow-wrap:anywhere;color:#174c53}.profit-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.profit-table{overflow:auto}.profit-table table{width:100%;min-width:300px}.profit-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.profit-form label{display:grid;gap:6px;font-size:13px}.profit-form input,.profit-form select{width:100%;min-width:0;box-sizing:border-box}.profit-form button{min-height:38px}.profit-table td{overflow-wrap:anywhere}#profitExpenses table{min-width:760px}@media(max-width:700px){#profit .profit-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-columns{grid-template-columns:1fr;gap:0}.profit-form{grid-template-columns:1fr 1fr}.profit-metric{padding:16px 8px}.profit-metric strong{font-size:22px}}
#app #profitScope{display:block!important;padding:12px 0;color:#765a18;font-size:13px;line-height:1.6;border-bottom:1px solid #dce4e5}
#deliveryProfitCalculation td.calculation-loss{color:#bd303b!important;font-weight:800}
#deliveryProfitCalculation .calculation-store{border:1px solid #d7e5eb;border-radius:8px;margin:12px 0;overflow:hidden}#deliveryProfitCalculation .calculation-store>summary{display:flex;align-items:center;gap:16px;padding:16px;background:#eaf3f8;cursor:pointer;list-style:none}#deliveryProfitCalculation .calculation-store-name{font-weight:700;flex:1;min-width:0;overflow-wrap:anywhere}#deliveryProfitCalculation .calculation-store-name::before{content:'▸';display:inline-block;margin-right:10px;color:#217c91}#deliveryProfitCalculation .calculation-store[open] .calculation-store-name::before{content:'▾'}#deliveryProfitCalculation .calculation-store-name small{font-weight:400;color:#607d8b;margin-left:12px}#deliveryProfitCalculation .calculation-store-totals{display:grid;grid-template-columns:repeat(4,minmax(80px,1fr));gap:18px;text-align:right}#deliveryProfitCalculation .calculation-store-totals small{display:block;font-size:11px;font-weight:400;color:#607d8b;margin-bottom:4px}#deliveryProfitCalculation .calculation-store-totals strong{white-space:nowrap;font-size:14px}#deliveryProfitCalculation .calculation-store-body{padding:16px}#deliveryProfitCalculation .calculation-store-body h3{font-size:15px;margin:0 0 12px}#deliveryProfitCalculation .calculation-source{margin-top:16px}#deliveryProfitCalculation .calculation-source>summary{cursor:pointer;color:#187e92;font-size:13px;padding:8px 0}@media(max-width:700px){#deliveryProfitCalculation .calculation-store>summary{flex-direction:column;align-items:stretch;gap:12px;padding:12px}#deliveryProfitCalculation .calculation-store-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:left}#deliveryProfitCalculation .calculation-store-totals strong{font-size:12px}#deliveryProfitCalculation .calculation-store-body{padding:12px}}
.delivery-profit-metrics>button{display:block;text-align:left;padding:16px;background:#edf5fb;color:#193d4b;border:1px solid transparent;border-radius:8px;min-width:0;width:100%;margin:0;cursor:pointer;white-space:normal}.delivery-profit-metrics>button:nth-child(3){background:#eaf7f0}.delivery-profit-metrics>button:hover{border-color:#79a5b5}.delivery-profit-metrics>button:focus-visible{outline:3px solid #23879c;outline-offset:2px}.delivery-profit-metrics small{display:block;margin-top:10px;font-size:11px;color:#397285}#deliveryProfitCalculation{width:min(1100px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;padding:24px;border:1px solid #d5e4e9;border-radius:14px;color:#193d4b}#deliveryProfitCalculation .calculation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}#deliveryProfitCalculation h2{font-size:21px;margin:0}#deliveryProfitCalculation .calculation-scope,#deliveryProfitCalculation .calculation-note{font-size:12px;line-height:1.7;color:#607d8b}#deliveryProfitCalculation .calculation-formula{white-space:pre-line;background:#edf7f3;border-left:3px solid #25866e;padding:16px;line-height:1.8;font-weight:700}#deliveryProfitCalculation .calculation-table{overflow:auto}#deliveryProfitCalculation table{width:100%;min-width:700px;border-collapse:collapse;font-size:13px}#deliveryProfitCalculation th,#deliveryProfitCalculation td{padding:12px;text-align:left;border-bottom:1px solid #dce7ed}#deliveryProfitCalculation th{background:#edf4f7;white-space:nowrap}#deliveryProfitCalculation td:last-child{white-space:nowrap;text-align:right}#deliveryProfitCalculation .calculation-footer{display:flex;justify-content:flex-end;margin:20px 0 0}#deliveryProfitCalculation .calculation-footer button{min-width:88px;background:#217b65;color:white}@media(max-width:700px){#deliveryProfitCalculation{padding:16px}#deliveryProfitCalculation h2{font-size:18px}}
#deliveryProfit{margin:18px 0 24px;padding:18px;background:white;border:1px solid #dce7ed;border-radius:12px}#deliveryProfit h2{font-size:18px;margin:0}#deliveryProfit [data-status]{font-size:13px;color:#607d8b;line-height:1.6}.delivery-profit-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.delivery-profit-metrics>div{padding:16px;background:#edf5fb;border-radius:8px;min-width:0}.delivery-profit-metrics>div:nth-child(3){background:#eaf7f0}.delivery-profit-metrics span{display:block;font-size:13px;color:#56717d}.delivery-profit-metrics strong{display:block;margin-top:10px;font-size:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}#deliveryProfit table{width:100%;min-width:650px;margin-top:14px}#deliveryProfit th:not(:first-child),#deliveryProfit td:not(:first-child){text-align:right}#deliveryProfit summary{padding:8px 0;cursor:pointer;color:#187e92}@media(max-width:700px){.delivery-profit-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.delivery-profit-metrics strong{font-size:20px}#deliveryProfit{padding:12px}}
#deliveryProfit .document-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
#deliveryProfitCalculation .calculation-store-name .calculation-expand-label{display:block;margin:7px 0 0 20px;font-size:12px;font-weight:600;color:#187e92}
#deliveryProfit .delivery-profit-date{display:flex;align-items:center;gap:8px;font-size:13px;color:#55717e;margin:0 0 0 auto;white-space:nowrap}
#deliveryProfit .delivery-profit-date select{height:38px;min-width:146px;border:1px solid #cbdde7;border-radius:6px;background:#fff;color:#214955;padding:6px 10px;font:inherit}
@media(max-width:700px){#deliveryProfit .document-tools h2{width:100%}#deliveryProfit .delivery-profit-date{margin-left:0;flex-wrap:wrap;white-space:normal}#deliveryProfit .document-tools>[data-reload]{margin-left:auto}}
