@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-regular-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-regular-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

:root {
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-press: "Newsreader", Georgia, "Times New Roman", serif;
  --paper: #f6f5f0;
  --sheet: #ffffff;
  --tint: #eceae2;
  --tint-2: #e2dfd4;
  --ink: #111316;
  --ink-2: #3d4148;
  --ink-3: #6b707b;
  --rule: #cfcbc0;
  --rule-strong: #16181d;
  --bleu: #000091;
  --bleu-hover: #1212ff;
  --bleu-soft: #e7e7f8;
  --rouge: #c9191e;
  --rouge-soft: #fbe8e9;
  --vert: #18753c;
  --vert-soft: #e3f3e9;
  --ambre: #b34000;
  --ambre-soft: #fdf0e5;
  --workstation-bar: #16181f;
  --workstation-bar-ink: #f4f3ef;
  --stripe-bg: repeating-linear-gradient(
    -45deg,
    rgba(17, 19, 22, 0.025),
    rgba(17, 19, 22, 0.025) 6px,
    transparent 6px,
    transparent 12px
  );
}

[data-theme="ink"] {
  --paper: #111317;
  --sheet: #171a20;
  --tint: #1e222a;
  --tint-2: #272c36;
  --ink: #f2f1ec;
  --ink-2: #c3c6cf;
  --ink-3: #8b909c;
  --rule: #2c313c;
  --rule-strong: #e4e2da;
  --bleu: #6382ff;
  --bleu-hover: #7d97ff;
  --bleu-soft: rgba(99, 130, 255, 0.15);
  --rouge: #f2575d;
  --rouge-soft: rgba(242, 87, 93, 0.15);
  --vert: #34c77b;
  --vert-soft: rgba(52, 199, 123, 0.15);
  --ambre: #f59f29;
  --ambre-soft: rgba(245, 159, 41, 0.15);
  --workstation-bar: #0c0e12;
  --workstation-bar-ink: #f2f1ec;
  --stripe-bg: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 6px,
    transparent 6px,
    transparent 12px
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  max-width: 100%;
  min-width: 0;
}

audio,
canvas,
img,
svg {
  max-width: 100%;
  display: block;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.tricolore-rule {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #000091 0 33.33%, #ffffff 33.33% 66.66%, #c9191e 66.66% 100%);
  border-bottom: 1px solid var(--rule);
}

.site-header {
  background: var(--sheet);
  border-bottom: 1px solid var(--rule-strong);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-utility {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.header-utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 9px;
  background: var(--bleu);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 1px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  min-height: 44px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--tint);
}

.nav-link.is-active {
  color: var(--bleu);
  font-weight: 600;
  border-bottom-color: var(--bleu);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 2px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  text-align: center;
}

.btn:hover {
  background: var(--tint);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--bleu);
  border-color: var(--bleu);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--bleu-hover);
  border-color: var(--bleu-hover);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  opacity: 0.9;
}

.btn-ghost {
  border-color: var(--rule);
  background: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--tint);
  color: var(--ink);
}

.btn-danger {
  border-color: var(--rouge);
  color: var(--rouge);
  background: var(--sheet);
}

.btn-danger:hover {
  background: var(--rouge-soft);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  background: var(--tint);
  color: var(--ink-2);
  border-radius: 2px;
  line-height: 1.35;
}

.stamp-bleu {
  border-color: var(--bleu);
  background: var(--bleu-soft);
  color: var(--bleu);
}

.stamp-vert {
  border-color: var(--vert);
  background: var(--vert-soft);
  color: var(--vert);
}

.stamp-rouge {
  border-color: var(--rouge);
  background: var(--rouge-soft);
  color: var(--rouge);
}

.stamp-ambre {
  border-color: var(--ambre);
  background: var(--ambre-soft);
  color: var(--ambre);
}

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.ledger {
  background: var(--sheet);
  border: 1px solid var(--rule);
}

.ledger-strong {
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
}

.ledger-head {
  padding: 11px 16px;
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ledger-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.grid-masthead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
}

.masthead-main {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--rule);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.masthead-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.doc-title {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.doc-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 66ch;
}

.spec-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec-cell {
  padding: 12px 14px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}

.spec-cell:last-child {
  border-right: none;
}

.spec-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--bleu);
  letter-spacing: 0.04em;
}

.spec-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
  color: var(--ink);
}

.spec-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 3px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section-bar {
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rule-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-bar h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--bleu);
  margin-right: 8px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th,
.data-table td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: none;
}

.data-table th {
  background: var(--tint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background: var(--paper);
}

.data-table tr.is-highlight {
  background: var(--bleu-soft);
}

.blind-stem-box {
  padding: 14px 16px;
  border: 1px dashed var(--rule-strong);
  background: var(--stripe-bg), var(--paper);
  font-size: 13.5px;
  color: var(--ink-2);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.choice-row:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--paper);
}

.choice-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 2px;
}

.choice-row.is-selected {
  border-color: var(--bleu);
  background: var(--bleu-soft);
}

.choice-row.is-selected .choice-key {
  background: var(--bleu);
  border-color: var(--bleu);
  color: #ffffff;
}

.choice-row.is-correct {
  border-color: var(--vert);
  background: var(--vert-soft);
}

.choice-row.is-correct .choice-key {
  background: var(--vert);
  border-color: var(--vert);
  color: #ffffff;
}

.choice-row.is-wrong {
  border-color: var(--rouge);
  background: var(--rouge-soft);
}

.choice-row.is-wrong .choice-key {
  background: var(--rouge);
  border-color: var(--rouge);
  color: #ffffff;
}

.press-clipping {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 18px 20px;
}

.press-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 9px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.press-header-meta {
  padding: 8px 10px;
  margin-bottom: 12px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.press-body {
  font-family: var(--font-press);
  font-size: 16.5px;
  line-height: 1.64;
  color: var(--ink);
  white-space: pre-line;
}

.gabarit-box {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.gabarit-track {
  position: relative;
  height: 10px;
  width: 100%;
  background: var(--tint-2);
  border: 1px solid var(--rule);
  margin: 8px 0 6px;
  overflow: hidden;
}

.gabarit-valid-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(24, 117, 60, 0.22);
  border-left: 1px dashed var(--vert);
  border-right: 1px dashed var(--vert);
}

.gabarit-fill {
  position: relative;
  height: 100%;
  width: 0%;
  background: var(--bleu);
  transition: width 0.15s ease, background 0.15s ease;
}

.gabarit-fill.is-valid {
  background: var(--vert);
}

.gabarit-fill.is-over,
.gabarit-fill.is-under {
  background: var(--rouge);
}

.accent-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 10px;
  background: var(--tint);
  border: 1px solid var(--rule);
  border-bottom: none;
}

.accent-key {
  min-width: 28px;
  height: 27px;
  padding: 0 6px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
}

.accent-key:hover {
  border-color: var(--bleu);
  color: var(--bleu);
}

.editor-textarea {
  width: 100%;
  min-height: 210px;
  padding: 14px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.62;
  resize: vertical;
  border-radius: 0;
}

.editor-textarea:focus,
.field-input:focus,
.field-select:focus {
  outline: 2px solid var(--bleu);
  outline-offset: -1px;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.field-input,
.field-select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  color: var(--ink);
  border-radius: 2px;
}

.tcf-so-chrome {
  background: var(--workstation-bar);
  color: var(--workstation-bar-ink);
  border-bottom: 1px solid var(--rule-strong);
}

.tcf-so-chrome-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tcf-so-tabs {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex-wrap: wrap;
  background: var(--tint);
  border-bottom: 1px solid var(--rule-strong);
}

.so-tab {
  padding: 10px 14px;
  border: none;
  border-right: 1px solid var(--rule);
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.so-tab:hover {
  background: var(--sheet);
  color: var(--ink);
}

.so-tab.is-active {
  background: var(--sheet);
  color: var(--bleu);
  box-shadow: inset 0 -2px 0 var(--bleu);
}

.tcf-palette {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(31px, 1fr));
  gap: 4px;
}

.q-sq {
  position: relative;
  height: 30px;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--sheet);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.q-sq:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.q-sq.is-current {
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
}

.q-sq.is-answered {
  background: var(--bleu);
  border-color: var(--bleu);
  color: #ffffff;
}

.q-sq.is-correct {
  box-shadow: inset 0 -3px 0 var(--vert);
}

.q-sq.is-wrong {
  box-shadow: inset 0 -3px 0 var(--rouge);
}

.q-sq.is-flagged::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 8px solid var(--ambre);
  border-left: 8px solid transparent;
}

.workstation-split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.reading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: start;
}

.timer-readout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: 2px;
}

.timer-readout.is-urgent {
  background: var(--rouge);
  border-color: var(--rouge);
  color: #ffffff;
}

.audio-console {
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--tint);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-bar-track {
  height: 6px;
  width: 100%;
  background: var(--sheet);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.audio-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--bleu);
  transition: width 0.1s linear;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--sheet);
}

.rubric-cell {
  padding: 11px 12px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}

.rubric-cell:last-child {
  border-right: none;
}

.site-footer {
  border-top: 1px solid var(--rule-strong);
  background: var(--sheet);
  margin-top: 56px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 20px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  font-size: 13px;
  color: var(--ink-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--bleu);
  text-decoration: underline;
}

.callout {
  padding: 13px 15px;
  border-left: 3px solid var(--bleu);
  background: var(--tint);
  font-size: 13.5px;
  color: var(--ink-2);
}

.callout-rouge {
  border-left-color: var(--rouge);
  background: var(--rouge-soft);
  color: var(--ink);
}

.callout-vert {
  border-left-color: var(--vert);
  background: var(--vert-soft);
  color: var(--ink);
}

.pdf-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pdf-canvas-stage {
  background: var(--tint);
  border: 1px solid var(--rule);
  padding: 14px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  min-height: 480px;
}

@media (max-width: 1080px) {
  .header-main {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .grid-masthead,
  .workstation-split,
  .reading-split,
  .pdf-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .masthead-main {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .spec-strip-4,
  .rubric-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-cell:nth-child(2),
  .rubric-cell:nth-child(2) {
    border-right: none;
  }
  .spec-cell:nth-child(1),
  .spec-cell:nth-child(2),
  .rubric-cell:nth-child(1),
  .rubric-cell:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 16px 14px 40px;
  }
  .header-utility,
  .header-main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .masthead-main {
    padding: 18px 16px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .spec-strip-4,
  .rubric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .spec-cell,
  .rubric-cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .spec-cell:last-child,
  .rubric-cell:last-child {
    border-bottom: none;
  }
  .site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-top: 1px solid var(--rule);
  }
  .header-actions {
    flex-wrap: wrap;
  }
  .tcf-so-tabs {
    padding: 0 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .so-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 11px;
    font-size: 12px;
  }
  .nav-link {
    white-space: nowrap;
    min-height: 40px;
    padding: 0 9px;
    font-size: 12.5px;
  }
}
