/* Generated by scripts/build-ui-css.mjs. Edit assets/css/app-foundation.css. */
/* Shared application typography. Data tables and signal palettes are untouched.
 * The scoped selector outranks historical page headings without !important. */
html[data-oz-theme] body main h1.oz-app-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em;
  text-transform: none;
  color: rgb(var(--oz-ink));
}
.oz-app-description { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: rgb(var(--oz-muted)); }

html[data-oz-theme] body main .oz-control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgb(var(--oz-border));
  border-radius: 6px;
  background: rgb(var(--oz-surface));
  color: rgb(var(--oz-text));
  font: 500 13px/1.4 Inter, system-ui, sans-serif;
  box-shadow: none;
  cursor: pointer;
}
html[data-oz-theme] body main .oz-control-button:hover {
  border-color: rgb(var(--oz-accent));
  background: rgb(var(--oz-raised));
}
html[data-oz-theme] body main .oz-control-button:focus-visible {
  outline: 2px solid rgb(var(--oz-accent));
  outline-offset: 2px;
}
html[data-oz-theme] body main .home-link-card {
  border: 1px solid rgb(var(--oz-border));
}
html[data-oz-theme] body main .home-link-card:hover,
html[data-oz-theme] body main .home-link-card:focus-visible {
  border-color: rgb(var(--oz-accent));
}
html[data-oz-theme] body main .home-link-card:focus-visible,
html[data-oz-theme] body main .home-search__box:focus-within {
  outline: 2px solid rgb(var(--oz-accent));
  outline-offset: 2px;
  border-color: rgb(var(--oz-accent));
}
html[data-oz-theme] body main .vp-header {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
html[data-oz-theme] body main .vp-header h1 { margin: 0; }
html[data-oz-theme] body main #vp-kpi { margin: 6px 0 0; font-size: 12px; color: rgb(var(--oz-muted)); }
.vp-method { color: rgb(var(--oz-muted)); font-size: 12px; }
.vp-method summary { cursor: pointer; width: fit-content; }
.vp-method summary:focus-visible { outline: 2px solid rgb(var(--oz-accent)); outline-offset: 3px; }
html[data-oz-theme] body main .vp-filters {
  background: rgb(var(--oz-surface));
  border: 1px solid rgb(var(--oz-border));
  border-radius: 12px;
  box-shadow: none;
}
html[data-oz-theme] body main .vp-check input { accent-color: rgb(var(--oz-accent)); }
html[data-oz-theme] body main .vp-method .vp-explainer > div {
  background: transparent;
  border: 0;
  padding: 6px 0;
  color: rgb(var(--oz-muted));
}
html[data-oz-theme] body main .vp-method strong { color: rgb(var(--oz-text)); }

/* Shared pagination, including legacy wrappers while templates migrate. */
html[data-oz-theme] body main .oz-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  font: 500 12px/1.4 Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
html[data-oz-theme] body main .oz-pagination > :is(a, button, span, strong) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 32px;
  min-height: 32px;
  height: auto;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgb(var(--oz-border));
  border-radius: 6px;
  background: rgb(var(--oz-surface));
  color: rgb(var(--oz-text));
  font: inherit;
  text-decoration: none;
  box-shadow: none;
}
html[data-oz-theme] body main .oz-pagination > :is(a, button):not(:disabled):hover {
  background: rgb(var(--oz-raised));
  border-color: rgb(var(--oz-accent));
}
html[data-oz-theme] body main .oz-pagination > :is(.current, .active, [aria-current="page"]) {
  background: rgb(var(--oz-accent) / .12);
  border-color: rgb(var(--oz-accent));
  color: rgb(var(--oz-accent-text));
  font-weight: 700;
}
html[data-oz-theme] body main .oz-pagination > .dots,
html[data-oz-theme] body main .player-odds-pagination > span {
  border: 0;
  background: transparent;
  color: rgb(var(--oz-muted));
}
html[data-oz-theme] body main .oz-pagination > :disabled {
  opacity: .45;
  cursor: not-allowed;
}
html[data-oz-theme] body main .oz-pagination > :focus-visible {
  outline: 2px solid rgb(var(--oz-accent));
  outline-offset: 2px;
}
html[data-oz-theme] body main :is(.opening-pagination, .tennis-pagination-row, .trj-pagination-row, .vp-pagination-row, .bp-pagination) {
  font: 400 12px/1.5 Inter, system-ui, sans-serif;
  color: rgb(var(--oz-muted));
  gap: 12px;
  flex-wrap: wrap;
}

/* Only text/select controls: ranges, checkboxes and sport chips keep their geometry. */
html[data-oz-theme] body main :is(.opening-filters, .vp-filters, .bp-filters, .trj-filter-bar, #events-form, #buteurs-form, #races-form) :is(select, input[type="search"], input[type="text"], input[type="number"], input[type="date"]) {
  min-height: 36px;
  height: 36px;
  border: 1px solid rgb(var(--oz-border));
  border-radius: 6px;
  background: rgb(var(--oz-surface));
  color: rgb(var(--oz-text));
  padding: 0 10px;
  font: 400 13px/1.4 Inter, system-ui, sans-serif;
  box-shadow: none;
}
html[data-oz-theme] body main :is(.opening-filters, .vp-filters, .bp-filters, .trj-filter-bar, #events-form, #buteurs-form, #races-form) :is(select, input[type="search"], input[type="text"], input[type="number"], input[type="date"]):focus {
  border-color: rgb(var(--oz-accent));
  outline: 2px solid rgb(var(--oz-accent) / .3);
  outline-offset: 1px;
  box-shadow: none;
}
html[data-oz-theme] body main :is(.bu-toolbar-btn, .events-toolbar-btn, .trj-toolbar-btn, .bp-reset) {
  min-height: 36px;
  border-radius: 6px;
  font: 500 13px/1.4 Inter, system-ui, sans-serif;
}
/* Reset filters is a secondary action, not a destructive action. */
html[data-oz-theme] body main :is([data-reset-local], #trj-reset, #bp-reset) {
  background: rgb(var(--oz-surface));
  color: rgb(var(--oz-text));
  border: 1px solid rgb(var(--oz-border));
  box-shadow: none;
}
@media (max-width: 600px) {
  html[data-oz-theme] body main .oz-pagination {
    justify-content: flex-start;
    gap: 4px;
  }
  html[data-oz-theme] body main .oz-pagination > :is(a, button, span, strong) {
    min-width: 34px;
    min-height: 36px;
    padding: 5px 6px;
  }
}
