.commerce-dashboard{flex-direction:column;gap:12px;display:flex}.commerce-dashboard .page-heading{margin-bottom:0}.commerce-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.commerce-filters select{width:auto;max-width:210px}.commerce-custom{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:end;gap:12px;padding:10px 12px;display:flex}.commerce-custom label{gap:6px;font-size:12px;display:grid}.commerce-period{color:var(--ink-2);flex-wrap:wrap;align-items:center;gap:14px;font-size:12px;display:flex}.commerce-period>span:last-child{margin-left:auto}.commerce-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:0!important}.commerce-metric-value{overflow-wrap:anywhere;line-height:1.3;font-size:clamp(19px,2vw,24px)!important}.commerce-metrics .metric-foot{line-height:1.6}.commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.commerce-panel{min-width:0}.commerce-panel-heading{margin-bottom:10px}.commerce-panel-heading h2{margin:0;font-size:17px}.commerce-panel-heading p{margin:6px 0 0;line-height:1.6}.commerce-facts{flex-direction:column;gap:13px;margin:0;display:flex}.commerce-facts>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding-bottom:10px;font-size:13px;display:flex}.commerce-facts>div:last-child{border:0;padding-bottom:0}.commerce-facts dt{color:var(--ink-2)}.commerce-facts dd{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-weight:600}.commerce-panel>.small{margin:18px 0 0;line-height:1.7}.commerce-legend{flex-wrap:wrap;gap:20px;margin:0 0 20px;font-size:12px;display:flex}.commerce-legend label{cursor:pointer;align-items:center;gap:7px;display:flex}.commerce-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.commerce-dot.messages,.commerce-chart-bar.messages{background:var(--primary)}.commerce-dot.aiReplies,.commerce-chart-bar.aiReplies{background:var(--ai)}.commerce-dot.orders,.commerce-chart-bar.orders{background:var(--amber-bright)}.commerce-chart-scroll{overflow-x:auto}.commerce-chart{gap:12px;height:210px;display:flex}.commerce-chart-axis{min-width:40px;height:180px;color:var(--ink-2);flex-direction:column;justify-content:space-between;font-size:11px;display:flex}.commerce-chart-columns{background:repeating-linear-gradient(to top,transparent 0,transparent 59px,var(--border) 59px,var(--border) 60px);background-repeat:no-repeat;background-size:100% 180px;flex:1;gap:6px;min-width:0;display:flex}.commerce-chart-column{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.commerce-chart-bars{justify-content:center;align-items:end;gap:2px;width:100%;height:180px;padding:0 2px;display:flex}.commerce-chart-bar{border-radius:3px 3px 0 0;width:28%;max-width:25px;transition:height .25s}.commerce-chart-date{color:var(--ink-2);white-space:nowrap;margin-top:9px;font-size:10px}.commerce-details{margin-top:14px;font-size:12px}.commerce-details summary{cursor:pointer;color:var(--ink-2)}.commerce-funnel{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.commerce-funnel li{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;grid-template-columns:28px 1fr auto;align-items:center;gap:6px 12px;padding:9px 12px;font-size:13px;display:grid}.commerce-funnel-step{background:var(--primary-soft);width:25px;height:25px;color:var(--primary);border-radius:50%;grid-row:span 2;place-items:center;font-size:11px;display:grid}.commerce-funnel strong{font-variant-numeric:tabular-nums;font-size:18px}.commerce-funnel small{color:var(--ink-2);grid-column:2/4;font-size:11px}.commerce-intelligence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-intelligence h3{margin:0 0 13px;font-size:13px}.commerce-intelligence ol{gap:10px;margin:0;padding:0;list-style:none;display:grid}.commerce-intelligence li{overflow-wrap:anywhere;justify-content:space-between;gap:12px;font-size:12px;line-height:1.6;display:flex}.commerce-cell-note{color:var(--ink-2);overflow-wrap:anywhere;margin-top:4px;font-size:11px;display:block}.commerce-feed{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.commerce-feed li{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:13px 0;font-size:13px;display:flex}.commerce-feed li:last-child{border:0}.commerce-feed-icon{background:var(--primary-soft);width:32px;height:32px;color:var(--primary);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.commerce-feed-icon.ai{background:var(--ai-soft);color:var(--ai)}.commerce-feed-icon.order{background:var(--amber-soft);color:var(--amber)}.commerce-feed li>div{overflow-wrap:anywhere;min-width:0}.commerce-feed small{color:var(--ink-2);margin-top:4px;display:block}.commerce-feed time{white-space:nowrap;color:var(--ink-2);margin-left:auto;font-size:11px}.commerce-loading{color:var(--ink-2);text-align:center;padding:28px 16px}@media (min-width:1500px){.commerce-grid:not(.commerce-two):not(.commerce-intelligence-grid){grid-template-columns:repeat(4,minmax(0,1fr))}}.commerce-feed-icon.waiting{background:var(--amber-soft);color:var(--amber)}@media (max-width:800px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-grid,.commerce-intelligence-grid{grid-template-columns:1fr}.commerce-period>span:last-child{margin-left:0}.commerce-feed time{white-space:normal;text-align:right;min-width:75px}.commerce-dashboard .page-heading{flex-direction:column;align-items:start;gap:16px}.commerce-filters select{max-width:180px}}@media (max-width:480px){.commerce-metrics{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.commerce-chart-bar{transition:none}}@media (max-width:1024px){.commerce-table-wrap{overflow:visible}.commerce-table,.commerce-table tbody{display:block}.commerce-table thead{display:none}.commerce-table tbody tr{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:14px 16px;display:grid}.commerce-table tbody tr:last-child{border-bottom:0}.commerce-table td,.commerce-table td:first-child{border-top:0;min-width:0;padding:0;display:block}.commerce-table td:first-child{grid-column:1/-1}.commerce-table td[data-label]:before{content:attr(data-label);color:var(--ink-3);margin-bottom:3px;font-size:10px;display:block}}
