/*
 * The public website's stylesheet (the public website specification). Every colour is a brand role from
 * brand.css (loaded first) or a mix of two of them; no colour literal is stated here.
 */
:root {
  --ink: var(--brand-text);
  --paper: var(--brand-paper);
  --surface: var(--brand-surface);
  --muted: color-mix(in srgb, var(--brand-text) 62%, var(--brand-surface));
  --rule: color-mix(in srgb, var(--brand-text) 14%, var(--brand-surface));
  --wash: color-mix(in srgb, var(--brand-paper) 55%, var(--brand-surface));
  --sans: var(--brand-font-sans), "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--brand-font-serif), "Source Serif 4", "Source Serif Fallback", Georgia, serif;
  /* a cover's mockup carries its own cast shadow, drawn for a light surface; a dark theme gives it a faint halo of the surface color instead */
  --cover-halo: transparent;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 72rem;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-link);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}
code,
pre,
kbd {
  font-family: var(--mono);
  font-size: 0.9em;
}
pre {
  background: var(--wash);
  border: 1px solid var(--rule);
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
}
blockquote {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--brand-tertiary);
  font-family: var(--serif);
  font-size: 1.15rem;
}
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-weight: 600;
}
.table {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}
.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* masthead */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 5;
}
.masthead__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.85rem var(--gap);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand img {
  width: 150px;
  height: auto;
}
.wordmark {
  font-family: var(--serif, inherit);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--brand-primary, currentColor);
}
.footer .wordmark {
  color: var(--brand-surface, #fff);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  margin-left: auto;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--brand-tertiary);
}
.menu {
  display: none;
  margin-left: auto;
  font: inherit;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.35rem 0.8rem;
  color: var(--ink);
}
@media (max-width: 52rem) {
  .menu {
    display: block;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin: 0;
    padding-top: 0.75rem;
  }
  .masthead__inner {
    flex-wrap: wrap;
  }
  .nav.is-open {
    display: flex;
  }
}

/* breadcrumb band: part of the sticky masthead, so the trail stays in view while the page scrolls */
.crumbband {
  border-top: 1px solid var(--rule);
  background: var(--wash);
}
.crumbband__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.5rem var(--gap);
}
.crumbs {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
  min-width: 0;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5rem;
}
.crumbs li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}
.crumbs li + li::before {
  content: "\203A";
  color: var(--muted);
}
.crumbs li > a,
.crumbs li > [aria-current] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumbs li > a {
  max-width: 14rem;
  color: var(--muted);
  text-decoration: none;
}
.crumbs li > a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.crumbs li > [aria-current] {
  max-width: 22rem;
  color: var(--ink);
}
/* A long trail folds the crumbs above the current page's nearest parents into the … menu: the last two stay in view on a
   narrow screen, the last three on a wide one (data-tail-lg). The page decides whether a trail folds; this decides what hides. */
.crumbs li.crumbs__fold {
  display: none;
}
.crumbs[data-fold] li.crumbs__fold {
  display: flex;
}
.crumbs[data-fold] li:not(:first-child, .crumbs__fold):nth-last-child(n + 3) {
  display: none;
}
@media (min-width: 48rem) {
  .crumbs[data-tail-lg="3"] li:not(:first-child, .crumbs__fold):nth-last-child(3) {
    display: flex;
  }
  .crumbs[data-tail-lg="3"] .crumbs__menu [data-d="2"] {
    display: none;
  }
}
.crumbs__more {
  font: inherit;
  line-height: 1;
  background: none;
  border: 0;
  padding: 0 0.3rem;
  color: var(--muted);
  cursor: pointer;
  anchor-name: --crumbs-more;
}
.crumbs__more:hover,
.crumbs__more:has(+ :popover-open) {
  color: var(--ink);
}
.crumbs__menu {
  position: fixed;
  inset: auto;
  margin: 0.4rem 0 0;
  padding: 0.3rem 0;
  min-width: 14rem;
  max-width: min(24rem, calc(100vw - 2rem));
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--brand-text) 10%, transparent);
  position-anchor: --crumbs-more;
  top: anchor(bottom);
  left: anchor(left);
}
.crumbs__menu a,
.crumbs__menu span {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--muted);
  text-decoration: none;
}
.crumbs__menu a:hover {
  color: var(--ink);
  background: var(--wash);
}

/* page heads and sections */
.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-head .lede {
  max-width: 46rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-tertiary);
  margin: 0 0 0.75rem;
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 44rem;
}
.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.section + .section {
  border-top: 1px solid var(--rule);
}
.section--paper {
  background: var(--paper);
}
.section-head {
  margin-bottom: 1.75rem;
}
.section-head__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
}
.more {
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

/* the About deck, between the page head and the text (the public website specification); frontiers-deck-slides styles the deck itself */
.about-deck {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.about-deck .deck {
  box-shadow: 0 1px 2px color-mix(in srgb, var(--brand-text) 8%, transparent);
}

/* home */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gap);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  margin-bottom: 0.35em;
}
.hero__art img {
  width: 100%;
  border: 1px solid var(--rule);
}
.hero__art figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
@media (max-width: 52rem) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}
.hero--picture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 0;
}
.hero--picture .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: -2;
}
.hero--picture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand-text) 84%, transparent) 0%,
    color-mix(in srgb, var(--brand-text) 56%, transparent) 52%,
    color-mix(in srgb, var(--brand-text) 20%, transparent) 100%
  );
}
.hero__inner--single {
  grid-template-columns: minmax(0, 46rem);
  min-height: clamp(26rem, 44vw, 32.5rem);
}
.hero--picture h1,
.hero--picture .kicker {
  color: var(--brand-surface);
}
.hero--picture .lede {
  color: color-mix(in srgb, var(--brand-surface) 82%, transparent);
}
.hero--picture .button {
  background: var(--brand-surface);
  color: var(--ink);
  border-color: var(--brand-surface);
}
.hero--picture .button:hover {
  background: transparent;
  color: var(--brand-surface);
}
.hero--picture .button--ghost {
  background: transparent;
  color: var(--brand-surface);
  border-color: color-mix(in srgb, var(--brand-surface) 55%, transparent);
}
.hero--picture .button--ghost:hover {
  border-color: var(--brand-surface);
}
.hero-stats {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0 0 2.5rem;
}
.hero-stats .stats {
  margin-top: 0;
  position: relative;
  top: -1.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-top: 2rem;
}
.stat {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
}
.stat:hover {
  background: var(--wash);
}
.stat__n {
  display: block;
  font: 500 2rem/1 var(--serif);
}
.stat__l {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--gap);
}
.grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: color-mix(in srgb, var(--brand-text) 40%, var(--brand-surface));
}
.section--paper .card {
  background: var(--surface);
}
.card__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.card__title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.card__title a {
  color: var(--ink);
  text-decoration: none;
}
.card__title a:hover {
  text-decoration: underline;
}
.card__title .ext {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.3rem;
}
.card__text {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  font-size: 0.83rem;
  color: var(--muted);
  margin: auto 0 0;
  padding-top: 0.5rem;
}
.card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  background: var(--surface);
}
.badge--ok {
  color: var(--brand-success);
  border-color: color-mix(in srgb, var(--brand-success) 45%, var(--brand-surface));
}
.badge--soon {
  color: var(--brand-tertiary);
  border-color: color-mix(in srgb, var(--brand-tertiary) 45%, var(--brand-surface));
}
.badge--draft {
  color: var(--brand-warning);
  border-color: color-mix(in srgb, var(--brand-warning) 45%, var(--brand-surface));
}
.badge--info {
  color: var(--brand-info);
  border-color: color-mix(in srgb, var(--brand-info) 45%, var(--brand-surface));
}

/* covers */
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 2rem var(--gap);
}
.shelf--row {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(9.5rem, 11rem);
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}
.shelf--row .cover {
  scroll-snap-align: start;
}
.shelf__heading {
  grid-column: 1 / -1;
  margin: 1.5rem 0 -1rem;
}
.shelf__heading--domain {
  font: 600 0.8rem/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.5rem 0 -1.25rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.shelf--grouped > .shelf__heading:first-child {
  margin-top: 0;
}
/* A cover is the book's standing 3D mockup, its own shadow drawn in, on a transparent 600 by 680 canvas; on a dark theme the halo grounds it instead. */
:root[data-theme="dark"] {
  --cover-halo: color-mix(in srgb, var(--brand-surface) 22%, transparent);
}
.cover__img {
  display: block;
  transition: transform 0.2s ease;
}
.cover__img:hover {
  transform: translateY(-3px);
}
.cover__img img {
  aspect-ratio: 600 / 680;
  object-fit: contain;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1.25rem var(--cover-halo));
}
.cover__blank {
  display: flex;
  aspect-ratio: 2 / 3;
  align-items: flex-end;
  padding: 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1rem;
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--brand-text) 20%, transparent),
    0 10px 24px -12px color-mix(in srgb, var(--brand-text) 45%, transparent);
}
.cover__title {
  font-size: 1rem;
  margin: 0.85rem 0 0.2rem;
  line-height: 1.25;
}
.cover__title a {
  color: var(--ink);
  text-decoration: none;
}
.cover__sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}

/* filters */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin: 0 0 1.75rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.filters button {
  font: inherit;
  font-size: 0.85rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.search input {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--rule);
  min-width: 16rem;
  background: var(--surface);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.count {
  font-size: 0.9rem;
  color: var(--muted);
}

/* item pages */
.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
/* A book's page has three parts: its cover, its text and its details. Wide: the details to the right of the text. Middle:
   the details under the cover, beside the text. Narrow: one column, the details last. */
.item--book {
  grid-template-columns: 15rem minmax(0, 1fr);
  grid-template-areas: "cover main" "aside main";
  grid-template-rows: auto 1fr;
}
.item--book > .item__cover {
  grid-area: cover;
}
.item--book > .prose {
  grid-area: main;
}
.item--book > .item__aside {
  grid-area: aside;
  align-self: start;
}
@media (min-width: 72rem) {
  .item--book {
    grid-template-columns: 14rem minmax(0, 1fr) 15rem;
    grid-template-areas: "cover main aside";
    grid-template-rows: auto;
    gap: 2.5rem;
  }
}
@media (max-width: 52rem) {
  .item {
    grid-template-columns: 1fr;
  }
  .item--book {
    grid-template-columns: 1fr;
    grid-template-areas: "cover" "main" "aside";
    grid-template-rows: auto;
  }
}
.item__aside {
  font-size: 0.93rem;
}
.item__aside dl {
  margin: 0;
  display: grid;
  gap: 0.1rem;
}
.item__aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.9rem;
}
.item__aside dd {
  margin: 0;
}
.prose {
  max-width: 44rem;
  min-width: 0;
}
.prose h2 {
  margin-top: 2rem;
}
.prose h3 {
  margin-top: 1.6rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  margin-bottom: 0.35rem;
}
.prose img {
  margin: 1.5rem 0;
}
.prose figure {
  margin: 1.5rem 0;
}
.prose figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}
.headline {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.tagline {
  font-size: 1.2rem;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.button {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.button:hover {
  background: var(--surface);
  color: var(--ink);
}
.button--ghost {
  background: var(--surface);
  color: var(--ink);
}
.button--ghost:hover {
  background: var(--ink);
  color: var(--surface);
}
.book-cover {
  width: 100%;
  max-width: 22rem;
  height: auto;
  filter: drop-shadow(0 0 1.25rem var(--cover-halo));
}
/* A research record's standing mockup (the public website specification): beside the record's details on its page, small on its card or row; the halo grounds it on a dark theme. */
.item__mockup {
  margin: 0 0 1.5rem;
}
.item__mockup img {
  width: 100%;
  max-width: 18rem;
  height: auto;
  aspect-ratio: 600 / 680;
  object-fit: contain;
  filter: drop-shadow(0 0 1.25rem var(--cover-halo));
}
.card__img {
  display: block;
  margin: 0 0 0.75rem;
}
.card__img img {
  height: 8rem;
  width: auto;
  max-width: 100%;
  aspect-ratio: 600 / 680;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 0 1rem var(--cover-halo));
}
.list__img {
  display: block;
  float: right;
  margin: 0 0 0.5rem 1rem;
}
.list__img img {
  height: 6rem;
  width: auto;
  aspect-ratio: 600 / 680;
  object-fit: contain;
  filter: drop-shadow(0 0 0.75rem var(--cover-halo));
}
/* The Journal's current issue, its standing cover (the public website specification): large on the Journal's front beside the quarter's items, small on the home page beside the section's head. */
.issue-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}
.issue-row--home {
  align-items: center;
  margin-bottom: 1.5rem;
}
.issue-row__items {
  min-width: 0;
}
.issue-cover {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.issue-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 680;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 0 1.25rem var(--cover-halo));
}
.issue-cover__label {
  display: block;
  margin-top: 0.5rem;
}
.issue-cover--large {
  max-width: 22rem;
}
.issue-cover--small {
  max-width: 11rem;
}
.issue-cover--small img {
  object-position: left center;
}
.issue-cover--flat img {
  aspect-ratio: 600 / 776;
  filter: none;
  border: 1px solid var(--rule);
}
@media (min-width: 52rem) {
  .issue-row {
    grid-template-columns: 22rem minmax(0, 1fr);
  }
  .issue-row--home {
    grid-template-columns: 11rem minmax(0, 1fr);
  }
}
.drawings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.drawings a {
  display: block;
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 0.5rem;
}
.drawings img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  width: 100%;
  image-rendering: auto;
}
.patent-thumb {
  height: 9rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 1rem;
  padding: 0.25rem;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
}
.list time,
.list .when {
  color: var(--muted);
  font-size: 0.9rem;
}
.list li > :only-child {
  grid-column: 1 / -1;
}
.list h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.list h3 a {
  color: var(--ink);
  text-decoration: none;
}
.list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 40rem) {
  .list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.note {
  background: var(--wash);
  border-left: 3px solid var(--brand-secondary);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--gap);
}

/* footer */
.footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--brand-surface) 80%, var(--brand-text));
  margin-top: 0;
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3rem var(--gap) 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.footer__inner p {
  font-size: 0.95rem;
  max-width: 22rem;
  margin-top: 1rem;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer h2 {
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-surface);
  margin-bottom: 0.9rem;
}
.footer a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.18rem 0;
}
.footer a:hover {
  color: var(--brand-surface);
  text-decoration: underline;
}
.footer__legal {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem var(--gap) 2rem;
  font-size: 0.82rem;
  border-top: 1px solid color-mix(in srgb, var(--brand-surface) 18%, var(--brand-text));
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}
.footer__login {
  margin-left: auto;
  color: inherit;
  opacity: 0.85;
}
.footer__login:hover {
  opacity: 1;
}
/* the log-in dialog (the public website specification): patched into #login by the server */
.login-layer:has(dialog) {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.login {
  position: relative;
  margin: 0;
  width: min(26rem, calc(100vw - 2rem));
  box-sizing: border-box;
  padding: 2rem 2.25rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.25);
}
.login h1 {
  font: 500 1.6rem/1.2 var(--serif);
  margin: 0 0 0.75rem;
}
.login p {
  margin: 0 0 1rem;
}
.login .small {
  font-size: 0.88rem;
  color: var(--muted);
}
.login label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}
.login input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--muted);
  margin: 0 0 1rem;
}
.login input[name="code"] {
  letter-spacing: 0.3em;
  font-size: 1.3rem;
  text-align: center;
}
.login button[type="submit"] {
  font: inherit;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
}
.login .err {
  color: #8a3147;
  font-weight: 600;
}
.login__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.login__link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--link, #214ea2);
  text-decoration: underline;
  cursor: pointer;
}
.downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  background: var(--wash);
}
.downloads__label {
  margin: 0 0.25rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 52rem) {
  .footer__inner,
  .footer__links {
    grid-template-columns: 1fr;
  }
}

/* research sections: claim label, what would prove the claim wrong, described figures, tables, sources */
.rsec__claim {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: -0.25rem 0 1rem;
}
.rsec__wrong {
  border-left: 2px solid var(--rule);
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 1rem 0;
}
.rsec__wrong ul {
  margin: 0.25rem 0 0;
}
.rsec__figure {
  border: 1px solid var(--rule);
  background: var(--wash);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}
.rsec__figure figcaption {
  font-size: 0.93rem;
  color: var(--ink);
}
.rsec__image {
  margin: 1.5rem 0;
}
.rsec__image img {
  display: block;
  width: 100%;
  height: auto;
}
.rsec__questions {
  margin: 1rem 0 0;
}
.rsec__loops {
  margin: 1rem 0 0;
}
.rsec__loops dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
}
.rsec__loops dd {
  margin: 0.3rem 0 0;
}
.rsec__loop-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.rsec__questions dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.25rem;
}
.rsec__questions dd {
  margin: 0.35rem 0 0;
}
.rsec__table {
  margin: 1.5rem 0;
}
.rsec__table table {
  min-width: 40rem;
}
.rsec__table figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.rsec .grid {
  margin: 1.25rem 0;
}
.rsec__sources {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1.5rem;
  font-size: 0.93rem;
}
.grid__heading {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
}
.grid__heading:first-child {
  margin-top: 0;
}
.grid__heading h3 {
  margin: 0;
}
.grid__heading a {
  font-size: 0.9rem;
}
.st-test li {
  margin-bottom: 0.6rem;
}
.st-status--red,
.st-status--unknown {
  color: var(--brand-danger);
  font-weight: 600;
}
.st-status--green {
  font-weight: 600;
}
.small {
  font-size: 0.85rem;
  color: var(--muted);
}
.steps {
  padding-left: 1.3rem;
}
.steps li {
  margin-bottom: 0.6rem;
}
.chips {
  list-style: none;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chips li {
  border: 1px solid var(--rule);
  padding: 0.2rem 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 !important;
}
.brief {
  margin: 1.5rem 0;
}
.brief dl {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}
.brief dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.brief dd {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.brief__value small {
  color: var(--muted);
}
.counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin: 0 0 2rem;
}
.counts div {
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.counts dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.counts dd {
  margin: 0.25rem 0 0;
  font: 500 1.8rem/1 var(--serif);
}
.sectors {
  padding-left: 1.2rem;
  margin: 0 0 2rem;
}
.sectors li {
  margin-bottom: 0.6rem;
}

/* what's new: month headings and items */
.newsitem {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.newsitem time {
  color: var(--muted);
  font-size: 0.9rem;
}
.newsitem h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.newsitem h3 a {
  color: var(--ink);
  text-decoration: none;
}
.newsitem p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.newsitem__label {
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
#news > h2[data-heading] {
  font-size: 1.1rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 2rem 0 0.25rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
}
#news > h2[data-heading]:first-child {
  margin-top: 0;
}
@media (max-width: 40rem) {
  .newsitem {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
sup.mark {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
}

/* a companion page's contents list */
.companion-toc {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  margin: 0 0 2rem;
}
.companion-toc .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.companion-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.companion-toc li {
  margin: 0 0 0.35rem;
}
.companion-toc li.sub {
  padding-left: 1.25rem;
}

/* the patent portfolio (033-patent-portfolio): the inquiry, the questions, the claims, the relations and the supporting assets */
.inquiry {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand-primary);
  background: var(--wash);
  padding: 1.1rem 1.35rem;
  margin: 2.25rem 0;
}
.inquiry h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.inquiry .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 0.4rem;
}
.prows {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}
.prow {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 0.85rem 1.1rem;
}
.prow__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  margin: 0 0 0.55rem;
}
.prow__num {
  font: 600 1.05rem/1.2 var(--mono);
  text-decoration: none;
}
.prow__num:hover {
  text-decoration: underline;
}
.prow__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.45rem 1.25rem;
  margin: 0;
}
.prow__facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.prow__facts dd {
  margin: 0.1rem 0 0;
  font-size: 0.93rem;
}
.filings {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.filing {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.filing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
}
.filing__app {
  font: 600 0.95rem/1.3 var(--mono);
}
.filing__src {
  margin-left: auto;
  font-size: 0.85rem;
}
.filing__dates,
.filing__meta {
  margin: 0.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  font-size: 0.9rem;
}
.filing__meta {
  color: var(--muted);
  font-size: 0.85rem;
}
.drawings-block {
  margin: 1.5rem 0 2rem;
  min-width: 0;
  max-width: 100%;
}
.carousel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--rule);
  background: var(--surface);
  outline-offset: 3px;
}
.carousel__track {
  display: flex;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  margin: 0;
  padding: 0.75rem;
  box-sizing: border-box;
  text-align: center;
}
.drawings-block > .carousel__slide {
  border: 1px solid var(--rule);
  background: var(--surface);
}
.carousel__slide img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
}
.carousel__slide figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.4rem 0 0.6rem;
  border-top: 1px solid var(--rule);
}
.carousel__nav button {
  font: 600 1.4rem/1 var(--sans);
  width: 2.4rem;
  height: 2.2rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.carousel__nav button:hover:not(:disabled) {
  border-color: var(--ink);
}
.carousel__nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel__count {
  font-size: 0.9rem;
  color: var(--muted);
  min-width: 5.5rem;
  text-align: center;
}
.carousel:not(.is-ready) .carousel__nav {
  display: none;
}
.figure-notes {
  font-size: 0.92rem;
  margin-top: 0.75rem;
}
.figure-notes summary {
  cursor: pointer;
  font-weight: 600;
}
.figure-notes li {
  margin: 0 0 0.35rem;
}
.callout {
  border-left: 3px solid var(--brand-secondary);
  background: var(--wash);
  padding: 0.9rem 1.2rem;
  margin: 1.5rem 0;
}
.callout p {
  margin: 0 0 0.35rem;
}
.label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.byline {
  color: var(--muted);
  font-size: 0.97rem;
}
.claim {
  border-left: 2px solid var(--rule);
  padding: 0.1rem 0 0.1rem 1rem;
  margin: 0 0 1.1rem;
}
.claim p {
  margin: 0 0 0.35rem;
}
details.claims,
.faq details,
details.cpc-list {
  border-top: 1px solid var(--rule);
  padding: 0.65rem 0;
}
details.claims summary,
.faq summary,
details.cpc-list summary {
  cursor: pointer;
  font-weight: 600;
}
details.claims ol li {
  margin: 0 0 0.75rem;
}
.faq {
  margin: 2rem 0;
}
.faq details p {
  margin: 0.5rem 0 0;
  color: var(--ink);
}
.family-tree,
.family-tree ul {
  list-style: none;
  padding-left: 1.1rem;
  border-left: 1px solid var(--rule);
  margin: 0.35rem 0;
}
.family-tree {
  padding-left: 0.9rem;
}
.family-tree li {
  margin: 0.35rem 0;
}
ul.assets {
  padding-left: 1.1rem;
}
ul.assets li {
  margin: 0 0 0.7rem;
}
ul.patent-numbers {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  columns: 2;
}
ul.topics {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 0.9rem 2rem;
  margin: 0 0 1.5rem;
}
details.cpc-list ul {
  columns: 2;
  font-size: 0.93rem;
}
@media (max-width: 40rem) {
  details.cpc-list ul,
  ul.patent-numbers {
    columns: 1;
  }
}

/* a book's preview reader (the public website specification): a canvas, no text layer, nothing to save or print */
.reader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  background: color-mix(in srgb, var(--brand-text) 96%, var(--brand-surface));
  color: var(--surface);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.reader.is-open {
  display: flex;
}
html.reader-open {
  overflow: hidden;
}
.reader__bar,
.reader__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem var(--gap);
  flex-wrap: wrap;
}
.reader__title {
  font-weight: 600;
}
.reader__count {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-right: auto;
}
.reader__nav {
  justify-content: center;
}
.reader__close,
.reader__nav button,
.reader__ask {
  font: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--surface);
  border: 1px solid color-mix(in srgb, var(--surface) 45%, transparent);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.reader__nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
.reader__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 0.5rem;
}
.reader__page {
  background: var(--surface);
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.35);
  pointer-events: none;
}
.reader.is-veiled .reader__page {
  filter: blur(18px);
}
/* The journal reader (the identity specification): a paper read page by page, with its tools, its citation and its foot. */
.reader--paper .reader__bar {
  gap: 0.5rem 1rem;
}
.reader__authors {
  font-size: 0.88rem;
  opacity: 0.8;
}
.reader__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding: 0.35rem var(--gap);
  border-top: 1px solid color-mix(in srgb, var(--surface) 18%, transparent);
  font-size: 0.9rem;
}
.reader__tools select,
.reader__tools input {
  font: inherit;
  max-width: 22rem;
  background: color-mix(in srgb, var(--surface) 10%, transparent);
  color: var(--surface);
  border: 1px solid color-mix(in srgb, var(--surface) 35%, transparent);
  padding: 0.25rem 0.5rem;
}
.reader__tools input[type="number"] {
  width: 5rem;
}
.reader__zoom {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: auto;
}
.reader__zoom button {
  font: inherit;
  min-width: 2.2rem;
  background: transparent;
  color: var(--surface);
  border: 1px solid color-mix(in srgb, var(--surface) 45%, transparent);
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}
.reader--paper .reader__stage {
  display: block;
  text-align: center;
}
.reader--paper .reader__page {
  display: inline-block;
  vertical-align: top;
}
.reader__about {
  max-width: 38rem;
  font-size: 0.88rem;
  text-align: left;
}
.reader__about summary {
  cursor: pointer;
}
.reader__cite {
  margin: 0.4rem 0;
}
.reader__foot {
  margin: 0;
  padding: 0.35rem var(--gap) 0.6rem;
  font-size: 0.82rem;
  opacity: 0.75;
  text-align: center;
}
.reader__foot a {
  color: inherit;
}
/* A paper's page: the part the full text is read in, said once, and how to cite it. */
.paper-fulltext {
  margin: 1.25rem 0;
}
.paper-cite {
  margin: 1.25rem 0;
}
.paper-cite summary {
  cursor: pointer;
  font-weight: 600;
}
.paper-cite__bibtex {
  overflow-x: auto;
  padding: 0.75rem;
  font-size: 0.82rem;
  background: color-mix(in srgb, var(--brand-text) 6%, transparent);
}
@media print {
  .reader {
    display: none !important;
  }
}

/* print: the page's content on white paper, without the navigation, the controls or the footer */
@media print {
  :root {
    --surface: var(--brand-surface);
    --paper: var(--brand-surface);
    --wash: var(--brand-surface);
    --ink: var(--brand-text);
    --muted: color-mix(in srgb, var(--brand-text) 80%, var(--brand-surface));
    --rule: color-mix(in srgb, var(--brand-text) 45%, var(--brand-surface));
  }
  body {
    background: var(--brand-surface);
    color: var(--brand-text);
    font-size: 11pt;
    line-height: 1.45;
  }
  .skip,
  .masthead,
  .menu,
  .nav,
  .footer,
  .tools,
  .filters,
  .search,
  .actions,
  .button,
  .companion-toc,
  .hero__art,
  .shelf--row,
  noscript {
    display: none !important;
  }
  .page-head {
    background: var(--brand-surface);
    border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 45%, var(--brand-surface));
    padding: 0 0 0.75rem;
  }
  .section,
  .item {
    padding: 0.75rem 0;
  }
  .item,
  .item--book {
    display: block;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  .card,
  .cover,
  tr,
  figure,
  blockquote,
  .rsec__figure {
    break-inside: avoid;
  }
  .card {
    border: 1px solid color-mix(in srgb, var(--brand-text) 45%, var(--brand-surface));
  }
  .card__text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  a {
    color: var(--brand-text);
    text-decoration: underline;
  }
  .prose a[href^="http"]::after,
  .card a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }
  .table {
    overflow: visible;
  }
  table {
    font-size: 9pt;
  }
  img {
    max-width: 100%;
    break-inside: avoid;
  }
}

/* The Console: the band on a work's page, a front and the home page, only when the harness is served on this computer
   (the public website specification). A double rule in the tertiary colour and a label set it apart from the published page; the
   masthead's control hides it. */
.console {
  background: color-mix(in srgb, var(--brand-tertiary) 7%, var(--surface));
  border-top: 3px double color-mix(in srgb, var(--brand-tertiary) 35%, var(--surface));
  border-bottom: 1px solid color-mix(in srgb, var(--brand-tertiary) 35%, var(--surface));
  padding: 1.75rem 0 2rem;
  --desk-rule: color-mix(in srgb, var(--brand-tertiary) 35%, var(--surface));
}
html[data-console="off"] body:not(.private-page) .console {
  display: none;
}
.console__icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  margin-right: 0.2em;
}
.console__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
}
.console__head h2 {
  margin: 0;
}
.console__local {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-tertiary);
}
.console__lede {
  color: var(--muted);
  max-width: 52rem;
  margin: 0 0 0.75rem;
}
.console__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.console code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}
.console__part {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--desk-rule);
}
.console__part h3 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}
.console__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  border-top: 1px solid var(--desk-rule);
  border-left: 1px solid var(--desk-rule);
  margin: 0 0 1.25rem;
}
.console__tile {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--desk-rule);
  border-bottom: 1px solid var(--desk-rule);
  background: var(--surface);
}
.console__n {
  display: block;
  font: 500 1.8rem/1 var(--serif);
}
.console__l {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.console__who {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.console__items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--desk-rule);
}
.console__item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 20rem;
  gap: 0.5rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--desk-rule);
  align-items: start;
}
.console__item > .console__run {
  grid-column: 1 / -1;
}
.console__level {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  border: 1px solid var(--rule);
  background: var(--surface);
  display: inline-block;
  justify-self: start;
}
.console__level--blocker {
  border-color: var(--brand-tertiary);
  color: var(--brand-tertiary);
}
.console__level--attention {
  border-color: var(--brand-link);
  color: var(--brand-link);
}
.console__what {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.console__rule {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.console__do {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}
.console__command {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.console__copy {
  font: inherit;
  font-size: 0.78rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.15rem 0.55rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  min-height: 1.8rem;
}
.console__copy:hover {
  border-color: var(--ink);
}
.console__pages {
  font-size: 0.92rem;
}
.console__guide {
  background: var(--surface);
  border: 1px solid var(--desk-rule);
  padding: 0.6rem 1rem;
  margin: 0 0 0.6rem;
}
.console__guide summary {
  cursor: pointer;
  font-size: 1rem;
}
.console__guide h4 {
  font-size: 1.05rem;
  margin: 1rem 0 0.3rem;
}
.console__guide p {
  font-size: 0.95rem;
  color: var(--muted);
}
.console__steps {
  margin: 0.75rem 0 0.5rem;
  padding-left: 1.4rem;
}
.console__steps li {
  margin: 0 0 0.6rem;
}
.console__step {
  display: block;
  margin-bottom: 0.2rem;
}
.console__steps .console__do {
  display: inline-flex;
}
.console__see {
  font-size: 0.85rem;
}
.console__run-btn {
  font: inherit;
  font-size: 0.78rem;
  background: var(--brand-tertiary);
  border: 1px solid var(--brand-tertiary);
  padding: 0.15rem 0.6rem;
  color: var(--surface);
  cursor: pointer;
  border-radius: 2px;
  min-height: 1.8rem;
}
.console__run-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.console__run:empty {
  display: none;
}
.console__run {
  margin: 0.5rem 0 0;
}
.console__ran {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.console__status--ok {
  color: var(--brand-secondary);
  font-weight: 600;
}
.console__status--fail {
  color: var(--brand-tertiary);
  font-weight: 600;
}
.console__output {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.75rem 1rem;
  max-height: 24rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 0;
  margin: 0 0 0.5rem;
}
.console__meta .console__command {
  font-size: 0.8rem;
}
.console-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--brand-tertiary);
  margin-left: auto;
  white-space: nowrap;
  cursor: pointer;
}
.console-toggle input {
  accent-color: var(--brand-tertiary);
  width: 1rem;
  height: 1rem;
  margin: 0;
}
.console-toggle + .menu,
.console-toggle + .nav {
  margin-left: 0;
}
@media (max-width: 52rem) {
  .console__item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .console-toggle {
    margin-left: 0;
    order: 2;
  }
}

.console__docs {
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: auto;
  margin-left: 1rem;
}
.git-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.1rem 0.55rem;
  margin-left: 0.6rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-tertiary);
  cursor: pointer;
  white-space: nowrap;
}
.git-pill[hidden] {
  display: none;
}
.git-pill__n[data-some="true"] {
  font-weight: 700;
}
.git-pill[data-behind]:not([data-behind="0"]) {
  border-width: 2px;
}
.git-pill + .menu,
.git-pill + .nav {
  margin-left: 0;
}
html[data-console="off"] .git-pill {
  display: none;
}
.git-dialog {
  max-width: min(34rem, 92vw);
  border: 1px solid var(--brand-tertiary);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  background: #fff;
  color: inherit;
}
.git-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.git-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.git-dialog code {
  font-size: 0.9em;
  padding: 0.05rem 0.35rem;
  border: 1px solid currentColor;
  border-radius: 3px;
}
.git-dialog__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.git-dialog__btn {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.git-dialog__btn[hidden] {
  display: none;
}
.git-dialog__btn--go {
  background: var(--brand-tertiary);
  border-color: var(--brand-tertiary);
  color: #fff;
}

/* the lineage (the public website specification): the legal line is a link that is not underlined, and what it opens */
.footer__lineage {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer__lineage:hover {
  opacity: 0.85;
}
.footer__lineage:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.lineage {
  width: min(40rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  box-sizing: border-box;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.25);
}
.lineage::backdrop {
  background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.lineage h2 {
  font: 500 1.4rem/1.2 var(--serif);
  margin: 0 0 0.75rem;
}
.lineage__list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.lineage__list dt {
  font-weight: 600;
}
.lineage__list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}
.lineage__buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
@media (max-width: 34rem) {
  .lineage__list {
    grid-template-columns: 1fr;
  }
  .lineage__list dd {
    margin-bottom: 0.5rem;
  }
}
.lineage__seo {
  margin: 1rem 0;
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
}
.lineage__seo h3 {
  font: 600 1rem/1.2 var(--sans, inherit);
  margin: 0 0 0.4rem;
}
.lineage__note,
.lineage__why {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0.1rem 0 0;
}
.lineage__check {
  display: flex;
  gap: 0.6rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.lineage__mark {
  flex: none;
}
.lineage {
  overflow: auto;
}

.home-figure{margin:0}.home-figure img,.prose figure img{display:block;width:100%;height:auto;border:1px solid var(--rule,#e3e3e4);border-radius:6px}
