/* SCAN-11 | Evidence-first interactive report. Shared by home + report permalink.
 * Do not change the public scan API, branding, accounts, quotas or paywalls.
 */
:is(.st-inline-report, body.domain-intelligence-page) {
  --di-accordion-hover: #f5f8fc;
  --di-accordion-icon-bg: #eef3fb;
  --di-accordion-icon-border: #dce6f3;
}
html[data-public-theme="dark"] :is(.st-inline-report, body.domain-intelligence-page) {
  --di-accordion-hover: #172d45;
  --di-accordion-icon-bg: #213b58;
  --di-accordion-icon-border: #395471;
}

:is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 22px;
  margin: 25px 0 11px;
  color: var(--di-text);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar strong {
  display: block;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.02em;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--di-secondary);
  margin: 3px 0 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-expand-all {
  flex: 0 0 auto;
  background: var(--di-panel);
  border: 1px solid var(--di-border);
  border-radius: 7px;
  color: var(--di-accent);
  padding: 8px 14px;
  min-height: 36px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-expand-all:hover {
  background: var(--di-accordion-hover);
}

/* A single full-width disclosure stack prevents tall blank grid cells. */
:is(.st-inline-report, body.domain-intelligence-page) .report-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .report-card.st-category-card,
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .report-card.st-category-card:nth-child(5),
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .report-card.st-category-card:nth-child(6) {
  display: block;
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0;
  gap: 0;
  background: var(--di-panel);
  border: 1px solid var(--di-border);
  border-radius: 10px;
  overflow: clip;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-card .card-head {
  display: block;
  margin: 0;
  padding: 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-card .card-head h3 {
  display: block;
  margin: 0;
  font-size: inherit;
  line-height: 1.3;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 83px;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: var(--di-text);
  cursor: pointer;
  font: inherit;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger:hover {
  background: var(--di-accordion-hover);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger[aria-expanded="true"] {
  background: var(--di-subtle);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-icon {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--di-accordion-icon-border);
  border-radius: 9px;
  background: var(--di-accordion-icon-bg);
  color: var(--di-accent);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-icon svg { display: block; width: 20px; height: 20px; }
:is(.st-inline-report, body.domain-intelligence-page) .st-category-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 5px;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-summary {
  font-size: 12px;
  font-weight: 450;
  line-height: 1.4;
  color: var(--di-secondary);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-chevron {
  flex: 0 0 18px;
  color: var(--di-secondary);
  transform: rotate(0deg);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger[aria-expanded="true"] .st-category-chevron {
  transform: rotate(180deg);
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-panel {
  display: block;
  padding: 17px 24px 22px;
  border-top: 1px solid var(--di-border);
  min-width: 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-panel[hidden] {
  display: none !important;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .card-counter {
  display: none;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .card-subtitle,
:is(.st-inline-report, body.domain-intelligence-page) .report-card:nth-child(6) .st-category-panel .card-subtitle {
  margin: 0 0 13px;
  padding: 0 0 13px;
  min-height: 0;
  border-bottom: 1px solid var(--di-border);
  font-size: 12px;
  line-height: 1.55;
  color: var(--di-secondary);
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  min-width: 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .tech-list > li {
  min-width: 0;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .tech-list li a {
  min-height: 56px;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2px;
}
:is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .fact-rows,
:is(.st-inline-report, body.domain-intelligence-page) .report-grid #http-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-card:nth-child(6) .st-category-panel .changes-empty {
  display: block;
  margin: 0;
  padding: 3px 0 1px;
  text-align: left;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-card:nth-child(6) .st-category-panel .changes-empty strong {
  display: block;
  font-size: 13px;
  color: var(--di-text);
  margin: 0 0 5px;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-card:nth-child(6) .st-category-panel .changes-empty p {
  max-width: 690px;
  margin: 0;
  color: var(--di-secondary);
  font-size: 12px;
  text-align: left;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-card:nth-child(6) .st-category-panel .changes-empty .signal-pill {
  display: inline-flex;
  margin-top: 10px;
}
:is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-card :is(a, button):focus-visible,
:is(.st-inline-report, body.domain-intelligence-page) .st-category-expand-all:focus-visible {
  outline: 3px solid var(--di-focus);
  outline-offset: -3px;
}

/* Result mode: show the existing scan form as a compact search bar, then the report.
 * Before a scan, normal landing content remains fully available for indexing.
 */
body.st-home-report-active .st-hero {
  padding: 16px 0 8px;
}
body.st-home-report-active .st-hero :is(.st-eyebrow, h1, .st-hero-lead, .st-hero-note),
body.st-home-report-active .st-hero > .st-container .st-hero-actions,
body.st-home-report-active .st-hero .st-home-domain-scope,
body.st-home-report-active #home-domain-report-section ~ section {
  display: none !important;
}
body.st-home-report-active .st-hero .st-home-domain-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 10px;
}
body.st-home-report-active .st-hero .st-home-domain-form > label {
  font-size: 12px;
  margin-bottom: 7px;
}
body.st-home-report-active .st-hero .st-home-domain-form #home-domain-help { display: none; }
body.st-home-report-active #home-domain-report-section { scroll-margin-top: 84px; }
body.st-home-report-active #home-domain-report-section + section { display: none; }

/* Loading placeholders line up with the resulting six disclosure rows. */
.st-inline-report .st-skeleton-grid { grid-template-columns: 1fr; gap: 10px; }
.st-inline-report .st-skeleton-grid > div { height: 74px; }

@media (max-width: 760px) {
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger {
    min-height: 75px;
    padding: 13px 14px;
    gap: 10px;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-icon {
    flex-basis: 34px;
    height: 34px;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-name { font-size: 14px; }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-summary { font-size: 11px; }
  :is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-panel {
    padding: 14px 15px 18px;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .tech-list,
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .fact-rows,
  :is(.st-inline-report, body.domain-intelligence-page) .report-grid #http-rows {
    grid-template-columns: 1fr;
    gap: 0;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar { margin-top: 18px; }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar p { max-width: 250px; }
}
@media (max-width: 420px) {
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar {
    gap: 9px;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-expand-all {
    padding: 7px 10px;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-trigger {
    padding: 12px;
  }
}
@media print {
  /* All six section details must appear in the exported/printed report. */
  :is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-panel[hidden] {
    display: block !important;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .report-grid .st-category-card {
    break-inside: auto;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-toolbar,
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-chevron,
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-expand-all {
    display: none !important;
  }
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .tech-list,
  :is(.st-inline-report, body.domain-intelligence-page) .st-category-panel .fact-rows,
  :is(.st-inline-report, body.domain-intelligence-page) .report-grid #http-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
