.edition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(1.8rem, 4.5vw, 4rem);
}
.edition-copy h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.95rem);
  line-height: 1.02;
  text-wrap: balance;
}
.edition-copy > p {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  max-width: 39ch;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.edition-cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.edition--photo-first .edition-cover {
  grid-column: 1;
  grid-row: 1;
}
.edition--short {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}
.edition--framed {
  background: var(--surface);
  margin-block: clamp(1.3rem, 3.2vw, 3rem);
  padding: clamp(1rem, 4vw, 3.5rem);
}
.field-example {
  border-block: 1px solid var(--line);
  padding-block: clamp(1.55rem, 3.2vw, 2.8rem);
}
.field-example + .reading {
  border-top: 0;
  margin-top: 0;
}
.example-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem clamp(1.25rem, 4vw, 3.5rem);
}
.field-example p { max-width: 63ch; }
.field-example p:last-child { margin-bottom: 0; }
.example-grid h3 { margin-bottom: .65rem; }
.example-grid img { width: 100%; }
.example-grid figure { margin: 0; }
.example-grid figcaption { margin-top: .65rem; color: var(--muted); font-size: .89rem; }
.field-example .example-table { font-size: .96rem; }
.field-example .example-table td, .field-example .example-table th { padding: .48rem .3rem; }
.example-lines {
  display: grid;
  gap: .7rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.example-lines li { padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.example-lines strong { display: block; }
.worked-number {
  font: 700 clamp(1.55rem, 3.2vw, 2.55rem) / 1.14 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-bottom: .45em;
}
.ready-example { background: var(--surface); padding: clamp(.9rem, 2.6vw, 1.6rem); }
.ready-example blockquote { margin: 0 0 .75rem; }
.ready-example :last-child { margin-bottom: 0; }
.ready-example [role="status"] { font-size: .92rem; color: var(--muted); }
.ready-example [role="status"]:empty { margin: 0; }
.ready-example button { margin: .55rem .65rem .2rem 0; }
.ready-example [hidden] { display: none; }
.prose .ready-example blockquote { border: 0; padding: 0; margin-block: .65rem; }
.prose .ready-example h2, .prose .ready-example h3 { margin-top: 0; }
.prose .source-note { color: var(--muted); font-size: .94rem; }
.resource-list > li + li { margin-top: .7rem; }

@media (max-width: 900px) {
  .edition--photo-first .edition-cover { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .edition, .edition--short, .example-grid { grid-template-columns: minmax(0, 1fr); }
  .edition-copy h1 { text-wrap: pretty; }
  .edition-cover { aspect-ratio: 2 / 1; }
  .field-example .example-table { font-size: .87rem; }
}
@media print {
  .edition-actions, .ready-example button, .back { display: none!important; }
}
.operator-footer {
  grid-column: 1 / -1;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-top: .3rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.operator-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.operator-footer p { margin: 0; }
.operator-requisites { margin: 1.15rem 0; }
.operator-requisites > div {
  display: grid;
  grid-template-columns: minmax(7rem, .4fr) minmax(0, 1fr);
  gap: .3rem .8rem;
  padding-block: .65rem;
  border-top: 1px solid var(--line);
}
.operator-requisites dt { color: var(--muted); }
.operator-requisites dd { margin: 0; overflow-wrap: anywhere; }
.tool-page .tool-data-note { max-width: 64ch; margin-top: 1.2rem; color: var(--muted); font-size: .93rem; }
@media (max-width: 480px) {
  .operator-requisites > div { grid-template-columns: minmax(0, 1fr); }
}

#main :is(#article-body, .article-outline, .article-list, .reading-sections, .topic-nav, .back, .sales-page) a:not(.button) {
  font-weight: 600;
  text-decoration: none;
}
#main :is(#article-body, .article-outline, .article-list, .reading-sections, .topic-nav, .back, .sales-page) a:not(.button):is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .19em;
}
#article-body :is(p, li) :is(strong, b) { font-weight: inherit; }
#article-body mark { background: transparent; color: inherit; }
#article-body > blockquote {
  padding: .35rem 0 .35rem .85rem;
  border-inline-start: 1px solid var(--line);
  background: transparent;
}
