/* KU Portal · UI-TYPE-01 coverage closure · 2026-11-19
   Final scoped layer for legacy routes not fully covered by the shared
   A1/A2 type calibration. No color, content, branding or layout redesign.
   Canon: H1 700, H2/H3 650, listed services 600, body 400,
   interactive controls 600, numerical KPI 700.
*/

/* Reviews UI-6: local source used 800-900 almost everywhere. */
.ku6-root,
.ku6-root :is(button,input,select,textarea) {
  font-family:var(--ku-type-text,"Golos Text",Arial,sans-serif)!important;
}
.ku6-root .ku6-hero h1 {
  font-family:var(--ku-type-head,"Golos Text",Arial,sans-serif)!important;
  font-weight:var(--ku-w-main,700)!important;
  letter-spacing:-.025em!important;
}
.ku6-root :is(h2,h3),
.ku6-root :is(.ku6-ranking-top h2,.ku6-sidebar h2,.ku6-write-card h2,.ku6-review h3,.ku6-modal h2) {
  font-family:var(--ku-type-head,"Golos Text",Arial,sans-serif)!important;
  font-weight:var(--ku-w-section,650)!important;
  letter-spacing:-.015em!important;
}
.ku6-root :is(.ku6-rank-details strong,.ku6-rank-all b,.ku6-company b,.ku6-author b),
.ku6-root :is(.ku6-filter>span,.ku6-filters-title b,.ku6-rank-score,.ku6-score-num,.ku6-pills span,.ku6-review-foot a) {
  font-weight:var(--ku-w-service,600)!important;
}
.ku6-root :is(.ku6-filter select,.ku6-reset,.ku6-primary,.ku6-top-write,.ku6-segments button,.ku6-pagination button,.ku6-searchform button,.ku6-details summary,.ku6-dialog-close,.ku6-menu),
.ku6-root :is(.ku6-rank-item,.ku6-review button,.ku6-form-row label),
.ku6-root :is(.ku6-card a,.ku6-company-cta a) {
  font-weight:var(--ku-w-action,600)!important;
}
.ku6-root :is(.ku6-hero p,.ku6-review-body>p,.ku6-details p,.ku6-write-card p,.ku6-side-legend,.ku6-filter-note,.ku6-hero-copy p) {
  font-weight:var(--ku-w-body,400)!important;
}
.ku6-root :is(.ku6-found b,.ku6-stat-large b,.ku6-stats-split b,.ku6-review .ku6-score-num,.ku6-stars-bars b) {
  font-weight:var(--ku-w-money,700)!important;
  font-variant-numeric:tabular-nums;
}
/* Keep brand glyphs separate from content typography. */
.ku6-root .ku6-slogo {
  font-weight:700!important;
}
/* Other legacy pages: buttons inherited uncalibrated .btn {800}. */
main.wrap.page :is(.btn,.btn.sm),
main.wrap.page :is(.filterbar button,.segmented button,.tabs button) {
  font-weight:var(--ku-w-action,600)!important;
}
/* Homepage custom selects are buttons, not native <select>. */
body:has(.ku2-home) .ku2-home .ku2-hero-form .finder button.ku-fancy-trigger,
body:has(.ku2-home) .ku2-home .ku2-hero-form .finder .ku-fancy-trigger {
  font-weight:var(--ku-w-action,600)!important;
}
/* Useful section labels and CTA copy remain legible, never compete with H1. */
body:has(.ku2-home) .ku2-home .ku2-income-note,
body:has(.ku2-home) .ku2-home .ku2-income-meta {
  font-weight:var(--ku-w-body,400)!important;
}
/* Mobile: generic information routes used desktop-sized 32px headings. */
@media (max-width:600px) {
  main.wrap.page:not(.ku3-profile) > .introsection h1,
  main.wrap.page:not(.ku3-profile) > .introsection .hero h1 {
    font-size:26px!important;
    line-height:1.18!important;
    letter-spacing:-.02em!important;
  }
  .ku6-root .ku6-hero h1 {
    font-size:26px!important;
    line-height:1.17!important;
  }
  .ku6-root :is(.ku6-ranking-top h2,.ku6-sidebar h2,.ku6-write-card h2) {
    line-height:1.25!important;
  }
}
/* UI-6 builds an obsolete navy masthead inside its legacy script.
   The A1 SiteHeader is already rendered once by the Next.js root layout. */
body:has(header.ku-one-row[data-native-shell]) .ku6-root .ku6-header {
  display:none!important;
}
