/* 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. */
}
