main.files-index {
  box-sizing: border-box;
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3.25rem) clamp(1rem, 4vw, 3.5rem) 4rem;
  color: #152f37;
  font: 1rem/1.5 system-ui, sans-serif;
}
.files-index *, .files-index *::before { box-sizing: border-box; }
.files-index [hidden] { display: none !important; }
.files-index a { color: #155d63; text-underline-offset: .18em; }
.files-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); border-bottom: 2px solid #a97832; padding-bottom: 1.5rem; }
.files-intro .files-parent { font-weight: 650; }
.files-intro h1 { margin: .65rem 0; font: 700 clamp(2.35rem, 5.1vw, 4.5rem)/1.05 Georgia, serif; letter-spacing: -.04em; color: #152f37; }
.files-intro p { margin: .65rem 0 0; font-size: 1.08rem; max-width: 49ch; }
.files-intro img { display: block; width: 100%; height: auto; max-height: 13rem; object-fit: cover; }
.file-controls { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 1rem; padding-block: 1.3rem .65rem; }
.file-controls label { display: grid; gap: .35rem; min-width: 0; font-weight: 650; }
.file-controls input, .file-controls select { font: inherit; font-weight: 400; border-radius: .23rem; border: 1px solid #738989; background: #fff; color: #152f37; width: 100%; min-height: 2.8rem; padding: .45rem .7rem; }
.file-summary, .file-jumps { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.3rem; }
.file-summary p { margin: .5rem 0; font-weight: 650; }
.file-summary button { color: #155d63; padding: .3rem .6rem; border: 1px solid #9eafaa; background: #fff; border-radius: .22rem; cursor: pointer; font: inherit; }
.file-jumps { margin: .25rem 0 1.5rem; }
.file-jumps a { padding: .35rem 0; }
.files-section h2 { margin: 2rem 0 .65rem; font: 700 2rem/1.15 Georgia, serif; }
.files-index :is(h2, tr, #file-search) { scroll-margin-top: 6rem; }
.files-section table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.files-section th, .files-section td { text-align: left; padding: .78rem .8rem; vertical-align: top; overflow-wrap: anywhere; }
.files-section th { background: #163e43; color: #fff; font-size: .94rem; }
.files-section th:first-child { width: 48%; }
.files-section th:nth-child(2) { width: 13%; }
.files-section td { border-bottom: 1px solid #c3d0ca; }
.files-section tbody tr:target { outline: 2px solid #a97832; outline-offset: -2px; background: #fbf3dc; }
.files-section small, .file-host { display: block; color: #304548; font-size: .88rem; }
.files-section .file-title { color: #103d40; font-weight: 750; }
.file-host { margin-top: .15rem; font-weight: 600; }
.file-back { display: inline-block; margin: .8rem 0; }
.files-index :focus-visible { outline: 3px solid #227578; outline-offset: .18rem; }
@media (max-width: 43rem) {
  .files-intro { grid-template-columns: 1fr; gap: 1rem; }
  .files-intro img { max-height: 7.5rem; }
  .file-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .file-controls label:first-child { grid-column: 1/-1; }
  .files-section th:first-child { width: 46%; }
  .files-section th:nth-child(2) { width: 16%; }
  .files-section td, .files-section th { padding: .62rem .28rem; font-size: .93rem; }
  .files-section small, .file-host { font-size: .8rem; }
}
@media (max-width: 25rem) {
  .file-controls { grid-template-columns: 1fr; }
}
