/* Source: ui-trial.css */
@layer trial,theme,visibility,feedback,workspace,legacy;
.seo-public-facts{max-width:1200px;margin:24px auto;padding:16px 24px;color:var(--muted,#a3b2ca);font-size:14px;line-height:1.6}
.seo-public-facts summary{cursor:pointer}.seo-public-facts h2{font-size:18px}
.kelly-constraints{margin:16px 0}.kelly-constraints summary{cursor:pointer;margin-bottom:12px}
/* Local UI trial. No selectors target Bet Scope; its original layout is retained. */
@layer trial {
/* Shared empty/loading surfaces must inherit the selected palette. */
#browserView .catalog-empty,
#detailView :is(.catalog-empty,.mkt-empty,.external-model-empty,.football-model-empty,.football-advanced-empty) {
 background:var(--fw-inset)!important;color:var(--fw-muted)!important;border-color:var(--fw-line)!important;
}
/* The buttons own their selected/focus states; the group is not another pill. */
#userView .user-pnl-switch {border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;overflow:visible!important;gap:4px!important;}
#userView .user-pnl-switch button:focus-visible {outline:2px solid var(--fw-accent,#a5b4fc)!important;outline-offset:2px!important;}
#userView .user-pnl-month-top strong {color:var(--fw-ink)!important;font:600 14px/1.4 var(--sans)!important;}
#userView .user-pnl-month-top b {color:var(--fw-ink)!important;font:700 16px/1.4 var(--sans)!important;}
#userView .user-pnl-month.positive .user-pnl-month-top b {color:var(--win)!important;}
#userView .user-pnl-month.negative .user-pnl-month-top b {color:var(--loss)!important;}
#userView .user-pnl-month.empty .user-pnl-month-top b {color:var(--fw-muted)!important;}
#userView .user-pnl-month span {color:var(--fw-muted)!important;font:400 13px/1.4 var(--sans)!important;}
#userView .user-pnl-calendar-note {color:var(--fw-muted)!important;font-size:13px!important;line-height:1.5!important;}
#detailView,#browserView,#membershipView {--trial-radius:12px;}
#detailView:not([hidden]),#browserView:not([hidden]),#membershipView:not([hidden]) {max-width:1440px!important;width:100%!important;margin:0 auto!important;padding:24px 32px 48px!important;height:auto!important;min-height:0!important;display:block!important;overflow:visible!important;}
#detailView .detail-market-navigation {margin-bottom:16px!important;}
#detailView .detail-market-navigation [aria-current] {font-size:12px!important;}
#detailView .detail-topbar {height:auto!important;min-height:36px!important;margin:0 0 12px!important;}
#detailView .detail-topbar .row {justify-content:flex-end!important;}
#detailView .detail-topbar button {flex:0 0 auto!important;width:auto!important;min-height:34px!important;padding:7px 14px!important;}
#detailView .detail-hero {border:0!important;background:none!important;padding:12px 0 0!important;margin:0!important;height:auto!important;}
#detailView .detail-hero-grid,#detailView .detail-hero-grid>div:first-child {display:flex!important;flex-direction:column!important;width:100%!important;align-items:center!important;}
#detailView #detailTitle {width:100%!important;text-align:center!important;padding:0!important;margin:0!important;}
#detailView #detailTitle {--fixture-title-max:32;}
#detailView #detailTitle,#detailView #detailTitle a {font-size:var(--fixture-title-size,32px)!important;line-height:1.25!important;font-weight:600!important;}
#detailView #detailTitle :is(.club-title-logo,img) {width:48px!important;height:48px!important;object-fit:contain!important;}
#detailView #detailBetline {display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px 32px!important;max-width:none!important;width:100%!important;margin:20px 0 0!important;padding:0!important;grid-area:auto!important;}
#detailView #detailBetline .bl-i {display:flex!important;flex-direction:column!important;gap:4px!important;}
#detailView #detailBetline :is(small,.k) {font-size:10px!important;letter-spacing:.06em!important;color:var(--fw-muted)!important;}
#detailView #detailBetline :is(b,.v) {font-size:12px!important;line-height:1.5!important;font-weight:500!important;white-space:normal!important;}
#detailView #detailDescription {white-space:normal!important;overflow:visible!important;max-width:950px!important;margin:14px auto!important;line-height:1.6!important;}
#detailView .trial-ad-space {height:24px!important;width:100%!important;flex:none!important;}
#detailView .workspace-tabs {display:flex!important;flex-wrap:wrap!important;gap:24px!important;border-bottom:1px solid var(--fw-line)!important;margin:0 0 24px!important;padding:0!important;}
#detailView .workspace-tabs button {background:none!important;border:0!important;border-radius:0!important;border-bottom:2px solid transparent!important;padding:12px 0!important;min-height:44px!important;font-size:14px!important;color:var(--fw-muted)!important;}
#detailView .workspace-tabs button[aria-selected=true] {color:var(--fw-ink)!important;border-bottom-color:var(--fw-accent)!important;}
#detailView :is(.aestus-beta60-layout,#eventOptionsPanel,.detail-workspace,.analysis-data,.analysis-controls) {height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;max-width:none!important;overflow:visible!important;}
#detailView[data-workspace-view=market] #mktSplit {display:grid!important;grid-template: auto / minmax(280px,.85fr) minmax(0,1.9fr)!important;gap:24px!important;height:auto!important;min-height:0!important;align-items:start!important;}
#detailView #mktSplit>.mkt-list-col {grid-area:1/1!important;display:flex!important;flex-direction:column!important;height:auto!important;max-height:none!important;padding:20px!important;gap:14px!important;border:1px solid var(--fw-line)!important;border-radius:12px!important;background:var(--fw-surface)!important;}
#detailView #eventOptionsGrid {flex:none!important;max-height:680px!important;height:auto!important;min-height:80px!important;overflow:auto!important;padding:0 6px 0 0!important;margin:0!important;scrollbar-width:thin!important;}
#detailView #eventOptionsGrid .sidebet-family-head {display:flex!important;margin:18px 0 10px!important;}
#detailView #eventOptionsGrid .sidebet-family-grid {display:grid!important;gap:8px!important;grid-template-columns:1fr!important;}
#detailView #eventOptionsGrid :is(.sidebet-card,.sidebet-level-button,.event-option) {padding:12px!important;border:1px solid var(--fw-line)!important;border-radius:8px!important;background:var(--fw-inset)!important;height:auto!important;}
#detailView #eventOptionsGrid :is(.sidebet-card,.sidebet-level-button,.event-option):hover {border-color:var(--fw-accent)!important;}
#detailView :is(.workspace-outcomes-title,.workspace-execution-title) {font-size:17px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;}
#detailView .workspace-execution {grid-area:1/2!important;display:grid!important;grid-template: auto auto auto auto / minmax(0,1fr)!important;gap:20px!important;padding:0!important;border:0!important;background:none!important;height:auto!important;min-width:0!important;}
#detailView .workspace-execution-title {grid-area:1/1!important;padding:0 0 10px!important;border-bottom:1px solid var(--fw-line)!important;}
#detailView .workspace-execution>.mkt-chart-col {grid-area:2/1!important;display:flex!important;flex-direction:column!important;height:auto!important;padding:20px!important;border:1px solid var(--fw-line)!important;border-radius:12px!important;background:var(--fw-surface)!important;}
#detailView .workspace-execution>.ofw-orderbook-col {grid-area:3/1!important;display:block!important;height:auto!important;padding:20px!important;border:1px solid var(--fw-line)!important;border-radius:12px!important;background:var(--fw-surface)!important;}
#detailView :is(.ofw-orderbook-body,#structureMarketData) {display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;gap:12px!important;}
#detailView .workspace-market-status {grid-area:4/1!important;white-space:normal!important;overflow:visible!important;line-height:1.6!important;margin:0!important;font-size:12px!important;padding:8px 0!important;}
#detailView .chart-head {display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:space-between!important;}
#detailView .chart-title {font-size:15px!important;font-weight:600!important;white-space:normal!important;}
#detailView .chart-wrap {height:240px!important;min-height:240px!important;max-height:240px!important;flex:none!important;margin:18px 0 8px!important;}
#detailView #priceChart {height:100%!important;}
#detailView .chart-legend {height:auto!important;max-height:110px!important;overflow:auto!important;flex:none!important;gap:8px!important;padding:8px 0!important;}
#detailView .chart-status {white-space:normal!important;overflow:visible!important;line-height:1.6!important;}
#detailView #structureMarketData :is(.structure-outcome-pair,.structure-tabs) {display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important;}
#detailView #structureMarketData .structure-outcome-chip {min-height:38px!important;padding:8px 16px!important;flex:1!important;}
#detailView #structureMarketData .structure-tabs {border-bottom:1px solid var(--fw-line)!important;}
#detailView #structureMarketData .structure-tabs button {border:0!important;border-radius:0!important;background:none!important;padding:9px 0!important;margin-right:20px!important;border-bottom:2px solid transparent!important;}
#detailView #structureMarketData .structure-tabs button[aria-selected=true] {border-bottom-color:var(--fw-accent)!important;}
#detailView #structureMarketData select {width:100%!important;height:44px!important;min-height:44px!important;font-size:15px!important;}
#detailView #structureMarketData .structure-outcome-chip {font-size:22px!important;min-height:56px!important;padding:12px 16px!important;}
#detailView #structureMarketData .structure-outcome-chip>span {font-size:22px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.01em!important;}
#detailView #structureMarketData .structure-outcome-pair {display:flex!important;flex-wrap:wrap!important;}
#detailView #structureMarketData .structure-outcome-chip {flex:1 1 min-content!important;min-width:min-content!important;padding-inline:8px!important;}
#detailView #structureMarketData .structure-outcome-chip>span {word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;}
#detailView #structureMarketData[data-workspace-binary-sides=true] .structure-outcome-chip {flex:1 1 0!important;min-width:0!important;}
#detailView #structureMarketData :is(.microstructure-tab-panel,.microstructure-block) {height:auto!important;flex:none!important;}
#detailView #structureMarketData .table-scroll {height:auto!important;max-height:410px!important;overflow:auto!important;flex:none!important;border:0!important;}
#detailView #structureMarketData :is(th,td) {padding:8px 6px!important;font-size:12px!important;line-height:1.4!important;}
#detailView #structureMarketData .book-level-row td {font-size:13px!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;}
#detailView .workspace-data-details {position:static!important;padding:12px 0!important;border:0!important;border-top:1px solid var(--fw-line)!important;background:none!important;}
#detailView .workspace-data-popover {position:static!important;width:auto!important;max-width:none!important;padding:12px 0!important;border:0!important;box-shadow:none!important;}
#detailView .workspace-pager[hidden],#detailView .trial-filtered {display:none!important;}
#detailView .workspace-fair-note {font-size:11px!important;line-height:1.6!important;flex:none!important;position:static!important;margin:0!important;}
.trial-outcome-tools {display:grid;gap:8px;}
.trial-outcome-tools input,.trial-outcome-tools select {height:38px;font-size:13px!important;}
.trial-result-count {font-size:11px;color:var(--fw-muted);line-height:1.5;}
#detailView #valueBoard {padding:24px!important;border-radius:12px!important;}
#detailView #valueBoard.research-risk-layout {grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr)!important;gap:28px!important;align-items:start!important;}
/* Coverage refusals and server loading/errors have short status content.
   Keep this beside the owning grid rule in the same cascade layer. The existing
   calculator DOM remains intact so updates preserve inputs and focus.
   Service states stay distinct from confirmed unsupported coverage. */
#detailView[data-workspace-view="research"] #valueBoard.research-risk-layout:has(>#footballModelPanel[data-football-model-source="server"]:is([data-football-model-status="loading"],[data-football-model-status="error"]):not([hidden])),
#detailView[data-workspace-view="research"] #valueBoard.research-risk-layout:has(>#footballModelPanel[data-football-model-status="unresolved"][data-football-model-coverage="unsupported"]:not([hidden])){grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
#detailView[data-workspace-view="research"] #footballModelPanel[data-football-model-source="server"]:is([data-football-model-status="loading"],[data-football-model-status="error"]):not([hidden])>.external-model-empty,
#detailView[data-workspace-view="research"] #footballModelPanel[data-football-model-status="unresolved"][data-football-model-coverage="unsupported"]:not([hidden])>.football-model-empty{min-height:0!important;padding:12px 0!important}
#detailView[data-workspace-view="research"] #valueBoard.research-risk-layout:has(>#footballModelPanel[data-football-model-source="server"]:is([data-football-model-status="loading"],[data-football-model-status="error"]):not([hidden]))>.kelly-calculator,
#detailView[data-workspace-view="research"] #valueBoard.research-risk-layout:has(>#footballModelPanel[data-football-model-status="unresolved"][data-football-model-coverage="unsupported"]:not([hidden]))>.kelly-calculator{grid-column:1!important;grid-row:auto!important;border-left:0!important;border-top:1px solid var(--line,#344259)!important;padding:12px 0 0!important}
#detailView #valueBoard .kelly-calculator {padding:0 0 0 28px!important;border-left:1px solid var(--fw-line)!important;}
#detailView .kelly-calculator label {text-transform:none!important;letter-spacing:0!important;font-size:13px!important;line-height:1.5!important;}
#detailView .kelly-calculator input,#detailView .kelly-calculator select {min-height:42px!important;margin-top:6px!important;}
#detailView .kelly-selected {display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important;}
#detailView .kelly-answer {padding:18px!important;border-radius:8px!important;background:var(--fw-inset)!important;margin:18px 0!important;}
#detailView #kellyStake {font-size:34px!important;line-height:1.3!important;display:block!important;}
#detailView #kellyStatus {font-size:12px!important;line-height:1.6!important;display:block!important;}
/* Keep the unavailable-selection reason visible while sizing controls wait for
   an exact open row. Retain the controls and disclosure state in the DOM. */
#detailView #valueBoard .kelly-calculator [hidden]{display:none!important;}
#detailView #valueBoard .kelly-calculator[data-sizing-available="false"] .kelly-answer{padding:0!important;margin:8px 0 0!important;background:none!important;}
#detailView #valueBoard .external-model-grid {gap:16px!important;margin:18px 0!important;}
#detailView #valueBoard .external-model-grid>div {border:0!important;padding:0!important;}
#detailView #valueBoard .external-model-grid b {font-size:20px!important;line-height:1.4!important;}
#detailView #valueBoard .external-model-note {border:0!important;border-left:2px solid var(--fw-line)!important;padding:8px 0 8px 14px!important;margin:18px 0!important;line-height:1.65!important;}
#detailView #valueBoard .external-model-note ul {padding-left:16px!important;}
#detailView #valueBoard .workspace-comparison-card {padding:12px!important;background:none!important;border:0!important;border-top:1px solid var(--fw-line)!important;}
#detailView #valueBoard .workspace-comparison-card :is(th,td) {padding:8px 4px!important;font-size:13px!important;}
#detailView .trial-technical {padding:12px 0!important;border:0!important;border-top:1px solid var(--fw-line)!important;background:none!important;}
#detailView #recentMediaPanel,#detailView #holderResearchPanel {padding:24px!important;border-radius:12px!important;}
#browserView .dense-market-card {border:1px solid var(--fw-line)!important;border-radius:12px!important;padding:18px!important;gap:12px!important;min-height:216px!important;height:auto!important;box-shadow:none!important;}
#browserView .dense-preview {background:none!important;border:0!important;}
#browserView .dense-preview-prices>div {border:0!important;background:none!important;}
#browserView .dense-card-foot {display:flex!important;gap:12px!important;align-items:center!important;}
#browserView .dense-open-action {display:inline-flex!important;align-items:center!important;padding:7px 11px!important;border:1px solid var(--fw-accent)!important;border-radius:6px!important;background:var(--fw-selected)!important;text-transform:none!important;text-decoration:none!important;font-size:12px!important;font-weight:600!important;min-height:32px!important;}
#browserView .dense-card-foot :is(.market-status,.status-badge,.catalog-status,.catalog-status-pill) {background:none!important;border:0!important;font-size:10px!important;letter-spacing:.04em!important;padding:0!important;}
#browserView .catalog-taxonomy {font-size:11px!important;line-height:1.5!important;}
#browserView .dense-type {font-size:11px!important;}
#browserView .dense-metrics {line-height:1.5!important;}
#membershipView .ofw-membership-workspace {display:block!important;}
#membershipView .ofw-index-pane,#membershipView .ofw-pane-head {display:none!important;}
#membershipView .ofw-canvas-pane {border:0!important;background:none!important;}
#membershipView .membership-grid {display:block!important;max-width:820px!important;margin:0 auto!important;}
#membershipView .browser-hero {max-width:820px!important;margin:0 auto 28px!important;padding:0!important;}
#membershipView .membership-card {padding:28px!important;border-radius:12px!important;}
#membershipView .membership-profile-grid {grid-template-columns:1fr 1fr!important;gap:24px!important;margin:24px 0!important;}
#membershipView .membership-profile-field {padding:0!important;background:none!important;border:0!important;}
#membershipView .membership-profile-field:first-child {grid-column:1/-1!important;order:5!important;border-top:1px solid var(--fw-line)!important;padding-top:16px!important;}
#membershipView .membership-profile-field:first-child b {font-size:12px!important;font-weight:400!important;color:var(--fw-muted)!important;}
@media(max-width:950px){
 #detailView:not([hidden]),#browserView:not([hidden]),#membershipView:not([hidden]) {padding:20px 16px 40px!important;}
 #detailView[data-workspace-view=market] #mktSplit {grid-template-columns:1fr!important;}
 #detailView .workspace-execution {grid-area:2/1!important;}
 #detailView #eventOptionsGrid {max-height:400px!important;}
 #detailView #valueBoard.research-risk-layout {grid-template-columns:1fr!important;}
 #detailView #valueBoard .kelly-calculator {grid-column:1!important;grid-row:auto!important;border-left:0!important;border-top:1px solid var(--fw-line)!important;padding:24px 0 0!important;}
 #detailView #detailTitle {--fixture-title-max:25;}
 #detailView .trial-ad-space {height:16px!important;}
 #detailView .workspace-tabs {gap:16px!important;}
 #detailView .workspace-tabs button {font-size:12px!important;}
 #detailView #valueBoard .external-model-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:560px){
 #detailView .detail-market-navigation {margin-bottom:8px!important;}
 #detailView .detail-topbar {margin-bottom:6px!important;}
 #detailView .detail-topbar button {min-height:44px!important;}
 #detailView .detail-hero {padding-top:6px!important;}
 #detailView #detailBetline {gap:8px 20px!important;margin-top:12px!important;justify-content:flex-start!important;}
 #detailView #detailDescription {margin:8px auto!important;}
 #detailView .trial-ad-space {height:8px!important;}
 #detailView .workspace-tabs {margin-bottom:16px!important;}
 #detailView .workspace-execution>.mkt-chart-col,#detailView .workspace-execution>.ofw-orderbook-col,#detailView #valueBoard {padding:16px!important;}
 #detailView .kelly-inputs {grid-template-columns:1fr!important;}
 #membershipView .membership-profile-grid {grid-template-columns:1fr!important;}
}
}
@layer trial {
/* One shared header scale across every section, including Users and Bet Scope.
   Keep the navigation at twice the former 12px size; reflow, never shrink it. */
#appSwitch {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:104px auto!important;padding:0 24px 8px!important;gap:0 24px!important;align-items:center!important;box-sizing:border-box!important;}
#appSwitch .studio-rail-head {grid-area:1/1!important;width:352px!important;max-width:100%!important;height:104px!important;min-height:0!important;min-width:0!important;padding:0!important;display:flex!important;align-items:stretch!important;}
#appSwitch :is(.studio-wordmark,.aestus-wordmark-picture) {display:block!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;}
#appSwitch .aestus-wordmark-logo {width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:left center!important;transform:none!important;}
#appSwitch .aestus-header-tools {grid-area:1/2!important;gap:12px!important;}
#appSwitch .nav-cluster {grid-area:2/1/3/-1!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;padding:0!important;}
#appSwitch .nav-cluster button {width:auto!important;flex:0 0 auto!important;max-width:100%!important;min-width:0!important;min-height:52px!important;padding:10px 14px!important;font-size:24px!important;line-height:1.25!important;overflow:visible!important;}
#appSwitch .nav-label {font-size:24px!important;line-height:1.25!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;}
@media(min-width:1800px){
 #appSwitch {grid-template-columns:352px minmax(0,1fr) auto!important;grid-template-rows:104px!important;padding:0 24px!important;}
 #appSwitch .nav-cluster {grid-area:1/2!important;flex-wrap:nowrap!important;}
 #appSwitch .aestus-header-tools {grid-area:1/3!important;}
}
#detailView #mktSplit [data-workspace-page-hidden] {display:none!important;}
#detailView #mktSplit .trial-filtered {display:none!important;}
@media(max-width:760px){
 #appSwitch {position:relative!important;padding:0 16px 8px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:0!important;}
 #appSwitch .aestus-header-tools {grid-area:2/1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important;width:100%!important;min-width:0!important;}
 #appSwitch .provider-availability {min-width:0!important;width:auto!important;}
 #appSwitch .provider-availability small {max-width:130px!important;white-space:normal!important;}
 #appSwitch .nav-cluster {grid-area:3/1!important;justify-content:flex-start!important;}
 #appSwitch .nav-cluster button {padding:10px 6px!important;}
 #appSwitch .nav-label {white-space:normal!important;overflow-wrap:normal!important;}
}
}
@layer trial {
#detailView #valueBoard .external-model-grid {grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;}
#detailView #valueBoard .external-model-grid b {font-size:15px!important;}
#detailView #nflModelPanel .external-model-head+.external-model-grid b {font-size:28px!important;}
#detailView .trial-reference-fields {display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:16px;font-size:12px;}
#detailView .trial-reference-fields small,#detailView .trial-reference-fields b,#detailView .trial-reference-fields span {display:block;line-height:1.65;}
#detailView .trial-reference-fields b {font-size:13px!important;font-weight:500;}
@media(max-width:1100px){
 #detailView #valueBoard.research-risk-layout {grid-template-columns:1fr!important;}
 #detailView #valueBoard .kelly-calculator {grid-column:1!important;grid-row:auto!important;border-left:0!important;border-top:1px solid var(--fw-line)!important;padding:24px 0 0!important;}
}
}
@layer trial {
#detailView :is(button,input,select,summary,a),#browserView :is(button,input,select,summary,a) {scroll-margin-top:155px!important;}
#detailView .microstructure-table thead,#detailView .microstructure-table th {position:static!important;background:var(--fw-surface)!important;}
@media(min-width:1000px){
 #detailView[data-workspace-view=market] #mktSplit {grid-template-columns:minmax(260px,.8fr) minmax(0,2.4fr)!important;gap:20px!important;}
 #detailView .workspace-execution {grid-template:auto auto auto / minmax(0,1fr) minmax(0,1.1fr)!important;gap:14px!important;}
 #detailView .workspace-execution-title {grid-area:1/1/2/-1!important;}
 #detailView .workspace-execution>.ofw-orderbook-col {grid-area:2/1!important;padding:16px!important;}
 #detailView .workspace-execution>.mkt-chart-col {grid-area:2/2!important;padding:16px!important;}
 #detailView .workspace-market-status {grid-area:3/1/4/-1!important;}
 #detailView #structureMarketData {gap:10px!important;}
 #detailView #structureMarketData :is(th,td) {font-size:11px!important;padding:6px 3px!important;}
 #detailView #structureMarketData .table-scroll {max-height:none!important;overflow-x:auto!important;}
 #detailView .chart-wrap {height:240px!important;min-height:240px!important;}
 #detailView #mktSplit>.mkt-list-col {max-height:560px!important;overflow:hidden!important;}
 #detailView #eventOptionsGrid {flex:1 1 auto!important;min-height:140px!important;}
}
}
@layer trial {
@media(min-width:1200px){
 #detailView .detail-market-navigation {padding-right:280px!important;min-height:34px!important;margin-bottom:0!important;display:flex!important;align-items:center!important;}
 #detailView .detail-topbar {float:right!important;margin-top:-34px!important;margin-bottom:0!important;}
 #detailView .detail-hero {clear:both!important;padding-top:20px!important;}
 #detailView .trial-ad-space {height:24px!important;}
}
}
@layer trial {
#browserView .dense-card-foot :is(.dense-open,.dense-paused) {background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0!important;width:auto!important;border-radius:0!important;font-size:10px!important;letter-spacing:.04em!important;}
@media(min-width:1200px){
 #detailView {position:relative!important;}
 #detailView .detail-topbar {position:absolute!important;right:32px!important;top:24px!important;float:none!important;width:auto!important;max-width:280px!important;margin:0!important;}
 #detailView .detail-topbar .row {margin:0!important;width:auto!important;}
}
}
@layer trial {
#browserView .dense-preview-prices>.catalog-preview-entry {background:none!important;border:0!important;padding:4px 8px!important;}
#browserView .dense-preview-prices>.catalog-preview-entry:first-child {padding-left:0!important;}
#browserView .dense-preview-prices .catalog-preview-value {font-size:23px!important;line-height:1.4!important;}
#browserView .dense-preview-prices .catalog-preview-label {font-size:12px!important;font-weight:400!important;}
}

@layer trial {
#detailView .trial-outcome-tools[hidden] {display:none!important;}
#detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-listhead,.mkt-row) {grid-template-columns:6px minmax(90px,1fr) repeat(5,minmax(34px,.4fr))!important;column-gap:3px!important;min-width:300px!important;}
#detailView #eventOptionsGrid .mkt-nm {white-space:normal!important;overflow:visible!important;font-size:11px!important;line-height:1.4!important;}
#detailView #eventOptionsGrid :is(.mkt-px,.mkt-dlt) {font-size:10px!important;}
@media(min-width:1000px){
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:minmax(350px,1fr) minmax(0,2.2fr)!important;}
}
}
@layer trial {
#detailView #detailTitle .club-title-name,#detailView #detailTitle .club-title-vs {font-size:inherit!important;line-height:inherit!important;}
#detailView #detailTitle .club-title-logo {flex-shrink:0!important;}
@media(max-width:560px){
 #detailView #detailTitle {--fixture-title-max:22;}
 #detailView #detailTitle .club-title-logo {width:28px!important;height:28px!important;}
 #detailView #detailTitle .club-title-side {gap:5px!important;}
}
}
@layer trial {
#detailView #detailTitle .club-title-logo {flex:0 0 48px!important;min-width:48px!important;}
@media(max-width:560px){#detailView #detailTitle .club-title-logo {flex-basis:28px!important;min-width:28px!important;}}
}

/* Make event identity readable without changing the six-card layout. */
@layer trial {
/* S2: only the reviewed Ipswich asset receives a dark-theme header plate.
   Keep the existing 48/28px heading slots. Artwork=slot*28/44, radius=slot*9/44.
   A failed/replaced image leaves its original monogram/variant unframed; other
   surfaces and daylight retain the original image box through display:contents. */
.club-logo-plate {display:contents!important;}
html[data-theme="dark"] #detailView #detailTitle .club-logo-plate[data-logo-variant="ipswich-dark-transparent"]:has(>img[src="https://polymarket-upload.s3.us-east-2.amazonaws.com/Ipswich-09023bbcbc.png"]) {
 --club-logo-slot:48px;
 display:inline-grid!important;place-items:center!important;align-self:center!important;
 box-sizing:border-box!important;width:var(--club-logo-slot)!important;height:var(--club-logo-slot)!important;min-width:var(--club-logo-slot)!important;flex:0 0 var(--club-logo-slot)!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:calc(var(--club-logo-slot)*9/44)!important;
 background:#e4eaf3!important;box-shadow:inset 0 0 0 1px #f4f6fa!important;
}
html[data-theme="dark"] #detailView #detailTitle .club-logo-plate[data-logo-variant="ipswich-dark-transparent"]>img.club-title-logo[src="https://polymarket-upload.s3.us-east-2.amazonaws.com/Ipswich-09023bbcbc.png"] {
 box-sizing:border-box!important;width:calc(var(--club-logo-slot)*28/44)!important;height:calc(var(--club-logo-slot)*28/44)!important;
 min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;flex:none!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 object-fit:contain!important;object-position:center!important;opacity:1!important;filter:none!important;transform:none!important;
}
@media(max-width:560px){
 html[data-theme="dark"] #detailView #detailTitle .club-logo-plate[data-logo-variant="ipswich-dark-transparent"]:has(>img[src="https://polymarket-upload.s3.us-east-2.amazonaws.com/Ipswich-09023bbcbc.png"]) {--club-logo-slot:28px;}
}
}
@layer trial {
#browserView #catalogList .catalog-title .club-title-logo {width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;max-height:32px!important;flex:0 0 32px!important;object-fit:contain!important;vertical-align:middle!important;}
#browserView #catalogList .catalog-title .club-title-monogram {display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;line-height:1!important;}
#browserView #catalogList .market-card-logo,
#browserView #catalogList .market-card-logo .traffic-sign {width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-height:40px!important;flex:0 0 40px!important;}
@media(max-width:560px){
 #browserView #catalogList .catalog-title .club-title-logo {width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;max-height:28px!important;flex-basis:28px!important;}
}
}

/* Audited market layout: content sets the minimum width, not compressed text. */
@layer trial {
#detailView:not([hidden]) {max-width:none!important;padding-left:24px!important;padding-right:24px!important;}
#detailView[data-workspace-view=market] #mktSplit,
#detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:300px 400px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;}
#detailView .workspace-execution {display:contents!important;}
#detailView .workspace-execution-title {display:none!important;}
#detailView #mktSplit>.mkt-list-col {grid-area:1/1!important;padding:16px!important;height:600px!important;max-height:600px!important;gap:12px!important;min-width:0!important;overflow:hidden!important;}
#detailView .workspace-execution>.ofw-orderbook-col {grid-area:1/2!important;min-height:600px!important;padding:16px!important;min-width:0!important;}
#detailView .workspace-execution>.mkt-chart-col {grid-area:1/3!important;min-height:600px!important;padding:16px!important;min-width:0!important;}
#detailView .workspace-market-status {grid-area:2/2/3/4!important;}
#detailView #eventOptionsGrid {flex:1 1 auto!important;min-height:120px!important;max-width:100%!important;}
#detailView .chart-wrap {height:380px!important;min-height:380px!important;max-height:none!important;margin:12px 0 8px!important;}
#detailView .chart-head {flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;}
#detailView .chart-title {font-size:17px!important;color:var(--fw-ink)!important;width:auto!important;flex:0 1 auto!important;text-align:left!important;}
#detailView #eventOptionsGrid :is(.sidebet-card,.sidebet-level-button,.event-option) {padding:10px!important;min-width:0!important;max-width:100%!important;}
#detailView #eventOptionsGrid :is(.sidebet-preview-entry:has(.workspace-fair-price),.workspace-price-head) {grid-template-columns:minmax(0,1fr) 54px 50px!important;gap:0 8px!important;}
#detailView #eventOptionsGrid :is(.workspace-price-head,.sidebet-preview-name,.workspace-fair-price,.sidebet-preview-price) {font-size:12px!important;line-height:1.5!important;}
#detailView #eventOptionsGrid .sidebet-family-head {display:flex!important;flex-wrap:wrap!important;gap:6px!important;}
#detailView #eventOptionsGrid .sidebet-level-head {display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;}
#detailView #eventOptionsGrid .sidebet-level-heading {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0!important;flex:1 1 140px!important;}
#detailView #eventOptionsGrid .sidebet-level-heading :is(strong,small) {display:block!important;flex:none!important;width:auto!important;max-width:100%!important;white-space:normal!important;}
#detailView .sidebet-card-metrics {flex-wrap:wrap!important;gap:6px 12px!important;font-size:11px!important;}
#detailView .workspace-fair-note {font-size:11px!important;line-height:1.5!important;}
#detailView #structureMarketData .table-scroll {max-width:100%!important;max-height:340px!important;overflow:auto!important;}
#detailView #structureMarketData .microstructure-table {width:100%!important;table-layout:auto!important;}
#detailView #structureMarketData :is(th,td) {font-size:12px!important;padding:7px 5px!important;line-height:1.5!important;}
#detailView #structureMarketData .microstructure-table:not(:has(th:nth-child(7))) {min-width:360px!important;}
/* Transactions are readable records within a bounded list, never squeezed cells. */
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)),
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) tbody {display:block!important;min-width:0!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) thead {display:none!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) tr {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 12px!important;padding:12px 0!important;border-bottom:1px solid var(--fw-line)!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td {display:block!important;grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:auto!important;padding:0!important;text-align:left!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:first-child,
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:last-child {grid-column:1/-1!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:before {display:block!important;color:var(--fw-muted)!important;font-weight:400!important;font-size:11px!important;}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(1):before {content:'Time';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(2):before {content:'Outcome';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(3):before {content:'Side';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(4):before {content:'Price';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(5):before {content:'Shares';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(6):before {content:'Notional';}
#detailView #structureMarketData .microstructure-table:has(th:nth-child(7)) td:nth-child(7):before {content:'Wallet / user';}
@media(max-width:1199px){
 #detailView[data-workspace-view=market] #mktSplit,
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;}
 #detailView .workspace-execution>.mkt-chart-col {grid-area:2/1/3/-1!important;}
 #detailView .workspace-market-status {grid-area:3/1/4/-1!important;}
}
@media(max-width:919px){
 #detailView:not([hidden]) {padding-left:16px!important;padding-right:16px!important;}
 #detailView[data-workspace-view=market] #mktSplit,
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:minmax(0,1fr)!important;}
 #detailView #mktSplit>.mkt-list-col {height:500px!important;max-height:500px!important;}
 #detailView .workspace-execution>.ofw-orderbook-col {grid-area:2/1!important;min-height:0!important;}
 #detailView .workspace-execution>.mkt-chart-col {grid-area:3/1!important;min-height:0!important;}
 #detailView .workspace-market-status {grid-area:4/1!important;}
 #detailView .chart-wrap {height:300px!important;min-height:300px!important;}
 #detailView #structureMarketData .microstructure-table:not(:has(th:nth-child(7))) {min-width:0!important;}
}
}
@layer trial {
#membershipView :is(.membership-shell,.ofw-membership-workspace,.membership-provider-actions,.membership-form) {width:100%!important;max-width:none!important;}
#membershipView .membership-form .row:has(>div[hidden]) {grid-template-columns:minmax(0,1fr)!important;}
#membershipView .membership-google-button {width:100%!important;max-width:none!important;}
#membershipView :is(.membership-card,.membership-tabs) button {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:auto!important;padding:8px 12px!important;white-space:normal!important;line-height:1.4!important;}
#membershipView :is(.membership-card,.membership-tabs) button:focus-visible {outline:2px solid var(--fw-accent)!important;outline-offset:2px!important;}
#membershipView .membership-card .row:has(>button) {display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:stretch!important;}
@media(max-width:760px){
 #membershipView :is(.membership-card,.membership-tabs) button {min-height:44px!important;}
}
@media(max-width:560px){
 #membershipView .membership-card .row:has(>button)>button {flex:1 1 100%!important;width:100%!important;}
}
}
@layer trial {
@media(min-width:1200px){
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:390px 400px minmax(0,1fr)!important;}
}
#detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-listhead,.mkt-row) {grid-template-columns:6px minmax(100px,1fr) repeat(5,40px)!important;min-width:324px!important;}
#detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-px,.mkt-dlt) {font-size:11px!important;}
#detailView #eventOptionsGrid .mkt-betlabel {white-space:normal!important;overflow:visible!important;}
#detailView #mktTools {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}
#detailView #mktTools[hidden] {display:none!important;}
#detailView #mktTools :is(input,select) {width:100%!important;max-width:none!important;min-width:0!important;}
}

@layer trial {
#detailView .soccer-hub-intro,#detailView .structure-bet-switcher>small {display:none!important;}
}

/* Second browser audit: narrow comparisons must expose every value. */
@layer trial {
@media(max-width:560px){
 #detailView #eventOptionsGrid.musk-comparison-list .mkt-listhead {display:none!important;}
 #detailView #eventOptionsGrid.musk-comparison-list .mkt-row {grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;min-height:0!important;min-width:0!important;gap:8px 12px!important;padding:12px 8px!important;border-bottom:1px solid var(--fw-line)!important;}
 #detailView #eventOptionsGrid.musk-comparison-list .mkt-row {position:relative!important;}
 #detailView #eventOptionsGrid.musk-comparison-list .mkt-dot {display:block!important;position:absolute!important;left:8px!important;top:18px!important;}
 #detailView #eventOptionsGrid.musk-comparison-list .mkt-nm {grid-column:1/-1!important;font-size:13px!important;padding-left:12px!important;}
 #detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-px,.mkt-dlt) {text-align:left!important;font-size:13px!important;min-width:0!important;}
 #detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-px,.mkt-dlt)::before {display:block!important;font-size:10px!important;line-height:1.5!important;font-weight:400!important;color:var(--fw-muted)!important;}
 #detailView .musk-comparison-list .model-yes::before {content:'Aestus Yes ¢';}
 #detailView .musk-comparison-list .model-no::before {content:'Aestus No ¢';}
 #detailView .musk-comparison-list .mkt-px.y::before {content:'Poly Yes ¢';}
 #detailView .musk-comparison-list .mkt-px.n::before {content:'Poly No ¢';}
 #detailView .musk-comparison-list .mkt-dlt::before {content:'Delta ¢';}
 #detailView .chart-tools {display:flex!important;flex-wrap:wrap!important;width:100%!important;gap:8px!important;}
 #detailView #chartRange {display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;width:100%!important;}
 #detailView #chartRange button {min-width:0!important;width:auto!important;padding:8px 0!important;min-height:36px!important;}
 #detailView .workspace-tabs {row-gap:0!important;column-gap:12px!important;}
 #detailView .research-model-panel {padding:16px!important;min-width:0!important;}
 #detailView .research-model-panel table {width:100%!important;min-width:0!important;table-layout:fixed!important;}
 #detailView .research-model-panel :is(th,td) {font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:8px 4px!important;}
}
}

@layer trial {
@media(max-width:560px){
 #detailView #mktSplit>.mkt-list-col:has(.musk-comparison-list) {height:auto!important;max-height:none!important;}
 #detailView #eventOptionsGrid.musk-comparison-list {flex:none!important;height:340px!important;max-height:340px!important;}
}
}

@layer trial {
@media(min-width:700px) and (max-width:919px){
 #detailView #mktSplit>.mkt-list-col {height:600px!important;max-height:600px!important;}
 #detailView .chart-wrap {height:380px!important;min-height:380px!important;}
}
}

/* Multi-outcome names get intrinsic column width; the chart yields first.
   Small screens scroll inside the outcomes list, never the whole page. */
@layer trial {
@media(min-width:561px){
#detailView #eventOptionsGrid.musk-comparison-list {display:grid!important;grid-template-columns:6px minmax(max-content,1fr) repeat(5,44px)!important;column-gap:8px!important;align-content:start!important;overflow:auto!important;}
#detailView #eventOptionsGrid.musk-comparison-list :is(.mkt-listhead,.mkt-row) {grid-column:1/-1!important;grid-template-columns:subgrid!important;min-width:0!important;column-gap:8px!important;}
#detailView #eventOptionsGrid.multi-outcome-list:not(.musk-comparison-list) {display:grid!important;grid-template-columns:6px minmax(max-content,1fr) repeat(3,44px)!important;column-gap:8px!important;align-content:start!important;overflow:auto!important;}
#detailView #eventOptionsGrid.multi-outcome-list:not(.musk-comparison-list) :is(.mkt-listhead,.mkt-row) {grid-column:1/-1!important;grid-template-columns:subgrid!important;min-width:0!important;column-gap:8px!important;}
}
#detailView #eventOptionsGrid:is(.musk-comparison-list,.multi-outcome-list) :is(.mkt-nm,.mkt-betlabel) {white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;}
#detailView #eventOptionsGrid.multi-outcome-list {overflow:auto!important;}
#userView .user-pnl-source-note {font-size:13px!important;line-height:1.6!important;color:var(--fw-muted)!important;margin:12px 0 20px!important;}
@media(min-width:1320px){
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list,.multi-outcome-list) {grid-template-columns:minmax(440px,1.2fr) 400px minmax(320px,1fr)!important;}
}
@media(min-width:920px) and (max-width:1319px){
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list,.multi-outcome-list) {grid-template-columns:minmax(480px,1.3fr) minmax(0,1fr)!important;}
 #detailView #mktSplit:has(.musk-comparison-list,.multi-outcome-list) .workspace-execution>.mkt-chart-col {grid-area:2/1/3/-1!important;}
 #detailView #mktSplit:has(.musk-comparison-list,.multi-outcome-list) .workspace-market-status {grid-area:3/1/4/-1!important;}
}
}

/* Audit repair: enforce a readable book before reserving a third column. */
@layer trial {
#detailView[data-workspace-view=market] #eventOptionsPanel {padding:0!important;border:0!important;min-width:0!important;}
#detailView[data-workspace-view=market] #mktSplit {width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;border:0!important;margin:0!important;}
#detailView #mktSplit :is(.mkt-list-col,.ofw-orderbook-col,.mkt-chart-col) {min-width:0!important;max-width:100%!important;}
@media(min-width:920px) and (max-width:1439px){
 #detailView[data-workspace-view=market] #mktSplit,
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list,.multi-outcome-list) {grid-template-columns:minmax(0,1fr) 400px!important;}
 #detailView #mktSplit .workspace-execution>.mkt-chart-col {grid-area:2/1/3/-1!important;}
 #detailView #mktSplit .workspace-market-status {grid-area:3/1/4/-1!important;}
}
@media(min-width:1440px){
 #detailView[data-workspace-view=market] #mktSplit,
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list,.multi-outcome-list) {grid-template-columns:minmax(440px,1.2fr) minmax(400px,1fr) minmax(320px,1fr)!important;}
 /* Outcome content gets only its measured width; the book stays readable
    and all surplus space belongs to price history. Oversize lists scroll
    internally instead of shrinking the chart below its usable minimum. */
 #detailView[data-workspace-view=market] #mktSplit:has(.musk-comparison-list) {grid-template-columns:minmax(0,min(var(--outcomes-fit-width,440px),calc(100% - 752px))) 400px minmax(320px,1fr)!important;}
}
#detailView #structureMarketData .table-scroll {overflow-x:auto!important;}
#detailView #structureMarketData .microstructure-table:not(:has(th:nth-child(7))) {min-width:360px!important;}
#detailView #mktSplit>.mkt-list-col {height:auto!important;max-height:none!important;min-height:360px!important;overflow:visible!important;}
#detailView #eventOptionsGrid {flex:0 1 auto!important;max-height:540px!important;overflow:auto!important;}
#detailView #mktSplit>.mkt-list-col:has(.sidebet-detail-pane) {min-height:0!important;}
#detailView #eventOptionsGrid.sidebet-detail-pane {height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;display:block!important;}
#detailView .sidebet-detail-pane :is(.sidebet-options,.sidebet-detail-card) {height:auto!important;max-height:none!important;overflow:visible!important;}
#detailView .sidebet-detail-pane .sidebet-options {min-height:180px!important;}
#detailView .sidebet-detail-pane .sidebet-option-name {min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#detailView .workspace-quote-note {flex:0 0 auto!important;white-space:normal!important;line-height:1.5!important;}
/* Summary is appended after Kelly in the DOM. Explicit placement prevents
   auto-placement below Kelly's three reserved rows on NHL/UCL research. */
#detailView #valueBoard.research-risk-layout {grid-auto-rows:min-content!important;align-content:start!important;min-height:0!important;}
#detailView #valueBoard.research-risk-layout>#integratedResearchSummary:not([hidden]) {grid-column:1!important;grid-row:1!important;align-self:start!important;min-height:0!important;margin:0!important;}
/* The MLB status must not auto-place below Kelly's spanning rows. */
#detailView #valueBoard.research-risk-layout:has(>#baseballModelPanel:not([hidden])) {grid-template-rows:min-content min-content 1fr!important;}
#detailView #valueBoard.research-risk-layout:has(>#baseballModelPanel:not([hidden]))>.vb-head {display:none!important;}
#detailView #valueBoard.research-risk-layout>#baseballModelPanel:not([hidden]) {grid-column:1!important;grid-row:1!important;align-self:start!important;margin:0!important;}
#detailView #valueBoard.research-risk-layout:has(>#baseballModelPanel:not([hidden]))>.workspace-quote-note {grid-row:2!important;align-self:start!important;}
#detailView #kellySide {display:block!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#detailView #kellyOutcome {width:100%!important;min-width:0!important;max-width:100%!important;}
img.competition-official-logo[src*="copa-del-rey"] {background:#fff!important;padding:4px!important;border-radius:6px!important;box-sizing:border-box!important;object-fit:contain!important;}
/* These official SVGs contain dark artwork on transparency. Back the actual
   images without recoloring, resizing or changing their existing padding. */
img.competition-official-logo:is([src$="/uel.svg"],[src$="/uecl.svg"]) {background:#f5f7fb!important;border-radius:4px!important;}
/* Contain tall official artwork within the catalog's reserved logo slot;
   intrinsic SVG dimensions must not exceed the frame or its pale plate. */
#browserView #catalogList .market-card-logo .sign-art>img.competition-official-logo {width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;box-sizing:border-box!important;}
@media(max-width:1000px){
 #detailView #valueBoard.research-risk-layout {grid-template-columns:minmax(0,1fr)!important;}
 #detailView #valueBoard.research-risk-layout>.kelly-calculator {grid-column:1!important;grid-row:auto!important;border-left:0!important;border-top:1px solid var(--fw-line)!important;padding:20px 0 0!important;}
}
}

/* Quote refreshes use the existing price slot. No diagnostic/retry row is
   part of a market card; its loading, stale and live states share geometry. */
/* S2: the original Ethereum mark needs contrast on dark catalog surfaces.
   Keep the allocated slot and artwork dimensions; failed-image fallbacks and
   any alternate/reversed asset are deliberately outside this rule. */
@layer trial {
html[data-theme="dark"] #browserView #catalogList .traffic-sign:has(> .sign-art > img.crypto-official-logo[src="https://cdn.simpleicons.org/ethereum"]:not([hidden])) {
 background:#e4eaf3!important;
 border-radius:20.4545%!important;
 box-shadow:inset 0 0 0 1px #f4f6fa!important;
}
html[data-theme="dark"] #browserView #catalogList .traffic-sign > .sign-art > img.crypto-official-logo[src="https://cdn.simpleicons.org/ethereum"] {
 object-fit:contain!important;opacity:1!important;filter:none!important;
}
}

/* Source: shared-header.css */
@layer trial,theme,visibility,feedback,workspace,legacy;
@layer trial {
/* Shared compact scale. Keep every route readable: wrap below the wide
   breakpoint and use a contained navigation scroller on small screens. */
#appSwitch {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:68px auto!important;padding:0 20px 6px!important;gap:0 16px!important;align-items:center!important;box-sizing:border-box!important;}
#appSwitch .studio-rail-head {grid-area:1/1!important;width:232px!important;max-width:100%!important;height:68px!important;min-height:0!important;min-width:0!important;padding:0!important;display:flex!important;align-items:stretch!important;}
#appSwitch :is(.studio-wordmark,.aestus-wordmark-picture) {display:block!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;}
#appSwitch .aestus-wordmark-logo {width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:left center!important;transform:none!important;}
#appSwitch .aestus-header-tools {grid-area:1/2!important;gap:10px!important;min-width:0!important;}
#appSwitch .nav-cluster {grid-area:2/1/3/-1!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;padding:0!important;}
#appSwitch .nav-cluster :is(button,a) {width:auto!important;flex:0 0 auto!important;max-width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 10px!important;font-size:15px!important;line-height:1.25!important;overflow:visible!important;}
#appSwitch .nav-label {font-size:15px!important;line-height:1.25!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;}
@media(min-width:1440px){
 #appSwitch {grid-template-columns:232px minmax(0,1fr) auto!important;grid-template-rows:minmax(68px,auto)!important;padding:0 20px!important;}
 #appSwitch .nav-cluster {grid-area:1/2!important;flex-wrap:wrap!important;}
 #appSwitch .aestus-header-tools {grid-area:1/3!important;}
}
#appSwitch {position:relative!important;width:100%!important;max-width:none!important;left:auto!important;top:auto!important;min-height:0!important;height:auto!important;background:var(--fw-surface,var(--surface))!important;border-bottom:1px solid var(--fw-line,var(--line))!important;color:var(--fw-ink,var(--ink))!important;}
#appSwitch .nav-cluster :is(button,a) {display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;border:1px solid transparent!important;border-radius:8px!important;background:none!important;color:inherit!important;font-family:inherit!important;font-weight:500!important;}
#appSwitch .nav-cluster :is(.active,[aria-current="page"]) {background:var(--fw-selected,var(--selected))!important;border-color:var(--fw-line,var(--line))!important;}
#appSwitch .nav-cluster :is(button,a):focus-visible {outline:2px solid var(--fw-accent,var(--accent))!important;outline-offset:-2px!important;}
#appSwitch .aestus-header-tools {display:flex!important;align-items:center!important;justify-content:flex-end!important;}
#appSwitch .studio-wordmark>span {display:none!important;}
#appSwitch .studio-rail-foot {display:flex!important;flex-wrap:wrap!important;gap:4px 8px!important;font-size:11px!important;}
#appSwitch .provider-availability {display:flex!important;flex-direction:column!important;min-width:0!important;font-size:12px!important;}
#appSwitch .provider-availability small {font-size:10px!important;}
#appSwitch .aestus-theme-toggle {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:64px!important;min-height:44px!important;padding:4px!important;border:0!important;background:none!important;color:inherit!important;font:500 11px/1.2 Inter,system-ui,sans-serif!important;}
#appSwitch .aestus-theme-track {display:flex!important;align-items:center!important;width:52px!important;height:28px!important;padding:3px!important;border:1px solid var(--fw-muted,var(--muted))!important;border-radius:20px!important;background:var(--fw-inset,var(--inset))!important;box-sizing:border-box!important;}
#appSwitch .aestus-theme-thumb {display:grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:50%!important;background:var(--fw-accent,var(--accent))!important;transform:translateX(0);}
#appSwitch .aestus-theme-thumb svg {width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;}
#appSwitch .aestus-theme-sun {display:none!important;}
[data-theme="daylight"] #appSwitch .aestus-theme-thumb {transform:translateX(24px);}
[data-theme="daylight"] #appSwitch .aestus-theme-sun {display:block!important;}
[data-theme="daylight"] #appSwitch .aestus-theme-moon {display:none!important;}
#appSwitch .aestus-logo-daylight {display:none!important;}
[data-theme="daylight"] #appSwitch .aestus-logo-dark {display:none!important;}
[data-theme="daylight"] #appSwitch .aestus-logo-daylight {display:block!important;}
@media(max-width:760px){
 #appSwitch {grid-template-columns:minmax(0,1fr) 132px!important;grid-template-rows:minmax(76px,auto) auto!important;padding:0 12px 4px!important;gap:0 8px!important;}
 #appSwitch .studio-rail-head {grid-area:1/1!important;width:196px!important;height:56px!important;}
 #appSwitch .aestus-header-tools {grid-area:1/2!important;display:grid!important;grid-template-columns:minmax(0,1fr) 64px!important;grid-template-rows:auto auto!important;width:100%!important;gap:0 4px!important;}
 #appSwitch .studio-rail-foot {display:contents!important;}
 #appSwitch .studio-rail-foot>span {grid-row:1!important;text-align:center!important;font-size:10px!important;line-height:1.3!important;overflow-wrap:anywhere!important;}
 #appSwitch .studio-rail-foot>.workspace-preview-label {grid-column:1!important;}
 #appSwitch .studio-rail-foot>#membershipRailState {grid-column:2!important;}
 #appSwitch .provider-availability {grid-area:2/1!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;gap:2px!important;font-size:10px!important;line-height:1.3!important;}
 #appSwitch .provider-availability small {max-width:none!important;white-space:normal!important;font-size:10px!important;}
 #appSwitch .aestus-header-tools:has(.provider-availability) {grid-template-rows:auto auto auto!important;}
 #appSwitch .aestus-header-tools:has(.provider-availability) .provider-availability {grid-area:1/1/2/-1!important;flex-direction:row!important;flex-wrap:wrap!important;}
 #appSwitch .aestus-header-tools:has(.provider-availability) .workspace-preview-label {grid-area:2/1!important;}
 #appSwitch .aestus-header-tools:has(.provider-availability) .studio-rail-foot>a {grid-area:3/1!important;}
 #appSwitch .aestus-header-tools:has(.provider-availability) .aestus-theme-toggle {grid-area:2/2/4/3!important;}
 #appSwitch .studio-rail-foot>a {grid-area:2/1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;font-size:11px!important;}
 #appSwitch .nav-cluster {grid-area:2/1/3/-1!important;flex-wrap:nowrap!important;justify-content:space-between!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important;gap:2px!important;}
 #appSwitch .nav-cluster :is(button,a) {min-height:44px!important;padding:8px!important;flex:0 0 auto!important;}
 #appSwitch .nav-label {font-size:15px!important;white-space:nowrap!important;}
 #appSwitch .aestus-theme-toggle {grid-area:2/2!important;flex-direction:column!important;min-height:44px!important;gap:2px!important;padding:0!important;}
 #appSwitch .studio-rail-foot>a:focus-visible {outline:2px solid var(--fw-accent,var(--accent))!important;outline-offset:-2px!important;}
}
/* At the narrow edge, use another row rather than leaving a focused primary
   destination partly outside the scroller. Keep the 390/430px header compact. */
@media(max-width:360px){
 #appSwitch .nav-cluster {flex-wrap:wrap!important;justify-content:flex-start!important;}
}
}

/* Source: market-presentation.css */
/* Declare the complete order before any stylesheet can create these layers.
   Important theme colors must outrank legacy dark colors in daylight mode. */
@layer theme, visibility, feedback, workspace, legacy;
@layer feedback {
/* Keep the complete-refresh action reachable at intermediate/mobile widths. */
html.focus-workbench #browserView .browser-hero #catalogRefreshBtn {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
}
@layer feedback {
/* The same legacy !important layer also defeated the theme's logo hiding,
   leaving dark and daylight wordmarks visible together on narrow screens. */
html:not([data-theme="daylight"]) #appSwitch .aestus-logo-daylight,
html[data-theme="daylight"] #appSwitch .aestus-logo-dark{display:none!important}
/* Load with the initial document: asynchronous workspace styles must not
   resize controls or turn messages into ledger columns after first paint. */
html.focus-workbench body #browserView#browserView #catalogList#catalogList .dense-card-foot :is(.dense-open-action,.dense-open,.dense-paused){
  font-size:12px!important;line-height:1.1!important;letter-spacing:0!important;
  padding:5px 8px!important;min-height:23px!important;height:auto!important;
  font-weight:700!important;white-space:nowrap!important;transition:none!important;
}
html.focus-workbench body :is(#scopeView,#browserView,#detailView,#userView) :is(.scope-empty,.catalog-empty,.user-empty,.external-model-empty,.football-model-empty,.football-advanced-empty,.mkt-empty){
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:10px!important;grid-template-columns:none!important;
  white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;
  min-width:0!important;max-width:100%!important;height:auto!important;padding:20px!important;
}
html.focus-workbench body :is(#scopeView,#browserView,#detailView,#userView) :is(.scope-empty,.catalog-empty,.user-empty,.external-model-empty,.football-model-empty,.football-advanced-empty,.mkt-empty)>*{
  margin:0!important;min-width:0!important;width:auto!important;max-width:80ch!important;flex:none!important;
}
html.focus-workbench body :is(#scopeView,#browserView,#detailView,#userView) .preview-loading::before{display:none!important;content:none!important}
html.focus-workbench body :is(#scopeView,#browserView,#detailView,#userView) .preview-loading::after{
  content:""!important;display:block!important;width:16px!important;height:16px!important;
  flex:none!important;border:2px solid currentColor!important;border-right-color:transparent!important;
  border-radius:50%!important;background:none!important;margin:0!important;
  animation:aestus-loading-turn 1s linear infinite!important;
}
@keyframes aestus-loading-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html.focus-workbench body :is(#scopeView,#browserView,#detailView,#userView) .preview-loading::after{animation:none!important}}
}
/* Explicit venue switch; full navigation loads the isolated Kalshi shell. */
.aestus-provider-switch{font-size:12px;line-height:1.2;white-space:nowrap;padding:6px 8px;border:1px solid currentColor;border-radius:6px;text-decoration:none}
.catalog-preview-entry>small{display:block;font-size:11px;line-height:1.25;opacity:.8}
@layer feedback {
/* Shared by All Markets, search, category groups and competition leaves.
   Reserve the final quote geometry before labels/books/notes arrive. */
html.focus-workbench #browserView #catalogList .dense-preview,
html.focus-workbench #browserView #catalogList .dense-preview-prices {
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;
}
html.focus-workbench #browserView #catalogList .catalog-preview-entry {
  height:72px!important;min-height:72px!important;box-sizing:border-box!important;
}
html.focus-workbench #browserView #catalogList .catalog-preview-entry>small {
  display:block!important;min-height:14px!important;line-height:14px!important;
  max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html.focus-workbench #browserView #catalogList .dense-preview-prices.empty {
  display:flex!important;align-items:center!important;padding:7px 9px!important;
  font-size:12px!important;color:var(--fw-muted)!important;
}
html.focus-workbench #browserView #catalogList .dense-card-top {
  min-height:60px!important;
}
html.focus-workbench #browserView #catalogList .dense-card-foot {
  min-height:28px!important;
}
html.focus-workbench #browserView #catalogList .dense-metrics {
  height:36px!important;min-height:36px!important;max-height:36px!important;
  align-content:center!important;box-sizing:border-box!important;
}
html.focus-workbench #browserView #catalogList .dense-metric {
  white-space:nowrap!important;font-variant-numeric:tabular-nums!important;
}
/* A status can change without changing the footer's available line width. */
html.focus-workbench #browserView #catalogList [data-catalog-lifecycle] {
  width:16ch!important;min-width:16ch!important;box-sizing:border-box!important;
  text-align:center!important;flex-shrink:0!important;
}
html.focus-workbench #browserView #catalogList .catalog-preview-value {
  font-variant-numeric:tabular-nums!important;
}
/* Live prices update inside the reserved quote area. Never obscure a usable
   card or disable its link while a third-party data request is pending. */
}

/* The single-column mobile card must grow with its wrapped identity. Join
   trial so its fixed outer height cannot defeat this repair. Keep the existing
   spacing and minimum height; desktop card geometry is unchanged. */
@layer trial {
@media(max-width:759px){
html.focus-workbench #browserView #catalogList .dense-market-card {
  height:auto!important;
}
/* Match the 88px quote rows in post-count-model-density.css even while the
   parent contains only loading/unavailable copy. Hydration needs no resize. */
html.focus-workbench #browserView #catalogList .dense-preview {
  height:88px!important;min-height:88px!important;max-height:88px!important;
}
}
}

/* Source: catalog-breadcrumbs.css */
/* Scoped to Polymarket's catalog; earlier important layers own visibility. */
@layer feedback {
  #browserView #catalogList .catalog-parent-navigation {min-width:0;margin-top:0!important;margin-bottom:6px!important}
  #browserView #catalogList .catalog-parent-navigation ol {display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;list-style:none;margin:0;padding:0;min-width:0}
  #browserView #catalogList .catalog-parent-navigation li {display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
  #browserView #catalogList .catalog-parent-navigation li + li::before {content:'›';color:var(--ofw-tertiary,#697b92);flex:none}
  #browserView #catalogList .catalog-parent-navigation button,
  #browserView #catalogList .catalog-parent-navigation [aria-current] {height:auto!important;min-height:28px!important;margin:0!important;padding:4px 0!important;border:0!important;border-radius:3px;background:transparent!important;box-shadow:none!important;font:500 12px/1.5 var(--font-sans,Inter,sans-serif)!important;white-space:normal!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip!important;text-transform:none!important;letter-spacing:normal!important;color:var(--ofw-secondary,#52647a)!important}
  #browserView #catalogList .catalog-parent-navigation button {cursor:pointer;color:var(--ofw-blue-soft,#2774c8)!important}
  #browserView #catalogList .catalog-parent-navigation button:hover {text-decoration:underline;text-underline-offset:3px}
  #browserView #catalogList .catalog-parent-navigation button:focus-visible {outline:2px solid currentColor;outline-offset:3px}
}

/* Source: aestus-theme.css */
/* Important declarations use the first layer to override the legacy theme's
   important styles. Visibility/layout rules remain owned by their current layers. */
@layer theme, visibility, workspace, legacy;
@layer theme {
  /* Shared review refinements: apply equally to dark and daylight. Keep the
     header and numeric rows on the same grid, with a real trailing gutter. */
  html.focused-preview #eventOptionsGrid :is(.mkt-listhead,.mkt-row) {padding-inline-end:12px!important;box-sizing:border-box!important}
  html.focused-preview .detail-topbar button {white-space:nowrap!important;min-width:max-content!important}
  /* Initials occupy the same border-box slot as a hydrated crest. Theme ink
     and surface tokens keep missing/identity-blocked images legible. */
  html.focused-preview .club-title-logo {box-sizing:border-box!important}
  html.focused-preview .club-title-monogram {
    display:inline-grid!important;place-items:center!important;
    color:var(--fw-ink)!important;background:var(--fw-inset)!important;
    border:1px solid var(--fw-line)!important;border-radius:4px!important;
    box-shadow:none!important;font-size:12px!important;line-height:1!important;
  }
  html.focused-preview .traffic-sign .sign-code {
    display:grid!important;place-items:center!important;position:static!important;
    width:100%!important;height:100%!important;min-width:0!important;
    font:700 9px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.035em!important;
    color:var(--fw-muted)!important;text-shadow:none!important;transform:none!important;
  }
  html.focused-preview .traffic-sign:has(.sign-code) .sign-art {width:100%!important;height:100%!important;inset:0!important;padding:0!important}
  /* Keep failed-image fallbacks readable without displaying them over a
     successfully loaded logo. Legacy display:!important must honor hidden. */
  html.focused-preview .traffic-sign [hidden] {display:none!important}
  html.focused-preview .traffic-sign .official-logo-fallback:not([hidden]) {
    display:grid!important;place-items:center!important;width:100%!important;height:100%!important;
    color:var(--fw-muted)!important;font:700 22px/1.2 Inter,system-ui,sans-serif!important;
  }
  html.focused-preview .traffic-sign .crypto-fallback:not([hidden]) {font-size:10px!important}
  html.focused-preview .traffic-sign.flag:has(.country-flag-asset:not([hidden])) {
    outline:1px solid var(--fw-muted)!important;outline-offset:-1px!important;
  }
  html.focused-preview :is(.market-index-page-prev,.market-index-page-next,.workspace-pager>button) {
    display:inline-grid!important;place-items:center!important;padding:0!important;line-height:1!important;
  }
  html.focused-preview .pager-chevron {
    display:block!important;width:22px!important;height:22px!important;flex:none!important;
    fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  :root[data-theme="daylight"] {
    color-scheme: light !important;
    --fw-bg:#ffffff!important; --fw-surface:#f5f7fb!important; --fw-inset:#ffffff!important;
    --fw-ink:#17243a!important; --fw-muted:#53637c!important; --fw-line:#d3ddea!important;
    --fw-accent:#4059ab!important; --fw-selected:#e6edfc!important;
    --ofw-bg:var(--fw-bg)!important; --ofw-surface:var(--fw-surface)!important; --ofw-surface-2:var(--fw-inset)!important;
    --ofw-surface-3:var(--fw-selected)!important; --ofw-border:var(--fw-line)!important; --ofw-border-soft:#e2e8f1!important;
    --ofw-primary:var(--fw-ink)!important; --ofw-secondary:#40516b!important; --ofw-tertiary:var(--fw-muted)!important;
    --ofw-accent:var(--fw-accent)!important; --ofw-blue:var(--fw-accent)!important; --ofw-cyan:#087854!important;
    --ofw-amber:#875800!important; --ofw-red:#be354c!important;
    --ofw-muted:var(--fw-muted)!important; --ofw-blue-soft:var(--fw-accent)!important;
    --ofw-positive:#087854!important; --ofw-negative:#be354c!important; --ofw-warning:#875800!important;
    --bg:var(--fw-bg)!important; --panel:var(--fw-surface)!important; --panel2:var(--fw-inset)!important; --panel3:var(--fw-selected)!important;
    --text:var(--fw-ink)!important; --text2:#40516b!important; --ink:var(--fw-ink)!important; --muted:var(--fw-muted)!important; --faint:#61718a!important;
    --line:var(--fw-line)!important; --line-soft:#e2e8f1!important; --amber:var(--fw-accent)!important; --amber-dim:#5267ac!important;
    --focus:var(--fw-accent)!important; --info:var(--fw-accent)!important; --blue:var(--fw-accent)!important; --violet:#7049a9!important;
    --yes:#087854!important; --yes-bg:#e9f6ef!important; --yes-line:#97c9b6!important; --win:#087854!important;
    --no:#be354c!important; --no-bg:#fff0f2!important; --no-line:#e2adb6!important; --loss:#be354c!important;
    --warn-bg:#fff7e7!important; --lime:#087854!important;
  }
  .aestus-header-tools {display:flex!important;align-items:center!important;gap:20px!important;flex:0 0 auto!important}
  .focused-preview #appSwitch .studio-rail-foot {display:flex!important;min-width:90px!important}
  .aestus-theme-toggle {
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;min-width:64px!important;min-height:64px!important;padding:4px!important;margin:0!important;
    border:0!important;background:transparent!important;box-shadow:none!important;color:var(--fw-muted)!important;
    font:500 11px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
    cursor:pointer!important;border-radius:8px!important;flex:0 0 auto!important;
  }
  .aestus-theme-toggle::before,.aestus-theme-toggle::after {display:none!important}
  .aestus-theme-track {display:flex!important;align-items:center!important;width:52px!important;height:28px!important;padding:3px!important;border:1px solid var(--fw-muted)!important;border-radius:20px!important;background:var(--fw-inset)!important}
  .aestus-theme-thumb {display:grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:50%!important;background:var(--fw-accent)!important;color:#182138!important;transform:translateX(0);transition:transform .16s ease}
  .aestus-theme-thumb svg {display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .aestus-theme-sun {display:none!important}
  [data-theme="daylight"] .aestus-theme-thumb {transform:translateX(24px);background:var(--fw-accent)!important;color:white!important}
  [data-theme="daylight"] .aestus-theme-moon {display:none!important}
  [data-theme="daylight"] .aestus-theme-sun {display:block!important}
  .aestus-theme-toggle:hover {background:var(--fw-selected)!important}
  .aestus-theme-toggle:focus-visible {outline:2px solid var(--fw-accent)!important;outline-offset:3px!important}
  .aestus-logo-daylight {display:none!important}
  [data-theme="daylight"] .aestus-logo-dark {display:none!important}
  [data-theme="daylight"] .aestus-logo-daylight {display:block!important}
  [data-theme="daylight"] :is(input,textarea,select)::placeholder {color:#68768b!important;opacity:1!important}
  [data-theme="daylight"] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible {outline-color:var(--fw-accent)!important}
  [data-theme="daylight"] #appSwitch .nav-cluster button.active {border-color:#a5b6e4!important}
  [data-theme="daylight"] :is(h1,h3,h4,.genre-nav button strong,.sign-crypto) {color:var(--fw-ink)!important}
  [data-theme="daylight"] button.primary {color:#fff!important}
  [data-theme="daylight"] #catalogList .dense-metric b {color:var(--text2)!important}
  [data-theme="daylight"] :is(.detail-betline .v,.mkt-betlabel,.leg-nm,.leg-px,.structure-outcome-chip span) {color:var(--fw-ink)!important}
  [data-theme="daylight"] .detail-betline .k {color:var(--fw-muted)!important}
  [data-theme="daylight"] .market-group-more {color:var(--fw-muted)!important}
  [data-theme="daylight"] #catalogList .dense-market-card:hover {background:#eef3fb!important;border-color:#a5b6e4!important}
  [data-theme="daylight"] #structureMarketData .book-level-row.ask td {color:var(--no)!important}
  [data-theme="daylight"] #structureMarketData .book-level-row.bid td {color:var(--yes)!important}
  [data-theme="daylight"] #normStatus {color:#875800!important}
  [data-theme="daylight"] #normStatus.ok {color:var(--yes)!important}
  [data-theme="daylight"] #valueBoard :is(b,strong) {color:var(--fw-ink)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip {background:#edf2fa!important;border-color:var(--fw-line)!important;color:var(--fw-ink)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip.win {background:var(--yes-bg)!important;border-color:var(--yes-line)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip.loss {background:var(--no-bg)!important;border-color:var(--no-line)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip.draw {background:var(--warn-bg)!important;border-color:#d9b46f!important}
  [data-theme="daylight"] #valueBoard .football-form-chip small {color:var(--fw-muted)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip.win b {color:var(--yes)!important}
  [data-theme="daylight"] #valueBoard .football-form-chip.loss b {color:var(--no)!important}
  [data-theme="daylight"] .warnitem.sev {border-left-color:#c29444!important;color:#875800!important}
  [data-theme="daylight"] :is(.up,.positive,.scope-bet-positive,.sim-positive,[data-tone="positive"]) {color:var(--yes)!important}
  [data-theme="daylight"] :is(.down,.negative,.scope-bet-negative,.sim-negative,[data-tone="negative"]) {color:var(--no)!important}
  [data-theme="daylight"] :is(.workspace-market-status[data-tone="warn"],.warn,.warnitem,.status.warn) {color:#875800!important}
  [data-theme="daylight"] :is(.workspace-description,.detail-description,.structure-summary) {color:var(--text2)!important}
  [data-theme="daylight"] :is(.workspace-tabs button.active,.workspace-tabs button[aria-selected="true"]) {border-color:#a5b6e4!important}
  [data-theme="daylight"] #scopeModelTabs [aria-selected="true"] {background:#e6edfc!important;border-color:#4059ab!important;color:#17243a!important}
  [data-theme="daylight"] #scopeModelTabs [role="tab"]:focus-visible {outline-color:#4059ab!important}
  [data-theme="daylight"] .scope-counter-warning {color:#875800!important}
  /* The research ledger has legacy per-cell colours, not just inherited
     theme tokens. Override those explicitly without flattening delta tones. */
  [data-theme="daylight"] #scopeView .scope-bet-table td:not(.scope-bet-positive):not(.scope-bet-negative):not(.scope-bet-neutral) {color:var(--fw-ink)!important}
  [data-theme="daylight"] #scopeView :is(.scope-bet-side,.scope-bet-quote b) {color:var(--fw-ink)!important}
  [data-theme="daylight"] #scopeView .scope-empty p {color:var(--fw-muted)!important}
  [data-theme="daylight"] :is(.research-model-panel,.research-model-summary) :is(table,thead,tbody,tr,th,td) {background:var(--fw-surface)!important;color:var(--fw-ink)!important;border-color:var(--fw-line)!important}
  [data-theme="daylight"] .workspace-data-popover {box-shadow:0 8px 28px #17243a1a!important}
  [data-theme="daylight"] #simulatorView {color:var(--fw-ink)!important;background:var(--fw-bg)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-metrics,.sim-performance,.sim-table,.sim-disclosure) {background:var(--fw-surface)!important;border-color:var(--fw-line)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-scroll,th,td,.sim-metrics>div) {border-color:var(--fw-line)!important}
  [data-theme="daylight"] #simulatorView .sim-table thead {background:#edf2fa!important;color:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView .sim-table :is(tr,th,td) {background:var(--fw-surface)!important;color:var(--fw-ink)!important}
  [data-theme="daylight"] #simulatorView .sim-table thead th {background:#edf2fa!important;color:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView .sim-table .sim-positive {color:var(--yes)!important}
  [data-theme="daylight"] #simulatorView .sim-table .sim-negative {color:var(--no)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-head p,.sim-live small,.sim-metrics dt,.sim-metrics small,.sim-section-head span,.sim-section-head small,.sim-table small,.sim-source,.sim-footnote,.sim-state) {color:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView :is(a,.sim-disclosure summary) {color:var(--fw-accent)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-method,.sim-chart-empty,.sim-table dt) {color:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-method summary,.sim-table summary) {color:var(--fw-accent)!important}
  [data-theme="daylight"] #simulatorView :is(.sim-live,.sim-line) {color:#087854!important}
  [data-theme="daylight"] #simulatorView .sim-dot {fill:#087854!important}
  [data-theme="daylight"] #simulatorView .sim-performance svg text {fill:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView .sim-grid {stroke:var(--fw-line)!important}
  [data-theme="daylight"] #simulatorView .sim-baseline {stroke:var(--fw-muted)!important}
  [data-theme="daylight"] #simulatorView .sim-warning {background:var(--warn-bg)!important;color:#875800!important;border-color:#d9b46f!important}
  .aestus-feedback-page .brand {justify-content:space-between!important}
  [data-theme="daylight"] .aestus-feedback-page :is(label,.hint,.footnote) {color:var(--fw-muted)!important}
  [data-theme="daylight"] .aestus-feedback-page .button:not(.secondary) {color:#fff!important;background:var(--fw-accent)!important;border-color:var(--fw-accent)!important}
  [data-theme="daylight"] .aestus-feedback-page .status.error {color:var(--no)!important}
  .focused-preview #appSwitch .nav-label {overflow:visible!important;text-overflow:clip!important}
  @media (max-width:1420px) and (min-width:760px) {
    .focused-preview #appSwitch {gap:12px!important;padding-inline:20px!important;flex-wrap:wrap!important}
    .focused-preview #appSwitch .nav-cluster {order:3!important;flex:1 0 100%!important}
    .focused-preview #appSwitch .nav-cluster button {flex:0 0 auto!important;min-width:max-content!important}
    .focused-preview .ofw-index-pane {top:154px!important}
  }
  @media (max-width:759px) {
    .focused-preview #appSwitch {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;align-items:center!important;padding:8px 14px!important}
    .focused-preview #appSwitch .studio-rail-head {width:100%!important;min-width:0!important;height:66px!important;justify-content:flex-start!important}
    .focused-preview #appSwitch :is(.studio-wordmark,.aestus-wordmark-picture,.aestus-wordmark-logo) {width:100%!important;max-width:225px!important;height:66px!important;min-height:0!important}
    .aestus-header-tools {gap:6px!important;grid-column:2!important;grid-row:1!important}
    .focused-preview #appSwitch .studio-rail-foot {min-width:76px!important;font-size:10px!important}
    .focused-preview #appSwitch .workspace-preview-label {font-size:10px!important}
    .aestus-theme-toggle {min-width:56px!important}
    .focused-preview #appSwitch .nav-cluster {grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:3px!important}
    .focused-preview #appSwitch .nav-cluster button {padding:8px 2px!important;font-size:11px!important}
    .focused-preview #appSwitch .nav-label {white-space:normal!important;overflow-wrap:anywhere!important}
  }
  @media (prefers-reduced-motion:reduce) {.aestus-theme-thumb {transition:none!important}}
}
/* Verified club crest originals retain their colors on a neutral plate in
   either theme. Scope by local asset directory; do not alter other brands. */
@layer trial {
 html.focused-preview :is(#browserView,#detailView) .club-title-logo:is([src*="/assets/team-logos/mex/"],[src*="/assets/team-logos/verified/"]) {
  background:#f3f5f8!important;border:1px solid #bbc6d5!important;
  border-radius:5px!important;padding:2px!important;box-sizing:border-box!important;
  object-fit:contain!important;object-position:center!important;filter:none!important;
 }
}
/* Independent of application JS: a failed startup download still has a usable exit. */
#startupRecovery {
  box-sizing:border-box; width:min(440px, calc(100% - 32px)); padding:24px; margin:auto;
  border:1px solid var(--fw-line, #42536c); border-radius:12px;
  background:var(--fw-surface, #182438); color:var(--fw-ink, #eef2fa);
  font:400 15px/1.5 Inter, system-ui, sans-serif;
}
#startupRecovery::backdrop { background:rgb(5 12 24 / 75%); }
#startupRecovery h1 { margin:0 0 12px; font-size:20px; line-height:1.3; }
#startupRecovery p { margin:0 0 20px; }
@layer trial {
  :is(#startupRecovery, #researchDeliveryStatus, #scopeToolDelivery) button { min-height:44px!important; padding:10px 16px!important; font:600 15px/1.4 Inter, system-ui, sans-serif!important; }
}
:is(#startupRecovery, #researchDeliveryStatus, #scopeToolDelivery) button:focus-visible { outline:3px solid var(--fw-accent, #a9b9ff); outline-offset:3px; }

