/* Public diagnostic tools share the LocalPixel editorial system. */
.tool-page {
  background: var(--bone, var(--color-bone));
  color: var(--ink, var(--color-ink));
}
.tool-page .site-header {
  z-index: 20;
}
.tool-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 160px 48px 100px;
}
.tool-main * {
  min-width: 0;
}
.tool-hero {
  max-width: 850px;
  margin-bottom: 48px;
}
.tool-kicker {
  font: 12px/1.5 var(--mono, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  color: var(--color-tool-copy-secondary);
}
.tool-hero h1 {
  font: 400 var(--type-hero) / 1.02 var(--sans, sans-serif);
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.tool-deck {
  max-width: 740px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.tool-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-tool-copy-muted);
  margin-top: 16px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tool-panel {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-white);
  border-radius: 0;
}
.tool-panel h2,
.tool-section h2,
.tool-result h2 {
  font-size: var(--type-section);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 22px;
}
.tool-panel h3,
.tool-section h3,
.tool-result h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
  margin: 24px 0 10px;
}
.tool-panel p,
.tool-section p,
.tool-result p {
  line-height: 1.55;
}
.tool-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.tool-main input:not([type="checkbox"]):not([type="radio"]),
.tool-main textarea,
.tool-main select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-input);
  border-radius: 8px;
  background: var(--color-bone);
  color: inherit;
  font: 16px/1.4 var(--sans, sans-serif);
}
.tool-main textarea {
  resize: vertical;
  min-height: 110px;
}
.tool-main input[type="checkbox"],
.tool-main input[type="radio"] {
  accent-color: var(--color-control-accent);
  width: 20px;
  height: 20px;
  flex: none;
}
.tool-main fieldset {
  padding: 20px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
}
.tool-main legend {
  padding: 0 8px;
  font-size: 16px;
}
.tool-main :is(input, textarea, select):focus-visible {
  outline: 2px solid var(--color-focus-control);
  outline-offset: 3px;
}
.tool-button:not(.lp-action) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid var(--color-ink);
  border-radius: 10px;
  background: var(--color-ink);
  color: var(--color-white);
  font: 13px/1.3 var(--mono, monospace);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.tool-button:not(.lp-action):hover {
  background: var(--color-orchid);
  color: var(--color-ink);
}
.tool-button--secondary {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: var(--color-border-control);
}
.tool-button:not(.lp-action):disabled {
  opacity: 0.55;
  cursor: wait;
}
.tool-main button:focus-visible,
.tool-main a:focus-visible {
  outline: 2px solid var(--color-focus-control);
  outline-offset: 4px;
}
.tool-error {
  color: var(--color-form-error);
  font-size: 15px;
  line-height: 1.5;
}
.tool-error:empty {
  display: none;
}
.tool-result {
  margin-top: 36px;
  scroll-margin-top: 110px;
}
.tool-section {
  padding-top: 64px;
  margin-top: 48px;
  border-top: 1px solid var(--color-border-muted);
}
.tool-section > p,
.tool-section > ul {
  max-width: 820px;
}
.tool-section ul,
.tool-result ul,
.tool-result ol {
  padding-left: 24px;
  line-height: 1.6;
}
.tool-section li,
.tool-result li {
  margin: 8px 0;
}
.tool-section a {
  color: var(--color-focus);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tool-faq details {
  border-top: 1px solid var(--color-border-muted);
  padding: 20px 0;
  max-width: 850px;
}
.tool-faq summary {
  cursor: pointer;
  font-size: 20px;
  line-height: 1.4;
}
.tool-faq details p {
  margin-top: 14px;
}
.tool-tag {
  display: inline-block;
  background: var(--color-surface-soft);
  padding: 6px 10px;
  border-radius: 5px;
  font: 11px/1.3 var(--mono, monospace);
  text-transform: uppercase;
}
.tool-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tool-catalog a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 360px;
  padding: 30px;
  border-radius: 0;
  background: var(--color-surface-coral);
  color: var(--color-ink);
  text-decoration: none;
}
.tool-catalog a:nth-child(2) {
  background: var(--color-ink);
  color: var(--color-white);
}
.tool-catalog a:nth-child(3) {
  background: var(--color-orchid);
}
.tool-catalog .tool-number {
  font: 13px var(--mono, monospace);
  margin-bottom: 48px;
}
.tool-catalog h2 {
  font-size: 30px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.tool-catalog p {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.tool-catalog .tool-link {
  font: 12px var(--mono, monospace);
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.tool-catalog a:hover .tool-link {
  transform: translateX(4px);
}
.tool-action-panel {
  margin-top: 32px;
  padding: 30px;
  border-radius: 0;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-report);
}
.tool-action-panel h3 {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.tool-action-panel p {
  font-size: 16px;
  line-height: 1.5;
}
.tool-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.tool-email-form {
  margin-top: 22px;
  border-top: 1px solid var(--color-border-report-divider);
  padding-top: 22px;
  max-width: 620px;
}
.tool-email-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 8px;
}
.tool-email-form > label {
  font-size: 15px;
}
.tool-email-form summary {
  cursor: pointer;
}
.tool-email-form .tool-note {
  margin-top: 12px;
}
.tool-email-status {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.tool-private-note {
  font-size: 13px !important;
  color: var(--color-tool-copy-muted);
}
.tool-report-document {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 17px/1.65 var(--sans, sans-serif);
  background: var(--color-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  padding: 32px;
}
.tool-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.tool-context-link {
  margin-top: 28px;
  color: var(--color-focus);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tools-home {
  padding: var(--space-section) var(--gutter, 48px);
  max-width: var(--content-max, 1620px);
  margin: auto;
}
.tools-home__intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
  margin-bottom: clamp(36px, 4vw, 60px);
}
.tools-home h2 {
  font-size: var(--type-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.tools-home__intro p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 590px;
}
.tools-home .tool-catalog a {
  min-height: 320px;
}
.tools-home .tool-catalog h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.tools-home .tool-catalog .tool-number {
  margin-bottom: 32px;
}
@media (max-width: 800px) {
  .tool-main {
    padding: 128px 24px 70px;
  }
  .tool-grid,
  .tool-catalog,
  .tools-home__intro {
    grid-template-columns: 1fr;
  }
  .tool-catalog a {
    min-height: 260px;
  }
  .tool-catalog .tool-number {
    margin-bottom: 30px;
  }
  .tool-hero {
    margin-bottom: 32px;
  }
  .tool-section {
    margin-top: 30px;
    padding-top: 40px;
  }
  .tools-home {
    padding: var(--space-section) 24px;
  }
  .tool-action-panel {
    padding: 24px;
  }
  .tool-report-document {
    padding: 24px;
  }
  .tools-home__intro {
    gap: 20px;
  }
}
@media (max-width: 440px) {
  .tool-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .tool-email-row {
    grid-template-columns: 1fr;
  }
  .tool-actions-row > .tool-button:not(.lp-action) {
    flex: 1 1 100%;
  }
  .tool-panel {
    padding: 22px;
  }
  .tool-hero h1 {
    font-size: 42px;
  }
  .tool-action-panel {
    padding: 20px;
  }
  .tool-note {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tool-main * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .tool-page .site-header,
  .tool-page .site-footer,
  .tool-page .lp-assistant-launcher,
  .tool-page .lp-assistant-prompt,
  .tool-page .analytics-notice,
  .tool-page [data-tool-actions],
  .tool-page form,
  .tool-page .tool-faq,
  .tool-page .tool-hero,
  .tool-page .tool-section,
  .tool-page .analytics-preferences {
    display: none !important;
  }
  .tool-main {
    padding: 0;
    max-width: none;
  }
  .tool-panel,
  .tool-result {
    border: 0;
    padding: 0;
    margin: 0;
    break-inside: auto;
  }
  .tool-report-document {
    border: 0;
    padding: 0;
    font-size: 11pt;
  }
  .tool-main h2,
  .tool-main h3 {
    break-after: avoid;
  }
  body.tool-page {
    background: white;
    color: black;
  }
}

.saved-report-brand {
  display: inline-block;
  margin: 32px 48px 0;
}
.saved-report-brand img {
  display: block;
  width: 164px;
  height: auto;
}
.saved-tool-page .tool-main {
  padding-top: 64px;
}
.saved-tool-page #saved-actions {
  margin-top: 24px;
}
.saved-tool-page .tool-report-document {
  font: 16px/1.7 var(--sans);
  overflow-wrap: anywhere;
}
.tool-panel [hidden],
.tool-main [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .saved-report-brand {
    margin: 24px;
  }
  .saved-tool-page .tool-main {
    padding-top: 40px;
  }
}
@media print {
  .saved-report-brand,
  #saved-actions {
    display: none !important;
  }
}

.tools-home h2 {
  font: 400 var(--type-section) / 1.08 var(--sans);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
}
.tools-home__intro .eyebrow {
  font: 14px/1.5 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.tools-home .tool-catalog h3 {
  font: 400 var(--type-card) / 1.1 var(--sans);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.tools-home__note {
  font: 14px/1.5 var(--sans);
  margin-top: 24px;
  color: var(--color-tool-copy-muted);
}
.tools-home__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tool-catalog .tool-link {
  transition: transform 0.2s ease;
}
.tool-main .tool-catalog p {
  line-height: 1.5;
}
.tool-main .tool-catalog h2 {
  font-size: 30px;
}
.tools-home__intro {
  align-items: center;
}
.tools-home__intro > p {
  max-width: 490px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  margin: 0;
}
.tool-hero + .tool-catalog {
  margin-top: 24px;
}

.saved-tool-page .tool-report-document {
  white-space: normal;
}
.tool-report-document h2 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 24px;
}
.tool-report-document h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin: 32px 0 16px;
}
.tool-report-document p {
  margin: 12px 0;
}
.tool-report-document ul {
  padding-left: 24px;
  line-height: 1.6;
}
.tool-report-document li {
  margin: 8px 0;
}
.tool-result,
.policy-document,
.scanner-results {
  overflow-wrap: anywhere;
}
.tool-page .footer-bottom small {
  white-space: normal;
  line-height: 1.5;
}
.tool-page .footer-bottom {
  gap: 16px;
}
.tool-main .tool-honeypot {
  overflow: hidden;
}
@media (max-width: 440px) {
  .tool-page .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .tool-page .builder-shell,
  .tool-page .policy-layout,
  .tool-page .scanner-intro,
  .tool-page .scanner-form-panel {
    display: none !important;
  }
  .workflow-run-checklist input[type="checkbox"] {
    appearance: auto;
  }
}

.saved-workflow-visual {
  margin: 0 0 32px;
  padding: 16px;
  background: var(--color-surface-stone);
  border-radius: 0;
}
.saved-workflow-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.saved-workflow-visual figcaption {
  font: 14px/1.5 var(--sans);
  margin-top: 16px;
  color: var(--color-tool-copy-muted);
}
.saved-tool-page #saved-actions {
  position: static;
}
.saved-workflow-notes > summary {
  cursor: pointer;
  font-size: 20px;
  line-height: 1.4;
  padding: 20px 0;
}
.saved-tool-page #saved-actions {
  margin-bottom: 28px;
}
/* Pixelarticons v2.4.1: compact visual anchors for the tool family. */
.tool-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 0 24px;
  image-rendering: pixelated;
  flex: none;
}
.tool-icon--hero {
  width: 64px;
  height: 64px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--color-border-report-strong);
  border-radius: 0;
  background: var(--color-surface-soft);
  box-sizing: content-box;
}
.tool-hero--with-icon {
  max-width: 900px;
  padding-top: 6px;
}
.tool-hero--with-icon .tool-kicker {
  margin-bottom: 16px;
}
.tool-catalog-hero {
  max-width: 920px;
  margin-bottom: 54px;
}
.tool-catalog {
  gap: 20px;
}
.tool-catalog a {
  position: relative;
  min-height: 390px;
  padding: 32px;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(23, 22, 27, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.tool-catalog a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(23, 22, 27, 0.12);
  border-color: var(--color-border-control-hover);
}
.tool-catalog .tool-icon {
  margin-bottom: 30px;
}
.tool-catalog .tool-number {
  margin-bottom: 20px;
  color: var(--color-tool-copy-muted);
}
.tool-catalog a:nth-child(2) .tool-number {
  color: #dadadc;
}
.tool-catalog h2 {
  font-size: clamp(27px, 2.2vw, 35px);
  max-width: 280px;
  margin: 0 0 16px;
}
.tool-catalog p {
  max-width: 300px;
  font-size: 16px;
  line-height: 1.52;
  margin: 0 0 28px;
}
.tool-catalog .tool-link {
  font-size: 11px;
  letter-spacing: 0.03em;
}
@media (max-width: 800px) {
  .tool-catalog-hero {
    margin-bottom: 34px;
  }
  .tool-icon--hero {
    width: 52px;
    height: 52px;
    padding: 12px;
  }
  .tool-catalog a {
    min-height: 270px;
    padding: 28px;
  }
  .tool-catalog .tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
  }
  .tool-catalog .tool-number {
    margin-bottom: 14px;
  }
}
@media (max-width: 440px) {
  .tool-icon--hero {
    width: 44px;
    height: 44px;
  }
  .tool-catalog a {
    min-height: 0;
  }
  .tool-catalog h2 {
    font-size: 28px;
  }
}

/* Give plain-language tool pages room to breathe, especially around their titles. */
.tool-main {
  padding-bottom: 128px;
}
.tool-hero {
  margin-bottom: clamp(44px, 6vw, 76px);
}
.tool-hero h1 {
  max-width: 980px;
  font-size: var(--type-hero);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.045em;
}
.tool-hero .tool-deck {
  max-width: 790px;
  line-height: 1.5;
  margin: 0;
}
.tool-hero .tool-note {
  max-width: 760px;
  margin-top: 20px;
}
.tool-kicker {
  margin-bottom: 16px;
}
.tool-panel h2,
.tool-section h2,
.tool-result h2 {
  line-height: 1.16;
  margin-bottom: 18px;
}
.tool-panel h3,
.tool-section h3,
.tool-result h3 {
  line-height: 1.22;
  margin-top: 28px;
  margin-bottom: 12px;
}
.tool-section {
  padding-top: 76px;
  margin-top: 64px;
}
.tool-section > p + p {
  margin-top: 18px;
}
.tool-faq details {
  padding: 24px 0;
}
.tool-faq summary {
  line-height: 1.32;
}
.tool-catalog-hero {
  margin-bottom: 60px;
}
.tool-catalog a {
  min-height: 410px;
}
.tool-catalog h2 {
  line-height: 1.16;
}

/* Result actions: an optional visible email capture followed by practical next steps. */
.tool-action-panel {
  margin-top: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 20px;
  background: var(--color-surface-soft);
  border-color: #cfcdd2;
}
.tool-email-capture {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.tool-report-wordmark {
  display: block;
  width: 142px;
  height: auto;
  margin: 2px 0 0;
}
.tool-email-capture h3 {
  grid-column: 2;
  margin: 0 0 10px;
  font-size: var(--type-card);
  line-height: 1.14;
}
.tool-email-capture > p {
  grid-column: 2;
  max-width: 660px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.tool-email-form {
  grid-column: 1/-1;
  width: 100%;
  max-width: 720px;
  margin-top: 28px;
  padding-top: 26px;
}
.tool-email-form > label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.45;
}
.tool-email-row {
  gap: 14px;
  margin-top: 0;
}
.tool-email-row input,
.tool-email-row .tool-button:not(.lp-action) {
  min-height: 52px;
}
.tool-email-form > .tool-followup-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.45;
}
.tool-followup-choice input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
}
.tool-followup-choice + label {
  display: block;
  max-width: 420px;
  margin: 14px 0 0;
}
.tool-email-status {
  margin-top: 16px;
}
.tool-email-form .tool-note,
.tool-private-note {
  max-width: 660px;
  margin-top: 14px;
}
.tool-next-step {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #cfcdd2;
}
.tool-next-step h3 {
  margin: 0 0 10px;
  font-size: var(--type-card);
  line-height: 1.16;
}
.tool-next-step > p {
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}
.tool-next-step .tool-actions-row {
  margin-top: 22px;
}

/* Keep saved and printed reports recognizably LocalPixel without adding clutter. */
.tool-report-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-border-muted);
}
.tool-report-header img {
  display: block;
  width: 156px;
  height: auto;
}
.tool-report-header p {
  margin: 0;
  color: var(--color-tool-copy-muted);
  font: 12px/1.45 var(--mono, monospace);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: right;
}
.tool-report-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border-muted);
  color: var(--color-tool-copy-muted);
  font-size: 13px;
  line-height: 1.5;
}
.tool-report-footer a {
  color: inherit;
}
@media (max-width: 800px) {
  .tool-main {
    padding-bottom: 88px;
  }
  .tool-hero {
    margin-bottom: 42px;
  }
  .tool-section {
    padding-top: 52px;
    margin-top: 42px;
  }
  .tool-catalog-hero {
    margin-bottom: 42px;
  }
  .tool-catalog a {
    min-height: 300px;
  }
  .tool-email-capture {
    grid-template-columns: 1fr;
  }
  .tool-report-wordmark {
    width: 132px;
    margin-bottom: 24px;
  }
  .tool-email-capture h3,
  .tool-email-capture > p {
    grid-column: 1;
  }
  .tool-email-form {
    margin-top: 24px;
  }
  .tool-report-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .tool-report-header p {
    text-align: left;
  }
  .tool-report-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .tool-hero h1 {
    font-size: var(--type-hero);
    line-height: 1.16;
    letter-spacing: -0.04em;
  }
  .tool-hero .tool-deck {
    font-size: 18px;
    line-height: 1.48;
  }
  .tool-panel h2,
  .tool-section h2,
  .tool-result h2 {
    line-height: 1.18;
  }
  .tool-action-panel {
    padding: 24px 20px;
  }
  .tool-email-row {
    grid-template-columns: 1fr;
  }
  .tool-email-row .tool-button:not(.lp-action) {
    width: 100%;
  }
  .tool-next-step {
    margin-top: 28px;
    padding-top: 24px;
  }
  .tool-report-header {
    margin-bottom: 22px;
  }
  .tool-report-header img {
    width: 138px;
  }
}
@media print {
  .tool-report-header,
  .tool-report-footer {
    display: flex !important;
  }
  .tool-report-header {
    margin-bottom: 18px;
  }
  .tool-report-header img {
    width: 132px;
  }
  .tool-report-footer {
    margin-top: 22px;
    font-size: 10pt;
  }
  .tool-action-panel {
    display: none !important;
  }
}

.saved-tool-page #saved-actions {
  margin: 0 0 36px;
}
.tool-email-form > .tool-followup-choice {
  margin-top: 22px;
}
.tool-followup-name {
  padding-top: 14px;
}

/* Shared keyboard and touch treatment for the interactive tool surfaces. */
.tool-hero > .tool-kicker:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px 8px 10px;
  border-radius: 8px;
  background: var(--color-surface-soft);
  color: var(--color-ink);
  font: 500 15px/1.3 var(--mono, monospace);
  letter-spacing: 0.025em;
}
.tool-hero > .tool-kicker:first-of-type::before {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--color-focus);
  content: "";
}
.tool-main :is(input, textarea, select, button, a, summary):focus-visible {
  outline: 2px solid var(--focus-ring, var(--color-focus));
  outline-offset: 4px;
}
.tool-catalog a:focus-visible {
  border-color: var(--color-focus);
  box-shadow:
    0 0 0 3px var(--color-bone),
    0 0 0 5px var(--color-focus);
}
.tool-catalog a:nth-child(2):focus-visible {
  border-color: var(--orchid, var(--color-orchid));
  box-shadow:
    0 0 0 3px var(--color-ink),
    0 0 0 5px var(--orchid, var(--color-orchid));
}
@media (pointer: coarse) {
  .tool-faq summary,
  .saved-workflow-notes > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .tool-faq details {
    padding: 14px 0;
  }
}

/* One result action leads; optional delivery stays easy to find. */
.tool-next-step {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.tool-email-option {
  margin-top: 28px;
  border-top: 1px solid #c7c6ca;
  padding-top: 18px;
}
.tool-email-option > summary {
  font-size: 19px;
  line-height: 1.5;
  cursor: pointer;
  padding: 8px 0;
  min-height: 44px;
  color: var(--color-ink);
}
.tool-email-option .tool-email-capture {
  padding-top: 24px;
}
.tool-export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 10px;
}
.tool-text-action {
  min-height: 44px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--color-focus);
  font: 15px/1.5 var(--sans, sans-serif);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.tool-export-status {
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0 0 !important;
}
.tool-export-status:empty {
  display: none;
}
[data-workflow-email-slot]:not(:empty) {
  padding: 28px;
  background: var(--color-surface-soft);
  border: 1px solid #cfcdd2;
  border-radius: 0;
  margin: 24px 0;
}
@media (max-width: 520px) {
  [data-workflow-email-slot]:not(:empty) {
    padding: 24px 18px;
  }
  .tool-next-step .tool-actions-row {
    align-items: stretch;
    flex-direction: column;
  }
  .tool-next-step .tool-actions-row > * {
    width: 100%;
  }
}
.tool-email-status a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The report itself stays out of view until delivery confirms the required email. */
.tool-gate-panel {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border-report-strong);
  box-shadow: 0 18px 42px rgba(23, 22, 27, 0.12);
}
.tool-lead-gate {
  padding: clamp(28px, 5vw, 52px);
  background: #2e2d30;
  color: var(--color-white);
}
.tool-gate-wordmark {
  display: block;
  width: 156px;
  height: auto;
  margin: 0 0 34px;
  filter: brightness(0) invert(1);
}
.tool-lead-gate .tool-kicker {
  color: var(--color-orchid);
}
.tool-lead-gate h2 {
  max-width: 14ch;
  margin: 0 0 16px;
  font: 400 var(--type-section) / 1.08 var(--sans, sans-serif);
  letter-spacing: -0.04em;
}
.tool-lead-gate > p {
  max-width: 610px;
  margin: 0;
  color: #e7e6e8;
  font-size: 17px;
  line-height: 1.55;
}
.tool-gate-form {
  display: grid;
  gap: 14px;
  max-width: 610px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(227, 212, 240, 0.42);
}
.tool-gate-benefits {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-white);
}
.tool-gate-benefits li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.45;
}
.tool-gate-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--color-orchid);
  content: "✓";
}
.tool-gate-form > label:first-child {
  font-size: 15px;
}
.tool-gate-form input[type="email"] {
  background: var(--color-white);
}
.tool-gate-form .tool-button:not(.lp-action) {
  justify-self: start;
  background: var(--color-orchid);
  border-color: var(--color-orchid);
  color: var(--color-ink);
}
.tool-gate-form .tool-button:not(.lp-action):hover {
  background: var(--color-white);
}
.tool-gate-form .tool-private-note {
  margin: 0;
  color: #dfdfe1;
}
.tool-gate-form .tool-private-note a {
  color: var(--color-white);
}
.tool-gate-form .tool-email-status {
  margin: 0;
  color: var(--color-white);
}
.tool-marketing-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 4px;
  color: #f1f1f3;
  font-size: 14px;
  line-height: 1.48;
}
.tool-marketing-choice input {
  margin-top: 2px;
}
.tool-unlocked-actions {
  padding: clamp(28px, 4vw, 42px);
  background: var(--color-surface-soft);
}
.tool-unlocked-actions h3 {
  margin: 0 0 10px;
}
.tool-unlocked-actions p {
  margin: 0;
  max-width: 620px;
}
.tool-unlocked-actions .tool-export-links {
  margin-top: 16px;
}
.tool-newsletter-address {
  display: block;
  margin-top: 7px;
  color: #dfdfe1;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .tool-lead-gate {
    padding: 28px 22px;
  }
  .tool-gate-wordmark {
    width: 142px;
    margin-bottom: 26px;
  }
  .tool-gate-form .tool-button:not(.lp-action) {
    width: 100%;
  }
}

.tools-home .tool-catalog {
  gap: clamp(24px, 2vw, 32px);
}

/* Branded report masthead, shared by results, saved reports and print. */
.tool-report-header {
  align-items: center;
  padding: 24px 28px;
  margin-bottom: 30px;
  border: 0;
  border-bottom: 4px solid var(--color-orchid);
  border-radius: 0;
  background: var(--color-ink);
  color: var(--color-white);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.tool-report-header img {
  width: 156px;
  margin: 0;
  filter: brightness(0) invert(1);
}
.tool-report-header p {
  max-width: 260px;
  color: #eae9eb;
  font-size: 11px;
  line-height: 1.5;
}
.tool-report-document > h2 {
  max-width: 24ch;
  margin: 0 0 24px;
  font-size: var(--type-section);
  line-height: 1.18;
}
.tool-report-document > h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.tool-report-document > p,
.tool-report-document li {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tool-report-document li + li {
  margin-top: 10px;
}
@media (max-width: 520px) {
  .tool-report-header {
    padding: 20px;
    gap: 16px;
  }
  .tool-report-header img {
    width: 140px;
  }
  .tool-report-header p {
    text-align: left;
  }
}
@media print {
  .tool-report-header {
    background: var(--color-ink) !important;
    color: var(--color-white) !important;
    break-inside: avoid;
  }
  .tool-report-header img {
    filter: brightness(0) invert(1) !important;
  }
  .tool-report-header p {
    color: var(--color-white) !important;
  }
}

.tool-action-panel {
  scroll-margin-top: 110px;
}

/* Compact form/action variant; no wrapper insertion into dynamic loading labels. */
.tool-button:not(.lp-action) {
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.tool-button:not(.lp-action):not(:disabled):hover,
.tool-button:not(.lp-action):not(:disabled):focus-visible {
  box-shadow: inset 5px 0 0 var(--color-orchid);
  border-color: var(--color-ink);
}
.tool-button:not(.lp-action):not(:disabled):active {
  filter: brightness(0.92);
}
.tool-button--secondary:not(:disabled):hover {
  background: var(--color-ink);
  color: var(--color-white);
}
.tool-link {
  display: inline-block;
  transition: text-underline-offset 0.25s;
}
.tool-catalog a:is(:hover, :focus-visible) .tool-link {
  text-underline-offset: 9px;
}
@media (prefers-reduced-motion: reduce) {
  .tool-button:not(.lp-action),
  .tool-link {
    transition: none !important;
  }
}

/* Homepage tools are a distinct utility section following editorial insights. */
.tools-home{max-width:none;width:100%;background:var(--color-surface-mist);padding-inline:max(var(--gutter,48px),calc((100% - var(--content-max,1620px))/2));margin-top:clamp(48px,5vw,80px)}

@media (max-width: 640px) {
  .tools-home {
    padding-block: var(--space-section);
    padding-inline: var(--gutter);
    overflow: hidden;
  }
  .tools-home .tool-catalog {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100vw - 72px);
    gap: 16px;
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 12px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tools-home .tool-catalog::-webkit-scrollbar { display: none; }
  .tools-home .tool-catalog > a {
    min-height: 350px;
    padding: 24px;
    scroll-snap-align: start;
  }
  .tools-home .tool-catalog:focus-visible {
    outline: 2px solid var(--color-focus-action);
    outline-offset: 4px;
  }
}

/* Scanner: say what the check looks at, right under the form. */
.scanner-form.tool-panel{padding:clamp(22px,2.4vw,32px)}
.scanner-checks{list-style:none;margin:24px 0 20px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:var(--scanner-width,860px)}
.scanner-checks li{display:grid;gap:6px;padding:16px 18px;background:var(--color-surface-mist)}
.scanner-checks b{display:flex;align-items:center;gap:10px;font:500 15px/1.3 var(--sans)}
.scanner-checks b::before{content:'';flex:none;width:6px;height:6px;background:var(--color-coral)}
.scanner-checks span{font-size:14px;line-height:1.45;color:var(--on-light-muted)}
@media(max-width:760px){.scanner-checks{grid-template-columns:1fr}}
