:root {
  --canvas: #f3f5f9;
  --surface: #ffffff;
  --surface-muted: #f8f9fc;
  --ink: #172033;
  --muted: #536078;
  --line: #d9dfeb;
  --line-strong: #bcc6d7;
  --brand: #234f9a;
  --brand-dark: #14213d;
  --brand-soft: #edf3ff;
  --focus: #1c5fbd;
  --problem: #9a342b;
  --problem-bg: #fff6f3;
  --problem-line: #e5aaa3;
  --solution: #176443;
  --solution-bg: #eff9f3;
  --solution-line: #9fd0b4;
  --react: #075b6c;
  --react-bg: #e8f7fa;
  --angular: #92233c;
  --angular-bg: #ffedf1;
  --code-bg: #111827;
  --code-title: #182235;
  --code-text: #e8eef8;
  --code-muted: #aebbd0;
  --radius-sm: 0.55rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.15rem;
  --shadow: 0 10px 30px rgba(27, 39, 64, 0.07);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-width: 18rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 21rem;
  background: #e9eef7;
  content: "";
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus-visible {
  outline-offset: -5px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
pre {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4.5vw, 3.25rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.16rem;
  letter-spacing: -0.012em;
}

h4 {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

code {
  border: 1px solid #dae0eb;
  border-radius: 0.3em;
  background: #f0f3f8;
  color: #273652;
  font-family: var(--font-mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
  padding: 0.08em 0.3em;
}

pre code {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  padding: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  border: 3px solid #ffffff;
  border-radius: var(--radius-sm);
  background: var(--brand-dark);
  color: #ffffff;
  font-weight: 750;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--brand-dark);
  color: #ffffff;
}

.masthead-inner {
  display: flex;
  width: min(100% - 2rem, 92rem);
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-weight: 760;
  text-decoration: none;
}

.brand:focus-visible,
.masthead a:focus-visible {
  outline-color: #f6c453;
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.38rem;
  background: rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.45rem;
}

.brand-name {
  letter-spacing: -0.012em;
}

.masthead-meta {
  margin: 0;
  color: #cbd5e8;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.breadcrumb-inner {
  width: min(100% - 3rem, 92rem);
  margin-inline: auto;
  padding-block: 0.8rem;
}

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

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line-strong);
}

.breadcrumb a {
  border-radius: 0.25rem;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.breadcrumb a:hover {
  color: var(--brand-dark);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.page-shell {
  display: grid;
  grid-template-columns: 16.5rem minmax(0, 1fr);
  width: min(100% - 3rem, 92rem);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0 auto;
  padding: 3.4rem 0 5rem;
}

.sidebar {
  position: sticky;
  top: 6.2rem;
}

.side-nav {
  max-height: calc(100vh - 7.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 26px rgba(30, 43, 70, 0.055);
  overflow: auto;
  padding: 1.15rem;
}

.side-nav-label,
.section-label {
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.side-nav-label {
  margin: 0 0 0.75rem 0.55rem;
}

.side-nav ol {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  list-style: none;
  padding: 0;
}

.side-nav a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  border-radius: 0.48rem;
  color: #35435d;
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.32;
  padding: 0.52rem 0.55rem;
  text-decoration: none;
}

.side-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.side-nav a span {
  color: #5e6b80;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.side-nav .side-nav-top {
  display: inline-block;
  margin: 0.9rem 0.55rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--brand);
  font-size: 0.8rem;
  padding: 0.85rem 0 0;
  text-decoration: underline;
}

.side-nav .side-nav-support {
  display: block;
  grid-template-columns: none;
  margin: 0.8rem 0.55rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--brand);
  font-size: 0.8rem;
  padding: 0.85rem 0 0;
  text-decoration: underline;
}

main {
  min-width: 0;
}

.content-column {
  width: min(100%, 66rem);
}

.intro {
  scroll-margin-top: 6rem;
  padding: 0.75rem 0 1.25rem;
}

.intro-copy {
  max-width: 46rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.example-assumptions {
  max-width: 58rem;
  margin-top: 1.5rem;
  border: 1px solid #c6d2e5;
  border-left: 5px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 7px 22px rgba(27, 39, 64, 0.045);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.example-assumptions h2 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.example-assumptions > p {
  color: #45536a;
}

.assumptions-label::before {
  background: var(--brand);
  content: "i";
}

.code-origin-legend {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

.code-origin-legend li {
  color: #45536a;
  font-size: 0.86rem;
}

.origin-label {
  display: inline-block;
  margin-right: 0.35rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.35;
  padding: 0.16rem 0.45rem;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

.origin-native {
  background: #eef2f7;
  color: #43506a;
}

.origin-library {
  background: var(--brand-soft);
  color: var(--brand);
}

.origin-local {
  background: #f4edff;
  color: #674094;
}

.dependency-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.dependency-summary > section {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  padding: 0.9rem;
}

.dependency-summary h3 {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.dependency-summary ul {
  margin-bottom: 0;
  color: #48566d;
  font-size: 0.8rem;
  padding-left: 1.15rem;
}

.cdk-context {
  margin: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  font-size: 0.82rem;
}

.mobile-nav {
  display: none;
}

.component {
  scroll-margin-top: 6rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 2.7rem);
}

.component-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.8rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}

.component-number {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.component-header h2 {
  margin-bottom: 0.45rem;
}

.component-header p:last-child {
  max-width: 49rem;
  margin-bottom: 0;
  color: var(--muted);
}

.problem-card,
.approach {
  border-radius: var(--radius-md);
  padding: clamp(1.15rem, 3vw, 1.6rem);
}

.problem-card {
  border: 1px solid var(--problem-line);
  border-left: 5px solid var(--problem);
  background: var(--problem-bg);
}

.approach {
  margin-top: 1rem;
  border: 1px solid var(--solution-line);
  border-left: 5px solid var(--solution);
  background: var(--solution-bg);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.5rem;
  font-size: 0.66rem;
}

.section-label::before {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1;
}

.problem-label {
  color: var(--problem);
}

.problem-label::before {
  background: var(--problem);
  content: "!";
}

.solution-label {
  color: var(--solution);
}

.solution-label::before {
  background: var(--solution);
  content: "✓";
}

.problem-card > p,
.approach > p {
  color: #48566d;
}

.problem-card > p:last-of-type,
.approach > p:last-child {
  margin-bottom: 0;
}

.impact {
  margin-top: 1.05rem;
  border-top: 1px solid var(--problem-line);
  padding-top: 0.95rem;
}

.impact h4 {
  margin-bottom: 0.45rem;
  color: #6f2722;
}

.impact ul {
  display: grid;
  gap: 0.22rem;
  margin-bottom: 0;
  color: #4d3a3b;
  font-size: 0.9rem;
  padding-left: 1.25rem;
}

.implementation-title {
  margin: 2rem 0 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.framework-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  overflow: hidden;
  padding: 1rem;
}

.framework-panel > h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.framework-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  padding: 0.22rem 0.52rem;
  text-transform: uppercase;
}

.react-panel {
  border-top: 4px solid var(--react);
}

.angular-panel {
  border-top: 4px solid var(--angular);
}

.react-badge {
  background: var(--react-bg);
  color: var(--react);
}

.angular-badge {
  background: var(--angular-bg);
  color: var(--angular);
}

.mechanism {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.dependency-note {
  margin: 0.8rem 0 0;
  border-left: 3px solid #aebbd1;
  color: #4c5970;
  font-size: 0.8rem;
  line-height: 1.55;
  padding-left: 0.7rem;
}

.dependency-note .origin-label {
  margin-bottom: 0.18rem;
}

.code-shell {
  min-width: 0;
  border: 1px solid #29364d;
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  color: var(--code-text);
  overflow: hidden;
}

.problem-card .code-shell {
  margin-top: 1rem;
}

.code-shell--mistake {
  border-color: #743630;
}

.code-title {
  display: flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid #2f3b51;
  background: var(--code-title);
  color: var(--code-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
}

.code-shell--mistake .code-title {
  border-bottom-color: #673832;
  background: #392523;
  color: #f1c3bd;
}

.copy-button {
  flex: 0 0 auto;
  border: 1px solid #53617a;
  border-radius: 0.38rem;
  background: #243047;
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1;
  padding: 0.47rem 0.62rem;
}

.copy-button:hover {
  border-color: #8290aa;
  background: #32415c;
}

.copy-button:focus-visible {
  outline-color: #f6c453;
}

.copy-button[data-state="copied"] {
  border-color: #8ac9a8;
  background: #194f38;
}

.copy-button[data-state="error"] {
  border-color: #e3a19a;
  background: #6d302a;
}

pre {
  margin: 0;
  overflow: auto;
  padding: 1rem;
  scrollbar-color: #65728a #182235;
}

pre code {
  display: block;
  min-width: max-content;
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  line-height: 1.68;
  tab-size: 2;
  white-space: pre;
}

.comparison {
  margin-top: 1.25rem;
  border: 1px solid #c9d4e5;
  border-radius: var(--radius-md);
  background: #f3f6fb;
  padding: 1rem 1.15rem;
}

.comparison h3 {
  margin-bottom: 0.42rem;
  font-size: 0.96rem;
}

.comparison p {
  margin-bottom: 0;
  color: #3e4d66;
  font-size: 0.9rem;
}

.verdict {
  display: inline-block;
  margin-right: 0.3rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  padding: 0.16rem 0.48rem;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

.verdict.same {
  border: 1px solid #86b99e;
  background: #e8f5ed;
  color: #18573b;
}

.verdict.different {
  border: 1px solid #aebbd3;
  background: #e9eef8;
  color: #334f82;
}

.checks {
  margin-top: 1.35rem;
}

.checks h3 {
  margin-bottom: 0.55rem;
  color: #4c5970;
  font-size: 0.8rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}

.tag-list li {
  border: 1px solid #cfd7e4;
  border-radius: 999px;
  background: #f1f4f8;
  color: #34425a;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 680;
  padding: 0.28rem 0.58rem;
}

.supporting-code {
  scroll-margin-top: 6rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 4vw, 2.7rem);
}

.supporting-code > header {
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.15rem;
}

.supporting-code > header p {
  max-width: 50rem;
  margin-bottom: 0;
  color: var(--muted);
}

.supporting-group + .supporting-group {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.supporting-group > h3 {
  font-size: 1.15rem;
}

.supporting-group > p {
  color: #48566d;
  font-size: 0.9rem;
}

.supporting-details {
  scroll-margin-top: 6rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  overflow: hidden;
}

.supporting-details summary {
  cursor: pointer;
  color: #2c3b56;
  font-weight: 760;
  padding: 0.85rem 1rem;
}

.supporting-details[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--brand-soft);
}

.supporting-details-content {
  padding: 1rem;
}

.supporting-details-content > p {
  color: #4a5870;
  font-size: 0.86rem;
}

.supporting-details-content > :last-child {
  margin-bottom: 0;
}

.supporting-details .code-shell + .code-shell {
  margin-top: 0.85rem;
}

.site-footer {
  border-top: 1px solid #27344e;
  background: var(--brand-dark);
  color: #d4dcec;
}

.site-footer-inner {
  display: flex;
  width: min(100% - 2rem, 92rem);
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
}

.site-footer a {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 750;
}

.site-footer a:focus-visible {
  outline-color: #f6c453;
}

@media (max-width: 78rem) {
  .page-shell {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    gap: 2.25rem;
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 61.25rem) {
  html {
    scroll-padding-top: 5rem;
  }

  .page-shell {
    display: block;
    width: min(100% - 2rem, 66rem);
    padding-top: 2rem;
  }

  .breadcrumb-inner {
    width: min(100% - 2rem, 66rem);
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: block;
    max-width: 34rem;
    margin: 1.5rem 0 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
  }

  .mobile-nav summary {
    cursor: pointer;
    color: #2d3c57;
    font-weight: 760;
    padding: 0.8rem 1rem;
  }

  .mobile-nav[open] summary {
    border-bottom: 1px solid var(--line);
    background: var(--brand-soft);
  }

  .mobile-nav nav {
    padding: 0.8rem 1rem 1rem;
  }

  .mobile-nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.32rem 1rem;
    margin: 0;
    padding-left: 1.35rem;
  }

  .mobile-nav a {
    display: inline-block;
    font-size: 0.84rem;
    padding: 0.2rem 0;
  }

  .mobile-nav .mobile-nav-support {
    display: block;
    margin-top: 0.7rem;
    border-top: 1px solid var(--line);
    font-weight: 700;
    padding-top: 0.7rem !important;
  }

  .intro {
    padding-top: 0.5rem;
  }

  .component,
  .supporting-code,
  .supporting-details {
    scroll-margin-top: 5rem;
  }
}

@media (max-width: 47rem) {
  .masthead-inner {
    width: min(100% - 1.25rem, 92rem);
  }

  .masthead-meta {
    display: none;
  }

  .page-shell {
    width: min(100% - 1.25rem, 66rem);
    padding-bottom: 3rem;
  }

  .breadcrumb-inner {
    width: min(100% - 1.25rem, 66rem);
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.65rem);
  }

  .mobile-nav ol {
    grid-template-columns: 1fr;
  }

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

  .component {
    border-radius: 0.9rem;
  }

  .component-header {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .component-number {
    width: 2.25rem;
    height: 2.25rem;
  }

  .problem-card,
  .approach,
  .framework-panel,
  .supporting-details-content {
    padding: 1rem;
  }

  .code-title {
    align-items: flex-start;
  }

  .code-title > span {
    padding-top: 0.2rem;
  }

  pre {
    padding: 0.85rem;
  }

  pre code {
    font-size: 0.72rem;
  }

  .site-footer-inner {
    min-height: 7rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
  }
}

@media (max-width: 25rem) {
  .brand-name {
    font-size: 0.86rem;
  }

  .component {
    padding: 1.05rem;
  }

  .problem-card,
  .approach,
  .framework-panel,
  .supporting-details-content {
    padding: 0.85rem;
  }

  .copy-button {
    padding-inline: 0.5rem;
  }
}

@media print {
  .masthead,
  .breadcrumb-bar,
  .sidebar,
  .mobile-nav,
  .copy-button,
  .site-footer {
    display: none !important;
  }

  body,
  body::before {
    background: #ffffff;
  }

  .page-shell,
  .content-column {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .component {
    box-shadow: none;
    break-inside: avoid;
  }

  .supporting-code {
    box-shadow: none;
  }

  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
}
