.ke-testing .ke-hero { padding: 88px 0 84px; background: var(--kl-paper); }
.ke-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 80px; }
.ke-hero h1 { margin: 23px 0 26px; font-size: clamp(40px, 5.2vw, 67px); line-height: 1.06; letter-spacing: -.055em; }
.ke-hero h1 em { color: var(--kl-blue); font-style: normal; }
.ke-lead { max-width: 630px; color: var(--kl-muted); font-size: 16px; line-height: 1.85; }
.ke-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.ke-overview { padding: 33px; border: 1px solid #d1dce6; border-radius: 12px; background: #edf3f7; }
.ke-label { display: block; color: #526a80; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ke-overview h2 { margin: 17px 0 16px; font-size: 29px; line-height: 1.15; letter-spacing: -.035em; }
.ke-overview > p:not(.ke-label) { font-size: 13px; color: #4d6379; line-height: 1.9; }
.ke-overview dl { display: grid; gap: 0; margin: 24px 0 0; }
.ke-overview dl div { padding: 14px 0; border-top: 1px solid #ccd9e4; }
.ke-overview dt { font-size: 12px; font-weight: 750; }
.ke-overview dd { margin: 4px 0 0; font-size: 11px; color: #526a80; line-height: 1.7; }
.ke-testing .ke-section { padding: 78px 0; scroll-margin-top: 98px; }
.ke-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 34px; }
.ke-section-heading h2, .ke-scope h2, .ke-provenance h2 { margin: 15px 0 0; font-size: clamp(31px, 4vw, 44px); line-height: 1.15; letter-spacing: -.045em; }
.ke-section-heading > p { color: var(--kl-muted); font-size: 14px; line-height: 1.9; }
.ke-testing .ke-checks { border-block: 1px solid var(--kl-line); background: #fff; }
.ke-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ke-check-card { padding: 29px; border: 1px solid #d5dfe8; border-radius: 10px; background: #fff; min-width: 0; }
.ke-card-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ke-card-top time { color: #526a80; font-size: 11px; }
.ke-check-card h3 { margin: 21px 0 15px; font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.ke-check-card p, .ke-check-card li { font-size: 13px; line-height: 1.85; color: var(--kl-muted); overflow-wrap: anywhere; }
.ke-check-card ul { margin: 0; padding-left: 18px; }
.ke-result { padding: 14px 16px; border-left: 3px solid #638775; background: #f0f5f1; }
.ke-result p, .ke-result li { color: #345547; }
.ke-detail { margin-top: 22px; }
.ke-detail h4, .ke-detail h3 { margin: 0 0 8px; color: var(--kl-ink); font-size: 12px; font-family: "Manrope", sans-serif; line-height: 1.5; letter-spacing: 0; font-weight: 750; }
.ke-limits { padding-top: 18px; border-top: 1px solid #e1e7ec; }
.ke-testing .ke-performance { background: #edf1ed; }
.ke-performance-card { padding: 32px; border: 1px solid #cdd9cf; border-radius: 10px; background: #fff; }
.ke-performance-context { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin: 0 0 28px; }
.ke-performance-context div { min-width: 0; }
.ke-performance-context dt { margin-bottom: 7px; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #53695c; }
.ke-performance-context dd { margin: 0; color: #3e5849; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.ke-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #d3ded6; border-radius: 7px; }
.ke-metrics { width: 100%; border-collapse: collapse; font-size: 13px; color: #284c39; background: #fff; }
.ke-metrics caption { padding: 16px; text-align: left; font-weight: 750; background: #f0f5f1; border-bottom: 1px solid #d3ded6; }
.ke-metrics th, .ke-metrics td { padding: 14px 16px; border-bottom: 1px solid #dfe7e1; text-align: right; font-variant-numeric: tabular-nums; }
.ke-metrics th:first-child { text-align: left; }
.ke-metrics thead th { font-size: 11px; color: #52685c; background: #f8faf8; font-weight: 750; }
.ke-metrics tbody th { font-weight: 650; }
.ke-metrics tbody tr:last-child th, .ke-metrics tbody tr:last-child td { border-bottom: 0; }
.ke-table-note { margin-top: 13px !important; color: #52685c; font-size: 11px; line-height: 1.8; }
.ke-pending { padding: 18px; border: 1px solid #d6e0d7; border-radius: 7px; color: #3e5849; font-size: 13px; line-height: 1.85; background: #f5f8f5; }
.ke-performance-limits { padding-top: 22px; border-top: 1px solid #dfe7e1; }
.ke-performance-limits p, .ke-performance-limits li { font-size: 12px; color: #52685c; line-height: 1.9; }
.ke-performance-limits ul { padding-left: 18px; }
.ke-testing .ke-scope { background: var(--kl-paper); }
.ke-scope-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; }
.ke-scope-grid > div > p:not(.kl-eyebrow) { margin-top: 24px; max-width: 450px; color: var(--kl-muted); font-size: 14px; line-height: 1.9; }
.ke-boundaries article { padding: 22px 0; border-top: 1px solid #cbd6e0; }
.ke-boundaries article:first-child { padding-top: 0; border-top: 0; }
.ke-boundaries article:last-child { padding-bottom: 0; }
.ke-boundaries h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.025em; }
.ke-boundaries p { color: var(--kl-muted); font-size: 13px; line-height: 1.85; }
.ke-testing .ke-provenance { background: #152d48; color: #fff; }
.ke-provenance-inner { display: flex; justify-content: space-between; align-items: center; gap: 70px; }
.ke-provenance .kl-eyebrow { color: #bccede; }
.ke-provenance p:not(.kl-eyebrow) { max-width: 600px; margin-top: 21px; color: #c2d1e1; font-size: 13px; line-height: 1.9; }
.ke-provenance-links { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex-shrink: 0; }
.ke-provenance .kl-button { background: #fff; border-color: #fff; color: #152d48; }
.ke-provenance .kl-text-link { color: #fff; }
.ke-testing .kl-footer-top { align-items: flex-start; }
.ke-testing .kl-footer nav { justify-content: flex-end; }
.ke-testing a:focus-visible, .ke-table-wrap:focus-visible { outline: 3px solid #075bcc; outline-offset: 4px; }
.ke-provenance a:focus-visible { outline-color: #fff; }
@media (max-width: 1050px) {
  .ke-hero-grid, .ke-section-heading, .ke-scope-grid { gap: 40px; }
  .ke-hero h1 { font-size: 53px; }
  .ke-provenance-inner { gap: 40px; }
  .ke-testing .kl-footer-top { display: block; }
  .ke-testing .kl-footer nav { justify-content: flex-start; margin-top: 20px; }
}
@media (max-width: 800px) {
  .ke-testing .ke-hero { padding: 52px 0; }
  .ke-hero-grid, .ke-section-heading, .ke-scope-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ke-hero h1 { font-size: clamp(39px, 8vw, 56px); }
  .ke-overview { padding: 26px; }
  .ke-testing .ke-section { padding: 56px 0; }
  .ke-check-grid { grid-template-columns: minmax(0, 1fr); }
  .ke-provenance-inner { display: block; }
  .ke-provenance-links { margin-top: 28px; }
}
@media (max-width: 520px) {
  .ke-testing .ke-hero { padding: 35px 0 42px; }
  .ke-hero h1 { font-size: 39px; }
  .ke-lead { font-size: 14px; }
  .ke-hero-actions { gap: 17px; align-items: flex-start; flex-direction: column; }
  .ke-check-card { padding: 22px; }
  .ke-check-card h3 { font-size: 22px; }
  .ke-performance-card { padding: 21px; }
  .ke-performance-context { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ke-metrics th, .ke-metrics td { padding: 12px 10px; font-size: 11px; }
  .ke-metrics thead th { font-size: 10px; }
  .ke-metrics th:first-child { min-width: 125px; }
  .ke-section-heading h2, .ke-scope h2, .ke-provenance h2 { font-size: 32px; }
  .ke-provenance-links .kl-button { width: 100%; padding-inline: 15px; }
}
@media print {
  .ke-testing .kl-header, .ke-testing .kl-footer, .ke-hero-actions, .ke-provenance-links { display: none; }
  .ke-testing .ke-hero, .ke-testing .ke-section { padding: 20px 0; }
  .ke-hero-grid, .ke-section-heading, .ke-scope-grid, .ke-check-grid { display: block; }
  .ke-overview, .ke-check-card { margin-top: 18px; }
  .ke-check-card, .ke-performance-card { break-inside: avoid; }
  .ke-testing .ke-provenance { background: #fff; color: #152d48; }
  .ke-provenance p:not(.kl-eyebrow), .ke-provenance .kl-eyebrow { color: #3e5849; }
}
