/* Model-gap view only. A semantic table owns its columns; legacy card grids
   and their inline column assignments must not participate in this layout. */
@layer workspace {
#scopeView #scopeFeed .scope-bet-summary { padding:8px 10px!important; }
#scopeView #scopeFeed .scope-bet-table :is(th,td) { text-align:left!important; }
#scopeView:has(#scopeFeed[data-scope-mode="edge"]) .ofw-ledger-columns { display:none!important; }
#scopeView #scopeFeed[data-scope-mode="edge"] { display:block!important; min-width:0!important; gap:0!important; }
#scopeView #scopeFeed .scope-bet-summary { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; padding:10px 12px; border-bottom:1px solid var(--fw-line,#30394c); font-size:12px; line-height:1.5; color:var(--fw-muted,#a7b4c8); }
#scopeView #scopeFeed .scope-bet-summary strong { font-size:13px; color:var(--fw-ink,#e5ecf6); }
#scopeView #scopeFeed .scope-bet-scroll { width:100%; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; container-type:inline-size; }
/* Keep selection and side readable beside the three numeric prices. */
#scopeView #scopeFeed .scope-bet-table { display:table!important; table-layout:fixed!important; border-collapse:collapse!important; width:100%!important; min-width:956px!important; max-width:1292px!important; margin:0!important; border:0!important; background:transparent!important; }
#scopeView .scope-bet-table .bet-rank { width:36px; }
#scopeView .scope-bet-table .bet-market { width:220px; }
#scopeView .scope-bet-table .bet-selection { width:136px; }
#scopeView .scope-bet-table .bet-side { width:164px; }
#scopeView .scope-bet-table .bet-price { width:86px; }
#scopeView .scope-bet-table .bet-gap { width:82px; }
#scopeView .scope-bet-table .bet-quote { width:106px; }
#scopeView .scope-bet-table .bet-more { width:38px; }
#scopeView #scopeFeed .scope-bet-table :is(thead,tbody) { display:table-row-group!important; }
#scopeView #scopeFeed .scope-bet-table thead { display:table-header-group!important; }
#scopeView #scopeFeed .scope-bet-table tr { display:table-row!important; background:transparent!important; }
#scopeView #scopeFeed .scope-bet-table :is(th,td) { display:table-cell!important; box-sizing:border-box!important; vertical-align:middle!important; padding:8px 10px!important; height:auto!important; min-height:0!important; border:0!important; border-bottom:1px solid var(--fw-line,#30394c)!important; font:400 13px/1.4 Inter,system-ui,sans-serif!important; text-align:left; color:var(--fw-ink,#e5ecf6); white-space:normal!important; overflow-wrap:anywhere!important; word-break:normal!important; background:transparent!important; }
#scopeView #scopeFeed .scope-bet-table thead th { padding-top:9px!important; padding-bottom:9px!important; font-size:11px!important; font-weight:600!important; color:var(--fw-muted,#a7b4c8)!important; background:var(--fw-inset,#171d2a)!important; white-space:nowrap!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-row:hover { background:var(--fw-selected,#252e43)!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-rank { color:var(--fw-muted,#a7b4c8)!important; font-size:12px!important; }
#scopeView #scopeFeed .scope-bet-link { display:block!important; width:100%!important; min-width:0!important; min-height:0!important; height:auto!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; background:none!important; text-align:left!important; text-transform:none!important; white-space:normal!important; overflow:visible!important; overflow-wrap:anywhere!important; word-break:normal!important; font:500 13px/1.4 Inter,system-ui,sans-serif!important; letter-spacing:normal!important; color:var(--fw-accent,#bdc7ff)!important; cursor:pointer; }
#scopeView #scopeFeed .scope-bet-link:hover { text-decoration:underline; }
#scopeView #scopeFeed .scope-bet-side { display:block; max-width:100%; min-width:0; white-space:normal!important; overflow-wrap:anywhere!important; word-break:normal!important; font-size:12px; font-weight:600; line-height:1.4; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-number { text-align:right!important; white-space:nowrap!important; font-family:'IBM Plex Mono',monospace!important; font-variant-numeric:tabular-nums!important; font-weight:500!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-positive { color:#39d99b!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-negative { color:#ff7384!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-neutral { color:var(--fw-muted,#a7b4c8)!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-quote { text-align:right!important; white-space:nowrap!important; font-variant-numeric:tabular-nums; }
#scopeView #scopeFeed .scope-bet-quote b { font:500 12px/1.4 'IBM Plex Mono',monospace!important; }
#scopeView #scopeFeed .scope-bet-quote small { display:block!important; font-size:11px!important; line-height:1.4!important; color:var(--fw-muted,#a7b4c8)!important; }
#scopeView #scopeFeed .scope-bet-table td:has(.scope-bet-toggle) { padding:4px!important; }
#scopeView #scopeFeed .scope-bet-toggle { display:block!important; min-height:28px!important; height:28px!important; min-width:28px!important; width:28px!important; margin:0!important; padding:0!important; border:1px solid var(--fw-line,#30394c)!important; border-radius:4px!important; background:transparent!important; color:var(--fw-muted,#a7b4c8)!important; font:500 17px/1 system-ui!important; cursor:pointer; }
#scopeView #scopeFeed :is(.scope-bet-link,.scope-bet-toggle,.scope-bet-venue,.scope-bet-scroll):focus-visible { outline:2px solid #aab8ff!important; outline-offset:2px; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-details[hidden] { display:none!important; }
#scopeView #scopeFeed .scope-bet-table .scope-bet-details td { padding:12px 16px!important; background:var(--fw-inset,#171d2a)!important; }
#scopeView #scopeFeed .scope-bet-details dl { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px 20px; margin:0 0 10px!important; }
#scopeView #scopeFeed .scope-bet-details dl>div { min-width:0; }
#scopeView #scopeFeed .scope-bet-details :is(dt,dd) { margin:0!important; font-size:12px!important; line-height:1.5!important; overflow-wrap:anywhere; }
#scopeView #scopeFeed .scope-bet-details dt { color:var(--fw-muted,#a7b4c8)!important; font-size:11px!important; }
#scopeView #scopeFeed .scope-bet-details dd { color:var(--fw-ink,#e5ecf6)!important; }
#scopeView #scopeFeed .scope-bet-venue { font-size:12px!important; color:var(--fw-accent,#bdc7ff)!important; }
@media(max-width:1100px) {
 #scopeView #scopeFeed .scope-bet-details dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
#scopeView #scopeFeed .scope-explanation { margin:0; padding:0; position:sticky; left:16px; width:min(100%,calc(100cqi - 32px)); }
#scopeView #scopeFeed .scope-explanation h3 { margin:0 0 7px; font:600 13px/1.5 Inter,system-ui,sans-serif; color:var(--fw-ink,#e5ecf6); }
#scopeView #scopeFeed .scope-explanation p { margin:0 0 8px; max-width:110ch; font:400 13px/1.5 Inter,system-ui,sans-serif; color:var(--fw-ink,#e5ecf6); }
#scopeView #scopeFeed .scope-explanation .scope-explanation-warning { color:var(--ofw-warning,#d8b472); font-size:12px; }
#scopeView #scopeFeed .scope-explanation dl.scope-explanation-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; margin:10px 0 0!important; }
#scopeView #scopeFeed .scope-explanation-technical { margin:6px 0 0!important; padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
#scopeView #scopeFeed .scope-explanation-technical summary { cursor:pointer; width:fit-content; padding:0!important; min-height:0!important; font:400 12px/1.5 Inter,system-ui,sans-serif!important; color:var(--fw-muted,#a7b4c8)!important; }
#scopeView #scopeFeed .scope-explanation-technical summary:focus-visible { outline:2px solid var(--fw-accent,#bdc7ff); outline-offset:3px; }
#scopeView #scopeFeed .scope-explanation-technical[open] summary { margin-bottom:10px; }
#scopeView #scopeFeed .scope-explanation-technical dl.scope-explanation-facts { margin-bottom:14px!important; }
}
