/* Fliken Appens texter / App texts (delmål 4, R278; I18N_TEXTS_CONTRACT.md §4): sökrutan överst och
   listan med en kolumn per språk, arbetsspråket först och nyckeln sist. Laddas av
   static/admin/appTexts.js. Bara logiska egenskaper (R166), så att ett språk som skrivs från höger
   till vänster fungerar som det är. */

.app-texts-searchbar { display: flex; flex-direction: column; gap: 4px; margin-block: 0 16px; }
.app-texts-searchbar label { font-weight: 600; }
.app-texts-search { inline-size: 100%; max-inline-size: 640px; font-size: 1rem; padding-block: 8px;
  padding-inline: 10px; border: 1px solid var(--line, #E7E2DB); border-radius: 8px;
  background: var(--panel, #fff); color: var(--text, #1A1613); }
.app-texts-hint { margin: 0; color: var(--dim, #6B6259); font-size: .875rem; }

.app-texts-table { inline-size: 100%; border-collapse: collapse; table-layout: auto; font-size: .9375rem; }
.app-texts-table th, .app-texts-table td { text-align: start; vertical-align: top; padding-block: 8px;
  padding-inline: 10px; border-block-end: 1px solid var(--line, #E7E2DB); }
.app-texts-table thead th { font-weight: 600; color: var(--dim, #6B6259); font-size: .8125rem;
  position: sticky; inset-block-start: 0; background: var(--bg, #FAF8F5); }
.app-texts-cell { cursor: pointer; overflow-wrap: anywhere; }
.app-texts-cell:hover { background: var(--color-accent-soft, #F6EBE9); }
.app-texts-cell[data-lang]:first-child { font-weight: 500; }
.app-texts-text { white-space: pre-wrap; }
.app-texts-missing { color: var(--dim, #6B6259); font-style: italic; }
.app-texts-where, .app-texts-status { display: block; margin-block-start: 4px; color: var(--dim, #6B6259);
  font-size: .75rem; font-weight: 400; }
mark.app-texts-hit { background: #FFE58A; color: inherit; border-radius: 2px; padding: 0; }

.app-texts-keycol, .app-texts-key { inline-size: 1%; white-space: nowrap; color: var(--dim, #6B6259); }
.app-texts-key code { display: block; font-size: .75rem; color: var(--dim, #6B6259); }
.app-texts-key .app-texts-edit { margin-block-start: 4px; }
.app-texts-note { color: var(--dim, #6B6259); font-size: .875rem; }

@media (max-width: 720px) {
  .app-texts-keycol, .app-texts-key { white-space: normal; }
  .app-texts-key code { overflow-wrap: anywhere; }
}
