.family-missing__slot { display: flex; align-items: center; justify-content: center; width: min(420px, 100%); height: clamp(52px, 6vw, 68px); margin-top: var(--t-3); border: 1.5px dashed var(--line-3); border-radius: 12px; color: var(--faint); }
.family-missing:has([data-family-found]:not([hidden])) .family-missing__slot { display: none; }
.family-missing__text { margin: 14px 0 0; max-width: 62ch; font-size: 1.02rem; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.family-missing:has([data-family-found]:not([hidden])) .family-missing__text { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }

.family-test__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.family-test__head .tool-panel__meta { max-width: 60ch; }
.family-test__table th { hyphens: manual; }
.family-test__table td:nth-child(2) { width: 1%; white-space: nowrap; }
.family-test__table [data-detail] .mono { font-size: 0.88rem; overflow-wrap: anywhere; }
.family-test__score { margin: var(--t-5) 0 0; font: var(--t-answer-lg); color: var(--signal); }
.family-test__verdict { margin: 16px 0 0; max-width: 64ch; line-height: 1.55; }
.family-test__score:not([hidden]) + .family-test__verdict { margin-top: 10px; }
.family-test__note { margin: 10px 0 0; font-size: 0.9rem; max-width: 64ch; }
.family-test__more { margin: 14px 0 0; }

.family-links { margin-top: 28px; line-height: 1.8; }

@media (max-width: 560px) {
  .family-test__table thead { display: none; }
  .family-test__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line); }
  .family-test__table tr:first-child { border-top: 0; }
  .family-test__table th, .family-test__table td { border-top: 0; }
  .family-test__table th[scope="row"] { grid-column: 1; }
  .family-test__table td:nth-child(2) { grid-column: 2; width: auto; text-align: right; }
  .family-test__table td[data-detail] { grid-column: 1 / -1; padding-top: 0; padding-left: 0; }
  .family-test__table td[data-detail]:empty { display: none; }
  .family-test__table .tool-status { padding: 3px 8px; font-size: 0.72rem; }
}
