/* Shared visual language with the Airfoil technical archive. */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #222;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}
.page { max-width: 880px; margin: 18px auto 28px; padding: 0 24px; }
a, .language-switch button { color: #0000bb; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover, .language-switch button:hover { color: #000; }
:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.archive-header { display: flex; align-items: center; gap: 16px; margin: 10px 0 8px; }
.logo { flex: none; }
.archive-name { font-size: 22px; font-weight: bold; }
.archive-series { margin-top: 3px; color: #444; font-size: 13px; }
.language-switch { margin: 10px 0; font-size: 13px; }
.language-switch button {
  border: 0;
  padding: 0;
  min-height: 28px;
  background: none;
  font: inherit;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] {
  color: #222;
  font-weight: bold;
  text-decoration: none;
}
.breadcrumb, footer { font-size: 12px; }
.breadcrumb { margin: 12px 0; }
hr { border: 0; border-top: 1px solid #999; margin: 16px 0; }
h1 { font-size: 26px; line-height: 1.2; margin: 20px 0 8px; }
h2 { font-size: 19px; margin: 25px 0 10px; line-height: 1.3; }
h3 { font-size: 15px; margin: 16px 0 8px; }
p { margin: 10px 0; }
.subtitle { font-size: 15px; }
.metadata { display: grid; grid-template-columns: 130px 1fr; gap: 3px 12px; margin: 16px 0; }
.metadata dt { font-weight: bold; }
.metadata dd { margin: 0; }
ul, ol { padding-left: 27px; margin: 10px 0; }
li { margin-bottom: 5px; }
.contents { list-style: none; padding: 0; }
.contents li { margin-bottom: 2px; }
section { scroll-margin-top: 12px; }
.table-scroll { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; margin: 0; font-size: 13px; }
caption { text-align: left; margin-bottom: 7px; color: #333; }
th, td { border: 1px solid #999; padding: 6px 9px; text-align: left; vertical-align: top; }
thead { background: #eee; }
tbody th { font-weight: normal; }
figure { margin: 22px auto; max-width: 700px; }
figure img { width: 100%; height: auto; display: block; }
figcaption { margin-top: 7px; font-size: 12px; line-height: 1.4; font-style: italic; }
.historical-figure { max-width: 500px; margin: 18px 0; }
code, pre { font-family: "Courier New", Courier, monospace; }
code, td, dd, .resources a { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
pre {
  padding: 10px 12px;
  border: 1px solid #aaa;
  background: #f5f5f5;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.5;
}
fieldset { border: 1px solid #999; min-width: 0; margin: 14px 0; padding: 12px 15px; }
legend { padding: 0 5px; font-weight: bold; }
footer p { margin: 6px 0; }
@media (max-width: 600px) {
  .page { margin-top: 12px; padding: 0 14px; }
  .archive-header { gap: 10px; }
  .logo { width: 62px; height: auto; }
  .archive-name { font-size: 19px; }
  h1 { font-size: 24px; }
  .metadata { grid-template-columns: 105px 1fr; }
  th, td { padding: 5px; }
}
@media print {
  .page { max-width: none; padding: 0; }
  .language-switch { display: none; }
  figure, table { break-inside: avoid; }
}
