/* WTWR_RACING_FLOW_V21 */

/* WTWR_TODAY_FILTERS_COMPACT_V1_20260909: same compact sizing as the
   Results page's .wtwr-hcf-filters-v1 (micro uppercase labels, low-profile
   selects, tight grid gap) -- same field set, only the visual scale
   changes. #todayAdvancedFilters is an ID selector so this naturally wins
   over the base .racing-data-filters class rules (46px selects, .78rem
   labels, 14px gap) without needing !important. */
#todayAdvancedFilters{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
  margin:11px 0 8px;
  padding:11px 0 0;
  border:0;
  border-top:1px solid rgba(255,255,255,.08);
  background:transparent;
  border-radius:0;
}
#todayAdvancedFilters label{
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#7f94a8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
#todayAdvancedFilters select{
  min-height:0;
  border:1px solid rgba(104,154,199,.28);
  background:rgba(11,31,47,.86);
  color:#eef8ff;
  border-radius:8px;
  padding:7px 9px;
  font-size:10px;
  font-weight:700;
  text-transform:none;
  letter-spacing:normal;
  cursor:pointer;
}
#todayAdvancedFilters select:hover{
  border-color:rgba(88,169,255,.58);
}
#todayAdvancedFilters button{
  min-height:0;
  align-self:end;
  border:1px solid rgba(255,157,60,.35);
  background:rgba(72,44,12,.28);
  color:#ffc98f;
  border-radius:8px;
  padding:8px 10px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
}
#todayAdvancedFilters button:hover{
  border-color:#ff9d3c;
  color:#ffdbb0;
}
@media(max-width:720px){
  #todayAdvancedFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
}

#today > .toolbar{
  display:none!important;
}

#today #wtwr-v8-summary{
  display:none!important;
}

#today #wtwrTodayCompactEvidence{
  display:none!important;
}

#today > p.note{
  display:none!important;
}

#today .wtwr-my-rule-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px 14px!important;
  margin:10px 0 18px!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:10px!important;
  background:rgba(5,11,22,.42)!important;
}

#today .wtwr-my-rule-copy{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:6px 10px!important;
  min-width:0!important;
}

#today .wtwr-my-rule-copy strong{
  color:#ffad45!important;
  font-size:10px!important;
  letter-spacing:.10em!important;
}

#today .wtwr-my-rule-copy span,
#today .wtwr-my-rule-status{
  color:#8e9caf!important;
  font-size:10px!important;
}

#today .wtwr-my-rule-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}

#today .wtwr-my-rule-actions button{
  min-height:32px!important;
  padding:6px 10px!important;
  font-size:9px!important;
  border-radius:8px!important;
}

#today #wtwr-v8-watchlist{
  margin-top:16px!important;
  margin-bottom:16px!important;
}

#today #todayAdvancedFilters{
  margin-top:0!important;
  margin-bottom:6px!important;
}

#today #todayFilterCount{
  margin:0 0 8px!important;
}

#today #wtwr-today-opinion-cards-v1{
  margin-top:0!important;
}

#today #wtwr-racing-polish-tabs-v16b{
  margin-top:0!important;
  margin-bottom:12px!important;
}

#wtwr-v21-end-summary{
  width:100%!important;
  box-sizing:border-box!important;
  margin:28px 0 10px!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:12px!important;
  background:rgba(5,11,22,.38)!important;
}

#wtwr-v21-end-summary .wtwr-v21-end-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:12px!important;
}

#wtwr-v21-end-summary .wtwr-v21-end-head strong{
  color:#ff7a3d!important;
  font-size:11px!important;
  letter-spacing:.12em!important;
}

#wtwr-v21-end-summary .wtwr-v21-end-head span{
  color:#8796a9!important;
  font-size:9px!important;
}

#wtwr-v21-end-summary .wtwr-v21-end-body{
  display:grid!important;
  gap:12px!important;
}

#wtwr-v21-end-summary #wtwrRacingDayStatus,
#wtwr-v21-end-summary #wtwrResultsPerformanceTruth,
#wtwr-v21-end-summary #wtwrDemoExchangeBankV1{
  margin:0!important;
}

@media(max-width:700px){
  #today .wtwr-my-rule-tools{
    align-items:flex-start!important;
  }
  #wtwr-v21-end-summary .wtwr-v21-end-head{
    display:block!important;
  }
  #wtwr-v21-end-summary .wtwr-v21-end-head span{
    display:block!important;
    margin-top:4px!important;
  }
}

/* WTWR_RACING_FLOW_V21C_FILTER_STACK */
#today #wtwr-v21c-filter-stack{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 18px!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:12px!important;
  background:rgba(5,11,22,.38)!important;
}

#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 12px!important;
}

#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-head strong{
  color:#9eacbf!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}

#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-head span{
  color:#7f8da0!important;
  font-size:9px!important;
}

#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-body{
  display:block!important;
}

#today #wtwr-v21c-filter-stack #todayAdvancedFilters{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
}

#today #wtwr-v21c-filter-stack #todayFilterCount{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:8px 0 0!important;
}

#today #wtwr-v21c-filter-stack .wtwr-my-rule-tools{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  margin:10px 0 0!important;
}

#today #wtwr-racing-polish-tabs-v16b{
  margin-bottom:14px!important;
}

@media(max-width:700px){
  #today #wtwr-v21c-filter-stack{
    padding:12px!important;
  }
  #today #wtwr-v21c-filter-stack .wtwr-v21c-filter-head{
    display:block!important;
  }
  #today #wtwr-v21c-filter-stack .wtwr-v21c-filter-head span{
    display:block!important;
    margin-top:3px!important;
  }
}

/* WTWR_RACING_FLOW_V21D_RUNTIME_OWNERSHIP */
#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-body{
  display:flex!important;
  flex-direction:column!important;
}

#today #wtwr-v21c-filter-stack #todayAdvancedFilters{
  order:1!important;
}

#today #wtwr-v21c-filter-stack #todayFilterCount{
  order:2!important;
}

#today #wtwr-v21c-filter-stack .wtwr-my-rule-tools{
  order:3!important;
}

#today > #wtwr-racing-polish-tabs-v16b{
  display:block!important;
  width:100%!important;
  margin:0 0 14px!important;
}

/* WTWR_RACING_FLOW_V21E3_FILTER_INLINE_OWNERSHIP */
#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-body > #todayAdvancedFilters {
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
  order:1 !important;
}
#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-body > #todayFilterCount {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  order:2 !important;
}
#today #wtwr-v21c-filter-stack .wtwr-v21c-filter-body > .wtwr-my-rule-tools {
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  order:3 !important;
}
