#fits-frames {
  color: #ebe6d6;
  background: transparent;
  padding: 12px clamp(14px, 2.8vw, 50px) 18px;
  font: 400 15px/1.48 "Segoe UI", system-ui, sans-serif;
}
#fits-frames [hidden], #fits-frames[hidden] { display: none; }
#fits-frames .fits-inner { max-width: 1472px; margin: auto; min-width: 0; }
#fits-frames h2 { margin: 0; font-size: clamp(29px, 4vw, 52px); line-height: 1.1; font-weight: 550; letter-spacing: -.04em; }
#fits-frames h3 { font-size: 21px; margin: 0; overflow-wrap: anywhere; font-weight: 560; }
#fits-frames .fits-summary { margin: 5px 0 10px; color: #c1baac; }
#fits-frames .fits-tools, #fits-frames .fits-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#fits-frames select, #fits-frames input, #fits-frames button {
  color: inherit; font: inherit; background: #23231e; border: 1px solid #49575b;
  border-radius: 5px; padding: 6px 10px; max-width: 100%; box-sizing: border-box;
}
#fits-frames select, #fits-frames button, #fits-frames summary { cursor: pointer; }
#fits-frames input { min-width: min(240px, 100%); }
#fits-frames input::placeholder { color: #b6c1c2; }
#fits-frames :is(input,select,button,summary):focus-visible { outline: 2px solid #ff9763; outline-offset: 2px; }
#fits-frames .fits-scroll { overflow: auto; margin: 15px 0 8px; max-height: 540px; border: 1px solid #4a473e; border-radius: 6px; }
#fits-frames table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
#fits-frames th, #fits-frames td { white-space: nowrap; text-align: left; padding: 5px 8px; border-bottom: 1px solid #393931; font-size: 13px; }
#fits-frames th { position: sticky; top: 0; background: #292823; color: #bfcacb; font-weight: 550; }
#fits-frames .fits-selected { background: #393227; }
#fits-frames .fits-file { padding: 2px 0; background: none; border: 0; color: #f2d5ad; text-align: left; }
#fits-frames .fits-nav { color: #aebcbb; font-size: 13px; }
#fits-frames button:disabled { opacity: .5; cursor: default; }
#fits-frames .fits-detail { margin-top: 9px; padding: 10px; background: rgba(29,28,24,.7); border: 1px solid #4a473e; border-radius: 7px; }
#fits-frames .fits-muted { color: #c1baac; margin: 3px 0 8px; }
#fits-frames .fits-warning { color: #ecc98b; }
#fits-frames dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr)); gap: 12px 18px; margin: 0 0 18px; }
#fits-frames dt { color: #c1baac; font-size: 12px; }
#fits-frames dd { margin: 2px 0 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#fits-frames details { border-top: 1px solid #4a473e; padding: 8px 0; }
#fits-frames summary { color: #e7cca6; }
#fits-frames pre { overflow: auto; margin: 8px 0; max-height: 380px; padding: 12px; background: #13140f; font: 12px/1.5 Consolas, monospace; }
