/* TGWise full-site design repair v4, 2026-07-09.
   Intent: inspection-bay editorial system with clearer hierarchy and less template-card feel. */
:root {
  --bg: #f2f4ef;
  --text: #1e2b30;
  --muted: #516167;
  --soft: #e8eee9;
  --line: #b8c5c1;
  --accent: #c23818;
  --accent-dark: #84220d;
  --ink: #101416;
  --signal: #f5c542;
  --ok: #087264;
  --surface: #fffefa;
  --surface-2: #f7f8f3;
  --surface-3: #e0e9e5;
  --radius: 6px;
  --max: 1240px;
  --measure: 68ch;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(16, 20, 22, 0.045), transparent 320px),
    linear-gradient(90deg, rgba(16, 20, 22, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 20, 22, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 76px 76px, 76px 76px, auto;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  z-index: -1;
  height: 10px;
  background: linear-gradient(90deg, var(--signal), var(--accent), var(--ok));
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
.button:focus-visible,
.affiliate-cta-button:focus-visible,
.home-scanner-path-card:focus-visible,
.scanner-path-card:focus-visible,
.port-next-path-card:focus-visible,
.related-guide:focus-visible {
  outline: 3px solid rgba(245, 197, 66, 0.72);
  outline-offset: 4px;
}

.skip-link {
  background: var(--signal);
  color: var(--ink);
  font-weight: 850;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(245, 197, 66, 0.72);
  background: rgba(16, 20, 22, 0.97);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 20, 22, 0.14);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.nav {
  min-height: 74px;
  max-width: var(--max);
  padding: 14px 24px;
}

.brand {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.brand:hover {
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 197, 66, 0.88);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.24), transparent 48%),
    #141a1d;
  color: var(--signal);
  font-size: 15px;
  font-weight: 940;
  box-shadow: inset 0 -5px 0 rgba(245, 197, 66, 0.16);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #e6efec;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 780;
}

.nav-links a:hover {
  border-color: rgba(245, 197, 66, 0.86);
  background: rgba(245, 197, 66, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.page,
.content,
.content-polished {
  width: min(var(--max), calc(100vw - 48px));
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  padding: clamp(58px, 7vw, 92px) 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 36px 0 26px auto;
  width: min(43vw, 540px);
  border: 1px solid rgba(16, 20, 22, 0.9);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.14), transparent 28%),
    #101416;
}

.hero h1 {
  position: relative;
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 5.5vw, 5.1rem);
  font-weight: 940;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(260px, 42vw);
  height: 8px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal) 0 62%, var(--accent) 62% 100%);
}

.hero p {
  max-width: 620px;
  color: #314248;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.58;
}

.actions {
  gap: 12px;
}

.button {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 840;
  touch-action: manipulation;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(16, 20, 22, 0.3);
  background: rgba(255, 254, 250, 0.92);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: #ffffff;
  color: var(--ink);
}

.visual-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.14), transparent 20%),
    #141a1d;
  padding: 16px;
  box-shadow: 16px 16px 0 rgba(16, 20, 22, 0.16);
}

.visual-panel::before {
  opacity: 0.17;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

.tools-image {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: var(--surface);
}

.decision-table {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.decision-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #bfd0cc;
}

.decision-row strong {
  color: #ffffff;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #101416;
  border-radius: 10px;
  background: #101416;
  color: #c8d6d2;
  box-shadow: 0 18px 38px rgba(16, 20, 22, 0.1);
}

.trust-strip div {
  padding: 22px 24px;
}

.trust-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip strong {
  color: var(--signal);
  font-size: 15px;
}

.section {
  padding: clamp(52px, 6vw, 80px) 0;
}

.section h2,
.content h2,
.related-guides h2 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.home-scanner-path,
.scanner-next-path,
.port-next-scanner-path,
.scanner-fit-decision,
.before-buying-gate {
  border: 1px solid #111719;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(247, 248, 243, 0.96)),
    var(--surface);
  box-shadow: 12px 12px 0 rgba(16, 20, 22, 0.11);
}

.home-scanner-path {
  grid-template-columns: minmax(360px, 0.76fr) minmax(0, 1.24fr);
  gap: 30px;
  padding: clamp(22px, 3.6vw, 38px);
}

.home-scanner-path h2,
.scanner-next-path h2,
.scanner-fit-decision h2,
.before-buying-gate h2,
.port-next-scanner-path h2 {
  font-size: clamp(1.62rem, 2.45vw, 2.28rem);
  line-height: 1.08;
}

.home-scanner-path-copy,
.scanner-next-path-copy,
.port-next-path-copy,
.scanner-fit-decision-copy,
.before-buying-gate-copy {
  align-content: start;
}

.home-section-label,
.scanner-next-path-label,
.scanner-fit-decision-label,
.before-buying-gate-label,
.port-next-path-label,
.affiliate-cta-label,
.clear-code-track-label,
.article-kicker {
  min-height: 30px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 20, 22, 0.2);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.home-scanner-path-grid,
.scanner-path-grid,
.port-next-path-grid {
  counter-reset: path-card;
  gap: 10px;
}

.home-scanner-path-grid {
  overflow: hidden;
  border: 1px solid rgba(16, 20, 22, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.home-scanner-path-card,
.scanner-path-card,
.port-next-path-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 20, 22, 0.12);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  padding: 15px 16px;
  text-decoration: none;
  counter-increment: path-card;
}

.home-scanner-path-card:last-child {
  border-bottom: 0;
}

.home-scanner-path-card::before,
.scanner-path-card::before,
.port-next-path-card::before {
  content: counter(path-card, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--signal);
  font-size: 12px;
  font-weight: 940;
  font-variant-numeric: tabular-nums;
}

.home-scanner-path-card > *,
.scanner-path-card > *,
.port-next-path-card > * {
  grid-column: 2;
}

.home-scanner-path-card-primary,
.scanner-path-card-primary,
.port-next-path-card-primary,
.scanner-fit-decision-card-primary,
.before-buying-gate-card-primary {
  border-color: rgba(194, 56, 24, 0.32);
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.18), rgba(255, 254, 250, 0.96)),
    var(--surface);
}

.home-scanner-path-card span,
.scanner-path-card span,
.port-next-path-card span,
.scanner-fit-decision-card span,
.before-buying-gate-card span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 880;
}

.home-scanner-path-card strong,
.scanner-path-card strong,
.port-next-path-card strong,
.scanner-fit-decision-card strong,
.before-buying-gate-card strong,
.article-card h3,
.related-guide span {
  color: var(--ink);
}

.home-scanner-path-card small,
.scanner-path-card small,
.port-next-path-card small,
.scanner-fit-decision-card small,
.before-buying-gate-card small,
.related-guide small,
.article-card p {
  color: var(--muted);
}

.home-scanner-path-card:hover,
.scanner-path-card:hover,
.port-next-path-card:hover,
.related-guide:hover,
.article-card:hover {
  background: #fff8df;
  color: var(--text);
  transform: translateY(-1px);
}

.home-scanner-path-note,
.scanner-next-path-note,
.port-next-path-note,
.before-buying-gate-note {
  border-top-color: rgba(16, 20, 22, 0.16);
  color: #36484e;
}

.article-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.article-card,
.related-guide,
.scanner-fit-decision-card,
.before-buying-gate-card,
.code-family-key,
.code-lookup-card,
.clear-code-track,
.clear-code-return-map div,
.clear-code-decision-item,
.code-risk-level,
.port-safety-check div,
.diagnostic-flow li,
.beginner-workflow li,
.meaning-ladder div {
  border: 1px solid rgba(16, 20, 22, 0.16);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: none;
}

.article-card {
  min-height: 184px;
  padding: 22px;
}

.article-card h3 {
  font-size: 21px;
  line-height: 1.18;
}

.article-card a {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-weight: 860;
}

.note,
.rule-callout,
.diagnostic-flow-note,
.port-zone-note,
.code-anatomy-note,
.code-family-note,
.code-lookup-rule,
.clear-code-contrast-note {
  border: 1px solid rgba(16, 20, 22, 0.16);
  border-radius: 7px;
  background: var(--soft);
  color: #314349;
}

.content,
.content-polished {
  max-width: none;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: 92px;
}

.content h1 {
  max-width: 910px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.4vw, 3.95rem);
  font-weight: 940;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.content h2 {
  max-width: 780px;
  margin: clamp(48px, 6vw, 68px) 0 14px;
  padding-top: 18px;
  border-top: 2px solid rgba(16, 20, 22, 0.82);
  font-size: clamp(1.7rem, 3vw, 2.34rem);
}

.content h3 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
}

.content p,
.content li {
  color: #2c3d44;
}

.content > p,
.content > ul,
.content > ol,
.content > h2,
.content > h3 {
  max-width: var(--measure);
}

.content .lede {
  max-width: 760px;
  color: #26383f;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.6;
}

.breadcrumb {
  color: #64706e;
  font-size: 14px;
}

.article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: clamp(26px, 4.4vw, 58px);
  margin-bottom: 32px;
  padding: 24px 0 36px;
  border-bottom: 1px solid rgba(16, 20, 22, 0.18);
}

.article-hero-copy {
  display: grid;
  align-content: end;
  min-height: clamp(250px, 28vw, 370px);
}

.reader-outcomes {
  border: 1px solid #101416;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(245, 197, 66, 0.12), transparent 24%),
    #111719;
  color: #ffffff;
  box-shadow: 12px 12px 0 rgba(16, 20, 22, 0.12);
}

.reader-outcomes > strong {
  color: var(--signal);
}

.reader-outcomes li {
  border-top-color: rgba(255, 255, 255, 0.13);
}

.reader-outcomes li strong {
  color: #ffffff;
}

.reader-outcomes li span {
  color: #cbd8d5;
}

.disclosure,
.article-meta,
.article-toc,
.quick-answer {
  border: 1px solid rgba(16, 20, 22, 0.16);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(16, 20, 22, 0.045);
}

.disclosure {
  border-color: rgba(194, 56, 24, 0.25);
  background: #fff2cf;
  color: #443016;
}

.article-meta {
  background: var(--surface-2);
}

.article-meta p {
  grid-template-columns: 132px minmax(0, 1fr);
}

.article-toc-title {
  color: var(--ink);
  text-transform: none;
}

.article-toc ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.article-toc a {
  min-height: 40px;
  border: 1px solid rgba(16, 20, 22, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #27393f;
  font-weight: 760;
  text-decoration: none;
}

.article-toc a:hover {
  border-color: rgba(194, 56, 24, 0.34);
  background: #fff7df;
  color: var(--accent-dark);
}

.content table {
  overflow: hidden;
  border: 1px solid rgba(16, 20, 22, 0.16);
  border-radius: 7px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
}

.content th,
.content td {
  border-width: 0 1px 1px 0;
  border-color: rgba(16, 20, 22, 0.13);
  padding: 13px 15px;
}

.content th {
  background: #151c20;
  color: #ffffff;
}

.quick-answer {
  overflow: hidden;
}

.next-step {
  border: 1px solid #101416;
  border-radius: 8px;
  background: #111719;
  color: #ffffff;
  box-shadow: 10px 10px 0 rgba(16, 20, 22, 0.1);
}

.next-step strong {
  color: var(--signal);
}

.next-step a {
  color: #ffffff;
}

.next-step span {
  color: #cbd8d5;
}

.related-guides {
  max-width: 1000px;
  border-top-color: rgba(16, 20, 22, 0.18);
}

.related-guide-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.related-guide {
  min-height: 118px;
  padding: 18px;
}

.affiliate-cta {
  border: 1px solid #101416;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(245, 197, 66, 0.18), rgba(255, 254, 250, 0) 42%),
    #111719;
  color: #ffffff;
  box-shadow: 12px 12px 0 rgba(16, 20, 22, 0.12);
}

.affiliate-cta h2,
.affiliate-cta-check-label,
.affiliate-cta-action-label {
  color: #ffffff;
}

.affiliate-cta p,
.affiliate-cta li,
.affiliate-cta-note {
  color: #cbd8d5;
}

.affiliate-cta-checks {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
}

.affiliate-cta-button {
  min-height: 52px;
  border-color: var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
}

.affiliate-cta-button:hover {
  border-color: var(--signal);
  background: var(--accent-dark);
}

.port-zone-panel,
.code-anatomy-panel {
  border: 1px solid #111719;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 10px 10px 0 rgba(16, 20, 22, 0.1);
}

.port-zone-cab,
.code-anatomy-example {
  border-color: rgba(16, 20, 22, 0.18);
  background:
    linear-gradient(90deg, rgba(16, 20, 22, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 20, 22, 0.03) 1px, transparent 1px),
    var(--surface-2);
  background-size: 24px 24px, 24px 24px, auto;
}

.code-anatomy-token,
.family-letter,
.port-zone-marker,
.beginner-workflow li::before,
.diagnostic-flow li::before,
.port-zone-list li::before {
  background: var(--ink);
  color: var(--signal);
}

.code-risk-level:nth-child(1),
.clear-code-decision-item:nth-child(1) {
  border-color: rgba(8, 114, 100, 0.28);
  background: #edf8f3;
}

.code-risk-level:nth-child(2),
.clear-code-decision-item:nth-child(2),
.clear-code-decision-item:nth-child(3) {
  border-color: rgba(245, 197, 66, 0.42);
  background: #fff7dd;
}

.code-risk-level:nth-child(3),
.clear-code-decision-item:nth-child(4) {
  border-color: rgba(194, 56, 24, 0.28);
  background: #fff0e8;
}

.site-footer {
  border-top: 4px solid var(--signal);
  background: #101416;
  color: #cbd8d5;
}

.footer-inner {
  max-width: var(--max);
  padding: 34px 24px;
}

.footer-links a {
  color: #ffffff;
}

.footer-links a:hover {
  color: var(--signal);
}

.guides-hub {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 7vw, 84px) 0 clamp(44px, 8vw, 96px);
}

.guides-hub-hero,
.guides-hub-fast-path,
.guides-hub-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 18px 42px rgba(16, 20, 22, 0.09);
}

.guides-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(24px, 5vw, 52px);
}

.guides-hub-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.guides-hub-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
}

.guides-hub h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.guides-hub h2,
.guides-hub h3 {
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

.guides-hub .lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.guides-hub-status {
  display: grid;
  align-content: center;
  gap: 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 254, 250, 0.88);
  padding: clamp(20px, 3.5vw, 34px);
}

.guides-hub-status strong {
  color: var(--signal);
  font-size: 1.1rem;
}

.guides-hub-status ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guides-hub-status li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.guides-hub-status span {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(245, 197, 66, 0.52);
  border-radius: var(--radius);
  color: var(--signal);
  font-weight: 900;
  line-height: 1;
}

.guides-hub-fast-path {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 44px);
  margin-top: 22px;
  padding: clamp(22px, 4vw, 40px);
}

.guides-hub-fast-path h2,
.guides-hub-directory h2,
.guides-hub-disclosure h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.guides-hub-fast-path p,
.guides-hub-directory-head p,
.guides-hub-group-head p,
.guides-hub-disclosure p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.guides-hub-fast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guides-hub-fast-card,
.guides-hub-link {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.guides-hub-fast-card {
  min-height: 190px;
  padding: 18px;
}

.guides-hub-fast-card:hover,
.guides-hub-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: #fff7e1;
  color: var(--text);
}

.guides-hub-fast-card:focus-visible,
.guides-hub-link:focus-visible {
  outline: 3px solid rgba(245, 197, 66, 0.72);
  outline-offset: 4px;
}

.guides-hub-fast-card span,
.guides-hub-group-head span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.guides-hub-fast-card strong,
.guides-hub-link strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.18;
}

.guides-hub-fast-card small,
.guides-hub-link small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.guides-hub-fast-card-primary {
  background: var(--ink);
  color: rgba(255, 254, 250, 0.9);
}

.guides-hub-fast-card-primary span,
.guides-hub-fast-card-primary strong {
  color: var(--signal);
}

.guides-hub-fast-card-primary small {
  color: rgba(255, 254, 250, 0.78);
}

.guides-hub-directory {
  margin-top: clamp(30px, 5vw, 56px);
}

.guides-hub-directory-head {
  display: grid;
  gap: 8px;
  max-width: 840px;
  margin-bottom: 20px;
}

.guides-hub-groups {
  display: grid;
  gap: 16px;
}

.guides-hub-group {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.guides-hub-group-head {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 16px 0 18px;
}

.guides-hub-group-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.78rem);
  line-height: 1.08;
}

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

.guides-hub-link {
  min-height: 132px;
  padding: 16px;
}

.guides-hub-disclosure {
  display: grid;
  gap: 10px;
  margin-top: clamp(30px, 5vw, 56px);
  padding: clamp(20px, 4vw, 34px);
}

.guides-hub-disclosure a {
  width: fit-content;
  font-weight: 850;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero::before {
    inset: auto -12px 42px auto;
    width: min(100%, 620px);
    height: 360px;
  }

  .visual-panel {
    max-width: 590px;
  }

  .home-scanner-path,
  .guides-hub-hero,
  .guides-hub-fast-path,
  .guides-hub-group {
    grid-template-columns: 1fr;
  }

  .guides-hub-group-head {
    position: static;
    padding-bottom: 0;
  }

  .article-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  body {
    background:
      linear-gradient(180deg, rgba(242, 244, 239, 0.98), #ffffff 640px),
      #ffffff;
    font-size: 17px;
  }

  .site-header {
    position: static;
  }

  .nav {
    gap: 12px;
    padding: 13px 16px 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .page,
  .content,
  .content-polished {
    width: min(100% - 30px, var(--max));
  }

  .hero {
    gap: 28px;
    overflow: hidden;
    padding: 32px 0 40px;
  }

  .hero::before {
    inset: auto 0 28px auto;
    width: min(100%, 520px);
    height: 300px;
    border-radius: 8px;
  }

  .hero h1 {
    font-size: clamp(2.28rem, 10.4vw, 3.1rem);
    line-height: 1;
  }

  .hero h1::after {
    height: 6px;
    margin-top: 16px;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .visual-panel,
  .reader-outcomes,
  .affiliate-cta,
  .port-zone-panel,
  .code-anatomy-panel,
  .home-scanner-path,
  .scanner-next-path,
  .port-next-scanner-path,
  .scanner-fit-decision,
  .before-buying-gate,
  .next-step {
    box-shadow: none;
  }

  .trust-strip,
  .article-list,
  .related-guide-list,
  .home-scanner-path,
  .home-scanner-path-grid,
  .scanner-path-grid,
  .port-next-path-grid,
  .scanner-fit-decision-grid,
  .before-buying-gate-grid,
  .beginner-workflow,
  .clear-code-return-map,
  .clear-code-decision,
  .meaning-ladder,
  .code-family-map,
  .code-lookup-panel,
  .port-safety-check {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-scanner-path,
  .scanner-next-path,
  .port-next-scanner-path,
  .scanner-fit-decision,
  .before-buying-gate {
    padding: 16px;
  }

  .home-scanner-path-card,
  .scanner-path-card,
  .port-next-path-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .content h1 {
    font-size: clamp(2.02rem, 9.4vw, 2.72rem);
  }

  .content h2 {
    font-size: clamp(1.55rem, 6.9vw, 2rem);
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .article-hero-copy {
    min-height: 0;
  }

  .article-meta p {
    grid-template-columns: 1fr;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
  }
}

:root {
  --bg: #f5f6f1;
  --text: #21302f;
  --muted: #5f6f6d;
  --soft: #eef2ec;
  --line: #cad4cd;
  --accent: #b3341d;
  --accent-dark: #7d2414;
  --ink: #17211f;
  --signal: #f4c84a;
  --ok: #0b6f63;
  --surface: #fffefa;
  --surface-2: #f9faf5;
  --surface-3: #e7eee9;
  --blue: #315c78;
  --radius: 8px;
  --max: 1220px;
  --measure: 70ch;
}

html {
  background: var(--bg);
  scroll-padding-top: 92px;
}

body {
  background:
    linear-gradient(180deg, #fbfaf4 0, #f5f6f1 460px, #ffffff 100%),
    var(--bg);
  background-size: auto;
  color: var(--text);
  font-size: 18px;
  line-height: 1.68;
}

body::before {
  height: 0;
  background: none;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
.button:focus-visible,
.affiliate-cta-button:focus-visible,
.home-scanner-path-card:focus-visible,
.scanner-path-card:focus-visible,
.port-next-path-card:focus-visible,
.related-guide:focus-visible,
.guides-hub-fast-card:focus-visible,
.guides-hub-link:focus-visible {
  outline: 3px solid rgba(244, 200, 74, 0.82);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
}

.site-header {
  border-bottom: 1px solid rgba(23, 33, 31, 0.14);
  background: rgba(255, 254, 250, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.08);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
}

.nav {
  min-height: 70px;
  max-width: var(--max);
  padding: 14px 24px;
}

.brand {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 33, 31, 0.88);
  border-radius: 7px;
  background:
    linear-gradient(90deg, var(--signal) 0 20%, transparent 20%),
    var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #42504e;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 780;
}

.nav-links a:hover {
  border-color: rgba(179, 52, 29, 0.24);
  background: #fff2ed;
  color: var(--accent-dark);
  text-decoration: none;
}

.page,
.content,
.content-polished,
.guides-hub {
  width: min(var(--max), calc(100vw - 48px));
}

.page {
  padding: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: center;
  min-height: 0;
  padding: 76px 0 42px;
}

.hero::before {
  inset: 42px auto 20px 0;
  width: 86px;
  height: auto;
  border: 0;
  border-left: 8px solid var(--signal);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(179, 52, 29, 0.08), transparent);
}

.hero h1,
.guides-hub h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 4.35rem;
  font-weight: 940;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1::after,
.guides-hub h1::after {
  width: 180px;
  height: 7px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal) 0 58%, var(--accent) 58% 100%);
}

.hero p,
.guides-hub .lede {
  max-width: 660px;
  color: #455552;
  font-size: 1.17rem;
  line-height: 1.62;
}

.actions {
  gap: 12px;
  margin-top: 32px;
}

.button,
.affiliate-cta-button {
  min-height: 48px;
  border-radius: 7px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
}

.button.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(23, 33, 31, 0.22);
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: #fbfaf4;
}

.visual-panel {
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 24px 54px rgba(23, 33, 31, 0.12);
}

.visual-panel::before {
  opacity: 0;
}

.tools-image {
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 6px;
  background: #fbfaf4;
}

.decision-table {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.decision-row {
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.decision-row strong {
  color: var(--ink);
}

.trust-strip {
  margin-top: 12px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(23, 33, 31, 0.06);
}

.trust-strip div {
  padding: 20px;
}

.trust-strip div + div {
  border-left: 1px solid rgba(23, 33, 31, 0.12);
}

.trust-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.section {
  padding: 58px 0;
}

.section h2,
.content h2,
.guides-hub h2 {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.content h2 {
  position: relative;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 33, 31, 0.14);
}

.content h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 88px;
  height: 3px;
  background: var(--accent);
}

.article-list,
.related-guide-list,
.home-scanner-path-grid,
.scanner-path-grid,
.port-next-path-grid,
.guides-hub-fast-grid,
.guides-hub-list {
  gap: 14px;
}

.article-card,
.related-guide,
.home-scanner-path-card,
.scanner-path-card,
.port-next-path-card,
.guides-hub-fast-card,
.guides-hub-link {
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.05);
}

.article-card {
  min-height: 210px;
  padding: 24px;
}

.article-card h3,
.related-guide span,
.home-scanner-path-card strong,
.scanner-path-card strong,
.port-next-path-card strong,
.guides-hub-fast-card strong,
.guides-hub-link strong {
  color: var(--ink);
}

.article-card p,
.related-guide small,
.home-scanner-path-card small,
.scanner-path-card small,
.port-next-path-card small,
.guides-hub-fast-card small,
.guides-hub-link small {
  color: var(--muted);
}

.article-card a,
.guides-hub-link span {
  font-weight: 850;
}

.article-card:hover,
.related-guide:hover,
.home-scanner-path-card:hover,
.scanner-path-card:hover,
.port-next-path-card:hover,
.guides-hub-fast-card:hover,
.guides-hub-link:hover {
  border-color: rgba(179, 52, 29, 0.28);
  box-shadow: 0 16px 34px rgba(23, 33, 31, 0.09);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-scanner-path,
.scanner-next-path,
.port-next-scanner-path,
.scanner-fit-decision,
.before-buying-gate,
.guides-hub-fast-path,
.guides-hub-disclosure,
.affiliate-cta {
  border: 1px solid rgba(23, 33, 31, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 200, 74, 0.08), transparent 90px),
    #ffffff;
  box-shadow: 0 22px 52px rgba(23, 33, 31, 0.08);
}

.home-scanner-path,
.guides-hub-fast-path {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  padding: 28px;
}

.home-section-label,
.scanner-next-path-label,
.port-next-path-label,
.scanner-fit-decision-label,
.affiliate-cta-label,
.guides-hub-kicker,
.guides-hub-group-head span,
.home-scanner-path-card span,
.scanner-path-card span,
.port-next-path-card span,
.guides-hub-fast-card span {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(179, 52, 29, 0.2);
  border-radius: 999px;
  background: #fff1ec;
  color: var(--accent-dark);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 860;
  line-height: 1;
}

.home-scanner-path-card,
.scanner-path-card,
.port-next-path-card,
.guides-hub-fast-card {
  align-content: start;
  min-height: 142px;
  padding: 16px;
}

.home-scanner-path-card-primary,
.scanner-path-card-primary,
.port-next-path-card-primary,
.scanner-fit-decision-card-primary,
.guides-hub-fast-card-primary {
  border-color: rgba(11, 111, 99, 0.32);
  background:
    linear-gradient(180deg, rgba(11, 111, 99, 0.08), transparent),
    #ffffff;
}

.home-scanner-path-note,
.scanner-next-path-note,
.port-next-path-note,
.scanner-fit-decision-note {
  border-top: 1px solid rgba(23, 33, 31, 0.12);
  color: var(--muted);
}

.content,
.content-polished {
  max-width: 1040px;
  padding: 58px 0 86px;
}

.content > p,
.content > ul,
.content > ol,
.content > h2,
.content > h3,
.content .lede,
.content .disclosure,
.content .article-meta,
.content .article-toc,
.content .note,
.content .rule-callout,
.content .next-step,
.content .related-guides {
  max-width: 800px;
}

.content h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: 3.35rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.content .lede {
  color: #3c4d4a;
  font-size: 1.17rem;
  line-height: 1.62;
}

.article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(23, 33, 31, 0.14);
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
}

.article-kicker {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(49, 92, 120, 0.24);
  border-radius: 999px;
  background: #edf3f5;
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 860;
}

.reader-outcomes {
  border: 1px solid rgba(23, 33, 31, 0.88);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 18px;
  box-shadow: none;
}

.reader-outcomes > strong,
.reader-outcomes li strong {
  color: #ffffff;
}

.reader-outcomes li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reader-outcomes li span {
  color: rgba(255, 255, 255, 0.72);
}

.disclosure,
.article-meta,
.article-toc,
.quick-answer,
.rule-callout,
.note,
.next-step {
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.05);
}

.disclosure {
  border-left: 5px solid var(--signal);
  color: var(--muted);
}

.article-meta {
  background: var(--surface-2);
}

.article-meta p {
  grid-template-columns: 138px minmax(0, 1fr);
}

.article-toc {
  padding: 18px;
}

.article-toc-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-toc a {
  border-radius: 6px;
  color: #354441;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  border-color: rgba(49, 92, 120, 0.2);
  background: #f1f6f5;
  color: var(--ink);
}

.content table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 31, 0.15);
  border-radius: var(--radius);
  background: #ffffff;
}

.content th,
.content td {
  border: 0;
  border-bottom: 1px solid rgba(23, 33, 31, 0.12);
  padding: 12px 14px;
}

.content th {
  background: var(--ink);
  color: #ffffff;
}

.content tr:last-child td {
  border-bottom: 0;
}

.affiliate-cta {
  border-color: rgba(179, 52, 29, 0.28);
}

.affiliate-cta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
}

.affiliate-cta-checks {
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 7px;
  background: #fbfaf4;
  box-shadow: none;
}

.affiliate-cta-button {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.affiliate-cta-button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.related-guides {
  max-width: 980px;
}

.related-guide-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  border-top: 1px solid rgba(23, 33, 31, 0.12);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  max-width: var(--max);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #ffffff;
}

.guides-hub {
  margin: 0 auto;
  padding: 58px 0 84px;
}

.guides-hub-hero {
  border: 0;
  border-bottom: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guides-hub-status {
  border: 1px solid rgba(23, 33, 31, 0.88);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.guides-hub-status li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
}

.guides-hub-status li span {
  background: var(--signal);
  color: var(--ink);
}

.guides-hub-group {
  border-top: 1px solid rgba(23, 33, 31, 0.16);
}

.guides-hub-group-head {
  top: 96px;
}

.guides-hub-link {
  min-height: 126px;
  padding: 16px;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hero,
  .home-scanner-path,
  .guides-hub-hero,
  .guides-hub-fast-path,
  .guides-hub-group,
  .article-hero-grid,
  .affiliate-cta-grid {
    grid-template-columns: 1fr;
  }

  .hero::before {
    display: none;
  }

  .visual-panel {
    max-width: 640px;
  }

  .guides-hub-group-head {
    position: static;
    padding-bottom: 0;
  }
}

@media (max-width: 840px) {
  body {
    background: #fbfaf4;
    font-size: 17px;
  }

  html {
    scroll-padding-top: 20px;
  }

  .site-header {
    position: static;
  }

  .nav {
    gap: 12px;
    padding: 13px 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .page,
  .content,
  .content-polished,
  .guides-hub {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .guides-hub {
    padding-top: 32px;
  }

  .hero h1,
  .guides-hub h1 {
    font-size: 2.72rem;
    line-height: 1;
  }

  .content h1 {
    font-size: 2.32rem;
    line-height: 1.05;
  }

  .section h2,
  .content h2,
  .guides-hub h2 {
    font-size: 1.62rem;
  }

  .actions,
  .button,
  .affiliate-cta-button {
    width: 100%;
  }

  .visual-panel,
  .reader-outcomes,
  .affiliate-cta,
  .port-zone-panel,
  .code-anatomy-panel,
  .home-scanner-path,
  .scanner-next-path,
  .port-next-scanner-path,
  .scanner-fit-decision,
  .before-buying-gate,
  .guides-hub-fast-path,
  .guides-hub-disclosure,
  .next-step {
    box-shadow: none;
  }

  .trust-strip,
  .article-list,
  .related-guide-list,
  .home-scanner-path-grid,
  .scanner-path-grid,
  .port-next-path-grid,
  .guides-hub-fast-grid,
  .guides-hub-list,
  .scanner-fit-decision-grid,
  .before-buying-gate-grid,
  .beginner-workflow,
  .clear-code-return-map,
  .clear-code-decision,
  .meaning-ladder,
  .code-family-map,
  .code-lookup-panel,
  .port-safety-check {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(23, 33, 31, 0.12);
  }

  .home-scanner-path,
  .scanner-next-path,
  .port-next-scanner-path,
  .scanner-fit-decision,
  .before-buying-gate,
  .guides-hub-fast-path,
  .guides-hub-disclosure,
  .affiliate-cta {
    padding: 16px;
  }

  .home-scanner-path-card,
  .scanner-path-card,
  .port-next-path-card,
  .guides-hub-fast-card,
  .guides-hub-link,
  .article-card,
  .related-guide {
    min-height: 0;
    padding: 15px;
    box-shadow: none;
  }

  .article-meta p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
