.full-chart {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 5vw, 5rem);
}
.fc-figure {
  color: var(--blue);
  min-width: 0;
  border: 1px solid #b7ae98;
  box-shadow: inset 0 0 0 4px #f4ead6, inset 0 0 0 5px #cfc2aa;
  padding: clamp(.55rem, 1.5vw, 1.15rem);
  background: url("./art/paper-grain.svg"), radial-gradient(ellipse at center, #fbf6e9, #f1e8d2);
}
.fc-diagram { position: relative; width: min(100%, 490px); aspect-ratio: 1; margin: auto; }
.fc-instruction { margin: .2rem 0 .8rem; text-align: center; font-size: .95rem; color: var(--blue); }
.fc-diagram > svg { display: block; width: 100%; height: 100%; }
.fc-rim { stroke: #9f9076; stroke-width: .8; }
.fc-lines { stroke: #9c9a8f; stroke-width: .9; }
.fc-father { stroke: var(--blue); }
.fc-mother { stroke: var(--red); }
.fc-labels {
  fill: #41494e;
  text-anchor: middle;
  font: 13px Georgia, serif;
  paint-order: stroke;
  stroke: #f7efdc;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.fc-node {
  --node-ink: var(--blue);
  position: absolute;
  display: grid;
  place-content: center;
  transform: translate(-50%, -50%);
  width: clamp(30px, 9.9%, 48px);
  padding: 0;
  aspect-ratio: 1;
  border: 3px double var(--node-ink);
  border-radius: 50%;
  background: #f8f2e3;
  color: var(--node-ink);
  font: 400 clamp(1rem, 2.1vw, 1.45rem)/1 Georgia, serif;
  font-variant-numeric: lining-nums;
}
.fc-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  border-radius: 50%;
}
.fc-node[data-answered]::before, .fc-key .fc-key-answer::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: .95rem;
  height: .95rem;
  border: 1px solid #faf4e6;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font: 700 .68rem/1 system-ui, sans-serif;
}
.fc-node[data-answered]::before { position: absolute; top: -.28rem; right: -.28rem; }
.fc-node[data-line="mother"] { --node-ink: var(--red-dark); }
.fc-center { width: clamp(36px, 13%, 59px); font-size: clamp(1.3rem, 3vw, 1.9rem); }
.fc-node:hover { box-shadow: 0 0 0 3px #beaf8c7a; }
.fc-node[aria-pressed="true"] { color: #fff5de; background: var(--node-ink); border-color: #eadabb; box-shadow: 0 0 0 1px var(--node-ink); }
.fc-key { display: flex; justify-content: center; gap: .5rem 1.4rem; flex-wrap: wrap; padding-block: .7rem .2rem; font-size: .86rem; }
.fc-key span { display: inline-flex; align-items: center; gap: .45rem; }
.fc-key span::before { content: ""; width: 1.55rem; border-top: 2px solid var(--blue); }
.fc-key .fc-key-mother::before { border-top-style: dashed; border-color: var(--red); }
.fc-key [hidden] { display: none; }
.fc-scene-link { display: inline-block; margin-top: 1rem; padding-block: .25rem; color: var(--blue); text-decoration: underline; text-underline-offset: .22em; }
.fc-scene-link:hover { color: var(--red-dark); }
.fc-reading { max-width: 48ch; }
.fc-reading .fc-position { margin: 0 0 .45rem; color: var(--red-dark); font-weight: 550; font-size: .94rem; }
.fc-reading h3.fc-symbol { margin: 0; color: var(--blue); font: 400 clamp(1.9rem, 3.4vw, 3.25rem)/1.16 var(--serif); letter-spacing: -.025em; }
.fc-number, .fc-node, .fc-calculation strong { letter-spacing: 0; }
.fc-reading :is(.fc-subject, .fc-guidance) { margin: .85rem 0 0; line-height: 1.55; }
.fc-reading .fc-guidance { color: var(--muted); }
.fc-calculation { border-top: 1px solid var(--stroke); margin-top: 1.1rem; padding-top: .75rem; }
.fc-calculation p { color: var(--muted); font-size: .88rem; }
.fc-calculation strong { display: block; padding-top: .15rem; color: var(--blue); font: 400 1.23rem/1.4 Georgia, serif; }
.fc-print-table { display: none; }
@media (max-width: 720px) {
  .full-chart { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .fc-reading { max-width: 100%; }
}
@media print {
  .fc-instruction, .fc-scene-link { display: none; }
  #reading-matrix .full-chart { width: 100%; }
  #reading-matrix .fc-figure { width: min(100%, 92mm); margin-inline: auto; break-inside: avoid; print-color-adjust: exact; }
  .fc-print-table { display: table; width: 100%; margin-top: 6mm; border-collapse: collapse; font-size: 9pt; line-height: 1.3; }
  .fc-print-table caption { padding-bottom: 3mm; text-align: left; color: var(--blue); font: 14pt var(--serif); break-after: avoid; }
  .fc-print-table thead { display: table-header-group; }
  .fc-print-table tr { break-inside: avoid; }
  .fc-print-table :is(th, td) { padding: 1.5mm 2mm; border-bottom: 1px solid #c9c1af; text-align: left; vertical-align: top; }
  .fc-print-table th[scope="row"] { width: 23%; font-weight: 500; }
}
