body[data-tool] .whois-nav, body[data-tool] .tool-intro, body[data-tool] .tool-instructions {background:var(--check-colour)}
body[data-tool] .tool-face, body[data-tool] .tool-sheet {border-color:color-mix(in srgb,var(--check-colour) 62%,white)}
body[data-tool] .tool-spot {width:150px;height:92px}
body[data-tool] .tool-nav-name {min-width:0;text-wrap:balance}
body[data-tool] .tool-trial {flex:none}
.check-field + .check-field {margin-top:16px}
#check-form input, #check-form select, #check-form textarea {box-sizing:border-box;max-width:100%;min-width:0;color:#2d2f34;background:white}
#check-form input, #check-form select {border:1px solid #a7acb4;border-radius:10px;padding:13px 14px;font:inherit;min-height:48px}
#check-form input {width:100%}
#check-form select {padding-right:32px}
.check-source {font-size:.93rem;margin-top:20px}
.check-source summary {cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.check-source p {margin:10px 0}
.lookup-form .check-source label {font:inherit;display:block;margin:12px 0 6px}
.check-source textarea {display:block;width:100%;padding:10px;border:1px solid #a7acb4;border-radius:8px;resize:vertical}
#check-status {font-size:.95rem;line-height:1.45;margin-top:12px;overflow-wrap:anywhere}
#check-status:empty {display:none}
#check-status a {text-decoration:underline}
#check-results {padding-top:26px;margin-top:26px;border-top:1px solid #dedbd4;overflow-wrap:anywhere}
#check-results h2 {font-size:clamp(1.5rem,4vw,2rem);margin-bottom:.6rem}
#check-results h3 {font-size:1.15rem;line-height:1.35;letter-spacing:normal}
.check-summary {line-height:1.55}
.check-metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:10px;padding:18px 0}
#check-results .check-metrics>div {display:block;border:0;padding:14px;background:color-mix(in srgb,var(--check-colour) 42%,white);border-radius:12px}
.check-metrics dt {font-size:.85rem;line-height:1.3}
.check-metrics dd {font-weight:600;margin-top:5px}
.check-sections {display:grid;gap:20px}
.check-section dl>div {padding:10px 0;border-bottom:1px solid #e7e5e2}
#check-results .check-side dl>div {display:block}
.check-section dt {font-weight:600}
.check-section dd {margin-top:3px;line-height:1.45}
.check-download {margin-top:15px;border:1px solid currentColor;color:inherit;background:transparent;border-radius:50px;padding:8px 15px;cursor:pointer;font:inherit}
#check-results[hidden],.check-download[hidden]{display:none}
@media(min-width:720px) {
  body[data-tool="competitor-website-comparison"] .check-sections {grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-tool="competitor-website-comparison"] .check-section {grid-column:1/-1}
  body[data-tool="competitor-website-comparison"] .check-section.check-side {grid-column:auto}
}
@media(max-width:560px) {
  body[data-tool] .tool-nav-inner {gap:6px}
  body[data-tool] .tool-brand-lockup {align-items:center}
  #check-form select {width:100%}
}
.check-graphic {margin:1.25rem 0 1.6rem;padding:clamp(1rem,3vw,1.65rem);border:1px solid #dfdfdd;border-radius:16px;background:#fff}
.check-graphic figcaption {font-size:1.15rem;font-weight:650;line-height:1.35;margin:0 0 1rem}
.check-bar-row + .check-bar-row {margin-top:.85rem}
.check-time-axis {display:flex;justify-content:space-between;gap:.5rem;margin:.25rem 0 1rem;padding-bottom:.35rem;border-bottom:1px solid #d5d8d9;color:#51575d;font-size:.8rem;font-variant-numeric:tabular-nums}
.check-visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.check-bar-legend {display:flex;justify-content:space-between;gap:1rem;font-size:.91rem;line-height:1.4}
.check-bar-legend span {overflow-wrap:anywhere;min-width:0}
.check-bar-legend strong {white-space:nowrap}
.check-bar-track {height:8px;background:#ecebe8;border-radius:5px;position:relative;margin-top:5px;overflow:hidden}
.check-bar-track span {position:absolute;inset-block:0;border-radius:5px}
.check-bar-possible {background:repeating-linear-gradient(110deg,#c4c5cd 0 3px,#e2e3eb 3px 6px)}
.check-bar-value {background:#485779}
body[data-tool=website-revenue-leak-detector] .check-bar-value {background:#b5522a}
body[data-tool=website-speed-analyser] .check-bar-value {background:#236877}
a.check-download {display:inline-block;margin-inline-start:8px;text-decoration:underline;text-underline-offset:3px}

.improvement-budget form {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));gap:14px 18px;margin-block:18px}
.improvement-budget label {display:flex;flex-direction:column;justify-content:space-between;gap:5px;font:inherit}
.improvement-budget form p,.improvement-budget button {grid-column:1/-1;margin-block:0}
.improvement-budget button {justify-self:start}
.improvement-budget input,.buyer-comparison select {min-width:0;max-width:100%;font:inherit;color:inherit;background:white;border:1px solid #9399a2;border-radius:9px;padding:9px 12px}
.buyer-comparison>label {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-block:14px}
.buyer-comparison dl>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.buyer-comparison dt {grid-column:1/-1;font-weight:600}
@media(max-width:640px) {.buyer-comparison dl>div{grid-template-columns:1fr}}
.broken-link-sheet>div {display:flex;flex-wrap:wrap;gap:12px 20px}
.broken-link-sheet label {display:grid;gap:4px;min-width:0;max-width:100%}
.broken-link-sheet select,.broken-link-sheet input {min-width:0;max-width:100%;font:inherit;background:white;color:inherit;padding:9px 12px;border:1px solid #9399a2;border-radius:9px}
.broken-link-sheet dt {font-weight:600}
.broken-link-sheet dl>div,.improvement-budget dl>div,.buyer-comparison dl>div {padding:10px 0;border-bottom:1px solid #dedbd4}
.check-run-inputs {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.35rem 1rem;margin:.75rem 0 1.2rem;color:#45474b;font-size:.9rem}
.check-run-inputs dt {font-weight:650}
.check-run-inputs dd {margin:0;overflow-wrap:anywhere}
@media(max-width:480px){.check-run-inputs {grid-template-columns:1fr;gap:.1rem}.check-run-inputs dd+dt{margin-top:.4rem}}
.check-jump-label{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .85rem;margin:1rem 0;font-size:.95rem;font-weight:600}
.check-jump-label select{max-width:100%;min-height:42px;border:1px solid #b4b6b9;border-radius:7px;background:white;color:#282a2e;padding:.4rem .55rem;font:inherit}
.check-section h3,.check-workbench h3{scroll-margin-top:7rem}
.check-next{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;margin:1.2rem 0 0;padding-top:1rem;border-top:1px solid #d4d5d7;font-size:.95rem}
.check-next a{color:#303940;text-decoration:underline;text-underline-offset:3px}
