@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f1f6f5;
  background: #0c181e;
  --ink: #f1f6f5;
  --muted: #b1c1c8;
  --line: #30454d;
  --surface: #1a2b32;
  --surface-soft: #122128;
  --brand: #62dfb4;
  --brand-dark: #8aeac8;
  --brand-soft: #173f35;
  --danger: #ff8c98;
  --danger-soft: #3c242d;
  --warning: #f4c16e;
  --warning-soft: #382f20;
  --info: #94bbff;
  --info-soft: #1b2e46;
  --success: #62dfb4;
  --success-soft: #173f35;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.12);
  --primary-fill: linear-gradient(180deg, #168164, #10614a);
  --primary-border: #50a784;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #0c181e;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img,
svg {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: #155d4a;
  color: #fff;
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* One shared product identity and navigation. */
.site-header {
  background: #101e24;
  border-bottom: 1px solid #263a42;
}
.nav-wrap,
.footer-wrap,
.hero-grid,
.section {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}
.nav-links a {
  color: #c7d5d9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--brand);
}
.nav-links .nav-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 6px;
  padding: 12px 17px;
  border-radius: 9px;
  background: var(--primary-fill);
  color: #fff;
  border: 1px solid var(--primary-border);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.nav-links .nav-action:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  color: #fff;
}
.nav-action .icon {
  width: 16px;
  height: 16px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a171d;
  margin-top: 36px;
}
.footer-wrap {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}
.footer-wrap > span:first-child {
  font-weight: 750;
  color: var(--ink);
  font-size: 14px;
}
.footer-wrap a {
  margin-left: auto;
  font-weight: 600;
}

/* Landing page: a compact introduction, anchored by a real upload form. */
.hero-section {
  position: relative;
  background: radial-gradient(ellipse at 65% 48%, #0d372e 0, #0e2025 38%, #0c181e 76%);
  border-bottom: 1px solid #263a42;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.95fr);
  gap: 58px;
  align-items: center;
  padding: 40px 0 44px;
}
.hero-copy {
  min-width: 0;
}
.product-kicker,
.section-kicker,
.step-label {
  display: inline-block;
  color: var(--brand);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 19px 0 12px;
  font-size: clamp(38px, 4.5vw, 63px);
  line-height: 1.07;
  letter-spacing: -0.065em;
  font-weight: 790;
}
.brand-emphasis {
  color: var(--brand);
}
.hero-heading {
  margin: 0 0 21px;
  max-width: 650px;
  font-size: clamp(25px, 2.5vw, 33px);
  line-height: 1.28;
  letter-spacing: -0.045em;
  color: #b9cbd2;
  font-weight: 500;
}
.hero-lede {
  max-width: 610px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 23px;
  margin-top: 29px;
  font-size: 12px;
  font-weight: 650;
  color: #d8e4e7;
}
.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
}
.trust-icon .icon {
  width: 16px;
  height: 16px;
}
.trust-green {
  color: var(--success);
  background: var(--success-soft);
}
.trust-neutral {
  color: #a8d8c9;
  background: #19362f;
}
.upload-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid #3a5059;
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.upload-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.upload-header-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}
.upload-header-icon .icon {
  width: 26px;
  height: 26px;
}
.upload-card h2 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.035em;
  font-weight: 730;
}
.upload-card-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.upload-picker {
  position: relative;
}
.drop-zone {
  min-height: 190px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed #59757b;
  border-radius: 12px;
  background: #13252d;
  cursor: pointer;
  transition:
    background-color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    filter 0.18s,
    transform 0.18s;
}
.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.upload-picker:focus-within .drop-zone {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 62px;
  margin-bottom: 15px;
  color: var(--brand);
  background: #164337;
  border-radius: 12px;
}
.upload-icon .icon {
  width: 33px;
  height: 38px;
}
.drop-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.drop-subtitle {
  margin-top: 6px;
  font-size: 12px;
  color: #b1c1c8;
}
.file-types {
  margin-top: 13px;
  font-size: 11px;
  color: var(--muted);
}
.selected-file {
  margin: 12px 0;
  min-height: 17px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.selected-file.file-error {
  color: var(--danger);
  font-weight: 650;
}
.primary-button,
.primary-link-button,
.secondary-button,
.secondary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    filter 0.18s,
    transform 0.18s;
}
.primary-button,
.primary-link-button {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--primary-border);
  color: #fff;
  background: var(--primary-fill);
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}
.primary-button {
  width: 100%;
}
.primary-button:hover,
.primary-link-button:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  border-color: #72c5a4;
}
.primary-button .icon {
  width: 17px;
  height: 17px;
}
.primary-button:disabled {
  opacity: 0.8;
  cursor: wait;
  transform: none;
  filter: none;
}
/* Smooth surfaces and small, deliberate responses; no animated backgrounds. */
.nav-action,
.filter-button,
.clear-filters,
.faq-item,
.issue-priority-heading,
.technical-evidence summary {
  transition:
    border-color 0.18s,
    background-color 0.18s,
    box-shadow 0.18s,
    filter 0.18s,
    transform 0.18s;
}
.nav-links a,
.text-link,
.demo-cta a {
  transition: color 0.18s;
}
.nav-action .icon,
.primary-button .icon,
.primary-link-button .icon,
.secondary-link-button .icon,
.text-link .icon,
.demo-cta a .icon {
  transition: transform 0.18s;
}
.nav-action:hover .icon,
.primary-button:not(:disabled):hover .icon,
.primary-link-button:hover .icon,
.secondary-link-button:hover .icon,
.text-link:hover .icon,
.demo-cta a:hover .icon {
  transform: translateX(2px);
}
.privacy-note {
  margin: 15px 0;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  line-height: 1.65;
}
.privacy-note a {
  font-weight: 650;
}
.demo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.demo-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 650;
}
.demo-cta a:hover {
  text-decoration: underline;
}
.demo-cta .icon {
  width: 15px;
  height: 15px;
}
.alert,
.notice {
  margin-bottom: 16px;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.65;
}
.alert {
  border: 1px solid #78414a;
  color: var(--danger);
  background: var(--danger-soft);
}
.notice {
  border: 1px solid #78603a;
  color: var(--warning);
  background: var(--warning-soft);
}
.section {
  padding: 48px 0;
}
.section-band {
  background: var(--surface-soft);
  border-bottom: 1px solid #263a42;
}
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 23px;
}
.section-heading-block {
  max-width: 760px;
  margin-bottom: 26px;
}
.section-heading-row .section-heading-block {
  margin: 0;
}
.section-heading-block h2 {
  margin: 9px 0 9px;
  font-size: clamp(25px, 2.6vw, 33px);
  font-weight: 730;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.section-heading-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.text-link:hover {
  text-decoration: underline;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  margin: 0;
  border-radius: 12px;
}
.feature-icon .icon {
  width: 25px;
  height: 25px;
}
.feature-red {
  color: var(--danger);
  background: var(--danger-soft);
}
.feature-violet {
  color: #c8a6f6;
  background: #322744;
}
.feature-green {
  color: var(--success);
  background: var(--success-soft);
}
.feature-amber {
  color: var(--warning);
  background: var(--warning-soft);
}
.feature-card h3 {
  margin: 8px 0 10px;
  font-size: 14px;
  font-weight: 730;
  letter-spacing: -0.03em;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.report-preview-section {
  padding-top: 36px;
  padding-bottom: 32px;
}
.report-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
  gap: 40px;
  padding: 36px;
  border: 1px solid #27604e;
  border-radius: 17px;
  background: linear-gradient(135deg, #123e32, #10533f 50%, #0d2a29);
  align-items: center;
}
.report-preview-copy h2 {
  margin: 12px 0;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 730;
}
.report-preview-copy > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 20px;
}
.secondary-link-button {
  min-height: 42px;
  padding: 10px 15px;
  background: var(--surface);
  color: var(--brand);
  border: 1px solid #365a50;
  font-size: 12px;
  box-shadow: var(--shadow-soft);
}
.secondary-link-button:hover {
  border-color: #59757b;
  background: #13252d;
}
.report-preview-copy .secondary-link-button {
  background: var(--primary-fill);
  color: #fff;
  border-color: var(--primary-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.report-preview-copy .secondary-link-button:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  border-color: #72c5a4;
}
.secondary-link-button .icon {
  width: 16px;
  height: 16px;
}
.report-preview-copy .preview-footnote {
  margin: 15px 0 0;
  font-size: 10px;
}
.report-preview {
  min-width: 0;
  padding: 23px;
  border: 1px solid #34544e;
  border-radius: 13px;
  background: #102127;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.preview-document-header {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 20px;
}
.preview-file-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 38px;
  border-radius: 7px;
  color: var(--success);
  background: var(--success-soft);
}
.preview-document-header strong {
  display: block;
  font-size: 13px;
}
.preview-document-header div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.preview-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.preview-metrics > div {
  padding: 15px 11px;
  border-radius: 9px;
  border: 1px solid;
}
.preview-metrics span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.preview-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  color: var(--ink);
}
.preview-high {
  color: var(--danger);
  background: #2e2028;
  border-color: #683a45 !important;
}
.preview-warning {
  color: var(--warning);
  background: #2b271e;
  border-color: #645331 !important;
}
.preview-info {
  color: var(--info);
  background: #13252d;
  border-color: #35547c !important;
}
.preview-list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
}
.preview-list-heading strong {
  font-size: 13px;
}
.preview-list-heading span {
  color: var(--muted);
  font-size: 10px;
}
.preview-issue {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.preview-dot {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 750;
  font-size: 12px;
}
.preview-issue strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.preview-issue div > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.preview-priority {
  margin-left: auto;
  color: var(--danger);
  font-size: 9px;
  white-space: nowrap;
}
.preview-evidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.preview-evidence .icon {
  width: 15px;
  height: 15px;
  color: var(--success);
}
.compact-section {
  padding-top: 4px;
  padding-bottom: 36px;
}
.explain-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  padding: 27px 30px;
  border: 1px solid #2a6c55;
  border-radius: 13px;
  background: linear-gradient(110deg, #102e29, #10513d);
  align-items: center;
}
.explain-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 48px;
  border-radius: 12px;
  background: #1b624b;
  color: var(--success);
}
.explain-icon .icon {
  width: 27px;
  height: 27px;
}
.explain-panel h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.explain-panel p {
  margin: 0;
  max-width: 810px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.faq-section {
  padding-top: 30px;
  padding-bottom: 64px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
}
.faq-item:hover {
  border-color: #55756f;
}
.faq-item[open] {
  border-color: #3e8069;
  background: #18322f;
  box-shadow: var(--shadow-soft);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--brand);
  font-size: 19px;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: -3px 20px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* A diagnostic report: clear priorities, compact issue rows, readable evidence. */
.results-body {
  background: #0d1c23;
}
.results-shell {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 38px 0 68px;
}
.results-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.results-hero > div:first-child {
  flex: 1;
  min-width: 0;
}
.report-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 13px 0 10px;
}
.report-file-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 46px;
  color: var(--success);
  background: #173f35;
  border: 1px solid #2f6452;
  border-radius: 9px;
}
.report-file-icon .icon {
  width: 24px;
  height: 24px;
}
.results-hero h1 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 34px);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  min-width: 0;
}
.results-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  max-width: 680px;
}
.analyzer-version {
  white-space: nowrap;
  color: #b1c1c8;
  font-size: 11px;
}
.report-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.secondary-button {
  min-height: 39px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid #3a535c;
  color: #d7e3e6;
  font-size: 11px;
  white-space: nowrap;
}
.secondary-button .icon {
  width: 14px;
  height: 14px;
}
.secondary-button:hover {
  border-color: #67868a;
  background: #1d323b;
}
.status-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  border: 1px solid;
  border-radius: 11px;
  margin-bottom: 20px;
  font-size: 13px;
}
.status-banner strong {
  font-weight: 700;
}
.status-banner p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.status-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 750;
}
.status-attention {
  color: #ff9da6;
  border-color: #77424c;
  background: #33232c;
}
.status-review {
  color: #f4c16e;
  border-color: #6e5837;
  background: var(--warning-soft);
}
.status-clear {
  color: #79e5bd;
  border-color: #346b56;
  background: var(--success-soft);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 149px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.metric-icon {
  position: absolute;
  top: 16px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.metric-icon .icon {
  width: 19px;
  height: 19px;
}
.metric-label {
  padding-right: 30px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  color: #c2d0d7;
}
.metric-card strong {
  display: block;
  margin: 14px 0 6px;
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -0.035em;
}
.metric-card > span:last-child {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.metric-high {
  border-color: #683a45;
  background: #2e2028;
}
.metric-high .metric-label,
.metric-high .metric-icon {
  color: var(--danger);
}
.metric-high .metric-icon {
  background: var(--danger-soft);
}
.metric-warning {
  border-color: #6e5837;
  background: #2b281f;
}
.metric-warning .metric-label,
.metric-warning .metric-icon {
  color: var(--warning);
}
.metric-warning .metric-icon {
  background: var(--warning-soft);
}
.metric-info {
  border-color: #35547c;
  background: #192b3e;
}
.metric-info .metric-label,
.metric-info .metric-icon {
  color: var(--info);
}
.metric-info .metric-icon {
  background: var(--info-soft);
}
.metric-technical {
  border-color: #584875;
  background: #28243a;
}
.metric-technical .metric-label,
.metric-technical .metric-icon {
  color: #c8a6f6;
}
.metric-technical .metric-icon {
  background: #382c4c;
}
.findings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 20px;
}
.findings-header h2 {
  margin: 8px 0 6px;
  font-size: 26px;
  font-weight: 730;
  letter-spacing: -0.035em;
}
.issue-summary-copy {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 25px;
}
.filter-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #3a535c;
  border-radius: 20px;
  background: var(--surface);
  color: #c2d0d7;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.filter-button span {
  padding: 2px 4px;
  margin-left: 3px;
  border-radius: 10px;
  background: #233940;
  color: #c2d0d7;
}
.filter-button:hover {
  border-color: #66828a;
}
.filter-button.active {
  border-color: #4a9a7e;
  background: #174738;
  color: var(--ink);
}
.filter-button.active span {
  background: #225b48;
  color: #fff;
}
.finding-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 15px;
  margin-bottom: 23px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.finding-search input,
.finding-select select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #607d88;
  border-radius: 7px;
  background: #101f27;
  color: var(--ink);
  font-size: 12px;
}
.finding-search input::placeholder {
  color: #a4b9c3;
}
.finding-select {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.finding-select > span {
  font-size: 10px;
  font-weight: 600;
  color: #c2d0d7;
}
.clear-filters {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #4c6771;
  border-radius: 7px;
  background: #223740;
  color: #d0dce0;
  font-size: 12px;
  font-weight: 600;
}
.clear-filters:hover {
  background: #2d464e;
}
.issue-priority-sections {
  display: grid;
  gap: 17px;
}
.issue-priority-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: clip;
}
.issue-priority-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px;
}
.issue-priority-heading .section-kicker {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.issue-priority-heading h3 {
  margin: 6px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.issue-priority-heading h3 span {
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  border: 1px solid #3a535c;
}
.issue-priority-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.issue-priority-high > .issue-priority-heading {
  background: #33232c;
}
.issue-priority-high .section-kicker {
  color: var(--danger);
}
.issue-priority-warning > .issue-priority-heading {
  background: #322b1f;
}
.issue-priority-warning .section-kicker {
  color: var(--warning);
}
.issue-priority-info > .issue-priority-heading {
  background: #192f44;
}
.issue-priority-info .section-kicker {
  color: var(--info);
}
.issue-priority-details > summary {
  cursor: pointer;
  list-style: none;
}
.issue-priority-details > summary::-webkit-details-marker {
  display: none;
}
.issue-priority-details > summary:hover {
  filter: brightness(1.08);
}
.issue-priority-details > summary:focus-visible {
  outline-offset: -4px;
}
.priority-toggle-label {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #3a535c;
  border-radius: 7px;
  background: var(--surface);
  color: #d2e0e3;
  font-size: 11px;
  font-weight: 600;
}
.findings-list {
  display: grid;
  gap: 0;
}
.finding-card {
  min-width: 0;
  padding: 23px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.finding-card-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.finding-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.severity-pill,
.category-pill,
.confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}
.severity-high {
  color: var(--danger);
  background: var(--danger-soft);
}
.severity-warning {
  color: var(--warning);
  background: var(--warning-soft);
}
.severity-info {
  color: var(--info);
  background: var(--info-soft);
}
.category-pill {
  color: #cfdbdf;
  background: #233940;
}
.confidence-pill {
  color: #c2d0d7;
  border: 1px solid #30454d;
  font-weight: 500;
}
.cell-location {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.cell-location strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.finding-card h4 {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.issue-explanation {
  max-width: 930px;
  margin: 10px 0 0;
  color: #c2d0d7;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.issue-impact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
}
.issue-impact-row span {
  color: #adbec7;
  font-size: 11px;
  padding-right: 12px;
  border-right: 1px solid #30454d;
}
.issue-impact-row span:last-child {
  border-right: none;
}
.suggestion-row {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  padding: 12px 14px;
  background: #162e30;
  border-left: 2px solid #3b8068;
  border-radius: 8px;
  color: #c4ded6;
  font-size: 12px;
  line-height: 1.75;
}
.suggestion-row p {
  margin: 0;
  overflow-wrap: anywhere;
}
.suggestion-icon {
  color: var(--brand);
  font-weight: 700;
}
.technical-evidence {
  margin-top: 16px;
}
.technical-evidence summary {
  cursor: pointer;
  width: fit-content;
  color: #b9d3cb;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.technical-evidence-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}
.technical-evidence-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #14232b;
}
.technical-evidence-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.finding-code {
  display: block;
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #a8bfca;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.technical-evidence-meta .finding-code {
  margin: 0;
}
.technical-evidence-item p {
  margin: 10px 0 0;
  color: #c2d0d7;
  font-size: 12px;
  line-height: 1.7;
}
.technical-evidence-item code {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #deebe7;
  white-space: normal;
  overflow-wrap: anywhere;
}
.technical-evidence-note {
  padding: 10px 14px;
  margin: 0;
  color: #b6cad2;
  background: #1c303a;
  font-size: 11px;
  line-height: 1.6;
  border-radius: 7px;
}
.no-filter-results {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 25px;
}
.empty-results {
  padding: 35px;
  margin-top: 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.empty-check {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 50%;
  font-size: 21px;
}
.empty-results h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.empty-results p {
  margin: 0 auto;
  max-width: 680px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.report-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #30454d;
}
.report-section .section-heading-block h2 {
  font-size: 24px;
}
.report-section .section-heading-block p {
  max-width: 850px;
  font-size: 12px;
}
.workbook-map-section {
  padding: 26px;
  border: 1px solid #3d5962;
  border-radius: 13px;
  background: #182b32;
  box-shadow: var(--shadow-soft);
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #49636e;
  border-radius: 11px;
  background: var(--surface);
}
.sheet-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 12px;
}
.sheet-table th,
.sheet-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.sheet-table th {
  color: #ebf4f3;
  background: #2a424b;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.sheet-table tbody tr:last-child td {
  border-bottom: 0;
}
.sheet-table td:first-child {
  overflow-wrap: anywhere;
}
.state-pill {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 5px;
  background: #243943;
  color: #c2d0d7;
  font-size: 10px;
}
.count-high {
  color: var(--danger);
  font-weight: 650;
}
.count-warning {
  color: var(--warning);
  font-weight: 650;
}
.count-info {
  color: var(--info);
  font-weight: 650;
}
.dependency-block {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
  gap: 30px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid #39755e;
  border-radius: 11px;
  background: linear-gradient(120deg, #173c32, #184b3b);
}
.dependency-block h3 {
  font-size: 16px;
  margin: 9px 0 0;
  letter-spacing: -0.025em;
}
.dependency-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.dependency-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0;
  align-items: center;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.dependency-row:last-child {
  border-bottom: none;
}
.dependency-sheet {
  overflow-wrap: anywhere;
  color: #d3e0e4;
  font-weight: 550;
}
.dependency-arrow {
  color: var(--brand);
}
.dependency-count {
  font-size: 10px;
  color: var(--muted);
}
.coverage-limitations-section {
  padding: 26px;
  border: 1px solid #36536a;
  border-radius: 13px;
  background: #142431;
}
.coverage-limitations-section .section-kicker {
  color: #a5c6e6;
}
.coverage-limitations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.coverage-limit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #20333f;
  border: 1px solid #425c70;
  border-radius: 10px;
}
.coverage-limit-card > div {
  min-width: 0;
}
.coverage-limit-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #304d63;
  color: #c0d9ed;
  border-radius: 50%;
  font-weight: 650;
}
.coverage-limit-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 650;
}
.coverage-limit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category-section {
  border-top-color: #395c58;
}
.category-count {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 17px;
  background: #20383b;
  border: 1px solid #456a65;
  border-left: 3px solid #4a9a7e;
  border-radius: 9px;
}
.category-count strong {
  font-size: 27px;
  font-weight: 750;
  line-height: 1.1;
  color: var(--brand);
}
.category-count span {
  color: #d2e0e1;
  font-size: 11px;
}
.results-footer-card {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  margin-top: 40px;
  border: 1px solid #3b8a68;
  border-radius: 12px;
  background: linear-gradient(115deg, #103b2f, #145640);
  box-shadow: var(--shadow);
}
.results-footer-card h2 {
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.results-footer-card p {
  color: #d0e3da;
  font-size: 12px;
  margin: 0;
  line-height: 1.7;
}

/* Catalog and privacy share the report's quiet, readable surfaces. */
.catalog-shell {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 50px 0 65px;
}
.catalog-hero {
  max-width: 810px;
  margin-bottom: 30px;
}
.catalog-hero h1 {
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.13;
  margin: 14px 0;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.catalog-hero > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.catalog-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #162a30;
}
.catalog-summary > div {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.catalog-summary > div:last-child {
  border-right: 0;
}
.catalog-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
.catalog-summary span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.catalog-category {
  margin: 40px 0;
}
.catalog-category-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  align-items: baseline;
}
.catalog-category-heading h2 {
  font-size: 23px;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.catalog-category-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.catalog-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.catalog-check-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.catalog-check-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 650;
}
.catalog-check-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}
.catalog-limitations {
  padding: 30px;
  background: #132c2b;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.catalog-limit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.catalog-limit-grid article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.catalog-limit-grid h3 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 9px;
}
.catalog-limit-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}
.privacy-shell {
  width: min(800px, calc(100% - 64px));
  margin: 0 auto;
  padding: 50px 0 70px;
}
.privacy-shell h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 14px 0;
}
.privacy-copy {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #c2d0d7;
  font-size: 14px;
  line-height: 1.85;
}
.privacy-copy h2 {
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 27px 0 9px;
}
.privacy-copy h2:first-child {
  margin-top: 0;
}
.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #a4d6c3;
  border-top-color: #fff;
  border-radius: 50%;
  animation: button-spin 0.8s linear infinite;
}
@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Every navigation item and every report control remains available on phones. */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 30px;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr);
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .hero-heading {
    font-size: 27px;
  }
  .results-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .report-actions {
    justify-content: flex-start;
  }
  .report-preview-panel {
    gap: 25px;
    padding: 28px;
  }
  .feature-card {
    padding: 20px;
  }
  .explain-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .explain-panel .text-link {
    grid-column: 2;
  }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 7vw, 60px);
  }
  .hero-heading {
    max-width: 600px;
    font-size: 30px;
  }
  .upload-card {
    width: 100%;
    max-width: 600px;
  }
  .hero-section {
    background: radial-gradient(ellipse at 85% 65%, #0d372e, #0c181e 70%);
  }
  .feature-grid,
  .metric-grid,
  .category-grid,
  .catalog-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-preview-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .report-preview-copy > p {
    max-width: 600px;
  }
  .report-preview-copy h2 br {
    display: none;
  }
  .nav-wrap {
    gap: 15px;
  }
  .nav-links {
    gap: 15px;
  }
  .nav-links .nav-action {
    padding: 11px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .findings-header {
    flex-direction: column;
    gap: 12px;
  }
  .filter-group {
    margin: 0;
    justify-content: flex-start;
  }
  .finding-tools {
    grid-template-columns: 1fr 1fr auto;
  }
  .finding-search {
    grid-column: 1 / -1;
  }
  .dependency-block {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .catalog-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-summary > div:nth-child(2) {
    border-right: 0;
  }
  .catalog-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .nav-wrap,
  .footer-wrap,
  .hero-grid,
  .section,
  .results-shell,
  .catalog-shell,
  .privacy-shell {
    width: calc(100% - 36px);
  }
  .nav-wrap {
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 17px;
  }
  .brand {
    font-size: 20px;
  }
  .nav-links {
    width: 100%;
    gap: 18px;
    justify-content: flex-start;
  }
  .nav-links a {
    font-size: 11px;
  }
  .nav-links .nav-action {
    margin-left: auto;
    padding: 10px 11px;
    gap: 7px;
  }
  .nav-action .icon {
    width: 14px;
    height: 14px;
  }
  .hero-copy h1 {
    font-size: clamp(33px, 8.3vw, 49px);
    letter-spacing: -0.055em;
  }
  .hero-heading {
    font-size: 25px;
  }
  .hero-lede {
    font-size: 14px;
  }
  .product-kicker {
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 0.13em;
  }
  .trust-row {
    font-size: 11px;
    gap: 12px 15px;
  }
  .trust-icon {
    width: 25px;
    height: 25px;
  }
  .upload-card {
    padding: 20px;
    border-radius: 13px;
  }
  .upload-card-header {
    gap: 12px;
  }
  .upload-card h2 {
    font-size: 18px;
  }
  .upload-header-icon {
    width: 40px;
    height: 43px;
  }
  .drop-zone {
    min-height: 207px;
    padding: 23px 10px;
  }
  .drop-title {
    font-size: 13px;
  }
  .demo-cta {
    font-size: 10px;
  }
  .section {
    padding: 36px 0;
  }
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    display: block;
    position: relative;
    padding: 21px 20px 21px 82px;
  }
  .feature-icon {
    position: absolute;
    top: 21px;
    left: 20px;
    width: 43px;
    height: 43px;
    margin: 0;
  }
  .feature-card p {
    font-size: 12px;
  }
  .report-preview-panel {
    padding: 23px 18px;
    border-radius: 13px;
  }
  .report-preview-copy h2 {
    font-size: 27px;
  }
  .report-preview {
    padding: 17px;
  }
  .preview-label {
    display: none;
  }
  .preview-metrics {
    gap: 7px;
  }
  .preview-metrics > div {
    padding: 11px 8px;
  }
  .preview-metrics span {
    font-size: 8px;
  }
  .preview-list-heading span {
    display: none;
  }
  .preview-priority {
    display: none;
  }
  .preview-issue strong {
    line-height: 1.6;
  }
  .preview-evidence {
    line-height: 1.7;
  }
  .compact-section {
    padding-top: 0;
    padding-bottom: 20px;
  }
  .explain-panel {
    display: block;
    padding: 23px;
  }
  .explain-icon {
    margin-bottom: 17px;
  }
  .explain-panel .text-link {
    margin-top: 18px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-item summary {
    padding: 18px;
  }
  .footer-wrap {
    flex-wrap: wrap;
    padding: 25px 0;
    gap: 12px;
  }
  .footer-wrap > span:first-child {
    width: 100%;
  }
  .footer-wrap a {
    margin-left: auto;
  }
  .results-shell {
    padding-top: 28px;
  }
  .report-title-row {
    align-items: flex-start;
    gap: 11px;
  }
  .report-file-icon {
    width: 33px;
    height: 37px;
  }
  .results-hero h1 {
    font-size: 25px;
  }
  .report-actions {
    width: 100%;
    gap: 7px;
  }
  .secondary-button {
    padding: 10px;
    font-size: 10px;
    flex: 1;
    gap: 6px;
  }
  .secondary-button .icon {
    width: 13px;
    height: 13px;
  }
  .status-banner {
    padding: 15px;
    align-items: flex-start;
  }
  .status-banner p {
    font-size: 11px;
  }
  .metric-grid {
    gap: 9px;
  }
  .metric-card {
    padding: 16px;
    min-height: 153px;
  }
  .metric-label {
    font-size: 8px;
    padding-right: 22px;
  }
  .metric-icon {
    width: 24px;
    height: 24px;
    right: 10px;
    top: 13px;
  }
  .metric-icon .icon {
    width: 15px;
    height: 15px;
  }
  .metric-card > span:last-child {
    font-size: 10px;
  }
  .finding-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 13px;
  }
  .finding-search {
    grid-column: 1 / -1;
  }
  .clear-filters {
    grid-column: 1 / -1;
  }
  .filter-button {
    min-height: 37px;
  }
  .issue-priority-heading {
    padding: 18px;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .issue-priority-heading p {
    font-size: 11px;
  }
  .priority-toggle-label {
    font-size: 10px;
  }
  .finding-card {
    padding: 19px 17px;
  }
  .finding-card-top {
    flex-direction: column;
    gap: 9px;
  }
  .finding-card h4 {
    font-size: 16px;
  }
  .issue-explanation {
    font-size: 12px;
  }
  .suggestion-row {
    padding: 12px;
    font-size: 11px;
  }
  .technical-evidence-item code {
    font-size: 11px;
  }
  .coverage-limitations-grid,
  .catalog-check-grid,
  .catalog-limit-grid {
    grid-template-columns: 1fr;
  }
  .report-section .section-heading-block h2 {
    font-size: 22px;
  }
  .workbook-map-section,
  .coverage-limitations-section {
    padding: 20px 17px;
  }
  .dependency-block {
    padding: 19px;
  }
  .dependency-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .dependency-count {
    grid-column: 1 / -1;
  }
  .category-count {
    padding: 14px;
    gap: 9px;
  }
  .results-footer-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
  }
  .catalog-shell {
    padding-top: 35px;
  }
  .catalog-summary > div {
    padding: 18px;
  }
  .catalog-category-heading {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
  }
  .catalog-category-heading h2 {
    font-size: 20px;
  }
  .catalog-limitations {
    padding: 22px 18px;
  }
  .privacy-shell {
    padding-top: 35px;
  }
  .privacy-copy {
    padding: 22px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .nav-links {
    gap: 12px;
  }
  .nav-links .nav-action {
    padding: 10px 8px;
  }
  .nav-action .icon {
    display: none;
  }
  .upload-card {
    padding: 16px;
  }
  .metric-label {
    padding-right: 0;
    max-width: 85px;
  }
  .metric-icon {
    display: none;
  }
  .secondary-button .icon {
    display: none;
  }
  .preview-metrics span {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .nav-action,
  .primary-button,
  .primary-link-button,
  .secondary-link-button,
  a .icon,
  button .icon {
    transform: none !important;
  }
}
@media print {
  @page {
    margin: 14mm;
  }
  :root {
    color-scheme: light;
    --ink: #182b35;
    --muted: #455865;
    --line: #d5dee3;
    --surface: #fff;
    --surface-soft: #f5f7f8;
  }
  body,
  .results-body {
    color: var(--ink);
    background: #fff;
  }
  .results-shell * {
    color: var(--ink) !important;
    background: transparent !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .count-high,
  .severity-high,
  .metric-high .metric-label,
  .issue-priority-high .section-kicker {
    color: #a42d3d !important;
  }
  .count-warning,
  .severity-warning,
  .metric-warning .metric-label,
  .issue-priority-warning .section-kicker {
    color: #805005 !important;
  }
  .count-info,
  .severity-info,
  .metric-info .metric-label,
  .issue-priority-info .section-kicker {
    color: #3158ab !important;
  }
  .metric-technical .metric-label {
    color: #6943a4 !important;
  }
  .skip-link,
  .site-header,
  .site-footer,
  .report-actions,
  .finding-tools,
  .filter-group,
  .results-footer-card,
  .no-filter-results,
  .priority-toggle-label {
    display: none !important;
  }
  .results-shell {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .results-hero h1 {
    font-size: 24pt;
  }
  .results-hero {
    margin-bottom: 18px;
  }
  .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .metric-card {
    padding: 12px;
    min-height: 120px;
  }
  .metric-label {
    padding-right: 0;
  }
  .metric-icon {
    display: none;
  }
  .metric-card,
  .finding-card,
  .category-count,
  .coverage-limit-card,
  .dependency-block {
    break-inside: avoid;
    box-shadow: none;
  }
  .issue-priority-group {
    overflow: visible;
    border-color: var(--line);
  }
  .issue-priority-details > .issue-priority-content {
    display: grid !important;
  }
  .sheet-table {
    min-width: 0;
  }
  .sheet-table th,
  .sheet-table td {
    padding: 8px;
    font-size: 8pt;
  }
  .table-wrap {
    overflow: visible;
  }
  .workbook-map-section,
  .coverage-limitations-section {
    padding: 32px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
