*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0}button,input,select{font:inherit}#root{min-height:100vh}.csv-import-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;margin-top:30px;padding:28px}.csv-import-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;display:flex}.csv-import-header h2{color:#14253d;margin:0 0 7px;font-size:21px}.csv-import-header p{color:#8390a0;margin:0;font-size:13px}.csv-import-badge{color:#11926f;background:#e3f8ef;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:700}.csv-upload-area{text-align:center;background:#f8fbfa;border:2px dashed #c6e4dc;border-radius:14px;padding:35px 20px}.csv-upload-icon{color:#16b89a;margin-bottom:10px;font-size:35px;display:block}.csv-upload-area h3{color:#14253d;margin:0 0 8px;font-size:18px}.csv-upload-area p{color:#8390a0;margin-bottom:23px;font-size:13px}.csv-upload-button{color:#fff;cursor:pointer;background:#16b89a;border-radius:9px;padding:13px 23px;font-size:13px;font-weight:700;display:inline-block}.csv-upload-button:hover{background:#11977e}.csv-upload-area input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.csv-upload-area input[type=file]:focus-visible+.csv-upload-button{outline:2px solid #10233d}.csv-error{color:#c95151;margin-top:18px;font-size:13px}.csv-results{margin-top:25px}.csv-success{color:#11926f;font-size:13px;font-weight:700}.csv-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.csv-stats div{background:#f6faf9;border:1px solid #e3f0ed;border-radius:12px;flex-direction:column;gap:12px;padding:20px;display:flex}.csv-stats span{color:#71839a;font-size:12px}.csv-stats strong{color:#14253d;font-size:25px}.csv-results h3{color:#14253d;font-size:17px}.csv-table-scroll{overflow-x:auto}.csv-table{border-collapse:collapse;text-align:left;width:100%;min-width:760px}.csv-table th,.csv-table td{border-bottom:1px solid #edf1f5;padding:15px;font-size:12px}.csv-table th{color:#71839a;background:#f6f8fb}.csv-table td{color:#243950}.csv-note{color:#9aa8b7;margin-top:17px;font-size:11px}@media (width<=600px){.csv-import-card{padding:20px 14px}.csv-import-header{flex-direction:column;align-items:flex-start}.csv-stats{grid-template-columns:1fr}}.imported-revenue-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;margin-top:30px;padding:28px;box-shadow:0 6px 25px #10233d0a}.imported-revenue-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;display:flex}.imported-revenue-header h2{color:#14253d;margin:0 0 7px;font-size:21px}.imported-revenue-header p{color:#8390a0;margin:0;font-size:13px}.imported-revenue-badge{color:#11926f;white-space:nowrap;background:#e3f8ef;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}.imported-revenue-chart{width:100%;min-width:0;height:320px}.imported-revenue-note{color:#9aa8b7;margin:16px 0 0;font-size:11px}@media (width<=600px){.imported-revenue-card{padding:20px 14px}.imported-revenue-header{flex-direction:column;align-items:flex-start}.imported-revenue-chart{height:260px}}.imported-products-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;margin-top:30px;padding:28px;box-shadow:0 6px 25px #10233d0a}.imported-products-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;display:flex}.imported-products-header h2{color:#14253d;margin:0 0 7px;font-size:21px}.imported-products-header p{color:#8390a0;margin:0;font-size:13px}.imported-products-badge{color:#11926f;white-space:nowrap;background:#e3f8ef;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}.imported-products-chart{width:100%;min-width:0;height:300px}.imported-products-empty{text-align:center;color:#8390a0;padding:45px 15px;font-size:13px}.imported-products-note{color:#9aa8b7;margin:16px 0 0;font-size:11px;line-height:1.6}@media (width<=600px){.imported-products-card{padding:20px 14px}.imported-products-header{flex-direction:column;align-items:flex-start}.imported-products-chart{height:270px}}.imported-orders-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;margin-top:30px;padding:28px;box-shadow:0 6px 25px #10233d0a}.imported-orders-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;display:flex}.imported-orders-header h2{color:#14253d;margin:0 0 7px;font-size:21px}.imported-orders-header p{color:#8390a0;margin:0;font-size:13px}.imported-orders-badge{color:#11926f;background:#e3f8ef;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}.imported-orders-controls{gap:14px;margin-bottom:22px;display:flex}.imported-orders-controls input,.imported-orders-controls select{color:#253950;background:#fff;border:1px solid #dfe6ee;border-radius:9px;height:43px;padding:0 14px;font-size:13px}.imported-orders-controls input{width:340px;max-width:100%}.imported-orders-controls select{cursor:pointer;min-width:155px}.imported-orders-controls input:focus,.imported-orders-controls select:focus{outline-offset:2px;outline:2px solid #16b89a}.imported-orders-scroll{width:100%;overflow-x:auto}.imported-orders-table{border-collapse:collapse;text-align:left;width:100%;min-width:820px}.imported-orders-table thead{background:#f6f8fb}.imported-orders-table th{color:#74859a;padding:16px;font-size:12px}.imported-orders-table td{color:#61748b;border-bottom:1px solid #edf1f5;padding:17px 16px;font-size:13px}.imported-orders-table tbody tr:hover{background:#f8fbfa}.imported-order-id{font-weight:800;color:#119984!important}.imported-order-customer,.imported-order-amount{font-weight:700;color:#1e334d!important}.imported-order-status{border-radius:7px;padding:7px 11px;font-size:11px;font-weight:800;display:inline-block}.imported-order-status.completed{color:#11926f;background:#e3f8ef}.imported-order-status.pending{color:#bb7a12;background:#fff3d9}.imported-order-status.refunded{color:#c95151;background:#fee9e9}.imported-orders-empty{text-align:center;padding:30px!important}.imported-orders-footer{color:#71839a;margin-top:18px;font-size:12px}.imported-orders-note{color:#9aa8b7;margin:12px 0 0;font-size:11px}@media (width<=600px){.imported-orders-card{padding:20px 14px}.imported-orders-header,.imported-orders-controls{flex-direction:column;align-items:flex-start}.imported-orders-controls input,.imported-orders-controls select{width:100%}}.csv-customer-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;margin-top:30px;padding:28px;box-shadow:0 6px 25px #10233d0a}.csv-customer-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px;display:flex}.csv-customer-header h2{color:#14253d;margin:0 0 7px;font-size:21px}.csv-customer-header p{color:#8390a0;margin:0;font-size:13px}.csv-customer-badge{color:#11926f;white-space:nowrap;background:#e3f8ef;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:700}.csv-customer-selector{flex-direction:column;gap:9px;margin-bottom:25px;display:flex}.csv-customer-selector label{color:#52677d;font-size:13px;font-weight:700}.csv-customer-selector select{color:#243950;cursor:pointer;background:#fff;border:1px solid #dfe6ee;border-radius:9px;width:340px;max-width:100%;height:44px;padding:0 13px;font-size:13px}.csv-customer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px;display:grid}.csv-customer-stats>div{background:#f6faf9;border:1px solid #e3f0ed;border-radius:12px;padding:22px}.csv-customer-stats p{color:#71839a;margin:0 0 12px;font-size:13px}.csv-customer-stats h3{color:#14253d;margin:0;font-size:29px}.csv-customer-table-scroll{width:100%;overflow-x:auto}.csv-customer-table{border-collapse:collapse;text-align:left;width:100%;min-width:700px}.csv-customer-table thead{background:#f6f8fb}.csv-customer-table th,.csv-customer-table td{color:#61748b;border-bottom:1px solid #edf1f5;padding:16px;font-size:13px}.csv-customer-table th{color:#74859a;font-size:12px}.csv-customer-table tbody tr:hover{background:#f8fbfa}.csv-customer-order-id{font-weight:800;color:#119984!important}.csv-customer-amount{font-weight:700;color:#1e334d!important}.csv-customer-status{border-radius:7px;padding:7px 11px;font-size:11px;font-weight:800;display:inline-block}.csv-customer-status.completed{color:#11926f;background:#e3f8ef}.csv-customer-status.pending{color:#bb7a12;background:#fff3d9}.csv-customer-status.refunded{color:#c95151;background:#fee9e9}.csv-customer-note{color:#9aa8b7;margin:18px 0 0;font-size:11px;line-height:1.6}@media (width<=600px){.csv-customer-card{padding:20px 14px}.csv-customer-header{flex-direction:column;align-items:flex-start}.csv-customer-selector select{width:100%}.csv-customer-stats{grid-template-columns:1fr}}.purchases-dashboard{width:100%;min-width:0}.purchases-page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.purchases-page-header h1{color:#122345;margin:8px 0;font-size:32px}.purchases-refresh{color:#fff;cursor:pointer;background:#3957e8;border:none;border-radius:8px;padding:11px 18px;font-weight:600}.purchases-refresh:disabled{opacity:.6;cursor:not-allowed}.purchases-section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.purchases-section-heading h2{color:#122345;margin:0 0 6px}.purchases-section-heading p{color:#8290ad;margin:0;font-size:13px}.purchases-source-badge{color:#07876b;background:#e0f8ee;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:600}.purchases-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.purchases-metric,.purchases-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:24px}.purchases-metric p{color:#73819f;margin:0;font-size:13px}.purchases-metric h3{color:#122345;margin:22px 0 12px;font-size:29px}.purchases-metric small{color:#8492aa}.purchases-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px;display:grid}.purchases-panel{min-width:0;margin-bottom:24px}.purchases-charts-grid .purchases-panel{margin-bottom:0}.purchases-panel h2{color:#122345;margin:0 0 7px;font-size:19px}.purchases-panel>p{color:#8592ad;margin:0 0 22px;font-size:13px}.purchases-chart{width:100%;height:290px}.purchases-controls{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.purchases-controls input,.purchases-controls select{color:#172748;background:#fff;border:1px solid #d7e0ee;border-radius:7px;padding:11px 13px}.purchases-controls input{flex:1;min-width:240px}.purchases-table-scroll{overflow-x:auto}.purchases-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:13px}.purchases-table th{color:#6e7e9a;background:#f3f6fb;padding:14px;font-weight:600}.purchases-table td{color:#33425f;border-bottom:1px solid #edf0f5;padding:15px 14px}.purchases-id{font-weight:700;color:#008f7b!important}.purchases-amount{font-weight:700}.purchases-status,.purchases-payment{color:#087a61;background:#e8f7f1;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:600}.purchases-footer{color:#8190a9;padding-top:16px;font-size:12px}.purchases-error{color:#b91c1c;background:#fff5f5;border:1px solid #fecaca;border-radius:10px;margin-bottom:24px;padding:20px}.purchases-message,.purchases-empty{color:#71809e;padding:20px}.purchases-disclaimer{color:#8190a9;margin:12px 0 30px;font-size:12px;line-height:1.6}@media (width<=1100px){.purchases-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchases-charts-grid{grid-template-columns:1fr}}@media (width<=600px){.purchases-page-header{flex-direction:column;align-items:flex-start}.purchases-metrics-grid{grid-template-columns:1fr}.purchases-panel,.purchases-metric{padding:16px}.purchases-controls input,.purchases-controls select{width:100%}}.purchases-dashboard{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.purchases-page-header{flex-wrap:wrap}.purchases-page-header>div{flex:280px;min-width:0}.purchases-refresh{white-space:nowrap;flex-shrink:0;max-width:100%}.purchases-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.purchases-metrics-grid>*,.purchases-charts-grid>*{min-width:0}.purchases-metric,.purchases-panel{box-sizing:border-box;max-width:100%}.purchases-chart{min-width:0;max-width:100%}@media (width<=1400px){.purchases-charts-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.purchases-page-header{flex-direction:column;align-items:stretch}.purchases-page-header>div{flex:0 auto}.purchases-refresh{width:100%}.purchases-page-header h1{font-size:27px}}.dashboard{background:#f5f7fb;min-height:100vh;font-family:Segoe UI,Arial,sans-serif;display:flex}.sidebar{color:#fff;background:#10233d;flex-direction:column;flex-shrink:0;width:245px;min-height:100vh;padding:30px 18px;display:flex}.brand{align-items:center;gap:12px;margin-bottom:55px;display:flex}.brand-icon{color:#10233d;background:#74e0cc;border-radius:12px;place-items:center;width:44px;height:44px;font-size:26px;font-weight:800;display:grid}.brand h2{margin:0;font-size:19px}.brand p{color:#96aec6;margin:5px 0 0;font-size:10px}.sidebar-label{color:#7791ac;letter-spacing:2px;margin:0 12px 18px;font-size:10px;font-weight:700}.sidebar-menu{flex-direction:column;gap:10px;display:flex}.sidebar-menu a,.menu-coming{color:#acc0d6;border-radius:10px;align-items:center;gap:13px;padding:15px;font-size:14px;text-decoration:none;display:flex}.sidebar-menu span{font-size:20px}.sidebar-menu .menu-active{color:#7ce9d2;background:#203d54;font-weight:700}.menu-coming{opacity:.7}.menu-coming small{color:#8ca7bc;margin-left:auto;font-size:10px}.sidebar-bottom{color:#96aec6;align-items:center;gap:9px;margin-top:auto;padding:18px 10px 0;font-size:12px;display:flex}.demo-indicator{background:#74e0cc;border-radius:50%;width:9px;height:9px}.main-content{flex:1;min-width:0;padding:45px}.topbar{justify-content:space-between;align-items:center;gap:25px;margin-bottom:50px;display:flex}.header-label{letter-spacing:2px;color:#13a58e;margin:0 0 12px;font-size:11px;font-weight:800}.topbar h1{color:#14253d;letter-spacing:-1px;margin:0 0 10px;font-size:35px}.header-description{color:#7d8a9d;margin:0;font-size:14px}.header-date{color:#283d54;white-space:nowrap;background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:13px 20px;font-size:13px;font-weight:700}.section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;display:flex}.section-heading h2{color:#14253d;margin:0 0 7px;font-size:21px}.section-heading p{color:#8390a0;margin:0;font-size:13px}.sample-badge{color:#158e79;background:#e1f7f0;border-radius:20px;padding:8px 13px;font-size:11px;font-weight:700}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.metric-card{background:#fff;border:1px solid #e8edf2;border-radius:16px;min-width:0;padding:25px;box-shadow:0 6px 25px #10233d0a}.metric-title{color:#7c899a;margin:0 0 20px;font-size:13px;font-weight:600}.metric-card h3{color:#12253e;letter-spacing:-1px;margin:0 0 22px;font-size:clamp(22px,2.2vw,31px)}.metric-footer{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.metric-change{color:#0a9e7c;background:#e4f8f0;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:800}.metric-description{color:#98a4b3;font-size:11px}.chart-placeholder{text-align:center;background:#fff;border:1px dashed #ccd8e3;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;margin-top:30px;padding:40px 20px;display:flex}.placeholder-icon{color:#21b69c;font-size:40px}.chart-placeholder h2{color:#14253d;margin:12px 0 8px;font-size:20px}.chart-placeholder p{color:#8b99aa;font-size:13px;line-height:1.7}@media (width<=1200px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=750px){.dashboard{flex-direction:column}.sidebar{width:100%;min-height:auto;padding:18px 20px}.brand{margin-bottom:18px}.sidebar-label,.sidebar-bottom,.menu-coming{display:none}.sidebar-menu{flex-direction:row}.sidebar-menu a{padding:10px 14px}.main-content{padding:30px 20px}.topbar{flex-direction:column;align-items:flex-start;margin-bottom:35px}.topbar h1{font-size:29px}}@media (width<=500px){.metrics-grid{grid-template-columns:1fr}.section-heading{flex-direction:column;align-items:flex-start}.metric-card h3{font-size:30px}}.header-date{cursor:pointer}.metric-change.negative{color:#c95151;background:#fee9e9}.metric-change.neutral{color:#52677d;background:#eef2f6}.data-source-switch{flex-wrap:wrap;gap:10px;margin:-15px 0 30px;display:flex}.data-source-switch button{color:#52677d;cursor:pointer;background:#fff;border:1px solid #dfe6ee;border-radius:9px;padding:11px 18px;font-size:13px;font-weight:700;transition:all .2s}.data-source-switch button:hover{border-color:#16b89a}.data-source-switch button.active{color:#74e0cc;background:#10233d;border-color:#10233d}.dashboard{width:100%;max-width:100%}.sidebar{box-sizing:border-box}.main-content{box-sizing:border-box;flex:1;min-width:0;max-width:100%}@media (width<=750px){.sidebar{flex:none;width:100%}.sidebar-menu{flex-wrap:wrap}.main-content{width:100%}}.login-page{background:linear-gradient(135deg,#0f172a,#1e3a8a);justify-content:center;align-items:center;min-height:100vh;padding:24px;font-family:Inter,Arial,sans-serif;display:flex}.login-card{background:#fff;border-radius:18px;width:100%;max-width:420px;padding:40px;box-shadow:0 20px 60px #0003}.login-brand{text-align:center;margin-bottom:32px}.login-brand h1{color:#2563eb;margin:0 0 10px;font-size:32px;font-weight:800}.login-brand p{color:#64748b;margin:0;font-size:14px}.login-card form{flex-direction:column;gap:12px;display:flex}.login-card label{color:#334155;font-size:14px;font-weight:600}.login-card input{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:13px 14px;font-size:14px}.login-card input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.login-card button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;margin-top:12px;padding:14px;font-size:15px;font-weight:700;transition:background .2s}.login-card button:hover{background:#1d4ed8}.login-card button:disabled{opacity:.6;cursor:not-allowed}.login-error{color:#dc2626;font-size:13px}.login-footer{text-align:center;color:#94a3b8;margin-top:28px;font-size:12px}@media (width<=480px){.login-card{padding:28px 22px}}
