/* Control Contre library shell. Specimens share the brand materials and retain their interaction design.
   Joseph El-Kadi - FL1GHT5 Network. */
:root {
  --studio-paper: var(--cc-canvas, #e9eaed);
  --studio-ink: var(--cc-ink, #1d1d1f);
  --studio-muted: var(--cc-muted, #55555d);
  --studio-accent: var(--cc-accent, #0066cc);
  --studio-line: var(--cc-border, #c2c4cb);
  --studio-glass: var(--cc-glass-fill, rgb(255 255 255 / 92%));
  --studio-raised: var(
    --cc-shadow,
    3px 5px 12px #2929341f,
    -2px -2px 8px #ffffffc9
  );
  --studio-inset: var(
    --cc-inset,
    inset 2px 3px 7px #74747e24,
    inset -2px -2px 6px #ffffffd9
  );
  --studio-font: var(
    --cc-font,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif
  );
  --surface-bg: var(--studio-paper);
  --surface-ink: var(--studio-ink);
  --surface-muted: var(--studio-muted);
  --surface-blue: var(--studio-accent);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--studio-paper);
  color: var(--studio-ink);
  font: 16px/1.55 var(--studio-font);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--cc-accent);
  color: var(--cc-on-accent);
}
.unified-shell {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 12px 18px;
  background: var(--cc-surface);
  color: var(--studio-ink);
  border: 2px solid currentColor;
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.unified-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--studio-glass);
  border-bottom: 1px solid var(--studio-line);
  box-shadow: var(--cc-shadow);
  backdrop-filter: blur(var(--cc-frost, 15px));
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.unified-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
  color: var(--studio-ink);
}
.unified-brand > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #f5f5f7;
  background: linear-gradient(145deg, #414145, #1d1d1f);
  box-shadow:
    inset 0 1px 0 #ffffff40,
    2px 3px 6px #1d1d1f26;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.06em;
}
.header-inner nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.header-inner nav a {
  padding: 11px 0;
  color: var(--studio-muted);
  font-size: 14px;
  font-weight: 550;
}
.header-inner nav a:hover {
  color: var(--studio-ink);
}
.primary-action,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #ffffff26;
  border-radius: 999px;
  background: var(--studio-accent);
  color: var(--cc-on-accent);
  box-shadow: var(--cc-shadow);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.primary-action:hover,
.header-cta:hover {
  background: var(--cc-accent-strong);
}
.header-cta {
  min-height: 40px;
  padding: 9px 15px;
}
.text-action {
  display: inline-block;
  padding-block: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--studio-accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-action:hover {
  color: var(--cc-accent-strong);
}
.unified-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  padding-block: 46px 52px;
}
.hero-copy {
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(3rem, 5.8vw, 5.9rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 25px;
}
.hero-copy > p {
  max-width: 470px;
  margin: 0;
  color: var(--studio-muted);
  font-size: 17px;
  line-height: 1.75;
}
.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 31px;
  max-width: 450px;
  color: var(--studio-muted);
  font-size: 13px;
}
.hero-meta span:first-child {
  flex-basis: 100%;
  color: var(--studio-ink);
  font-weight: 650;
  font-size: 14px;
}
#material-lab {
  min-width: 0;
  width: 100%;
}
/* A stable index surrounds interactive specimens. */
.library {
  padding: 38px 0 72px;
  border-top: 1px solid var(--studio-line);
}
.library-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.library-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.library-heading p {
  max-width: 430px;
  margin: 0;
  font-size: 14px;
  color: var(--studio-muted);
}
.library-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.library-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  color: var(--studio-muted);
  font-size: 24px;
}
.library-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  font: inherit;
  font-size: 15px;
}
.library-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--studio-muted);
}
.library-select select {
  width: 200px;
  padding-inline: 14px 35px;
  font: inherit;
}
.clear-filters {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--studio-muted);
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.clear-filters:hover {
  background: var(--cc-accent-soft);
  color: var(--studio-ink);
}
.category-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 0 0;
  border-bottom: 1px solid var(--studio-line);
  scrollbar-width: thin;
  scrollbar-color: #a0a1a8 transparent;
}
.category-button {
  flex-shrink: 0;
  min-height: 44px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 2px 13px;
  background: transparent;
  color: var(--studio-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.category-button:hover {
  color: var(--studio-ink);
}
.category-button.active {
  border-bottom-color: var(--studio-accent);
  color: var(--studio-accent);
  font-weight: 650;
}
.collection-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.collection-tools-start,
.collection-tools-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.collection-tools button {
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--studio-muted);
  font: 500 14px/1.3 var(--studio-font);
  cursor: pointer;
}
.collection-tools button:hover {
  background: var(--cc-accent-soft);
}
.collection-tools button[aria-pressed="true"] {
  background: var(--cc-accent-soft);
  color: var(--studio-accent);
  box-shadow: var(--studio-inset);
}
.collection-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--studio-muted);
}
.collection-tools select {
  font: inherit;
  padding-inline: 12px 32px;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
  color: var(--studio-muted);
  font-size: 13px;
}
.results-heading p {
  margin: 0;
}
.unified-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px 24px;
}
.library-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  background: var(--cc-glass);
  border: 1px solid var(--cc-glass-edge);
  border-radius: 24px;
  box-shadow: var(--cc-shadow);
  transition:
    box-shadow 420ms var(--cc-ease),
    border-color 300ms;
  --cc-light: color-mix(in srgb, var(--cc-accent) 18%, transparent);
}
.library-card[data-theme="soft"] {
  --cc-light: color-mix(in srgb, var(--cc-accent-light) 28%, transparent);
}
.library-card[data-theme="expressive"] {
  --cc-light: color-mix(in srgb, var(--cc-accent) 16%, transparent);
}
.library-card:is(:hover, :focus-within) {
  border-color: var(--cc-border);
  box-shadow: var(--cc-shadow);
}
.library-card[hidden] {
  display: none !important;
}
.library-card:focus {
  outline: 2px solid var(--studio-accent);
  outline-offset: 6px;
  border-radius: 24px;
}
.library-preview {
  display: grid;
  place-items: center;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 8px 8px 0;
  border: 1px solid var(--studio-line);
  border-radius: 18px;
  background: var(--cc-stage);
  box-shadow: var(--cc-shadow);
}
.library-preview > .ff-demo,
.library-preview > .ui-stage,
.library-preview > .mc-preview {
  width: 100%;
  height: 100%;
  min-height: 260px;
}
.library-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 20px 20px;
}
.library-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.library-card-tag {
  color: var(--studio-muted);
  font-size: 13px;
}
.library-card-body h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 6px 0 7px;
  transition: color 220ms;
}
.library-card:is(:hover, :focus-within) .library-card-body h3 {
  color: var(--cc-accent-strong);
}
.library-card-body p {
  color: var(--studio-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.library-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}
.view-code,
.full-template {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--studio-line);
  border-radius: 9px;
  background: var(--cc-surface);
  box-shadow: var(--studio-raised);
  color: var(--studio-accent);
  font: 600 14px/1.4 var(--studio-font);
  cursor: pointer;
}
.view-code:hover {
  background: var(--cc-accent-soft);
  box-shadow: var(--cc-shadow);
  border-color: var(--cc-accent);
}
.full-template {
  padding: 8px 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.library-card-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}
.library-bookmark,
.library-more {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--studio-muted);
  font-size: 23px;
  cursor: pointer;
}
.library-bookmark:hover,
.library-more:is(:hover, [aria-expanded="true"]) {
  background: var(--cc-accent-soft);
}
.library-bookmark[aria-pressed="true"] {
  color: var(--studio-accent);
  background: var(--cc-accent-soft);
  box-shadow: var(--studio-inset);
}
.library-bookmark span {
  transition: transform 300ms cubic-bezier(0.2, 1.7, 0.4, 1);
}
.library-bookmark[aria-pressed="true"] span {
  transform: scale(1.13);
}
.template-preview {
  width: 100%;
  height: 280px;
  border: 0;
  background: var(--cc-surface);
}
.react-preview {
  width: 100%;
  min-height: 260px;
  padding: 30px;
  display: grid;
  place-items: center;
  background: var(--cc-stage);
}
.react-card {
  width: 92%;
  padding: 22px;
  border: 1px solid var(--cc-glass-edge);
  border-radius: 16px;
  background: var(--cc-glass);
  box-shadow: var(--cc-shadow);
  backdrop-filter: blur(var(--cc-frost, 15px));
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
}
.react-card small {
  font-size: 13px;
  color: var(--studio-muted);
}
.react-card b {
  display: block;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 8px;
}
.react-card span {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--studio-accent);
}
.no-results {
  padding: 50px 24px;
  text-align: center;
  color: var(--studio-muted);
}
.no-results strong {
  font-size: 23px;
  color: var(--studio-ink);
}
/* Useful routes replace a decorative dashboard. */
.workspace-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 10%;
  padding-block: 52px 70px;
  border-top: 1px solid var(--studio-line);
}
.workspace-feature h2,
.usage-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 20px;
}
.workspace-feature p,
.usage-panel p {
  margin: 0 0 18px;
  max-width: 510px;
  color: var(--studio-muted);
  font-size: 16px;
  line-height: 1.75;
}
.workspace-route-list {
  display: grid;
  gap: 5px;
}
.workspace-route-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 16px;
  border-radius: 12px;
  transition: background-color 0.2s;
}
.workspace-route-list > a:hover {
  background: var(--cc-glass-fill);
}
.workspace-route-list strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.workspace-route-list small {
  display: block;
  font-size: 14px;
  color: var(--studio-muted);
  margin-top: 4px;
}
.route-kind {
  color: var(--studio-muted);
  font-size: 13px;
}
.usage-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 45px 0 60px;
}
.unified-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 26px 35px;
  border-top: 1px solid var(--studio-line);
  color: var(--studio-muted);
  font-size: 13px;
}
.unified-footer p {
  margin: 0;
}
.unified-footer > a:last-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Inspectable source, with its own scroll area. */
.code-dialog {
  width: min(1040px, calc(100% - 40px));
  max-height: 90dvh;
  padding: 28px;
  overflow: auto;
  border: 1px solid var(--cc-glass-edge);
  border-radius: 20px;
  background: var(--cc-surface);
  color: var(--studio-ink);
  box-shadow: 0 24px 90px #1d1d1f4d;
}
.code-dialog::backdrop {
  background: #16161980;
  backdrop-filter: blur(var(--cc-frost, 15px));
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
}
.code-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.code-head h2 {
  margin: 7px 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.source-label {
  font-size: 14px;
  color: var(--studio-muted);
}
.code-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--cc-canvas);
  color: var(--studio-ink);
  font-size: 25px;
  cursor: pointer;
}
.code-dialog p {
  color: var(--studio-muted);
  font-size: 15px;
  line-height: 1.65;
}
.source-assets,
.code-dependencies {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding-block: 7px;
  font-size: 13px;
}
.source-assets a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0;
}
.code-toolbar > span {
  color: var(--studio-muted);
  font-size: 13px;
}
.source-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: var(--cc-canvas);
  box-shadow: var(--studio-inset);
}
.source-tab {
  min-height: 40px;
  padding: 9px 17px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--studio-muted);
  font-size: 14px;
  cursor: pointer;
}
.source-tab[aria-selected="true"],
.source-tab[aria-pressed="true"] {
  background: var(--cc-surface);
  color: var(--studio-accent);
  box-shadow: var(--cc-shadow);
}
.source-tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.code-dialog pre {
  max-height: 45dvh;
  min-height: 160px;
  padding: 24px;
  margin: 0 0 20px;
  overflow: auto;
  border-radius: 12px;
  background: #252528;
  color: #f5f5f7;
  font:
    13px/1.8 Consolas,
    monospace;
  tab-size: 2;
  white-space: pre;
}
.code-dialog code {
  font: inherit;
  color: inherit;
  background: transparent;
}
.code-dialog .cc-code-block .cc-code-pre {
  background: var(--cc-code-paper);
  color: var(--cc-ink);
  margin-bottom: 20px;
}
.code-dialog .cc-code-block.cc-code-wrapped .cc-code-pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.code-bottom span {
  margin-left: auto;
  color: var(--studio-muted);
  font-size: 13px;
}
/* Offscreen examples rest; the catalog shell stays still. */
.library-card:not(.in-view) .library-preview *,
.library-card:not(.in-view) .library-preview *::before,
.library-card:not(.in-view) .library-preview *::after,
html[data-motion="paused"] .library-preview,
html[data-motion="paused"] .library-preview *,
html[data-motion="paused"] .library-preview *::before,
html[data-motion="paused"] .library-preview *::after {
  animation-play-state: paused !important;
}
.unified-header :focus-visible,
.hero-copy :focus-visible,
.category-scroll :focus-visible,
.collection-tools button:focus-visible,
.library-card-actions :focus-visible,
.library-bookmark:focus-visible,
.library-more:focus-visible,
.code-dialog button:focus-visible,
.workspace-feature a:focus-visible,
.usage-panel a:focus-visible,
.unified-footer a:focus-visible {
  outline: 2px solid var(--studio-accent);
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .unified-shell {
    width: calc(100% - 48px);
  }
  .unified-hero {
    gap: 5%;
  }
  .header-inner {
    gap: 22px;
  }
  .header-inner nav {
    gap: 18px;
  }
  .header-cta {
    display: none;
  }
  .unified-grid {
    gap: 30px 20px;
  }
}
@media (max-width: 900px) {
  .unified-hero {
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    padding-block: 34px 40px;
  }
  .hero-copy h1 {
    font-size: 3.25rem;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-meta {
    gap: 6px;
  }
  .hero-meta span {
    flex-basis: 100%;
  }
  .unified-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .library-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .library-search {
    flex-basis: 100%;
  }
  .library-select {
    flex: 1;
  }
  .library-select select {
    flex: 1;
  }
  .workspace-feature,
  .usage-panel {
    gap: 5%;
  }
  .route-kind {
    display: none;
  }
}
@media (max-width: 700px) {
  .unified-shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 70px;
    gap: 12px;
  }
  .unified-brand {
    font-size: 18px;
    gap: 7px;
  }
  .header-inner nav {
    gap: 14px;
  }
  .header-inner nav a {
    font-size: 14px;
  }
  .header-inner nav a:nth-child(2) {
    display: none;
  }
  .unified-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 9.5vw, 4rem);
  }
  .hero-copy h1 br {
    display: none;
  }
  .hero-copy > p {
    max-width: 540px;
  }
  .hero-meta {
    flex-direction: row;
    gap: 6px 16px;
    margin-top: 22px;
  }
  .hero-meta span,
  .hero-meta span:first-child {
    flex-basis: auto;
  }
  #material-lab {
    max-width: 580px;
    justify-self: center;
  }
  .library {
    padding-block: 30px 48px;
  }
  .collection-tools {
    flex-wrap: wrap;
  }
  .collection-tools-end {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .results-heading span {
    display: none;
  }
  .workspace-feature,
  .usage-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 35px;
  }
  .workspace-feature h2 br,
  .usage-panel h2 br {
    display: none;
  }
  .workspace-route-list > a {
    padding-inline: 0;
  }
  .unified-footer {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  .unified-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .header-inner nav a:first-child {
    display: none;
  }
  .library-select select {
    min-width: 0;
    width: 160px;
  }
  .category-scroll {
    gap: 18px;
  }
  .code-dialog {
    width: calc(100% - 20px);
    padding: 20px;
    max-height: 94dvh;
  }
  .code-head h2 {
    font-size: 24px;
  }
  .source-tab {
    padding-inline: 12px;
  }
  .code-bottom span {
    margin: 0;
    flex-basis: 100%;
  }
  .code-dialog pre {
    padding: 16px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .unified-header,
  .code-dialog {
    background: var(--cc-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .unified-header {
    background: var(--cc-surface);
  }
}
@media (forced-colors: active) {
  .library-preview,
  .view-code,
  .primary-action,
  .header-cta,
  .code-dialog,
  .source-tabs,
  .library-bookmark {
    border: 1px solid CanvasText;
  }
  .category-button.active,
  .source-tab[aria-selected="true"],
  .library-bookmark[aria-pressed="true"],
  .collection-tools button[aria-pressed="true"] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}
