/* R9: scoped service clarity and an accessible preparation checklist. */
.testor-r9 { color: var(--text); }
.testor-r9 a:focus-visible,.testor-prep a:focus-visible,.testor-prep button:focus-visible,.testor-prep input:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.testor-r9-service { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px,5vw,64px); }
.testor-r9-service h2 { margin: 0 0 20px; font-size: clamp(28px,3.8vw,44px); line-height: 1.22; letter-spacing: -.025em; }
.testor-r9 .testor-r9-lead { font-size: 18px; font-weight: 450; line-height: 1.85; max-width: 38rem; color: var(--muted-strong); }
.testor-r9 .testor-r9-note { font-size: 14px; line-height: 1.8; font-weight: 400; color: var(--muted-strong); margin-top: 18px; }
.testor-r9-expectations { border: 1px solid var(--border-strong); background: var(--surface); padding: clamp(22px,3vw,36px); border-radius: 22px; }
.testor-r9 h3 { font-size: 22px; line-height: 1.4; margin: 0 0 14px; }
.testor-r9-steps { list-style: none; padding: 0; margin: 20px 0 24px; counter-reset: r9-step; }
.testor-r9-steps li { counter-increment: r9-step; display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; padding-block: 15px; border-bottom: 1px solid var(--border); }
.testor-r9-steps li::before { content: counter(r9-step); grid-row: span 2; align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card-alt); color: var(--text); font-size: 15px; font-weight: 700; }
.testor-r9-steps strong { font-size: 17px; color: var(--text); }
.testor-r9-steps span { font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--muted-strong); }
.testor-r9 a.testor-r9-text-link,.testor-r9-journey a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; font-weight: 650; line-height: 1.8; }
.testor-r9-journey { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0; gap: 22px; }
.testor-r9-journey li { padding: 28px; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; }
.testor-r9-number { color: var(--primary-dark); font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.testor-r9-journey p { font-size: 16px; font-weight: 400; line-height: 1.85; color: var(--muted-strong); margin: 0 0 24px; }
.testor-r9-journey a { margin-top: auto; font-size: 16px; }
.testor-r9-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 26px; margin-top: 28px; border-inline-start: 3px solid var(--primary); background: var(--card-alt); border-radius: 12px; }
.testor-r9-next > div { flex: 1 1 260px; }
.testor-r9-next h3 { margin: 0 0 6px; font-size: 20px; }
.testor-r9-next p { margin: 0; font-size: 16px; line-height: 1.8; font-weight: 400; }
.testor-prep { scroll-margin-top: 110px; color: var(--text); }
.testor-prep p { font-size: 16px; line-height: 1.8; font-weight: 400; color: var(--muted-strong); }
.testor-prep .testor-prep-kicker { color: var(--primary-dark); font-size: 14px; font-weight: 650; margin: 0 0 10px; }
.testor-prep fieldset { min-width: 0; padding: 0; margin: 30px 0 0; border: 0; }
.testor-prep legend { padding: 0 0 6px; color: var(--text); font-size: 20px; font-weight: 700; line-height: 1.6; }
.testor-prep-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.testor-prep-item label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; margin: 0; }
.testor-prep-item input[type=checkbox] { appearance: auto; flex: 0 0 24px; width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--primary-dark); cursor: pointer; }
.testor-prep-item label > span { min-width: 0; display: block; }
.testor-prep-item strong { display: block; color: var(--text); font-size: 17px; font-weight: 650; line-height: 1.7; }
.testor-prep-item label span span { display: block; font-size: 16px; line-height: 1.8; color: var(--muted-strong); font-weight: 400; margin-top: 4px; }
.testor-prep-item > a { display: inline-block; margin-inline-start: 38px; padding-block: 6px; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; line-height: 1.8; font-weight: 550; }
.testor-prep-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; background: var(--card-alt); padding: 18px; border-radius: 14px; margin-top: 22px; }
.testor-prep-toolbar[hidden] { display: none; }
.testor-prep-progress { flex: 1 1 170px; }
.testor-prep-progress p { margin: 0 0 8px; font-size: 16px; color: var(--text); font-weight: 650; }
.testor-prep progress { display: block; accent-color: var(--primary-dark); width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--border); overflow: hidden; }
.testor-prep progress::-webkit-progress-bar { background: var(--border); border-radius: 4px; }
.testor-prep progress::-webkit-progress-value { background: var(--primary-dark); border-radius: 4px; }
.testor-prep progress::-moz-progress-bar { background: var(--primary-dark); }
.testor-prep-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.testor-prep button { font: inherit; font-size: 14px; font-weight: 600; color: var(--text); padding: 10px 12px; min-height: 44px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 9px; cursor: pointer; }
.testor-prep button:hover { background: var(--card-alt-strong); }
.testor-prep .testor-prep-footnote { font-size: 14px; margin: 24px 0 0; }
.testor-prep-print-source { display: none; }
html[data-theme=dark] .testor-r9 a.testor-r9-text-link,html[data-theme=dark] .testor-r9-journey a,html[data-theme=dark] .testor-r9-number,html[data-theme=dark] .testor-prep-item > a,html[data-theme=dark] .testor-prep .testor-prep-kicker { color: #91bdff; }
@media (max-width: 850px) {
  .testor-r9-service,.testor-r9-journey { grid-template-columns: minmax(0,1fr); }
  .testor-r9-journey li { padding: 24px; }
  .testor-r9-number { margin-bottom: 12px; }
}
@media (max-width: 420px) {
  .testor-prep-toolbar { padding: 14px; }
  .testor-r9-next { padding: 20px; }
  .testor-r9-next .btn { white-space: normal; text-align: center; }
}
@media print {
  body:has(.testor-prep),html:has(.testor-prep) { background: white !important; color: black !important; }
  body:has(.testor-prep) > :not(main),body:has(.testor-prep) main > :not(.testor-guide-body),body:has(.testor-prep) .testor-guide-sidebar,body:has(.testor-prep) .testor-guide-article > :not(.testor-prep),.testor-prep-toolbar,.testor-prep noscript { display: none !important; }
  body:has(.testor-prep) main,body:has(.testor-prep) .testor-guide-body,body:has(.testor-prep) .testor-guide-layout,body:has(.testor-prep) .testor-guide-article { display: block; margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important; border: 0; box-shadow: none; background: white !important; }
  .testor-prep * { color: black !important; background: transparent !important; }
  .testor-prep h2 { font-size: 20pt; }
  .testor-prep p,.testor-prep label span span { font-size: 10pt; line-height: 1.5; }
  .testor-prep legend { font-size: 13pt; }
  .testor-prep strong { font-size: 11pt; }
  .testor-prep fieldset { margin-top: 14px; }
  .testor-prep-item { padding: 9px 0; break-inside: avoid; }
  .testor-prep-item > a { font-size: 9pt; padding-block: 2px; }
  .testor-prep .testor-prep-print-source { display: block; font-size: 9pt; direction: ltr; text-align: right; overflow-wrap: anywhere; }
}
