.library-explorer, .test-main.test-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  width: min(100%, 96rem);
  margin-inline: auto;
  padding: 1.15rem clamp(.875rem, 3.64vw, 2.5rem) 3rem;
}
.library-current, .test-current { min-width: 0; }
.library-explorer .library-wrap { padding-inline: 0; }
.library-explorer .library-hero {
  padding: 0 0 1rem;
  border: 0;
  background: transparent;
}
.library-explorer .library-hero::before { display: none; }
.library-explorer .library-intro { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.library-explorer .library-tabs, .test-section-tabs {
  display: flex; width: 100%; gap: .4rem; border-bottom: 1px solid var(--line);
}
.library-explorer .library-tabs a, .test-section-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .85rem;
  border-bottom: 3px solid transparent; color: var(--page-muted); font-weight: 650; font-size: .9rem;
}
.library-explorer .library-tabs a[aria-current], .test-section-tabs a[aria-current] {
  color: var(--page-accent); border-bottom-color: currentColor;
}
.library-explorer .library-photo { display: none; }
.library-explorer .library-intro h1 { margin-block: 1.25rem .35rem; font-size: clamp(1.65rem, 2.7vw, 2.4rem); }
.library-explorer .library-hero-copy p { color: var(--page-muted); }
.library-explorer .library-body { padding-top: 0; }
.library-explorer .library-menu {
  position: static; width: 100%; margin: .3rem 0 0; padding: .25rem;
  box-shadow: none; border: 0; max-height: min(55dvh, 30rem);
}
.library-explorer .library-menu-option { justify-content: start; gap: .5rem; }
.library-explorer .library-menu-option svg { order: -1; flex: none; color: var(--muted); }
.library-explorer .library-menu-option small { margin-inline-start: auto; }
.library-explorer .library-filters, .test-tree {
  min-width: 0; color: var(--panel-ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--surface-corner, .7rem);
}
.library-explorer .library-filters > summary, .test-tree > summary {
  display: flex; align-items: center; justify-content: space-between;
  min-width: 0; min-height: 44px; padding: .5rem .85rem;
  border: 0; border-radius: inherit; background: transparent; cursor: pointer; font-weight: 700; list-style: none;
}
.test-tree > summary::-webkit-details-marker { display: none; }
.test-tree > summary::after {
  content: ""; width: .44rem; height: .44rem; margin-inline-end: .25rem;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.test-tree[open] > summary::after { transform: rotate(225deg); }
.test-tree nav {
  display: grid; gap: .2rem; max-height: min(52dvh, 32rem); overflow: auto;
  border-top: 1px solid var(--line); padding: .4rem; scrollbar-width: thin;
}
.test-tree nav summary, .test-tree nav a {
  min-height: 38px; cursor: pointer; padding: .45rem .55rem;
  font-size: .875rem; line-height: 1.45; border-radius: .35rem; overflow-wrap: anywhere;
}
.test-tree nav summary svg { vertical-align: -.18em; margin-inline-end: .4rem; }
.test-tree nav details details { margin-inline-start: .55rem; border-inline-start: 1px solid var(--line); padding-inline-start: .25rem; }
.test-tree nav details[open] > summary { font-weight: 700; }
.test-tree nav a { display: block; margin-inline-start: .7rem; color: var(--muted); }
.test-tree nav :is(summary,a):hover, .test-tree nav a[aria-current] {
  color: var(--tint-accent); background: var(--tint);
}
.test-tree nav a[aria-current] { border-inline-start: 3px solid; font-weight: 700; }
.test-tree :focus-visible { outline-offset: -3px; }
.test-skip { position: fixed; z-index: 20; top: -6rem; left: .7rem; background: var(--paper); color: var(--panel-ink); padding: .85rem; }
.test-skip:focus { top: .4rem; }
.test-current .test-breadcrumb { margin-top: .8rem; }
.test-current .test-heading h1 { display: flex; gap: .65rem; align-items: center; }
.test-current .test-heading h1 > svg {
  box-sizing: content-box; flex: none; padding: .58rem; color: var(--tint-accent);
  background: var(--tint); border-radius: var(--surface-corner, .65rem);
}
.test-result-breakdown summary { width: fit-content; min-height: 40px; padding: .55rem .25rem; color: var(--panel-accent); cursor: pointer; }
.test-current [data-test-result-content] .test-result-breakdown { margin-block-start: .5rem; }
.test-main.test-workspace .test-layout { grid-template-columns: minmax(0, 1fr); }
.test-main.test-workspace [data-test-result] .test-score {
  text-align: center; padding: clamp(.9rem, 3vw, 2.35rem) .6rem;
  color: var(--tint-accent); background: var(--tint);
}
.test-tree[hidden] { display: none; }
@media (min-width: 64rem) {
  .library-explorer, .test-main.test-workspace {
    grid-template-columns: clamp(12rem, 17vw, 15.5rem) minmax(0, 1fr);
    column-gap: clamp(1rem, 2.3vw, 2.3rem);
  }
  .library-explorer .library-filters, .test-tree {
    position: sticky; top: .8rem; padding-inline-end: .8rem;
    background: transparent; color: var(--ink); border: 0; border-inline-end: 1px solid var(--line); border-radius: 0;
  }
  .library-explorer .library-menu, .test-tree nav { max-height: calc(100dvh - 8.5rem); background: transparent; }
  .test-tree nav { border-top: 0; padding: .2rem .05rem; }
  .test-tree nav a, .library-explorer .library-menu-option { color: var(--ink); }
  .library-explorer .library-menu-option :is(svg,small) { color: var(--page-muted); }
  .library-explorer .library-menu-option:is(:hover,[aria-pressed=true]) :is(svg,small) { color: var(--tint-muted); }
  .library-explorer .library-menu-option[aria-pressed=true], .test-tree nav a[aria-current] { color: var(--tint-accent); }
  .test-main:has(.test-tree[hidden]) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 63.99rem) {
  .test-tree nav summary, .test-tree nav a { min-height: 44px; }
}
