/* Scoped to Market Breadth; existing Getick pages keep their own styles. */
.mb-page{--mb-line:rgba(255,255,255,.1);--mb-muted:#a8b9b0;--mb-date-width:112px;color:#eef6f1;min-width:0;width:100%;padding:4px 0 20px;font-size:14px}
.mb-page *{box-sizing:border-box}
.mb-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:18px}
.mb-heading h2{font-size:25px;font-weight:750;letter-spacing:-.5px;margin:0 0 7px}
.mb-context{color:var(--mb-muted);margin:0;font-size:13px}
.mb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mb-actions label{color:var(--mb-muted);margin:0;font-size:12px}
.mb-page select.mb-window{width:184px;font-size:13px;color:#eef6f1;background-color:#14221d;border:1px solid #345044;border-radius:8px;min-height:38px;padding:8px 12px;color-scheme:dark}
.mb-export{min-height:38px;border:1px solid #42d289;background:#1b9c5d;color:#fff;border-radius:8px;padding:8px 17px;font:inherit;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer;transition:background .15s}
.mb-export:hover{background:#21b56c}.mb-export:disabled{opacity:.4;cursor:default}
.mb-export:focus-visible,.mb-table-scroll:focus-visible,.mb-methodology summary:focus-visible{outline:2px solid #79e6b3;outline-offset:3px}
.mb-quality{color:#e4bf80;font-size:12px;padding:9px 13px;background:rgba(151,106,35,.1);border-left:3px solid #987337;border-radius:0 6px 6px 0;margin-bottom:20px}
.mb-quality:empty,.mb-error:empty{display:none}
.mb-table-top{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 11px}
.mb-legend{display:flex;align-items:center;gap:19px;flex-wrap:wrap;font-size:12px;color:#c2d1c9}
.mb-key{display:inline-flex;align-items:center;gap:7px}
.mb-key:before{content:'';display:inline-block;width:9px;height:9px;border-radius:3px}
.mb-key-up:before{background:#359f75}.mb-key-down:before{background:#c36b7a}
.mb-reference,.mb-row-count{color:var(--mb-muted);font-size:12px}
.mb-table-scroll{max-height:calc(100vh - 315px);min-height:280px;overflow:auto;border:1px solid var(--mb-line);border-radius:12px;background:#101b16;scrollbar-color:#3d5c4d #111b17;scrollbar-width:thin;isolation:isolate}
.mb-page .mb-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;margin:0;font-size:13px;font-variant-numeric:tabular-nums;background:#101b16}
.mb-page .mb-table th,.mb-page .mb-table td{border:0;border-bottom:1px solid rgba(255,255,255,.055);text-align:center;padding:12px 13px;vertical-align:middle;white-space:nowrap;min-width:128px;height:43px;line-height:1.25}
.mb-page .mb-table thead th{position:sticky;z-index:5;font-weight:650;box-shadow:inset -1px 0 rgba(255,255,255,.07)}
.mb-page .mb-table thead tr:first-child th{top:0;height:34px;padding:9px 12px;font-size:11px;letter-spacing:1.1px;text-transform:uppercase}
.mb-page .mb-table thead tr:nth-child(2) th{top:34px;height:70px;background:#1b2b24;color:#e7f0eb;font-size:12px;min-width:140px}
.mb-page .mb-table thead th span{display:block;line-height:1.55}
.mb-page .mb-table th.mb-group-coverage{background:#344153}.mb-page .mb-table th.mb-group-momentum{background:#245464}
.mb-page .mb-table th.mb-group-quarter{background:#3c5451}.mb-page .mb-table th.mb-group-month{background:#63502f}
.mb-page .mb-table th.mb-group-swing{background:#4e4564}.mb-page .mb-table th.mb-group-trend{background:#354966}
.mb-page .mb-table tbody td{background:#13211a;color:#dde9e1}
.mb-page .mb-table tbody tr:nth-child(even) td{background:#16261f}
.mb-page .mb-table tbody tr td.mb-positive{background:#19513e;color:#e8fff4}
.mb-page .mb-table tbody tr td.mb-negative{background:#65323b;color:#ffe8ed}
.mb-page .mb-table tbody tr:hover td{box-shadow:inset 0 0 0 999px rgba(255,255,255,.035)}
.mb-page .mb-table tbody tr.mb-latest td{font-weight:750;border-top:1px solid #597967}
.mb-page .mb-table .mb-col-date{position:sticky;left:0;z-index:3;min-width:var(--mb-date-width);width:var(--mb-date-width);box-shadow:3px 0 8px rgba(0,0,0,.16)}
.mb-page .mb-table thead tr:nth-child(2) .mb-col-date{z-index:7}
.mb-page .mb-table .mb-col-universe{min-width:115px}
.mb-page .mb-table .mb-col-pct_sma50,.mb-page .mb-table .mb-col-pct_sma100,.mb-page .mb-table .mb-col-pct_sma200{min-width:130px}
.mb-scroll-hint{color:var(--mb-muted);font-size:11px;margin:9px 1px 18px}
.mb-methodology{border-top:1px solid var(--mb-line);padding-top:13px;color:var(--mb-muted);font-size:12px}
.mb-methodology summary{color:#dceae2;cursor:pointer;font-weight:600;width:max-content}
.mb-methodology ul{margin:12px 0 0;padding-left:19px;max-width:1100px;line-height:1.7}
.mb-error{color:#f3abb6;margin:10px 0;font-size:13px}.mb-empty{padding:50px 20px;color:var(--mb-muted)}
.mb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:768px){.mb-toolbar{gap:15px}.mb-heading h2{font-size:22px}.mb-actions{width:100%;gap:9px}.mb-window{flex:1;min-width:145px}.mb-table-scroll{max-height:65vh}.mb-reference{width:100%}.mb-table-top{gap:9px}.mb-context{line-height:1.6}.mb-quality{line-height:1.6}}

/* Market Breadth trend panels */
.mb-trends{margin:32px 0 26px;min-width:0}
.mb-trends-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.mb-trends-heading h3{color:#eef6f1;font-size:23px;font-weight:700;letter-spacing:-.3px;margin:0 0 6px}
.mb-trends-heading p{font-size:12px;color:var(--mb-muted);margin:0}
.mb-trends-period{border:1px solid var(--mb-line);border-radius:18px;padding:7px 12px;color:#b9d3c5;font-size:12px;white-space:nowrap}
.mb-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}
.mb-stat{border:1px solid var(--mb-line);background:linear-gradient(135deg,#15241c,#101a17);border-radius:12px;padding:17px 18px;display:flex;flex-direction:column;gap:7px;min-width:0}
.mb-stat-label{font-size:12px;color:#bed1c5;font-weight:600}
.mb-stat-value{font-size:28px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.7px}
.mb-stat-positive{color:#4dd6a0}.mb-stat-negative{color:#ee8391}.mb-stat-neutral{color:#bed1c5}
.mb-stat-delta{font-size:11px;color:#97ada1;line-height:1.5}
.mb-charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mb-chart-card{min-width:0;overflow:hidden;background:linear-gradient(155deg,#12201b,#101816);border:1px solid var(--mb-line);border-radius:14px;padding:18px 14px 8px}
.mb-chart-heading{padding:0 6px;min-height:66px}
.mb-chart-heading h4{font-size:15px;color:#e5f1e9;font-weight:650;margin:0 0 7px;letter-spacing:-.1px}
.mb-chart-heading p{font-size:11px;color:#9bb3a6;line-height:1.65;margin:0;max-width:650px}
.mb-page .mb-trend-graph.dash-graph,.mb-page .mb-trend-graph .js-plotly-plot{max-height:none!important;min-width:0;width:100%}
.mb-page .mb-trend-graph.dash-graph{height:315px!important}
.mb-trends-note{color:#91aa9c;font-size:11px;line-height:1.7;margin:16px 2px 0;max-width:1150px}
@media(max-width:1100px){.mb-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-charts-grid{grid-template-columns:minmax(0,1fr)}.mb-chart-heading{min-height:58px}}
@media(max-width:600px){.mb-trends{margin-top:26px}.mb-stat{padding:13px 12px}.mb-stat-value{font-size:25px}.mb-stats-grid{gap:9px}.mb-trends-heading h3{font-size:21px}.mb-chart-card{padding:16px 6px 6px}.mb-page .mb-trend-graph.dash-graph{height:300px!important}.mb-chart-heading{min-height:76px}.mb-chart-heading h4{font-size:14px}.mb-trends-period{font-size:11px}}
