.superstore-shell{--page:#f8fafc;--card:#fff;--ink:#0f172a;--muted:#475569;--sales:#2563eb;--profit:#0f766e;--loss:#b91c1c;--border:#e2e8f0;background:var(--page);min-height:100vh;color:var(--ink);margin:0;font-family:Vazirmatn,Arial,sans-serif;font-size:15px;line-height:1.55}.superstore-shell .superstore-backbar{border-bottom:1px solid var(--border);color:#e2e8f0;background:#0f172a;justify-content:space-between;align-items:center;gap:18px;min-height:54px;padding:0 24px;display:flex}.superstore-shell .superstore-backbar a{color:inherit;font-size:13px;font-weight:650;text-decoration:none}.superstore-shell .superstore-backbar a:hover{color:#93c5fd}.superstore-shell .superstore-backbar span{color:#94a3b8;font:11px monospace}.superstore-shell *{box-sizing:border-box}.superstore-shell button,.superstore-shell input,.superstore-shell select{font:inherit}.superstore-shell button,.superstore-shell summary,.superstore-shell a.button{cursor:pointer}.superstore-shell button:disabled{opacity:.5;cursor:not-allowed}.superstore-shell button,.superstore-shell input,.superstore-shell select,.superstore-shell summary,.superstore-shell a{outline-offset:3px}.superstore-shell :focus-visible{outline:3px solid var(--sales)}.superstore-shell button{color:inherit}.superstore-shell input,.superstore-shell select{border:1px solid var(--border);background:var(--card);color:var(--ink);border-radius:6px;min-width:0;min-height:44px;padding:8px 10px}.superstore-shell input[type=checkbox]{width:17px;height:17px;min-height:auto;accent-color:var(--sales)}.superstore-shell h1,.superstore-shell h2,.superstore-shell h3,.superstore-shell p{margin-top:0}.superstore-shell h1{margin-bottom:6px;font-size:30px;font-weight:750;line-height:1.3}.superstore-shell h2{margin-bottom:0;font-size:18px;font-weight:700;line-height:1.4}.superstore-shell h3{margin-bottom:5px;font-size:15px;font-weight:650}.superstore-shell .dashboard{max-width:1680px;margin:0 auto;padding:24px}.superstore-shell .numeric{white-space:nowrap;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate;font-family:Vazirmatn,Arial,sans-serif}.superstore-shell .negative{color:var(--loss)}.superstore-shell .positive{color:var(--profit)}.superstore-shell .sales{color:var(--sales)}.superstore-shell .header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;display:flex}.superstore-shell .header h1{font-size:clamp(24px,2.5vw,32px)}.superstore-shell .reporting-period{color:var(--muted);margin:0;font-size:14px}.superstore-shell .header-actions{flex-shrink:0;align-items:center;gap:14px;display:flex}.superstore-shell .button{border:1px solid var(--border);background:var(--card);border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 16px;font-weight:600;text-decoration:none;display:inline-flex}.superstore-shell .button:hover:not(:disabled){background:#f1f5f9}.superstore-shell .button.primary{background:var(--sales);border-color:var(--sales);color:#fff}.superstore-shell .button.primary:hover:not(:disabled){background:#1d4ed8}.superstore-shell .language-control,.superstore-shell .metric-switch{align-items:center;gap:2px;display:inline-flex}.superstore-shell .language-control button,.superstore-shell .metric-switch button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:5px;padding:7px 12px}.superstore-shell .language-control button.active{color:var(--ink);background:#e2e8f0;font-weight:750}.superstore-shell .metric-switch{background:#f1f5f9;border-radius:6px}.superstore-shell .metric-switch button{min-height:34px;padding:5px 12px;font-size:14px}.superstore-shell .metric-switch button.active{background:var(--sales);color:#fff}.superstore-shell .connection-error{color:var(--loss);align-items:center;gap:6px;font-size:13px;display:flex}.superstore-shell .connection-error>span{background:var(--loss);border-radius:50%;width:7px;height:7px}.superstore-shell .filter-bar{border:1px solid var(--border);background:var(--card);z-index:4;border-radius:8px;padding:12px 16px;position:relative}.superstore-shell .filter-main{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.superstore-shell .selector{flex:0 auto;min-width:185px;max-width:280px;position:relative}.superstore-shell summary{list-style:none}.superstore-shell summary::-webkit-details-marker{display:none}.superstore-shell .selector>summary{border:1px solid var(--border);border-radius:6px;align-items:center;gap:10px;min-height:44px;padding:8px 12px;display:flex}.superstore-shell .selector-label{color:var(--muted);flex-shrink:0;font-size:14px}.superstore-shell .selector-value{text-overflow:ellipsis;white-space:nowrap;flex:1;max-width:160px;font-weight:550;overflow:hidden}.superstore-shell .selector-panel{top:calc(100% + 6px);z-index:20;border:1px solid var(--border);background:#fff;border-radius:8px;width:280px;padding:12px;position:absolute;inset-inline-start:0;box-shadow:0 12px 28px #0f172a24}.superstore-shell .search-label{color:var(--muted);gap:5px;margin-bottom:6px;font-size:13px;display:grid}.superstore-shell .options{max-height:220px;overflow-y:auto}.superstore-shell .check-option{cursor:pointer;align-items:center;gap:9px;min-height:40px;padding:8px 5px;display:flex}.superstore-shell .check-option:hover{background:var(--page)}.superstore-shell .more-filters{position:relative}.superstore-shell .more-panel{inset-inline-start:0;background:var(--card);border:1px solid var(--border);border-radius:8px;grid-template-columns:1fr 1fr;gap:16px;width:640px;margin:0;padding:18px;display:grid;position:absolute;top:100%;box-shadow:0 12px 28px #0f172a24}.superstore-shell .more-panel legend{background:var(--card);padding:0 6px;font-weight:650}.superstore-shell .more-panel .selector{width:100%;min-width:0;max-width:none}@media (hover:hover) and (pointer:fine){.superstore-shell .more-filters[open]:not(:hover)>.more-panel{display:none}}.superstore-shell .date-field{color:var(--muted);gap:6px;font-size:14px;display:grid}.superstore-shell .filter-chips{flex-wrap:wrap;gap:7px;display:flex}.superstore-shell .filter-chips:empty{display:none}.superstore-shell .chip{border:1px solid var(--border);background:var(--page);border-radius:6px;align-items:center;gap:4px;margin-top:9px;padding:1px 8px;font-size:13px;display:inline-flex}.superstore-shell .chip button{background:0 0;border:0;place-items:center;width:32px;height:32px;display:grid}.superstore-shell .pending{color:#92400e;margin:8px 0 0;font-size:13px}.superstore-shell .filter-bar>p.negative{margin:8px 0 0;font-size:14px}.superstore-shell .tabs{border-bottom:1px solid var(--border);gap:8px;margin-bottom:20px;display:flex;overflow-x:auto}.superstore-shell .tabs button{min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 20px;font-weight:650}.superstore-shell .tabs button.active{color:var(--sales);border-bottom-color:var(--sales)}.superstore-shell .view-content{gap:18px;display:grid}.superstore-shell .card{background:var(--card);border:1px solid var(--border);border-radius:8px;min-width:0;padding:18px}.superstore-shell .card-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.superstore-shell .card-heading p{color:var(--muted);margin:4px 0 0;font-size:14px}.superstore-shell .kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.superstore-shell .kpi{padding:16px 20px}.superstore-shell .kpi p{color:var(--muted);margin:0 0 7px;font-size:15px}.superstore-shell .kpi strong{font-size:34px;font-weight:750;line-height:1.3;display:block}.superstore-shell .findings{grid-template-columns:1fr 1fr;gap:18px;display:grid}.superstore-shell .findings article{background:var(--card);border:1px solid var(--border);border-inline-start:3px solid var(--profit);border-radius:8px;padding:14px 18px}.superstore-shell .findings article.finding-alert{border-inline-start-color:var(--loss);background:#fff7f7}.superstore-shell .findings article.finding-focus{background:#fffbeb;border-inline-start-color:#d97706}.superstore-shell .findings h2{margin:0 0 5px;font-size:16px}.superstore-shell .findings p{color:var(--muted);margin:0;font-size:14px}.superstore-shell .monthly-stack{gap:12px;display:grid}.superstore-shell .trend-plot{width:100%;min-width:0;height:230px}.superstore-shell .trend h3{text-align:start}.superstore-shell .monthly-scroll{overflow-x:auto}.superstore-shell .monthly-plots{gap:16px;width:100%;display:grid}.superstore-shell .monthly-series-legend{color:var(--muted);align-items:center;gap:18px;margin-bottom:2px;font-size:13px;display:flex}.superstore-shell .monthly-series-legend span{align-items:center;gap:6px;display:flex}.superstore-shell .monthly-series-legend i{border-radius:2px;width:14px;height:10px;display:inline-block}.superstore-shell .legend-sales{background:var(--sales)}.superstore-shell .legend-average{background:#1e40af;height:3px!important}.superstore-shell .monthly-tooltip{border:1px solid var(--border);background:#fff;border-radius:7px;padding:12px 14px;font-size:14px;box-shadow:0 6px 18px #0f172a1f}.superstore-shell .monthly-tooltip dl{grid-template-columns:auto auto;gap:6px 18px;margin:8px 0 0;display:grid}.superstore-shell .monthly-tooltip dd{text-align:end;margin:0}.superstore-shell .monthly-tooltip p{margin:6px 0 0}.superstore-shell .monthly-scroll-note{color:var(--muted);margin:0;font-size:12px;display:none}@media (max-width:1200px){.superstore-shell .monthly-scroll-note{display:block}.superstore-shell .report-canvas .monthly-scroll-note{display:none}}.superstore-shell .chart-note{color:var(--muted);margin:4px 0 0;font-size:12px}.superstore-shell .comparison-grid,.superstore-shell .profitability-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.superstore-shell .profit-bridge{width:100%;height:350px}.superstore-shell .profit-bridge>svg{width:100%;height:100%;display:block}.superstore-shell .bridge-label{text-align:center;height:62px;color:var(--muted);justify-content:center;align-items:flex-start;padding:5px;font-size:13px;line-height:1.45;display:flex}.superstore-shell .discount-band-stats{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.superstore-shell .discount-band-stats>div{background:var(--page);border-radius:6px;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;padding:10px 12px;display:grid}.superstore-shell .discount-band-stats span{color:var(--muted);font-size:13px}.superstore-shell .discount-band-stats strong{font-size:18px}.superstore-shell .discount-band-stats small{color:var(--muted);grid-column:1/-1}.superstore-shell .subcategory-discount-chart{width:100%;min-width:0;height:340px}.superstore-shell .profitability-note{text-align:center;margin:0}.superstore-shell .comparison{--columns:135px minmax(130px,1fr) 115px 115px 75px;min-width:595px;font-size:13px}.superstore-shell .comparison.no-margin{--columns:100px minmax(130px,1fr) 115px 115px;min-width:500px}.superstore-shell .comparison.product-comparison{--columns:180px minmax(300px,1fr) 165px 165px 110px;min-width:970px;font-size:15px}.superstore-shell .comparison-head,.superstore-shell .comparison-row{grid-template-columns:var(--columns);align-items:center;gap:12px;display:grid}.superstore-shell .comparison-head{color:var(--muted);padding-bottom:10px;font-size:13px}.superstore-shell .comparison-head>span:nth-child(n+3),.superstore-shell .comparison-row>.numeric{text-align:right}.superstore-shell .comparison-row{border-top:1px solid var(--border);min-height:42px}.superstore-shell .product-comparison .comparison-row{min-height:39px}.superstore-shell .group-name{white-space:nowrap;font-weight:600}.superstore-shell .bar-track{width:100%;height:30px}.superstore-shell .comparison-axis{grid-template-columns:var(--columns);color:var(--muted);gap:12px;padding-top:8px;font-size:11px;display:grid}.superstore-shell .comparison-axis>div{height:25px;position:relative}.superstore-shell .comparison-axis span[style]{white-space:nowrap;position:absolute;transform:translate(-50%)}.superstore-shell .comparison-scroll{direction:ltr;overflow-x:auto}.superstore-shell .series-legend{color:var(--muted);justify-content:center;align-items:center;gap:20px;margin-top:8px;font-size:13px;display:flex}.superstore-shell .series-legend>span,.superstore-shell .map-legend>span{align-items:center;gap:7px;display:flex}.superstore-shell .series-legend i,.superstore-shell .map-legend i{border:1px solid #0f172a1a;border-radius:2px;width:12px;height:12px;display:inline-block}.superstore-shell .legend-positive{background:var(--profit)}.superstore-shell .legend-negative{background:var(--loss)}.superstore-shell .geography-grid{grid-template-columns:1.16fr 1fr;gap:18px;display:grid}.superstore-shell .state-map{width:100%;display:block}.superstore-shell .map-legend{flex-wrap:wrap;align-items:center;gap:14px;margin-top:4px;font-size:12px;display:flex}.superstore-shell .legend-scale>div{justify-content:space-between;margin-top:3px;font-size:11px;display:flex}.superstore-shell .map-content>.chart-note{margin-top:8px}.superstore-shell .asset-credit{color:var(--muted);margin:8px 0 0;font-size:11px}.superstore-shell .scatter-plot{position:relative}.superstore-shell .scatter-plot>svg{width:100%;display:block}.superstore-shell .scatter-point{cursor:pointer;outline:none}.superstore-shell .scatter-point:focus-visible{outline:none}.superstore-shell .scatter-tooltip{z-index:3;pointer-events:none;border:1px solid var(--border);background:#fff;border-radius:7px;width:215px;padding:10px 12px;font-size:13px;position:absolute;box-shadow:0 8px 24px #0f172a26}.superstore-shell .scatter-tooltip strong{margin-bottom:6px;display:block}.superstore-shell .scatter-tooltip dl{grid-template-columns:1fr auto;gap:4px 14px;margin:0;display:grid}.superstore-shell .scatter-tooltip dt{color:var(--muted)}.superstore-shell .scatter-tooltip dd{text-align:end;margin:0}.superstore-shell .scatter-legend{color:var(--muted);justify-content:center;align-items:center;gap:22px;margin-top:2px;font-size:13px;display:flex}.superstore-shell .scatter-legend span{align-items:center;gap:8px;display:flex}.superstore-shell .scatter-legend i{width:11px;height:11px;display:inline-block}.superstore-shell .scatter-positive{background:var(--profit);border-radius:50%}.superstore-shell .scatter-negative{background:var(--loss);border-radius:1px;transform:rotate(45deg)}.superstore-shell .table-scroll{overflow-x:auto}.superstore-shell table{border-collapse:collapse;text-align:start;width:100%;font-size:14px}.superstore-shell th,.superstore-shell td{border-bottom:1px solid var(--border);white-space:nowrap;padding:9px 12px}.superstore-shell thead th{color:var(--muted);background:var(--page);font-weight:550}.superstore-shell tbody th{font-weight:550}.superstore-shell th:first-child{text-align:start}.superstore-shell th:not(:first-child),.superstore-shell td{text-align:end}.superstore-shell tbody tr:last-child th,.superstore-shell tbody tr:last-child td{border-bottom:0}.superstore-shell .state-details>summary{width:max-content;margin-inline-start:auto}.superstore-shell .state-details>.card{margin-top:12px}.superstore-shell .detail-controls{flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:16px;display:flex}.superstore-shell .detail-controls label{gap:5px;min-width:160px;display:grid}.superstore-shell .pagination{justify-content:center;align-items:center;gap:20px;padding-top:14px;display:flex}.superstore-shell .page-footer{color:var(--muted);margin-top:18px;font-size:12px}.superstore-shell .empty{color:var(--muted);background:var(--page);text-align:center;border-radius:6px;margin:0;padding:24px}.superstore-shell .error-banner{color:var(--loss);background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:16px}.superstore-shell .error-banner p{margin-bottom:8px}.superstore-shell .download-panel{background:#f0fdfa;border:1px solid #99f6e4;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;padding:16px;display:flex}.superstore-shell .download-panel p{width:100%;margin:0}.superstore-shell .loading{color:var(--muted);padding:20px 0}.superstore-shell .skeleton-kpis{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.superstore-shell .skeleton-kpis>div{background:#e2e8f0;border-radius:8px;height:115px}.superstore-shell .report-stage{pointer-events:none;width:1600px;height:0;position:fixed;top:0;left:0;overflow:hidden}.superstore-shell .report-canvas{background:var(--page);flex-direction:column;width:1600px;min-height:1200px;padding:28px 32px;display:flex;position:relative;overflow:visible}.superstore-shell .report-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:82px;padding-bottom:12px;display:flex}.superstore-shell .report-header h1{margin-bottom:4px;font-size:30px}.superstore-shell .report-header h2{color:var(--sales);font-size:20px}.superstore-shell .report-header p{color:var(--muted);margin:0 0 5px;font-size:14px}.superstore-shell .report-filter-summary{min-height:38px;color:var(--muted);overflow-wrap:anywhere;padding:8px 0 12px;font-size:14px}.superstore-shell .report-canvas>.view-content{flex:none;align-content:start;gap:16px}.superstore-shell .report-footer{color:var(--muted);flex-shrink:0;justify-content:space-between;gap:16px;margin-top:auto;padding-top:12px;font-size:12px;display:flex}.superstore-shell .report-canvas .kpi strong{font-size:36px}.superstore-shell .report-canvas .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.superstore-shell .report-canvas .kpi{padding:14px 20px}.superstore-shell .report-canvas .findings article{padding:12px 16px}.superstore-shell .report-canvas .findings p{font-size:14px}.superstore-shell .report-canvas .card{padding:16px 18px}.superstore-shell .report-canvas .card-heading{margin-bottom:10px}.superstore-shell .report-canvas .trend-plot{height:210px}.superstore-shell .report-canvas .monthly-plots{min-width:0!important}.superstore-shell .report-canvas .monthly-scroll{overflow:visible}.superstore-shell .report-overview{min-height:1400px}.superstore-shell .report-canvas .monthly-stack{gap:8px}.superstore-shell .report-canvas .comparison-row{min-height:32px}.superstore-shell .report-canvas .comparison{--columns:135px minmax(170px,1fr) 125px 125px 80px;font-size:14px}.superstore-shell .report-canvas .comparison.no-margin{--columns:105px minmax(200px,1fr) 125px 125px}.superstore-shell .report-products .product-comparison{--columns:190px minmax(400px,1fr) 190px 190px 120px;font-size:17px}.superstore-shell .report-products .comparison-row{min-height:43px}.superstore-shell .report-products .comparison-head{font-size:16px}.superstore-shell .report-products .series-legend{margin:18px 0 0}.superstore-shell .report-products .card{padding:20px}.superstore-shell .report-products .bar-track{height:36px}.superstore-shell .report-geography .geography-grid{grid-template-columns:1.15fr 1fr}.superstore-shell .report-geography table{font-size:16px}.superstore-shell .report-geography th,.superstore-shell .report-geography td{padding:10px 14px}.superstore-shell .report-geography .geography-grid .card{min-height:520px}.superstore-shell .report-geography .card-heading{margin-bottom:8px}.superstore-shell .report-geography .map-legend{gap:14px;font-size:13px}.superstore-shell .report-geography .chart-note{font-size:13px}.superstore-shell .report-geography .state-map,.superstore-shell .report-geography .scatter-plot>svg{height:420px}.superstore-shell .report-profitability{min-height:1400px}.superstore-shell .report-profitability .profit-bridge{height:300px}.superstore-shell .report-profitability .subcategory-discount-chart{height:330px}.superstore-shell .report-profitability .profitability-note{font-size:13px}@media (max-width:1100px){.superstore-shell .header{align-items:flex-start}.superstore-shell .header-actions{flex-wrap:wrap;justify-content:end}.superstore-shell .kpi strong{font-size:29px}.superstore-shell .comparison-grid,.superstore-shell .profitability-grid,.superstore-shell .geography-grid{grid-template-columns:1fr}.superstore-shell .more-panel{inset-inline:auto 0}.superstore-shell .report-canvas .comparison-grid,.superstore-shell .report-canvas .profitability-grid{grid-template-columns:1fr 1fr}.superstore-shell .report-canvas .geography-grid{grid-template-columns:1.15fr 1fr}}@media (min-width:701px) and (max-width:960px){.superstore-shell .dashboard>.view-content .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.superstore-shell .dashboard{padding:16px}.superstore-shell .header{flex-direction:column;gap:14px}.superstore-shell .header-actions{justify-content:start;width:100%}.superstore-shell .header h1{font-size:25px}.superstore-shell .kpis,.superstore-shell .findings{grid-template-columns:1fr 1fr;gap:12px}.superstore-shell .kpi{padding:14px}.superstore-shell .kpi strong{font-size:24px}.superstore-shell .filter-bar{padding:12px}.superstore-shell .selector{flex:140px;min-width:0;max-width:100%}.superstore-shell .filter-main{gap:8px}.superstore-shell .more-panel{grid-template-columns:1fr;width:auto;max-height:65vh;position:fixed;top:180px;left:16px;right:16px;overflow-y:auto}.superstore-shell .more-panel .selector-panel{width:100%;box-shadow:none;position:relative;top:4px}.superstore-shell .selector-panel{width:240px}.superstore-shell .filter-main>.selector:nth-child(2)>.selector-panel{inset-inline:auto 0}.superstore-shell .tabs{gap:0}.superstore-shell .tabs button{white-space:nowrap;padding:10px 15px}.superstore-shell .card{padding:16px}.superstore-shell .card-heading{flex-wrap:wrap;align-items:flex-start}.superstore-shell .findings,.superstore-shell .geography-grid{grid-template-columns:1fr}.superstore-shell .monthly-scroll-note{display:block}.superstore-shell .report-canvas .monthly-scroll-note{display:none}.superstore-shell .map-legend{justify-content:center}.superstore-shell .metric-switch button{min-height:44px}.superstore-shell .profitability-grid{grid-template-columns:1fr}.superstore-shell .profit-bridge{height:320px}.superstore-shell .discount-band-stats{grid-template-columns:1fr}.superstore-shell .scatter-plot{min-width:390px}.superstore-shell .scatter-content{overflow:auto}.superstore-shell .state-map{min-width:390px}.superstore-shell .map-content{overflow:auto}.superstore-shell .report-canvas .kpis{grid-template-columns:repeat(4,1fr);gap:18px}.superstore-shell .report-canvas .findings,.superstore-shell .report-canvas .profitability-grid,.superstore-shell .report-canvas .discount-band-stats{grid-template-columns:1fr 1fr}.superstore-shell .report-canvas .card-heading{flex-wrap:nowrap}.superstore-shell .report-canvas .state-map,.superstore-shell .report-canvas .scatter-plot{min-width:0}}
