.repeat-nav { display: flex; align-items: center; gap: clamp(7px,1.6vw,22px); }
.repeat-nav a { display: inline-grid; align-items: center; min-height: 44px; font-size: .84rem; text-wrap: balance; }
.repeat-nav select { min-height: 44px; max-width: 108px; padding: 5px 8px; border: 1px solid #ffffff55; border-radius: 7px; background: #252923; color: #f4f1e9; font: 550 .82rem Inter,sans-serif; }
.repeat-nav :focus-visible, .repeat-result :focus-visible { outline-color: var(--light-copper); }
.repeat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.repeat-intro { grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); padding-block: clamp(27px,4.5vw,65px) clamp(19px,3vw,32px); }
.repeat-intro h1 { font-size: clamp(40px,5.8vw,83px); line-height: .97; text-wrap: balance; }
.repeat-result { padding: clamp(16px,2.6vw,32px); border-radius: 11px; scroll-margin-top: 12px; }
.repeat-result-head, .repeat-form-head { display: flex; justify-content: space-between; gap: 5px 20px; align-items: baseline; flex-wrap: wrap; }
.repeat-result-head a, .repeat-result-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; font-weight: 650; }
.repeat-result table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 4px; font-variant-numeric: tabular-nums; }
.repeat-result th:first-child { width: 46%; text-align: left; padding-left: 0; }
.repeat-result :is(th,td) { text-align: right; padding: .58em .3em; border-bottom: 1px solid #f4f1e933; overflow-wrap: anywhere; }
.repeat-result thead th { font-size: .78rem; font-weight: 600; color: #d3d4c6; }
.repeat-result tbody th { font-size: .9rem; font-weight: 600; }
.repeat-result td { font: 680 clamp(14px,2.35vw,30px)/1.05 'Space Grotesk',Inter,sans-serif; }
.repeat-result td:last-child { color: #ffb298; }
.repeat-result tr[data-metric="total"] :is(th,td) { background: #ffffff0b; }
.repeat-verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 18px; margin-top: 13px; line-height: 1.42; }
.repeat-verdict strong { color: #ffb298; font-size: 1rem; }
.repeat-verdict[data-state="better"] strong { color: #d6edba; }
.repeat-verdict p { margin: 0; max-width: 78ch; color: #e1ded0; font-size: .85rem; }
.repeat-form { padding: 0; margin-top: clamp(23px,3.8vw,46px); scroll-margin-top: 12px; }
.repeat-form-head h2 { font-size: clamp(24px,3.1vw,38px); }
.repeat-form-head p { font-size: .88rem; max-width: 74ch; line-height: 1.5; color: var(--soft); margin: 5px 0 12px; }
.repeat-form-head button { min-height: 44px; border: 0; padding-inline: 2px; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; color: var(--copper); font-size: .83rem; font-weight: 700; }
.repeat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.repeat-group { min-width: 0; margin: 0; padding: 12px 14px 15px; border: 1px solid var(--rule); border-radius: 9px; background: #faf8f2; }
.repeat-group legend { padding-inline: 5px; font: 700 1.08rem/1.3 'Space Grotesk',Inter,sans-serif; }
.repeat-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.repeat-fields label { min-width: 0; display: grid; align-content: space-between; gap: 4px; font-size: .81rem; font-weight: 620; line-height: 1.4; overflow-wrap: anywhere; }
.repeat-fields input { min-width: 0; width: 100%; min-height: 44px; border-radius: 6px; padding: 5px 8px; border: 1px solid #191b1860; background: #fffdf6; color: var(--ink); font: 650 1.07rem/1.3 Inter,sans-serif; font-variant-numeric: tabular-nums; }
.repeat-fields input[aria-invalid="true"] { border-color: #a63a25; }
.repeat-group [data-error] { margin: 9px 0 0; color: #982f20; font-size: .82rem; line-height: 1.4; }
.repeat-reading { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: clamp(23px,3.8vw,43px); }
@media (max-width: 740px) {
  .repeat-intro, .repeat-grid { grid-template-columns: minmax(0,1fr); }
  .repeat-intro { gap: 11px; }
  .repeat-intro h1 { font-size: clamp(34px,9.1vw,58px); }
  .repeat-result tbody th { font-size: .76rem; }
  .repeat-result th:first-child { width: 41%; }
}
@media (max-width: 355px) {
  .repeat-nav select { max-width: 78px; }
  .repeat-nav a { font-size: .73rem; }
  .repeat-result { padding-inline: 12px; }
}
