/* Stitch dcabedc2a7834c798e8d8886d471e5e1: full-width three-column terminal.
 * All displayed metrics are supplied by application endpoints, never source mocks. */
/* Layout may differ by workspace; brand and surface colors inherit the shared theme. */
body[data-workspace=market]{--mono:'JetBrains Mono','SF Mono',monospace}
body[data-workspace=market] .workspace{padding-top:42px}body[data-workspace=market] .workspace-context,body[data-workspace=market] .page-heading{display:none}body[data-workspace=market] .workspace main{padding:4px 6px 8px}
#market-sync-workspace #ms-terminal-top{display:grid;grid-template-columns:238px minmax(0,1fr) 264px;grid-template-rows:44px 62px clamp(390px,calc(100dvh - 285px),680px) auto;gap:4px;align-items:stretch}
#market-sync-workspace .mt-quote-panel{grid-column:1/-1;grid-row:1;background:var(--surface-low);border-radius:3px}#market-sync-workspace .mt-topline{height:100%;padding:5px 8px;gap:16px;justify-content:flex-start;flex-wrap:nowrap}.mt-quote-panel .mt-pair h2{font:600 15px var(--mono)}#market-sync-workspace .mt-quotes{flex:1;align-items:center;gap:20px}#market-sync-workspace .mt-quotes>div{display:flex;align-items:center;gap:10px}#market-sync-workspace .mt-quotes>div:first-child>span{display:none}#market-sync-workspace .mt-quotes strong{font-size:21px;line-height:26px}#market-sync-workspace .mt-quotes>div:nth-child(2) strong{font-size:13px}#market-sync-workspace .mt-quotes>div:nth-child(2)>span{font-size:10px}
#market-sync-workspace .stitch-market-pulse{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1.15fr 1fr 1fr 1.2fr 1.2fr 1.1fr;gap:0;border-bottom:1px solid var(--line);background:var(--surface-low)}#market-sync-workspace .stitch-market-pulse article{padding:6px 8px;background:none;border-radius:0;border-right:1px solid var(--line);gap:3px;align-content:center}#market-sync-workspace .stitch-market-pulse article:last-child{border:0}#market-sync-workspace .stitch-market-pulse span{font-size:10px;color:var(--dim)}#market-sync-workspace .stitch-market-pulse strong{font:600 12px var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#market-sync-workspace .stitch-market-pulse small{display:block;font:9px var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#market-sync-workspace #market-watch-sidebar{grid-column:1;grid-row:3;height:100%;min-height:0;border-radius:3px;display:flex;overflow:hidden;background:var(--surface)}#market-sync-workspace .stitch-screener-panel{display:flex;flex-direction:column;flex:1;min-height:0}.mt-watch-heading{display:none}.mt-watch-search{margin:6px;padding:5px 6px}.mt-watch-search input{font-size:11px!important}.mt-watch-controls{padding:0 6px 6px;gap:4px}.mt-watch-tabs{padding:0}.mt-watch-tabs button{padding:5px;font-size:10px}.mt-watch-tabs button span{font-size:9px;margin-left:2px}.mt-watch-order{max-width:81px;font-size:10px!important;min-height:26px!important;padding:3px}.mt-watch-columns{grid-template-columns:1fr 1fr;font-size:9px;padding:5px 8px}.mt-watch-columns>span:nth-child(n+3){display:none}#market-sync-workspace .mt-watch-list{flex:1;min-height:0;max-height:none;scrollbar-gutter:stable}.mt-watch-row{grid-template-columns:18px minmax(0,1fr) auto;height:60px;min-height:60px;padding:6px;gap:5px}.mt-watch-row>img,.mt-coin-monogram{width:18px;height:18px}.mt-watch-coin strong{font-size:11px}.mt-watch-coin small{font-size:9px}.mt-watch-quote b{font-size:11px}.mt-watch-quote small{font-size:9px;padding:1px 4px;border-radius:3px;background:var(--surface-high)}.mt-watch-volume,.mt-watch-range{display:none}.mt-watch-status{padding:7px;font-size:10px}.mt-watch-status p{font-size:10px}.mt-watch-status summary{font-size:10px}.mt-watch-row.selected{background:var(--card-selected-bg)}.mt-watch-row.selected:before{width:2px}
#market-sync-workspace .mt-chart-panel{grid-column:2;grid-row:3;min-height:0;height:100%;border-radius:3px;grid-template-rows:auto minmax(0,1fr) 20px}.mt-chart-toolbar{padding:5px 6px}.mt-chart-control-row{margin-bottom:4px;gap:4px}.mt-periods button{padding:3px 7px;min-height:23px;font-size:10px}.mt-periods button[aria-pressed=true]{background:var(--segment-active-bg);color:var(--signal-accent)}.mt-chart-actions .quiet-menu>summary{font-size:10px;min-height:24px;padding:3px 6px}.mt-chart-actions button{min-height:24px}.mt-ohlc{gap:4px 8px;font-size:9px}#market-sync-workspace .mt-ma-legend{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:4px 0 0;font-size:9px}#market-sync-workspace .chart-ma-value{display:grid;grid-template-columns:5px 1fr;gap:2px;padding:4px;background:var(--surface-2);border-radius:3px}#market-sync-workspace .chart-ma-value b{grid-column:1/-1;margin-left:0;font-size:10px}#market-sync-workspace .chart-ma-value i{width:4px}#market-sync-workspace .chart-ma-value span{font-size:8px}#market-sync-workspace .mt-chart-source{padding:3px 6px;font-size:8px}.mt-chart-source a{font-size:8px}
.mt-intelligence{grid-column:3;grid-row:3;display:flex;flex-direction:column;gap:4px;min-height:0;overflow:auto}.mt-intel-card{background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:7px;min-width:0}.mt-intel-card>header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.mt-intel-card h2{font-size:11px;margin:0;font-weight:600}.mt-intel-card header>span{font:9px var(--mono);color:var(--signal-accent);background:var(--surface-high);border:1px solid var(--line);padding:1px 4px;border-radius:3px}.mt-intel-caption,.mt-intel-foot{color:var(--dim);font-size:9px;margin:4px 0}.mt-liquidation-list{display:flex;flex-direction:column;gap:4px}.mt-liquidation-list article{position:relative;padding:5px 6px;background:var(--surface-2);overflow:hidden;border-radius:2px}.mt-liquidation-list article:before{content:'';position:absolute;right:0;top:0;bottom:0;width:var(--amount);background:currentColor;opacity:.12;pointer-events:none}.mt-liquidation-list article>div{display:flex;justify-content:space-between;gap:6px;font:10px var(--mono);position:relative}.mt-liquidation-list article strong{font-weight:600;color:var(--text)}.mt-liquidation-list article small{position:relative;display:block;color:var(--dim);font:8px var(--mono);margin-top:2px}.mt-intel-empty{padding:16px 4px;color:var(--dim);font-size:11px}.mt-flow-total,.mt-flow-labels{display:flex;align-items:center;justify-content:space-between;font:9px var(--mono);color:var(--dim);gap:6px}.mt-flow-total strong{font-size:13px}.mt-flow-curve{display:block;width:100%;height:42px;color:var(--dim)}.mt-flow-ratio{display:flex;height:4px;background:var(--trade-short);border-radius:3px;overflow:hidden;margin:3px 0 6px}.mt-flow-ratio i{height:100%;background:var(--trade-long)}.mt-trade-tape{margin-top:6px}.mt-trade-tape>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;padding:4px 0;border-bottom:1px solid var(--line-soft);font:9px var(--mono)}.mt-trade-tape time{color:var(--dim)}.mt-trade-tape b{text-align:right;font-weight:500}.mt-intel-card details{font-size:9px;color:var(--dim);margin-top:4px}.mt-intel-card summary{cursor:pointer}.mt-intel-card details p{font-size:10px;margin:4px 0}
#market-sync-workspace .mt-evidence{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:100px minmax(0,3fr) minmax(220px,1fr);gap:10px;padding:8px;border-radius:3px}#market-sync-workspace .mt-evidence>h2{grid-column:1;grid-row:1;font-size:11px;align-self:center}#market-sync-workspace .mt-evidence-blocks{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#market-sync-workspace .mt-evidence-blocks>section{border:0;padding:0}#market-sync-workspace .mt-evidence h3{font-size:10px}#market-sync-workspace .mt-evidence h3 strong{font-size:13px}#market-sync-workspace .mt-evidence p{font-size:9px;margin:3px 0}#market-sync-workspace .mt-key-levels{grid-column:3;grid-row:1;border-left:1px solid var(--line);padding-left:10px;display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}#market-sync-workspace .mt-key-levels h2{font-size:10px;grid-column:1/-1}#market-sync-workspace .mt-key-levels>div{padding:1px 0;font-size:9px;border:0;gap:4px}#market-sync-workspace .mt-key-levels b{font-size:9px}#market-sync-workspace .mt-key-levels em{display:none}#market-sync-workspace .mt-key-levels details{margin:0;font-size:9px}#market-sync-workspace .mt-evidence-note{display:none}
body[data-workspace=market] .ms-terminal-tabs{margin:4px 0 0;padding:0 8px;min-height:30px;background:var(--surface);border:1px solid var(--line);border-bottom:0;border-radius:3px 3px 0 0;gap:8px}body[data-workspace=market] .ms-terminal-tabs button{padding:5px 8px;font-size:10px;min-height:28px}body[data-workspace=market] .ms-terminal-tabs .quiet-menu summary{min-height:24px;font-size:10px}body[data-workspace=market] .ms-terminal-tabs select{font-size:10px;min-height:24px;padding:2px 5px}body[data-workspace=market] .ms-record-filter{font-size:10px}body[data-workspace=market] #ms-recent-events{margin:0;padding:0;border-radius:0 0 3px 3px;max-height:230px;overflow:auto}body[data-workspace=market] .ms-records-table th,body[data-workspace=market] .ms-records-table td{font-size:10px;padding:6px 8px}body[data-workspace=market] .ms-section{background:var(--surface);border-color:var(--line)}
@media(max-width:1100px) and (min-width:701px){#market-sync-workspace #ms-terminal-top{grid-template-columns:205px minmax(0,1fr) 224px}.mt-intel-card{padding:6px}.mt-liquidation-list article:nth-child(n+4){display:none}.mt-trade-tape>div:nth-child(n+4){display:none}#market-sync-workspace .stitch-market-pulse strong{font-size:10px}#market-sync-workspace .stitch-market-pulse article{padding:5px}#market-sync-workspace .mt-evidence{grid-template-columns:80px 1fr}#market-sync-workspace .mt-key-levels{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:12px}.mt-key-levels>div{flex:1}}
@media(max-width:700px){body[data-workspace=market] .workspace{padding-top:48px}body[data-workspace=market] .workspace main{padding:4px}#market-sync-workspace #ms-terminal-top{display:flex;flex-direction:column;gap:5px}#market-sync-workspace .mt-quote-panel{order:0;min-height:42px}#market-sync-workspace .mt-quotes{gap:8px}#market-sync-workspace .mt-quotes strong{font-size:16px}#market-sync-workspace .mt-quotes>div:nth-child(2)>span{display:none}#market-sync-workspace .mt-quotes>div:nth-child(2) strong{font-size:11px}#market-sync-workspace .stitch-market-pulse{order:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}#market-sync-workspace .stitch-market-pulse article{padding:6px;min-height:60px}#market-sync-workspace .stitch-market-pulse strong{font-size:11px}#market-sync-workspace .stitch-market-pulse small{font-size:8px}#market-sync-workspace #market-watch-sidebar{order:3;min-height:260px;height:260px}#market-sync-workspace .mt-chart-panel{order:2;height:400px;min-height:400px}#market-sync-workspace .mt-ma-legend{grid-template-columns:repeat(3,minmax(0,1fr))}#market-sync-workspace .chart-ma-value{display:flex;font-size:9px;padding:3px}#market-sync-workspace .chart-ma-value b{font-size:9px;margin-left:auto}#market-sync-workspace .mt-intelligence{order:4;display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:5px}#market-sync-workspace .mt-intel-card{min-width:0;padding:6px}.mt-intel-card h2{font-size:10px}.mt-intel-card header>span{display:none}.mt-liquidation-list article>div,.mt-trade-tape>div{font-size:8px}.mt-trade-tape>div{grid-template-columns:1fr 1fr}.mt-trade-tape time{display:none}.mt-flow-labels{font-size:8px;flex-wrap:wrap}#market-sync-workspace .mt-evidence{order:5;display:flex;flex-direction:column;gap:8px}#market-sync-workspace .mt-evidence-blocks{gap:8px}#market-sync-workspace .mt-evidence-blocks p{font-size:8px}#market-sync-workspace .mt-key-levels{display:flex;align-items:center;gap:8px;border:0;padding:0;flex-wrap:wrap}#market-sync-workspace .mt-key-levels>div{flex:1;min-width:90px}#market-sync-workspace .mt-key-levels>h2{width:100%}#market-sync-workspace .mt-key-levels details{display:none}}
#market-sync-workspace .mt-pair{width:auto;flex:none}#market-sync-workspace .mt-pair h2{font-size:15px}#market-sync-workspace .mt-quotes>div{flex-wrap:nowrap}#market-sync-workspace .stitch-market-controls{display:block;padding:0;background:none;border-radius:0;flex:none}#market-sync-workspace .stitch-market-controls .mt-watch-search{width:auto;max-width:none;margin:6px;padding:5px 6px}#market-sync-workspace .stitch-market-controls .mt-watch-controls{display:flex;justify-content:space-between;padding:0 6px 6px;gap:4px}#market-sync-workspace .stitch-screener-panel{height:auto;width:auto}#market-sync-workspace .mt-watch-heading{display:none}
@media(max-width:700px){#market-sync-workspace .mt-pair{min-width:0}#market-sync-workspace .mt-pair h2{font-size:12px}#market-sync-workspace .mt-pair .mt-star{padding:2px}#market-sync-workspace .mt-topline{gap:8px}.mt-pair>span{display:none}#market-sync-workspace .stitch-market-controls .mt-watch-search{width:auto}}
/* Record feed is a real table; keep spacing independent of legacy workspace skins. */
#market-sync-workspace .mt-record-scroll{overflow-x:auto;scrollbar-width:thin}
#market-sync-workspace .mt-record-table{width:100%;border-collapse:collapse;text-align:left;font:11px var(--font);white-space:nowrap}
#market-sync-workspace .mt-record-table th{color:var(--dim);font-size:10px;font-weight:500;padding:9px 12px;background:var(--surface-2)}
#market-sync-workspace .mt-record-table td{padding:11px 12px;border-top:1px solid var(--line-soft)}
#market-sync-workspace .mt-record-table td:first-child{font:10px var(--mono);color:var(--muted)}
#market-sync-workspace .mt-record-table td:last-child{white-space:normal;min-width:250px;color:var(--muted)}
#market-sync-workspace .mt-record-table tr:hover td{background:var(--surface-high)}
#market-sync-workspace .mt-record-details{padding:8px 12px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}
#market-sync-workspace .mt-record-details summary{cursor:pointer}
#market-sync-workspace .mt-record-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:7px 12px;border-top:1px solid var(--line);font-size:9px;color:var(--dim)}
.mt-quote-stale{color:var(--warning);font-size:10px;font-style:normal;white-space:nowrap}
@media(max-width:700px){#market-sync-workspace .mt-quotes>div:first-child{flex-wrap:wrap;gap:2px}.mt-quote-stale{font-size:8px}}
