.r-links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.r-links a { color: var(--muted); text-decoration: none; font-size: 0.93rem; white-space: nowrap; }
.r-links a:hover { color: var(--text); }
.r-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.r-chip { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 0.88rem; cursor: pointer; text-decoration: none; }
.r-chip:hover { border-color: var(--gold); }
.r-chip.on { background: var(--gold); border-color: var(--gold); color: #1a1405; font-weight: 700; }

/* compare */
.cmp-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.cmp-form .field { margin-bottom: 0; }
.cmp-form .btn { height: 46px; }
.cmp-form input, #dSym { text-transform: uppercase; }
#cmpStatus { margin: 14px 0; min-height: 1.4em; }
#cmpLegend { margin-bottom: 10px; }
#cmpTable th { font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--text); }
#cmpTable th small { display: block; color: var(--muted); font-weight: 400; }
#cmpTable td:first-child { color: var(--muted); font-size: 0.88rem; min-width: 170px; }
#cmpTable td:first-child b { display: block; color: var(--text); font-size: 0.93rem; }
#cmpTable td.best { color: var(--gold2); font-weight: 700; }
#cmpTable td.best::after { content: " ★"; font-size: 0.8125rem; }
#cmpTable tr.verdict td { color: #c6d0e6; font-size: 0.9rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.bar52 { position: relative; display: inline-block; width: 110px; max-width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 93, 108, .55), rgba(227, 185, 78, .55), rgba(47, 209, 124, .55)); vertical-align: middle; }
.bar52 i { position: absolute; top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: var(--text); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.news-grid .panel { padding: 18px; }
.news-grid h3 { font-size: 1rem; margin-bottom: 8px; }
.news-grid a { display: block; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.news-grid a:hover { color: var(--gold2); }
.news-grid a span { display: block; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }

/* screener */
.scr-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; margin-top: 18px; align-items: end; }
.scr-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.scr-bar p { margin: 0; }
#cmpSel:disabled { opacity: .45; cursor: default; transform: none; filter: none; }
#scrTable th[data-k] { cursor: pointer; white-space: nowrap; user-select: none; }
#scrTable th[data-k]:hover { color: var(--text); }
#scrTable th.sorted { color: var(--gold2); }
#scrTable td { white-space: nowrap; }
#scrTable td.nm { white-space: normal; min-width: 150px; }
#scrTable td.nm span { display: block; color: var(--muted); font-size: 0.82rem; }
#scrTable input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); padding: 0; }
#scrTable .lk a { font-size: 0.82rem; margin-right: 10px; text-decoration: none; }

/* calculators */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.calc-grid h3 { font-size: 1.3rem; margin-bottom: 4px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 12px; }
.calc-row .field { margin-bottom: 0; }
.calc-row .btn { height: 46px; }
.calc-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; align-items: end; margin-top: 14px; }
.r-toggle { display: flex; gap: 10px; align-items: center; font-size: 0.93rem; color: #c6d0e6; cursor: pointer; }
.r-toggle input { width: 18px; height: 18px; accent-color: var(--gold); padding: 0; flex: none; }
#dStatus { min-height: 1.3em; margin: 8px 0 0; }
.r-take { background: rgba(227, 185, 78, .08); border: 1px solid rgba(227, 185, 78, .35); border-radius: 10px; padding: 12px 14px; margin: 14px 0 10px; color: var(--text); font-size: 0.95rem; }
#bTable td.best { color: var(--gold2); font-weight: 700; }

@media (max-width: 980px) {
  .calc-grid { grid-template-columns: 1fr; }
  .scr-filters { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr !important; }
}
@media (max-width: 700px) {
  .r-hide, .brand span:last-child { display: none; }
  .nav { gap: 12px; }
  .r-call { padding: 9px 12px; font-size: 0.85rem; }
  .cmp-form { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr 1fr; }
  .calc-row .btn { grid-column: 1 / -1; }
  .calc-row3 { grid-template-columns: 1fr; }
  .scr-filters { grid-template-columns: 1fr; }
  #cmpTable td:first-child { min-width: 120px; }
}
