/* Component layout only. Typography, paper, navigation and numbering are shared
   with the rest of Greenforest through /common-script.js. */
#gf-radio .subtitle { font-size: 24px; }
#gf-radio .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 1.5rem 0;
  text-align: left;
}
#gf-radio .stats > div {
  padding: 14px;
  border: 1px solid #d7d7d7;
  background: #faf8f2;
  color: #111;
}
#gf-radio .stats strong { display: block; font-size: 28px; }
#gf-radio .stats span { display: block; font-size: 18px; }
#gf-radio .contents {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 1.5rem 0 2rem;
  text-align: left;
}
#gf-radio .contents a { display: inline-flex; align-items: center; min-height: 44px; }
/* These multi-column drawings have 16px labels at their native width.
   Use the shared inspectable-image scroll container instead of shrinking them. */
#gf-radio figure.inspectable-image img { width: 1120px; max-width: none; }
#gf-radio .table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
#gf-radio table { width: 100%; border-collapse: collapse; line-height: 1.4; }
#gf-radio th, #gf-radio td {
  padding: 12px 10px;
  border-bottom: 1px solid #d7d7d7;
  text-align: left;
  vertical-align: top;
}
#gf-radio th { background: #faf8f2; color: #111; }
#gf-radio td { min-width: 130px; }
#gf-radio code { color: #111; }
#gf-radio pre {
  box-sizing: border-box;
  max-width: 100%;
  overflow: auto;
  padding: 16px;
  border: 1px solid #d7d7d7;
  background: #f4f4f4;
  color: #111;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#gf-radio pre code { padding: 0; }
#gf-radio .source-file {
  margin: 14px 0;
  padding: 0;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #111;
}
#gf-radio .source-file summary {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
#gf-radio .source-file > p { padding: 0 16px; }
#gf-radio .source-file pre {
  border-width: 1px 0 0;
  margin-bottom: 0;
  max-height: 650px;
  white-space: pre;
  overflow-wrap: normal;
}
#gf-radio input[type=search] {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #777;
  background: #fff;
  color: #111;
  font: inherit;
}
#gf-radio input[type=search]::placeholder { color: #555; opacity: 1; }
#gf-radio :is(a, summary, input):focus-visible { outline: 2px solid #520; outline-offset: 3px; }
@media (max-width: 640px) {
  #gf-radio .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #gf-radio th, #gf-radio td { padding: 10px 8px; }
}
@media print {
  #gf-radio .contents, #gf-radio .cta-row { display: none; }
  #gf-radio .source-file pre { white-space: pre-wrap; max-height: none; }
}
