.sales-start{max-width:900px;margin:auto}.sales-start h2{margin:18px 0 12px;font-size:25px}.sales-start>p{line-height:1.8}.sales-start form{margin:24px 0 16px}.sales-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:17px 0 22px}.sales-grid input,.sales-grid select{min-width:0;width:100%;box-sizing:border-box}.sales-grid .tools-field{min-width:0}.sales-editor-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.sales-editor-head h2{font-size:24px;margin:12px 0 7px;overflow-wrap:anywhere}.sales-editor-head p{margin:0}.sales-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px}.sales-stats>div{background:#fff;border:1px solid #dfe6f3;border-radius:15px;padding:21px 18px;min-width:0}.sales-stats .accent{background:#edf2ff;border-color:#cbd8ff}.sales-stats span,.sales-stats small{display:block;color:#7283a0;font-size:12px}.sales-stats strong{display:block;font-size:25px;letter-spacing:-.8px;color:#234dd4;margin:11px 0;overflow-wrap:anywhere}.sales-stats small{font-size:11px;line-height:1.6}.sales-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0 24px}.sales-toolbar>.tools-muted{font-size:12px;margin-left:auto}.sales-upload{position:relative;overflow:hidden;cursor:pointer}.sales-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.sales-upload:focus-within{outline:2px solid #234dd4;outline-offset:3px}.sales-tabs{display:flex;gap:5px;margin:26px 0 15px;flex-wrap:wrap}.sales-tabs .tools-btn{border-color:transparent;background:transparent}.sales-tabs [aria-pressed=true]{background:#fff;color:#3155e7;border-color:#cbd8ff}.sales-content{margin:0;min-width:0;padding:23px}.sales-filter{display:flex;align-items:end;gap:12px;margin-bottom:16px}.sales-filter>label:first-child{flex:1;min-width:120px}.sales-filter>label:nth-child(2){width:220px}.sales-filter>.tools-muted{white-space:nowrap;padding-bottom:12px;font-size:12px}.sales-table-wrap{width:100%;max-height:660px;overflow:auto;border:1px solid #e4eaf4;border-radius:10px}.sales-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.sales-table th{position:sticky;top:0;background:#f5f7fc;text-align:left;font-weight:600;color:#627796;z-index:1}.sales-table td,.sales-table th{padding:14px 12px;border-bottom:1px solid #e8edf6}.sales-table tbody tr:last-child td{border-bottom:0}.sales-table small{display:block;color:#8090a9;font-size:10px;margin-top:6px}.sales-table .sales-product{white-space:normal;min-width:160px;max-width:260px;overflow-wrap:anywhere}.sales-status{font-size:11px;border-radius:6px;background:#eaf7f3;color:#278270;padding:4px 7px}.sales-status.warn{background:#fff5df;color:#98631b}.sales-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:18px;font-size:12px;color:#7283a0}.sales-pagination button:disabled{opacity:.35;pointer-events:none}.sales-edit-panel{background:#fff;border:1px solid #cbd8ff;border-radius:14px;padding:24px;margin:20px 0;scroll-margin-top:90px;min-width:0}.sales-edit-panel h3{margin:0;font-size:18px}.sales-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sales-section-head h3 small{font-size:13px;color:#7283a0;margin-left:10px}.sales-help{margin:18px 0;padding:16px;border:1px solid #e0e7f3;border-radius:10px;font-size:13px;color:#627796}.sales-help summary{cursor:pointer;color:#355274;font-weight:600}.sales-help p{line-height:1.8;margin:12px 0 0}.sales-help li{margin-bottom:7px}.sales-hint{padding:14px 16px;border-radius:8px;background:#fff7e8;color:#956521;font-size:12px;line-height:1.8}.sales-ack{margin:20px 0;line-height:1.7}.sales-reports{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sales-reports h3,.sales-expenses h3{font-size:16px;margin:8px 0 15px}.sales-expenses{margin-top:30px;padding-top:20px;border-top:1px solid #e4eaf3}.sales-expense-row{display:flex;align-items:center;gap:18px;padding:13px 0;border-top:1px solid #e8edf4;font-size:13px}.sales-expense-row strong{flex:1;overflow-wrap:anywhere}.sales-note{font-size:11px;margin:22px 0;line-height:1.8}.sales-ledger[aria-busy=true]{opacity:.8}
@media(max-width:1000px){.sales-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-editor-head{align-items:flex-start;flex-direction:column}.sales-editor-head .tools-actions{width:100%}.sales-reports{grid-template-columns:1fr}}
@media(max-width:600px){.sales-start h2{font-size:21px}.sales-grid{grid-template-columns:1fr;gap:14px}.sales-stats{gap:9px}.sales-stats>div{padding:15px 12px;border-radius:11px}.sales-stats strong{font-size:21px}.sales-stats span{font-size:11px}.sales-stats small{font-size:10px}.sales-editor-head h2{font-size:22px}.sales-toolbar>.tools-muted{width:100%;margin:0;font-size:11px}.sales-content{padding:16px}.sales-filter{flex-wrap:wrap;align-items:center}.sales-filter>label:first-child{flex-basis:100%}.sales-filter>label:nth-child(2){flex:1}.sales-filter>.tools-muted{padding-bottom:0}.sales-filter input,.sales-grid input,.sales-grid select{font-size:16px}.sales-edit-panel{padding:18px 15px}.sales-table{font-size:11px}.sales-table td,.sales-table th{padding:12px 10px}.sales-table-wrap{max-height:580px}.sales-expense-row{gap:10px;flex-wrap:wrap}.sales-expense-row>span:first-child{font-size:11px}.sales-expense-row strong{min-width:80px}.sales-reports{gap:16px}.sales-tabs{gap:0}.sales-tabs .tools-btn{padding:9px 12px;font-size:13px}.sales-help{padding:13px}.sales-section-head h3 small{display:block;margin:7px 0 0}.sales-editor-head .tools-actions{gap:7px}.sales-editor-head .tools-actions .tools-btn{font-size:11px;padding:8px 10px}.sales-note{font-size:10px}}

.sales-progress{padding:13px 16px;border:1px solid #d6e2fa;border-radius:9px;background:#edf3ff;color:#3159d9;font-size:13px;margin:0 0 18px}
