.abbreviation-checker {
  margin: 2rem 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line, #d9d5cc);
  border-radius: 1.25rem;
  background: var(--surface, #fffdf8);
}
.abbreviation-checker__intro { max-width: 54rem; }
.abbreviation-checker__intro h2 { margin: .35rem 0 .6rem; }
.abbreviation-checker__intro p:last-child { margin-bottom: 1.25rem; }
.abbreviation-checker__input-label { display: block; margin-bottom: .45rem; font-weight: 650; }
.abbreviation-checker textarea,
.abbreviation-checker__table input {
  width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--line-strong, #b8c0b7);
  border-radius: .75rem; background: #fff; color: var(--ink, #28332e); font: inherit;
}
.abbreviation-checker textarea { min-height: 15rem; padding: .85rem 1rem; resize: vertical; line-height: 1.6; }
.abbreviation-checker__table input { padding: .65rem .75rem; }
.abbreviation-checker textarea:focus-visible,
.abbreviation-checker__table input:focus-visible { outline: 3px solid var(--focus, #5c8768); outline-offset: 2px; }
.abbreviation-checker__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: .45rem; color: var(--muted, #59615e); font-size: .9rem; }
.abbreviation-checker__privacy, .abbreviation-checker__note { color: var(--muted, #59615e); font-size: .94rem; }
.abbreviation-checker__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.abbreviation-checker__actions button:disabled { cursor: not-allowed; opacity: .48; }
.abbreviation-checker__status { min-height: 1.5em; margin: .75rem 0 0; color: var(--muted, #59615e); }
.abbreviation-checker [data-abbreviation-results] { margin-top: 1.5rem; }
.abbreviation-checker [data-abbreviation-results] h3 { margin-bottom: .4rem; }
.abbreviation-checker__table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line, #d9d5cc); border-radius: .8rem; }
.abbreviation-checker__table-wrap:focus-visible { outline: 3px solid var(--focus, #5c8768); outline-offset: 2px; }
.abbreviation-checker__table { width: 100%; min-width: 44rem; border-collapse: collapse; }
.abbreviation-checker__table th, .abbreviation-checker__table td { padding: .8rem; border-bottom: 1px solid var(--line, #d9d5cc); text-align: left; vertical-align: top; }
.abbreviation-checker__table thead { background: var(--soft, #f3f4ee); }
.abbreviation-checker__table tbody th { width: 9rem; color: var(--ink, #28332e); }
.abbreviation-checker__table td:nth-child(2) { width: 54%; }
.abbreviation-checker__table p { margin: 0 0 .45rem; }
.abbreviation-checker__table p:last-child { margin-bottom: 0; }
.abbreviation-checker__excerpt { color: var(--muted, #59615e); font-size: .93rem; }
@media (max-width: 640px) {
  .abbreviation-checker__actions > button { flex: 1 1 100%; }
  .abbreviation-checker textarea { min-height: 12rem; }
}
