/* SQL4 Practice theme boundary.
   Geometry stays in practice.css. This file owns only themed paint and uses
   semantic theme tokens so legacy high-specificity color rules cannot leak
   into the canonical Practice cards. */

html[data-hindex-theme] body #view#view .sq4-practice{
  color:var(--h-text)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head{
  background:linear-gradient(120deg,var(--h-surface),color-mix(in srgb,var(--h-accent-bg) 62%,var(--h-surface)))!important;
  border-color:var(--h-border)!important;
  color:var(--h-text)!important;
  box-shadow:none!important;
}
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head h1{color:var(--h-text)!important;}
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head p,
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head .v2-page-stat span{color:var(--h-muted)!important;}
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head .v2-overline,
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head .v2-page-stat strong{color:var(--h-accent)!important;}
html[data-hindex-theme] body #view#view .sq4-practice>.v2-page-head .v2-page-stat{border-left-color:var(--h-border)!important;}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-row{
  background:var(--h-surface)!important;
  border-color:var(--h-border)!important;
  color:var(--h-text)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-row:hover{
  background:var(--h-raised)!important;
  border-color:var(--h-soft-border)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-title,
html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-title strong{
  color:var(--h-text)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-title>span,
html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-meta{
  color:var(--h-muted)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-id{
  background:var(--h-soft-bg)!important;
  border-color:var(--h-soft-border)!important;
  color:var(--h-link)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-id .chip.gold{
  background:var(--h-warning-bg)!important;
  border-color:var(--h-warning-line)!important;
  color:var(--h-warning)!important;
}

html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-action .btn,
html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-action .btn:hover,
html[data-hindex-theme] body #view#view .sq4-practice .sq4-practice-action .btn:active{
  background:var(--h-primary-bg)!important;
  border-color:var(--h-primary-bg)!important;
  color:var(--h-primary-text)!important;
  box-shadow:none!important;
}
