.sales-report-dialog{width:min(1500px,96vw);max-width:none;height:min(900px,94vh);padding:0;border:1px solid rgba(96,165,250,.3);border-radius:18px;background:#07111f;color:#e8f0ff;box-shadow:0 30px 80px rgba(0,0,0,.65)}
.sales-report-dialog::backdrop{background:rgba(2,6,23,.78);backdrop-filter:blur(7px)}
.sales-report-shell{display:flex;flex-direction:column;height:100%;overflow:hidden}
.sales-report-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px;border-bottom:1px solid rgba(148,163,184,.16);background:linear-gradient(120deg,rgba(37,99,235,.18),rgba(15,23,42,.75))}
.sales-report-header h2{margin:3px 0 4px;font-size:25px}.sales-report-header p{margin:0;color:#94a3b8;font-size:13px}.sales-report-eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#60a5fa}
.sales-report-close{border:0;background:transparent;color:#94a3b8;font-size:30px;cursor:pointer}.sales-report-controls{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.2fr auto auto;gap:10px;align-items:end;padding:16px 26px;border-bottom:1px solid rgba(148,163,184,.13)}
.sales-report-controls label{display:grid;gap:5px;color:#94a3b8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.sales-report-controls input,.sales-report-controls select{min-height:38px;padding:7px 10px;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#0d1a2d;color:#e8f0ff}
.sales-report-status{margin:0;padding:9px 26px;color:#94a3b8;font-size:12px}.sales-report-status.success{color:#34d399}.sales-report-status.error{color:#f87171}
.sales-report-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:4px 26px 16px}.sales-report-summary>div{padding:14px;border:1px solid rgba(148,163,184,.15);border-radius:11px;background:rgba(15,23,42,.72);display:grid;gap:4px}.sales-report-summary span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;font-weight:800}.sales-report-summary strong{font-size:21px}.sales-report-summary small{color:#64748b}.sales-report-summary .is-total{border-color:rgba(96,165,250,.4);background:rgba(37,99,235,.13)}
.sales-report-table-wrap{flex:1;overflow:auto;margin:0 26px 16px;border:1px solid rgba(148,163,184,.14);border-radius:12px}.sales-report-table{width:100%;border-collapse:collapse;font-size:12px}.sales-report-table th{position:sticky;top:0;z-index:1;padding:11px 10px;background:#101d31;color:#94a3b8;text-align:left;text-transform:uppercase;font-size:9px;letter-spacing:.07em}.sales-report-table td{padding:10px;border-top:1px solid rgba(148,163,184,.1);white-space:nowrap}.sales-report-table th:nth-last-child(-n+4),.sales-report-table td:nth-last-child(-n+4){text-align:right}.sales-report-type{display:inline-block;padding:3px 7px;border-radius:999px;text-transform:capitalize;background:rgba(59,130,246,.16);color:#93c5fd}.sales-report-type.wholesale{background:rgba(168,85,247,.16);color:#d8b4fe}
.sales-report-footer{display:flex;justify-content:space-between;padding:10px 26px 16px;color:#64748b;font-size:10px}
@media(max-width:900px){.sales-report-controls{grid-template-columns:1fr 1fr}.sales-report-summary{grid-template-columns:repeat(2,1fr)}.sales-report-summary .is-total{grid-column:1/-1}}
@media print{body>*:not(.sales-report-dialog){display:none!important}.sales-report-dialog{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;border:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}.sales-report-close,.sales-report-controls,.sales-report-status{display:none!important}.sales-report-shell{height:auto!important;overflow:visible!important}.sales-report-header{padding:0 0 14px!important;background:#fff!important;border-bottom:2px solid #111!important}.sales-report-header p,.sales-report-eyebrow{color:#444!important}.sales-report-summary{padding:14px 0!important;gap:6px!important}.sales-report-summary>div{border:1px solid #bbb!important;background:#fff!important;color:#111!important}.sales-report-summary span,.sales-report-summary small{color:#555!important}.sales-report-table-wrap{overflow:visible!important;margin:0!important;border:0!important}.sales-report-table{font-size:9px!important}.sales-report-table th{position:static!important;background:#eee!important;color:#111!important}.sales-report-table td,.sales-report-table th{padding:6px!important;border-color:#ccc!important}.sales-report-type{padding:0!important;background:none!important;color:#111!important}.sales-report-footer{padding:12px 0 0!important;color:#444!important}@page{size:landscape;margin:.4in}}
.sales-report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.sales-report-table td:nth-child(6),.sales-report-table td:nth-child(7),.sales-report-table td:nth-child(8){font-variant-numeric:tabular-nums;color:#cbd5e1}
@media(max-width:1100px){.sales-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sales-performance-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.sales-performance-head-actions p{margin:0}
.sales-performance-head-actions .vinsolutions-import-button{white-space:nowrap}
@media(max-width:640px){.sales-performance-head-actions{gap:6px}.sales-performance-head-actions p{display:none}}
@media print{.sales-performance-head-actions{display:none!important}}
