.results { background: #f5f5f2; }
.results-inner { max-width: 1100px; }
.result-heading { align-items: center; position: relative; padding-bottom: 24px; border-bottom: 1px solid var(--audit-motion-line); }
.result-heading::after { content: ''; position: absolute; bottom: -1px; left: 0; width: clamp(96px, 18%, 192px); height: 2px; background: var(--audit-motion-rule); transform-origin: left center; }
.results:not([hidden]) .result-heading::after { animation: audit-rule-settle var(--audit-motion-settle) var(--audit-motion-ease) both; }
@keyframes audit-rule-settle { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
.result-overall { font-size: clamp(23px, 3vw, 38px); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #1a1a1a; }
.result-url { margin: 18px 0 22px; padding: 12px 16px; background: #fff; border: 1px solid #e5e2d8; border-radius: 7px; }
.score-note { margin: 0 0 26px; }
.overview { gap: 0; border-block: 1px solid var(--audit-motion-line); }
.overview-card { min-width: 0; min-height: 0; padding: 24px; background: transparent; border: 0; border-radius: 0; }
.overview-card + .overview-card { border-left: 1px solid var(--audit-motion-line); }
.overview-card strong { font-size: clamp(22px, 2.5vw, 29px); font-variant-numeric: tabular-nums; }
.priorities { margin-top: 48px; }
.priorities h3 { margin-bottom: 17px; }
.priority-item { min-width: 0; min-height: 0; overflow-wrap: anywhere; border: 0; border-top: 1px solid var(--audit-motion-line); border-radius: 0; background: transparent; padding: 20px 0; }
.priority-item strong { line-height: 1.35; }
.priority-item p { line-height: 1.55; }
.report-export { margin-top: 55px; padding: 28px; border-radius: 12px; color: #f7f4e9; background: #1d1d1b; border: 1px solid #555044; }
.report-export-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.report-export .section-index { color: #e8bd42; margin-bottom: 10px; }
.report-export h3 { font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.035em; margin: 0 0 8px; }
.report-export-heading p:last-child { margin: 0; color: #c9c6bd; font-size: 13px; }
.report-format { display: inline-flex; border: 1px solid #696559; border-radius: 8px; padding: 4px; gap: 3px; flex: none; }
.report-format button { border: 0; border-radius: 5px; padding: 10px 16px; background: transparent; color: #e4e1d6; font-size: 13px; font-weight: 700; min-height: 44px; }
.report-format button[aria-pressed="true"] { background: #ffd700; color: #1a1a1a; }
.report-format button { transition: transform var(--audit-motion-feedback) var(--audit-motion-ease), background-color var(--audit-motion-feedback) var(--audit-motion-ease); }
.report-format button:hover:not([aria-pressed="true"]) { background: var(--audit-motion-hover-dark); }
.report-format button:active { transform: scale(.975); }
.report-export-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.report-export-actions button { min-height: 46px; padding: 10px 17px; border: 1px solid #777064; border-radius: 6px; background: transparent; color: #fff; font-weight: 700; font-size: 13px; }
.report-export-actions button:hover { border-color: #ffd700; }
.report-export-actions button { transition: transform var(--audit-motion-feedback) var(--audit-motion-ease), border-color var(--audit-motion-feedback) var(--audit-motion-ease), background-color var(--audit-motion-feedback) var(--audit-motion-ease); }
.report-export-actions button:hover { transform: translateY(-2px); }
.report-export-actions button:active { transform: translateY(1px); }
.report-export-actions #report-download-button { background: #ffd700; border-color: #ffd700; color: #1a1a1a; }
.report-export-actions #report-download-button span { margin-left: 8px; }
.report-export button:focus-visible, .report-preview pre:focus-visible { outline: 3px solid #ffd700; outline-offset: 3px; }
.report-export-status { min-height: 1.4em; margin: 13px 0 0; color: #f2d970; font-size: 13px; }
.report-preview { margin-top: 17px; border: 1px solid #5b574c; border-radius: 8px; overflow: hidden; }
.report-preview-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 12px 16px; color: #f4efe1; border-bottom: 1px solid #5b574c; font-size: 12px; }
.report-preview-head span { color: #bbb5a7; }
.report-preview pre { max-height: 420px; overflow: auto; margin: 0; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: #e8e7e2; }
.report-ai-handoff { margin-top: 28px; padding-top: 25px; border-top: 1px solid #5b574c; }
.report-ai-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.report-ai-heading .section-index { margin-bottom: 6px; }
.report-ai-heading h4 { margin: 0; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.025em; }
.report-ai-handoff > p { max-width: 680px; margin: 12px 0 0; color: #c9c6bd; font-size: 13px; }
.report-ai-copy { min-height: 46px; padding: 10px 17px; border: 1px solid #ffd700; border-radius: 6px; background: #ffd700; color: #1a1a1a; font-size: 13px; font-weight: 800; flex: none; }
.report-ai-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 19px; }
.report-ai-links a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border: 1px solid #777064; border-radius: 6px; font-size: 13px; font-weight: 700; transition: background-color var(--audit-motion-feedback) var(--audit-motion-ease), border-color var(--audit-motion-feedback) var(--audit-motion-ease); }
.report-ai-links a:hover { border-color: #ffd700; }
.report-ai-links a:focus-visible, .report-ai-preview summary:focus-visible, .report-ai-preview pre:focus-visible { outline: 3px solid #ffd700; outline-offset: 3px; }
.report-ai-links a span { color: #e8bd42; }
.report-ai-handoff > .report-ai-note { margin-top: 11px; font-size: 12px; }
.report-ai-note a { color: #ffd700; text-decoration: none; }
.report-ai-note a:focus-visible { outline: 3px solid #ffd700; outline-offset: 3px; }
.report-ai-handoff > .report-export-status { margin-top: 11px; }
.report-ai-preview { margin-top: 13px; border: 1px solid #5b574c; border-radius: 7px; overflow: hidden; }
.report-ai-preview summary { min-height: 44px; display: flex; align-items: center; padding: 9px 15px; cursor: pointer; font-size: 12px; font-weight: 700; }
.report-ai-preview pre { max-height: 320px; overflow: auto; margin: 0; padding: 17px; border-top: 1px solid #5b574c; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: #e8e7e2; }
.report-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 52px; }
.signal-group { background: #fff; border: 1px solid #e1ded5; border-radius: 9px; overflow: hidden; }
.signal-group[open] { border-color: #d0bd7f; }
.signal-group summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 64px 19px 23px; cursor: pointer; list-style: none; position: relative; transition: background-color var(--audit-motion-feedback) var(--audit-motion-ease); }
.signal-group summary::-webkit-details-marker { display: none; }
.signal-group summary:focus-visible { outline: 3px solid #b77706; outline-offset: -4px; }
.signal-group summary:is(:hover,:focus-visible) { background: var(--audit-motion-hover-light); }
.signal-group summary::before, .signal-group summary::after { content: ''; position: absolute; top: 50%; right: 24px; width: 16px; height: 2px; background: #946d0d; transform-origin: center; }
.signal-group summary::before { transform: translateY(-50%); }
.signal-group summary::after { transform: translateY(-50%) rotate(90deg); transition: transform var(--audit-motion-feedback) var(--audit-motion-ease); }
.signal-group[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.signal-group .group-title { flex: 1; border: 0; padding: 0; }
.signal-group .group-title > span:last-child { display: block; width: auto; height: auto; background: transparent; border-radius: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.signal-group .group-title small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.group-count { color: #6a655a; font-size: 12px; white-space: nowrap; }
.signal-group .checks { padding: 0 23px 12px; border-top: 1px solid #eeeae1; }
.signal-group .check { padding: 19px 0; overflow-wrap: anywhere; }
.signal-group .check:last-child { border-bottom: 0; }
.signal-group .check h4 { font-size: 15px; }
.signal-group .check p { font-size: 13px; max-width: 780px; }
.limitations { max-width: 850px; margin-top: 48px; }
@media (max-width: 640px) {
  .result-overall { font-size: 27px; }
  .overview-card { min-height: 0; }
  .overview-card + .overview-card { border-left: 0; border-top: 1px solid var(--audit-motion-line); }
  .report-export { padding: 21px; margin-top: 43px; }
  .report-export-heading { display: block; }
  .report-format { margin-top: 20px; width: 100%; }
  .report-format button { flex: 1; }
  .report-export-actions button { flex: 1 1 140px; }
  .report-export-actions #report-download-button { flex-basis: 100%; }
  .report-ai-heading { align-items: stretch; flex-direction: column; }
  .report-ai-copy { width: 100%; }
  .report-ai-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-group summary { padding: 16px 52px 16px 16px; gap: 9px; }
  .signal-group summary::before, .signal-group summary::after { right: 16px; }
  .signal-group .group-title { gap: 10px; }
  .signal-group .group-title > span:last-child { font-size: 17px; }
  .group-count { font-size: 11px; }
  .signal-group .checks { padding: 0 17px 7px; }
  .check-header { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .results:not([hidden]) .result-heading::after { animation: none; }
  .report-format button, .report-export-actions button, .report-ai-links a, .signal-group summary, .signal-group summary::after { transition: none; }
  .report-format button:active, .report-export-actions button:is(:hover,:active) { transform: none; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .report-ai-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.site-footer a { text-decoration: none; }
