@import url('./scope.css');
/* Aestus workspace tokens, isolated from legacy route observers and density scripts. */
/* One comparison renderer for outcomes, model research and Bet Scope. */
.comparison-scroll{max-width:100%;min-width:0;overflow-x:auto;container-type:inline-size}
.comparison-table{min-width:0;table-layout:fixed}.comparison-table td:not(:first-child){white-space:nowrap}
.comparison-table th:first-child[rowspan]{width:25%}
/* Size by the panel, not the viewport: the outcome panel can be narrow on desktop. */
@container(max-width:450px){.comparison-table{font-size:12px}.comparison-table th,.comparison-table td{padding:8px 3px}.comparison-table .market-button{font-size:12px;overflow-wrap:anywhere}.comparison-table th:first-child[rowspan]{width:22%}}
.comparison-table thead tr:last-child th{text-align:right}.comparison-table th[rowspan]{vertical-align:bottom}
.comparison-table th[colspan]{text-align:center}
.comparison-table .delta{font-weight:650}.positive{color:#7bc7ba}.negative{color:#ed8894}
.model-research>*{min-width:0}.country-flags img{border-radius:50%;object-fit:cover;border:1px solid var(--line)}
.country-flags:has(img+img){width:46px!important;gap:2px}.country-flags:has(img+img) img{width:21px;height:21px}
.theme-toggle{display:flex;align-items:center;gap:6px;border:0;background:none;padding:4px;font-size:11px}
.theme-track{display:flex;align-items:center;width:52px;height:28px;padding:3px;border:1px solid var(--muted);border-radius:20px;background:var(--inset)}
.theme-thumb{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:var(--bg)}
.brand-daylight{display:none}
:root[data-theme="daylight"]{color-scheme:light;--bg:#fff;--surface:#f5f7fb;--inset:#fff;--ink:#17243a;--muted:#53637c;--line:#d3ddea;--accent:#4059ab;--selected:#e6edfc}
[data-theme="daylight"] .theme-thumb{transform:translateX(24px)}
[data-theme="daylight"] .brand-dark{display:none}[data-theme="daylight"] .brand-daylight{display:block}
[data-theme="daylight"] .card:has(.card-link):is(:hover,:focus-within){background:#e6edfc;box-shadow:inset 0 0 0 1px #4059ab}
[data-theme="daylight"] :is(.positive,.bid){color:#087854}
[data-theme="daylight"] :is(.negative,.ask,.error){color:#be354c}
[data-theme="daylight"] .primary{color:#fff}
[data-theme="daylight"] .chart-line{stroke:#875800}[data-theme="daylight"] .chart-point{fill:#875800}
.app-header nav a{white-space:nowrap}.app-header nav a[aria-current="page"]{background:var(--selected);border-color:var(--accent)}
@media(min-width:721px) and (max-width:800px){.app-header{flex-wrap:wrap!important;gap:12px!important}.app-header nav{order:3;width:100%;justify-content:center}.catalog-layout,.detail-columns{grid-template-columns:1fr!important}.sidebar nav{flex-direction:row!important;overflow:auto}.sidebar nav a{flex-shrink:0}.sidebar form{flex-direction:row!important}.sidebar form button{flex-shrink:0}}
.competition-picker{display:flex;gap:10px;align-items:center;margin:12px 0;color:var(--muted)}
.account-hero{margin-bottom:22px}.account-hero p{margin-top:8px}.account-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;max-width:1100px}.account-card{padding:26px;display:flex;flex-direction:column;gap:16px;line-height:1.6}.account-card h2{font-size:22px}.account-profile-grid,.account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-field{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--inset);min-width:0;overflow-wrap:anywhere}.account-field small,.account-field b{display:block}.account-field b{font-size:16px}.account-form-grid label{display:flex;flex-direction:column;gap:8px}.account-form-grid input{width:100%;min-width:0}.account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.account-divider{text-align:center;margin:16px 0;color:var(--muted)}.primary{background:var(--accent);color:#152139}.account-layout .sidebar button{text-align:left;border-color:transparent;background:transparent}.account-layout .sidebar button[aria-current]{background:var(--selected)}
@media(max-width:800px){.account-layout,.account-form-grid,.account-profile-grid{grid-template-columns:1fr}.account-card{padding:18px}.account-layout .sidebar nav{flex-direction:row}}
.card{position:relative}.card:has(.card-link):hover,.card:has(.card-link):focus-within{border-color:var(--accent);background:#202d43;box-shadow:inset 0 0 0 1px #7286b0}.card-link:after{content:'';position:absolute;inset:0;border-radius:12px}.card .open-analysis{position:relative;z-index:1}.card-link:focus-visible{outline:none}.card:has(.card-link:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.chart-point{fill:#ffb020}.chart-point:hover{r:4;stroke:var(--ink);stroke-width:1}
.account-panel{max-width:540px;margin-top:18px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;line-height:1.6}.account-panel form{display:flex;flex-direction:column;gap:12px;width:100%}.account-panel label{display:flex;flex-direction:column;gap:5px}.account-panel input{width:100%}
.fixture-title{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;text-decoration:none}.hero .fixture-title{justify-content:center}.club-title{display:inline-flex;align-items:center;gap:6px;min-width:0}.club-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#e7edf5;border:1px solid #91a2bd;overflow:hidden;color:#33415c;font-size:8px}.club-mark img{width:24px;height:24px;object-fit:contain}.club-mark.unavailable:after{content:'•'}.versus{font-size:.85em;color:var(--muted);font-weight:600}.model-research{margin-bottom:15px;display:flex;flex-direction:column;gap:12px;line-height:1.55}.model-status,.model-value{color:var(--accent)}.model-research ul{margin:0;padding-left:20px;color:var(--muted);font-size:12px}.model-tabs{margin-top:18px}.model-tabs a.active{background:var(--selected);border-color:var(--accent)}.scope-event{margin-bottom:14px}.scope-estimate{margin-top:12px}.scope-estimate .message{min-height:100px}
.catalog-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;color:var(--accent)}.catalog-icon svg{width:34px;height:34px}.catalog-icon.official{background:#e4eaf3;border-radius:9px;box-shadow:inset 0 0 0 1px #f4f6fa}.catalog-icon img{object-fit:contain;width:30px;height:30px}.card-title{display:flex;align-items:flex-start;gap:13px}.card-title>div{min-width:0}.event-subtitle{color:var(--muted);font-size:12px;margin-top:5px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;margin-bottom:9px}.breadcrumbs a{text-decoration:none}.catalog-tools{display:flex;align-items:center;gap:8px}.parent-list{display:flex;flex-direction:column;gap:3px}.parent-list a{display:flex;align-items:center;gap:10px;min-height:39px;text-decoration:none;padding:4px;border-radius:7px}.parent-list a:hover{background:var(--selected)}.parent-list a>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.parent-list .catalog-icon{width:29px;height:29px}.parent-list .catalog-icon img,.parent-list .catalog-icon svg{width:22px;height:22px}.category-open{display:flex;justify-content:space-between;text-decoration:none;color:var(--accent);border-top:1px solid var(--line);padding-top:13px;margin-top:auto}.category-grid .taxonomy{margin-top:3px}.directory-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;flex-wrap:wrap}.directory-controls label{color:var(--muted);display:flex;align-items:center;gap:8px;min-width:0}.directory-controls select{max-width:260px;min-width:0}.retry{margin-top:12px}#category-nav a{display:flex;align-items:center;gap:8px}#category-nav .catalog-icon{width:24px;height:24px}#category-nav .catalog-icon svg{width:22px;height:22px}#catalog-search{gap:7px}.series-card h2{overflow-wrap:anywhere}
:root{color-scheme:dark;--bg:#111827;--surface:#1a2435;--inset:#151e2d;--ink:#e7edf9;--muted:#a1b0c8;--line:#34425b;--accent:#b1bdf0;--selected:#303b5b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select{font:inherit;color:inherit;border:1px solid var(--line);border-radius:8px;background:var(--inset);padding:9px 12px}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled),a:hover{border-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.35}h2{font-size:17px;line-height:1.4}small,.muted{color:var(--muted)}
.app-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px max(24px,calc((100vw - 1520px)/2));border-bottom:1px solid var(--line);background:var(--surface)}.brand{width:225px;height:65px;object-fit:contain}.app-header nav,.provider{display:flex;align-items:center;gap:12px}.app-header nav a,.provider a,.provider>span{padding:10px 14px;text-decoration:none;border:1px solid transparent;border-radius:8px;font-weight:600}.provider>span{background:var(--selected);border-color:var(--accent)}.provider{flex-wrap:wrap;justify-content:flex-end}.provider small{width:100%;text-align:right;font-size:10px;letter-spacing:1px}
#app{max-width:1580px;margin:auto;padding:24px}.page-foot{max-width:1580px;margin:0 auto;padding:20px 24px;color:var(--muted);font-size:12px}.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px}.panel,.card,.sidebar,.message{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px}.sidebar{align-self:start;display:flex;flex-direction:column;gap:16px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{padding:10px 9px;text-decoration:none;border-radius:7px}.sidebar nav a[aria-current]{background:var(--selected)}.sidebar form{display:flex;flex-direction:column;gap:8px}.sidebar input{width:100%;min-width:0}.sidebar small{font-size:12px;line-height:1.5}.catalog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}.catalog-head input{max-width:240px;min-width:0}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card{display:flex;flex-direction:column;gap:16px;min-width:0}.card h2{font-size:19px}.card h2 a{text-decoration:none}.taxonomy{font-size:13px;color:var(--muted);line-height:1.5;margin-top:8px}.previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preview{background:var(--inset);border-radius:8px;padding:12px;min-width:0}.preview small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview strong{font-size:23px;display:block;margin-top:7px;font-variant-numeric:tabular-nums}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;flex-wrap:wrap}.card-foot small{font-size:12px}.actions{display:flex;align-items:center;gap:6px}.badge,.open-analysis{display:inline-block;background:var(--selected);color:var(--accent);border-radius:6px;padding:5px 8px;font-size:12px;font-weight:650;line-height:1.1;white-space:nowrap}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.pagination a,.tabs button,.link-button{padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.coverage{font-size:12px;line-height:1.55;color:var(--muted);margin-top:14px}
.hero{margin:16px 0;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.hero h1{text-align:center}.hero-meta{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:15px}.toolbar,.tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.toolbar{justify-content:space-between}.tabs .active,button[aria-selected=true]{background:var(--selected);border-color:var(--accent)}.detail-columns{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,2fr);gap:14px;align-items:start}.outcomes{overflow:auto}.outcomes table{margin-top:16px}.market-button{border:0;background:none;padding:7px 0;text-align:left;font-size:13px}.selected-row{background:var(--selected)}table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}th{color:var(--muted);font-weight:500}th,td{padding:8px 6px;text-align:right;border-bottom:1px solid var(--line)}th:first-child,td:first-child{text-align:left}td{overflow-wrap:anywhere}td:last-child{white-space:nowrap}.explanation{display:block;line-height:1.6;font-size:12px;color:var(--muted);margin-top:16px}.market-select{width:100%;margin:14px 0 10px}.book-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px}.book-area{min-height:400px}.ask{color:#ed8894}.bid{color:#7bc7ba}.history{border-left:1px solid var(--line);padding-left:16px;min-width:0}.chart{width:100%;height:320px;display:block}.chart-grid{stroke:var(--line);stroke-width:1}.chart-line{stroke:#ffb020;fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.chart-label{fill:var(--muted);font-size:11px}.freshness{color:var(--muted);font-size:12px;line-height:1.5;margin-top:12px;min-height:36px}.message{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-height:150px;line-height:1.6;overflow-wrap:anywhere}.message p{max-width:80ch;color:var(--muted)}.message.loading:before{content:"";width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.rules{display:flex;flex-direction:column;gap:16px;line-height:1.65;white-space:pre-wrap}.research-state{margin-top:16px}.error{color:#ed8894}.chart-note{font-size:12px;color:var(--muted);margin:8px 0}.mobile-label{display:none}
.catalog-layout>*,.detail-columns>*,.sidebar nav{min-width:0}
.catalog-head>div:first-child{min-width:0}.catalog-tools{flex-wrap:wrap}.catalog-tools>a{white-space:nowrap}
@media(min-width:721px) and (max-width:950px){.catalog-head{flex-wrap:wrap;align-items:flex-start}.catalog-tools{width:100%}}
@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.message.loading:before{animation:none}}
@media(max-width:1100px){.app-header{padding:14px 20px}.app-header nav{gap:2px}.provider small{display:none}.brand{width:180px}.book-columns{grid-template-columns:1fr}.history{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.catalog-grid{grid-template-columns:1fr}}
@media(max-width:720px){#app{padding:14px}.app-header{flex-wrap:wrap;gap:12px}.app-header nav{order:3;width:100%;justify-content:center}.provider{gap:0}.provider a,.provider>span{padding:7px}.brand{width:150px;height:45px}.catalog-layout,.detail-columns{grid-template-columns:1fr}.sidebar nav{flex-direction:row;overflow:auto}.sidebar nav a{flex-shrink:0}.sidebar form{flex-direction:row}.sidebar{gap:10px}.sidebar small{display:none}.catalog-head{flex-wrap:wrap}.catalog-head input{max-width:none;width:100%}.hero h1{font-size:20px}.preview strong{font-size:20px}.panel{padding:14px}.sidebar form button{flex-shrink:0}.chart{height:250px}}
/* Measured against the original Aestus catalog, applied on first paint.
   No density observer or late-loaded stylesheet changes these dimensions. */
.card{padding:12px;gap:10px}.card h2{font-size:16px;line-height:1.4}.card-title{gap:10px}.card-title>.catalog-icon{width:28px;height:28px}.card-title>.catalog-icon img,.card-title>.catalog-icon svg{width:23px;height:23px}.taxonomy{margin-top:4px;font-size:12px}.previews{gap:8px}.preview{padding:7px 9px;min-height:53px}.preview small{font-size:12px;line-height:1.4}.preview strong{font-size:18px;line-height:1.1;margin-top:2px}.badge,.open-analysis{font-size:12px;line-height:1.1;padding:5px 8px;min-height:23px}.category-open{font-size:12px;padding-top:9px}.parent-list a{min-height:33px;font-size:13px}.parent-list .catalog-icon{width:24px;height:24px}
