#marketPerformancePanel{height:100%;min-height:0;display:flex;flex-direction:column;color:var(--ws-ink,#272b33);font-size:13px;background:#fff;overflow:hidden}
#marketPerformancePanel button,#marketPerformancePanel select{font:inherit;font-weight:400;cursor:pointer;color:inherit}
#marketPerformancePanel .mp-scopes{display:flex;gap:18px;flex-shrink:0;border-bottom:1px solid #e5e8ed;padding:0 10px;overflow-x:auto}
#marketPerformancePanel .mp-scopes button{padding:9px 0;background:#fff;border:0;border-bottom:2px solid transparent;white-space:nowrap}
#marketPerformancePanel .mp-scopes button[aria-pressed=true]{color:#d92d32;border-bottom-color:#d92d32}
#marketPerformancePanel .mp-toolbar{display:flex;align-items:center;gap:6px;padding:8px 10px 4px;flex-shrink:0;overflow-x:auto}
#marketPerformancePanel .mp-tabs{display:flex;gap:4px;flex-shrink:0}
#marketPerformancePanel .mp-tabs button{padding:5px 7px;border:1px solid transparent;border-radius:4px;background:#f7f8fa;white-space:nowrap;font-size:12px}
#marketPerformancePanel .mp-tabs button[aria-pressed=true]{color:#c52e35;background:#fff0f0;border-color:#f5d5d5}
#marketPerformancePanel button:hover{background:#f7f8fa}
#marketPerformancePanel select{height:28px;min-width:78px;border:1px solid #e5e8ed;border-radius:4px;background:#fff;font-size:12px}
#marketPerformancePanel .mp-status{padding:6px 10px;color:#858e9a;font-size:11px;flex-shrink:0}
#marketPerformancePanel .mp-scroll{overflow:auto;flex:1;min-height:0}
#marketPerformancePanel table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px}
#marketPerformancePanel th{position:sticky;top:0;background:#f7f8fa;color:#737b87;font-weight:400;font-size:12px;text-align:right;padding:8px 10px;border-bottom:1px solid #e5e8ed;z-index:1}
#marketPerformancePanel td{text-align:right;padding:7px 10px;border-bottom:1px solid #f0f1f3}
#marketPerformancePanel th:first-child,#marketPerformancePanel td:first-child{text-align:left}
#marketPerformancePanel td button{border:0;background:transparent;padding:0;text-align:left;font-size:13px}
#marketPerformancePanel small{display:block;font-size:11px;color:#858e9a;margin-top:2px}
#marketPerformancePanel .mp-up{color:#d92d32}#marketPerformancePanel .mp-down{color:#15945a}
#marketPerformancePanel .mp-empty{padding:35px 16px;text-align:center;color:#858e9a;line-height:1.8}
#marketPerformancePanel button:focus-visible{outline:2px solid #d92d32;outline-offset:-2px}
/* Keep the ranking panel compact despite workspace-wide table defaults. */
#workspaceHome #marketPerformancePanel :is(td,td button){font-size:13px!important;font-weight:400!important;line-height:18px!important}
#workspaceHome #marketPerformancePanel th{font-weight:400!important;line-height:18px!important}
#workspaceHome #marketPerformancePanel .mp-tabs button{font-size:12px!important;line-height:18px!important}
#workspaceHome #marketPerformancePanel small{line-height:15px!important}
#workspaceHome #marketPerformancePanel td{padding-block:5px!important}

#workspaceHome #marketPerformancePanel .mp-speed-tab{position:relative;display:inline-flex;align-items:center;padding:5px 7px;border:1px solid transparent;border-radius:4px;background:#f7f8fa;white-space:nowrap;font-size:12px;line-height:18px;cursor:pointer}
#workspaceHome #marketPerformancePanel .mp-speed-tab[data-active=true]{color:#c52e35;background:#fff0f0;border-color:#f5d5d5}
#workspaceHome #marketPerformancePanel .mp-speed-tab i{display:inline-block;width:5px;height:5px;margin:0 2px 3px 7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
#workspaceHome #marketPerformancePanel .mp-speed-tab select{position:absolute;inset:0;width:100%;height:100%;min-width:0;opacity:0;cursor:pointer;margin:0;padding:0}
#workspaceHome #marketPerformancePanel .mp-speed-tab:hover{background:#f1f2f4}
#workspaceHome #marketPerformancePanel .mp-speed-tab:focus-within{outline:2px solid #d92d32;outline-offset:-2px}

#workspaceHome #marketPerformancePanel table{width:max-content!important;min-width:min(100%,720px);max-width:none}
#workspaceHome #marketPerformancePanel :is(th,td){padding-inline:6px!important;min-width:68px}
#workspaceHome #marketPerformancePanel :is(th,td):first-child{min-width:100px}
#workspaceHome #marketPerformancePanel .mp-concepts{min-width:150px;text-align:left;white-space:nowrap}

#marketPerformancePanel .mp-pages{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:4px 10px;flex-shrink:0;font-size:12px;flex-wrap:wrap}
#marketPerformancePanel .mp-pages button{min-width:28px;min-height:28px;border:1px solid #e5e8ed;border-radius:4px;background:#fff;font-size:12px;padding:3px 6px}
#marketPerformancePanel .mp-pages button:disabled{opacity:.4;cursor:default}

#marketPerformancePanel .mp-status:empty{display:none}
