@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/inter-800.ttf") format("truetype");
}

.scrc {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-light: #eaf1ff;
  --accent: #0f766e;
  --accent-light: #dff8f4;
  --dark: #0f172a;
  --body: #334155;
  --muted: #5a6a80;
  --bg: #f5f7fb;
  --card: #ffffff;
  --border: #d8e0ee;
  --border-light: #edf1f7;
  --success: #15803d;
  --success-light: #dcfce7;
  --warning: #a16207;
  --warning-light: #fef3c7;
  --error: #b91c1c;
  --error-light: #fee2e2;
  --info: #0e7490;
  --info-light: #cffafe;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 7%);
  --shadow: 0 12px 32px rgb(15 23 42 / 7%), 0 1px 3px rgb(15 23 42 / 6%);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --content-width: 920px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.scrc *,
.scrc *::before,
.scrc *::after {
  box-sizing: border-box;
}

.scrc {
  scroll-behavior: smooth;
}

.scrc {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.scrc [hidden] {
  display: none !important;
}

.scrc a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.scrc a:hover {
  color: var(--primary-hover);
}

.scrc button,
.scrc input,
.scrc select {
  font: inherit;
}

.scrc button,
.scrc summary,
.scrc select,
.scrc input[type="file"],
.scrc input[type="checkbox"] {
  cursor: pointer;
}

.scrc button:focus-visible,
.scrc a:focus-visible,
.scrc input:focus-visible,
.scrc select:focus-visible,
.scrc summary:focus-visible,
.scrc [tabindex="0"]:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.scrc code {
  padding: 0.12em 0.34em;
  border-radius: 5px;
  background: #eef2f7;
  color: #172554;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.scrc .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  transform: translateY(-150%);
}

.scrc .skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.scrc .visually-hidden {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.scrc .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
}

.scrc .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--max-width));
  height: 100%;
  margin-inline: auto;
}

.scrc .site-logo {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.scrc .site-logo span {
  color: var(--dark);
}

.scrc .site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scrc .site-nav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.scrc .site-nav a:hover,
.scrc .site-nav a[aria-current="page"] {
  background: var(--primary-light);
  color: var(--primary);
}

.scrc .site-nav .nav-cta {
  margin-left: 6px;
  background: var(--primary);
  color: #fff;
}

.scrc .site-nav .nav-cta:hover {
  background: var(--primary-hover);
  color: #fff;
}

.scrc .mobile-menu {
  display: none;
  position: relative;
}

.scrc .mobile-menu summary {
  min-width: 48px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  list-style: none;
}

.scrc .mobile-menu summary::-webkit-details-marker {
  display: none;
}

.scrc .mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(260px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.scrc .mobile-menu nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--body);
  font-weight: 600;
  text-decoration: none;
}

.scrc .mobile-menu nav a:hover,
.scrc .mobile-menu nav a[aria-current="page"] {
  background: var(--primary-light);
  color: var(--primary);
}

.scrc .site-main {
  padding-bottom: 72px;
}

.scrc .container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.scrc .breadcrumb-nav {
  padding: 13px 0 5px;
}

.scrc .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  list-style: none;
}

.scrc .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.scrc .breadcrumb-item:not(:last-child)::after {
  margin: 0 8px;
  color: #a8b3c3;
  content: "/";
}

.scrc .breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
}

.scrc .breadcrumb-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.scrc .breadcrumb-current span {
  color: var(--body);
  font-weight: 600;
}

.scrc .tool-hero {
  max-width: 900px;
  padding: 34px 0 30px;
}

.scrc .eyebrow,
.scrc .step-label,
.scrc .section-kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scrc .tool-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--dark);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.scrc .hero-description {
  max-width: 850px;
  margin: 17px 0 18px;
  color: var(--body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.scrc .trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
}

.scrc .trust-list li::before {
  margin-right: 7px;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.scrc .tool-card,
.scrc .results-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.scrc .tool-card {
  padding: clamp(22px, 4vw, 38px);
}

.scrc .section-heading,
.scrc .results-header,
.scrc .mapping-header,
.scrc .finding-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.scrc .section-heading h2,
.scrc .results-header h2,
.scrc .mapping-header h3,
.scrc .finding-details h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.scrc .section-heading h2,
.scrc .results-header h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.scrc .section-intro {
  max-width: 880px;
  margin: 12px 0 24px;
  color: var(--body);
}

.scrc .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.scrc .btn:not(:disabled):active {
  transform: translateY(1px);
}

.scrc .btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.scrc .btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.scrc .btn-primary:hover:not(:disabled) {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.scrc .btn-secondary {
  border-color: #bdc9db;
  background: #fff;
  color: var(--dark);
}

.scrc .btn-secondary:hover:not(:disabled) {
  border-color: #8da1be;
  background: #f7f9fc;
}

.scrc .btn-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--primary);
}

.scrc .btn-quiet:hover:not(:disabled) {
  background: var(--primary-light);
}

.scrc .btn-small {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.8125rem;
}

.scrc .file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scrc .file-field {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 12px;
  align-items: start;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.scrc .file-field:focus-within {
  border-color: #7da5eb;
  box-shadow: 0 0 0 3px rgb(147 197 253 / 28%);
}

.scrc .file-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 800;
}

.scrc .file-field-copy label {
  display: block;
  color: var(--dark);
  font-weight: 750;
}

.scrc .required-text {
  color: var(--error);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scrc .optional-text {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.scrc .file-field-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.scrc .file-field input[type="file"] {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  padding: 6px;
  border: 1px dashed #aab8cc;
  border-radius: 9px;
  background: #fff;
  color: var(--body);
  font-size: 0.875rem;
}

.scrc .file-field input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 10px;
  padding: 6px 11px;
  border: 1px solid #bdc9db;
  border-radius: 7px;
  background: #f8fafc;
  color: var(--dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.scrc .file-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.scrc .input-note,
.scrc .action-note {
  color: var(--muted);
  font-size: 0.8125rem;
}

.scrc .input-note {
  margin: 11px 0 0;
}

.scrc .message {
  padding: 14px 16px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.scrc .message p:last-child,
.scrc .message > :last-child {
  margin-bottom: 0;
}

.scrc .message-error {
  margin-top: 16px;
  border-color: #f1a8a8;
  background: var(--error-light);
  color: #7f1d1d;
}

.scrc .message-warning {
  border-color: #e4c467;
  background: #fffbeb;
  color: #713f12;
}

.scrc .mapping-panel {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.scrc .mapping-header h3 {
  font-size: 1.25rem;
}

.scrc .mapping-status {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: right;
}

.scrc .mapping-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.scrc .mapping-group,
.scrc .settings-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.scrc .mapping-group legend,
.scrc .settings-group legend {
  padding: 0 6px;
  color: var(--dark);
  font-weight: 800;
}

.scrc .field-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.scrc .form-group {
  min-width: 0;
}

.scrc .form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--body);
  font-size: 0.8125rem;
  font-weight: 750;
}

.scrc .form-group input,
.scrc .form-group select,
.scrc .results-controls select,
.scrc .results-controls input {
  width: 100%;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid #b7c3d5;
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
}

.scrc .form-group input:hover,
.scrc .form-group select:hover,
.scrc .results-controls select:hover,
.scrc .results-controls input:hover {
  border-color: #8296b3;
}

.scrc .form-group small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.scrc .mapping-required select {
  border-color: #7999cb;
  background: #fafdff;
}

.scrc .settings-panel {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.scrc .settings-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: inherit;
  font-weight: 800;
  list-style: none;
}

.scrc .settings-panel > summary::-webkit-details-marker {
  display: none;
}

.scrc .settings-panel > summary::after {
  margin-left: 14px;
  color: var(--primary);
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.scrc .settings-panel[open] > summary::after {
  content: "−";
}

.scrc .summary-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.scrc .settings-content {
  display: grid;
  gap: 16px;
  padding: 0 16px 16px;
}

.scrc .settings-group {
  background: #fff;
}

.scrc .settings-group > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.scrc .migration-host-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 6px;
}

.scrc .settings-group > .host-help {
  margin-bottom: 14px;
  font-size: 0.75rem;
}

.scrc .check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scrc .check-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 9px;
  background: #fbfcfe;
}

.scrc .check-control:hover {
  border-color: #c0cbdb;
}

.scrc .check-control input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.scrc .check-control strong,
.scrc .check-control small {
  display: block;
}

.scrc .check-control strong {
  color: var(--body);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.scrc .check-control small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.scrc .threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scrc .input-suffix {
  position: relative;
}

.scrc .input-suffix input {
  padding-right: 54px;
}

.scrc .input-suffix span {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.scrc .tool-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.scrc .progress-panel {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #a8c7f6;
  border-radius: var(--radius-sm);
  background: #f0f6ff;
}

.scrc .progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 0.875rem;
}

.scrc .progress-panel progress {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #d9e6f8;
  accent-color: var(--primary);
}

.scrc .progress-panel progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #d9e6f8;
}

.scrc .progress-panel progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--primary);
}

.scrc .progress-panel progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--primary);
}

.scrc .progress-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.scrc .privacy-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.scrc .privacy-method-grid > div {
  padding-left: 13px;
  border-left: 3px solid #bdd2f3;
}

.scrc .privacy-method-grid h3 {
  margin: 0 0 3px;
  font-size: 0.875rem;
}

.scrc .privacy-method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.scrc .results-panel {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 38px);
  scroll-margin-top: 84px;
}

.scrc .results-status {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.scrc .export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.scrc .summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin-top: 24px;
  list-style: none;
}

.scrc .summary-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-top: 4px solid #94a3b8;
  border-radius: 10px;
  background: #fff;
}

.scrc .summary-card-new {
  border-top-color: var(--info);
}

.scrc .summary-card-removed,
.scrc .summary-card-risk {
  border-top-color: var(--error);
}

.scrc .summary-card-good {
  border-top-color: var(--success);
}

.scrc .summary-card-uncertain {
  border-top-color: var(--warning);
}

.scrc .summary-label,
.scrc .summary-card small {
  display: block;
  color: var(--muted);
}

.scrc .summary-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scrc .summary-card strong {
  display: block;
  margin: 3px 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.scrc .summary-card small {
  font-size: 0.7rem;
  line-height: 1.35;
}

.scrc .coverage-warning {
  margin-top: 18px;
}

.scrc .coverage-warning h3 {
  margin: 0 0 3px;
  font-size: 0.95rem;
}

.scrc .results-controls {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(260px, 0.65fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.scrc .table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  contain: inline-size;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.scrc table {
  width: 100%;
  border-collapse: collapse;
}

.scrc caption {
  padding: 12px 14px;
  color: var(--body);
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: left;
}

.scrc th,
.scrc td {
  padding: 10px 12px;
  border-top: 1px solid var(--border-light);
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.scrc thead th {
  border-top: 1px solid var(--border);
  background: #f7f9fc;
  color: #263750;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scrc tbody tr:hover {
  background: #fafcff;
}

.scrc .findings-table {
  min-width: 980px;
}

.scrc .findings-table tbody tr[data-severity="critical"],
.scrc .findings-table tbody tr[data-severity="high"] {
  box-shadow: inset 4px 0 0 var(--error);
}

.scrc .findings-table tbody tr[data-outcome="improvement"] {
  box-shadow: inset 4px 0 0 var(--success);
}

.scrc .priority-cell {
  font-weight: 800;
}

.scrc .priority-cell[data-priority="critical"],
.scrc .priority-cell[data-priority="high"] {
  color: #991b1b;
}

.scrc .priority-cell[data-priority="medium"] {
  color: #854d0e;
}

.scrc .priority-cell[data-priority="info"] {
  color: #155e75;
}

.scrc .url-cell,
.scrc .value-cell,
.scrc .action-cell,
.scrc .change-cell {
  max-width: 260px;
  overflow-wrap: anywhere;
}

.scrc .empty-table {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.scrc .finding-details {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #b8cff1;
  border-radius: var(--radius);
  background: #f8fbff;
}

.scrc .finding-details h3 {
  font-size: 1.05rem;
}

.scrc #finding-details-content {
  margin-top: 14px;
  color: var(--body);
  font-size: 0.875rem;
}

.scrc #finding-details-content dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.scrc #finding-details-content dt,
.scrc #finding-details-content dd {
  padding: 9px 0;
  border-top: 1px solid #dbe6f5;
  overflow-wrap: anywhere;
}

.scrc #finding-details-content dt {
  padding-right: 14px;
  color: var(--muted);
  font-weight: 750;
}

.scrc #finding-details-content dd {
  margin: 0;
  color: var(--dark);
}

.scrc #finding-details-content h4 {
  margin: 18px 0 6px;
}

.scrc #finding-details-content ul {
  margin: 0;
}

.scrc .monetization-slot {
  margin-top: 22px;
  padding: 16px;
  border: 1px dashed #aab8cc;
  border-radius: var(--radius-sm);
  background: #fafbfc;
}

.scrc .monetization-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scrc .supporting-content {
  width: min(100%, var(--content-width));
  margin: 62px auto 0;
}

.scrc .content-section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.scrc .content-section:first-child {
  border-top: 0;
}

.scrc .content-section h2 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.scrc .content-section h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.scrc .content-section p {
  margin: 0 0 16px;
  color: var(--body);
}

.scrc .content-section ul {
  padding-left: 1.25rem;
  margin: 0;
  color: var(--body);
}

.scrc .content-section li + li {
  margin-top: 9px;
}

.scrc .numbered-steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  counter-reset: steps;
}

.scrc .numbered-steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0 17px 48px;
  border-top: 1px solid var(--border-light);
  counter-increment: steps;
}

.scrc .numbered-steps li:first-child {
  border-top: 0;
}

.scrc .numbered-steps li::before {
  position: absolute;
  top: 15px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  content: counter(steps);
  font-size: 0.8rem;
  font-weight: 800;
}

.scrc .numbered-steps strong {
  color: var(--dark);
}

.scrc .numbered-steps span {
  color: var(--body);
}

.scrc .content-table-wrap {
  margin: 22px 0 0;
}

.scrc .example-table {
  min-width: 720px;
}

.scrc .example-table tbody th {
  width: 24%;
  font-weight: 700;
}

.scrc .status-label {
  display: inline-block;
  margin-bottom: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.scrc .status-high {
  background: var(--error-light);
  color: #991b1b;
}

.scrc .status-medium,
.scrc .status-review {
  background: var(--warning-light);
  color: #854d0e;
}

.scrc .status-info {
  background: var(--info-light);
  color: #155e75;
}

.scrc .content-note {
  margin-top: 16px !important;
  padding: 13px 15px;
  border-left: 4px solid var(--primary);
  background: #f6f9ff;
  font-size: 0.9rem;
}

.scrc .result-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 22px 0 0;
}

.scrc .result-definitions > div {
  padding: 17px 0;
  border-top: 1px solid var(--border-light);
}

.scrc .result-definitions dt {
  margin-bottom: 4px;
  color: var(--dark);
  font-weight: 800;
}

.scrc .result-definitions dd {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
}

.scrc .rules-grid,
.scrc .mistake-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.scrc .rules-grid > div,
.scrc .mistake-list article {
  padding-top: 14px;
  border-top: 3px solid #c7d8f1;
}

.scrc .rules-grid p,
.scrc .mistake-list p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.scrc .split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.scrc .check-list {
  padding: 0 !important;
  list-style: none;
}

.scrc .check-list li {
  position: relative;
  padding-left: 27px;
}

.scrc .check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.scrc .callout {
  padding: 20px;
  border: 1px solid #b8cff1;
  border-radius: var(--radius);
  background: #f5f9ff;
}

.scrc .callout p {
  margin: 0;
  font-size: 0.875rem;
}

.scrc .faq-section details {
  border-top: 1px solid var(--border);
}

.scrc .faq-section details:last-child {
  border-bottom: 1px solid var(--border);
}

.scrc .faq-section summary {
  position: relative;
  padding: 17px 38px 17px 0;
  color: var(--dark);
  font-weight: 750;
  list-style: none;
}

.scrc .faq-section summary::-webkit-details-marker {
  display: none;
}

.scrc .faq-section summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--primary);
  content: "+";
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.scrc .faq-section details[open] summary::after {
  content: "−";
}

.scrc .faq-section details p {
  max-width: 800px;
  padding: 0 38px 17px 0;
  margin: 0;
  color: var(--body);
}

.scrc .related-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.scrc .related-tools a {
  display: block;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
  text-decoration: none;
}

.scrc .related-tools a:hover {
  border-color: #8fb0e4;
  box-shadow: var(--shadow-sm);
}

.scrc .related-tools strong,
.scrc .related-tools span {
  display: block;
}

.scrc .related-tools strong {
  color: var(--primary-dark);
}

.scrc .related-tools span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.scrc .review-section {
  color: var(--muted);
  font-size: 0.875rem;
}

.scrc .tool-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--border);
}

.scrc .tool-facts div {
  padding: 12px;
  background: #fff;
}

.scrc .tool-facts dt {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scrc .tool-facts dd {
  margin: 3px 0 0;
  color: var(--body);
  font-weight: 650;
}

.scrc .source-links {
  margin-bottom: 0 !important;
  font-size: 0.8rem;
}

.scrc .site-footer {
  padding: 44px 0 24px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.scrc .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.scrc .footer-logo {
  display: inline-block;
  margin-bottom: 8px;
}

.scrc .footer-inner > div > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.scrc .footer-inner nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 30px;
}

.scrc .footer-inner nav div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.scrc .footer-inner nav strong {
  margin-bottom: 3px;
  color: var(--dark);
  font-size: 0.8rem;
}

.scrc .footer-inner nav a {
  color: var(--muted);
  font-size: 0.8125rem;
  text-decoration: none;
}

.scrc .footer-inner nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.scrc .copyright {
  width: min(100% - 48px, var(--max-width));
  padding-top: 22px;
  margin: 28px auto 0;
  border-top: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 1000px) {
  .scrc .field-map-grid {
    grid-template-columns: 1fr;
  }

  .scrc .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scrc .rules-grid,
.scrc .mistake-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .scrc .site-header {
    height: 60px;
  }

  .scrc .header-inner,
.scrc .container,
.scrc .footer-inner,
.scrc .copyright {
    width: min(100% - 32px, var(--max-width));
  }

  .scrc .site-nav {
    display: none;
  }

  .scrc .mobile-menu {
    display: block;
  }

  .scrc .breadcrumb-nav {
    max-width: 100%;
  }

  .scrc .breadcrumb-list {
    flex-wrap: wrap;
    row-gap: 4px;
    width: auto;
  }

  .scrc .tool-hero {
    padding: 26px 0 24px;
  }

  .scrc .tool-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .scrc .section-heading,
.scrc .results-header,
.scrc .mapping-header,
.scrc .finding-details-header {
    display: grid;
  }

  .scrc .section-heading .btn {
    justify-self: start;
  }

  .scrc .file-grid,
.scrc .mapping-columns,
.scrc .privacy-method-grid,
.scrc .result-definitions,
.scrc .split-content,
.scrc .footer-inner {
    grid-template-columns: 1fr;
  }

  .scrc .mapping-status {
    max-width: none;
    text-align: left;
  }

  .scrc .check-grid,
.scrc .threshold-grid,
.scrc .migration-host-grid {
    grid-template-columns: 1fr;
  }

  .scrc .summary-hint {
    display: none;
  }

  .scrc .tool-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scrc .tool-actions .btn {
    width: 100%;
  }

  .scrc .export-actions {
    justify-content: flex-start;
  }

  .scrc .export-actions .btn {
    min-height: 44px;
  }

  .scrc .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scrc .results-controls,
.scrc .numbered-steps li,
.scrc .related-tools,
.scrc .tool-facts {
    grid-template-columns: 1fr;
  }

  .scrc #finding-details-content dl {
    grid-template-columns: 1fr;
  }

  .scrc #finding-details-content dt {
    padding-bottom: 0;
  }

  .scrc #finding-details-content dd {
    padding-top: 2px;
    border-top: 0;
  }

  .scrc .numbered-steps li {
    gap: 4px;
  }

  .scrc .rules-grid,
.scrc .mistake-list {
    grid-template-columns: 1fr;
  }

  .scrc .callout {
    max-width: 420px;
  }

  .scrc .footer-inner {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .scrc .site-logo {
    font-size: 1.12rem;
  }

  .scrc .tool-card,
.scrc .results-panel {
    margin-inline: -7px;
    border-radius: 14px;
  }

  .scrc .file-field,
.scrc .mapping-group,
.scrc .settings-group {
    padding: 14px;
  }

  .scrc .file-field input[type="file"]::file-selector-button {
    display: block;
    margin-bottom: 6px;
  }

  .scrc .summary-grid {
    grid-template-columns: 1fr;
  }

  .scrc .summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    align-items: center;
  }

  .scrc .summary-card strong {
    grid-row: 1 / 3;
    grid-column: 2;
  }

  .scrc .export-actions .btn {
    flex: 1 1 calc(50% - 8px);
  }

  .scrc .footer-inner nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scrc {
    scroll-behavior: auto;
  }

  .scrc *,
.scrc *::before,
.scrc *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .scrc .btn,
.scrc .file-field,
.scrc .tool-card,
.scrc .results-panel,
.scrc .summary-card,
.scrc .check-control,
.scrc .related-tools a {
    border: 1px solid CanvasText;
  }

  .scrc .status-label,
.scrc .file-step {
    border: 1px solid CanvasText;
  }
}


/* Shared-shell integration */
.scrc { min-width: 0; padding-bottom: 72px; }
.scrc .scrc-container { max-width: var(--max-width); }
