/* TesseraX — lexico.css. Dicionário de dialeto: blocos no painel da palavra e aba "Dialeto" em Palavras. Prefixos lx- e dl-. Cromo sempre LTR; só o texto árabe é RTL. */
.lx-blk { margin-top: 18px; direction: ltr; }
.lx-list { display: flex; flex-direction: column; gap: 14px; }
.lx-it { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lx-top { display: flex; align-items: center; gap: 10px; min-width: 0; direction: ltr; }
.lx-w { appearance: none; border: 0; background: none; padding: 0; margin: 0; color: var(--tx); font-family: var(--f-ar); font-size: 1.55rem; line-height: 1.7; font-weight: 600; cursor: pointer; text-align: start; min-width: 0; }
.lx-w:focus-visible, .lx-std:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 8px; }
.lx-rd { font: 400 .95rem/1.3 var(--f-ui); color: var(--mu); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-pl { flex: none; margin-inline-start: auto; }
.lx-pt { font: 400 .98rem/1.4 var(--f-ui); color: color-mix(in srgb, var(--tx) 72%, transparent); overflow-wrap: anywhere; }
.lx-exs { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.lx-ex { display: flex; align-items: flex-start; gap: 8px; direction: ltr; }
.lx-ex .lx-pl { margin-inline-start: 0; margin-top: -2px; }
.lx-exb { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.lx-tx { font-family: var(--f-ar); font-size: 1.2rem; line-height: 1.8; color: var(--tx); unicode-bidi: isolate; }
.lx-hit { font-weight: 700; color: var(--tx); background: color-mix(in srgb, var(--ac) 22%, transparent); border-radius: 4px; padding: 0 2px; }
.lx-own { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; direction: ltr; }
.lx-fm { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; direction: ltr; }
.lx-fm .lx-pt { text-align: end; flex: none; max-width: 55%; }
.lx-fl { font: 400 .9rem/1.3 var(--f-ui); color: var(--mu); }
.lx-std { appearance: none; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; width: 100%; padding: 6px 0; border: 0; background: none; color: var(--tx); cursor: pointer; text-align: start; direction: ltr; }
.lx-std .lx-w { cursor: pointer; pointer-events: none; font-size: 1.35rem; }
.lx-std .lx-pt { text-align: end; flex: none; max-width: 55%; }

/* aba Dialeto em Palavras */
.dl { display: flex; flex-direction: column; gap: 14px; direction: ltr; }
.dl-tools { display: flex; flex-direction: column; gap: 10px; }
.dl-q { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--l2); border-radius: var(--rad-s, 14px); background: var(--bg); color: var(--mu); }
.dl-q input { flex: 1; min-width: 0; border: 0; background: none; color: var(--tx); font: 400 16px/1.4 var(--f-ui); outline: none; padding: 10px 0; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-sum { font: 400 .9rem/1.3 var(--f-ui); color: var(--mu); }
.dl-list { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--l2); border-radius: var(--rad); overflow: hidden; }
.dl-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--l2); background: none; color: var(--tx); cursor: pointer; text-align: start; direction: ltr; min-height: 56px; }
.dl-row:first-child { border-top: 0; }
.dl-row:focus-visible { outline: 2px solid var(--ac); outline-offset: -2px; }
.dl-w { font-family: var(--f-ar); font-size: 1.4rem; line-height: 1.6; font-weight: 600; flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: isolate; }
.dl-m { flex: 1; min-width: 0; font: 400 .98rem/1.35 var(--f-ui); color: color-mix(in srgb, var(--tx) 78%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-pos { flex: none; font: 400 .8rem/1.2 var(--f-ui); color: var(--mu); }
.dl-ear { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sf); color: var(--tx); cursor: pointer; }
.dl-ear:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.dl-more { align-self: center; }
.dl-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 16px; text-align: center; color: var(--mu); }
@media (max-width: 420px) { .dl-pos { display: none; } .dl-w { font-size: 1.3rem; } }

/* Fala (painel da palavra, árabe): palestino em destaque; Damasco e Beirute só quando diferem. Cromo LTR, só o árabe é RTL. */
.wfala { margin-top: 18px; direction: ltr; }
.wf-l { display: flex; flex-direction: column; gap: 16px; }
.wf-s { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wf-g { font: 400 var(--fs-2, 13.5px)/1.3 var(--f-ui); color: var(--mu); }
.wf-p { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; min-width: 0; }
.wf-ar { font-family: var(--f-ar); color: var(--tx); unicode-bidi: isolate; }
.wf-main { font-size: 1.55rem; line-height: 1.6; font-weight: 600; }
.wf-sm { font-size: 1.15rem; line-height: 1.6; }
.wf-t { font: 500 var(--fs-3, 15px)/1.3 var(--f-ui); color: var(--tx); }
.wf-t.sm { font-size: var(--fs-2, 13.5px); font-weight: 400; color: var(--mu); }
.wf-i { font: 400 var(--fs-1, 12px)/1.3 var(--f-ui); color: var(--tx-faint, var(--mu)); margin-top: -2px; }
.wf-r, .wf-o { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; min-width: 0; color: var(--mu); }
.wf-r { margin-top: 4px; }
.wf-o { margin-top: 2px; }
.wf-n { flex: none; width: 58px; font: 400 var(--fs-2, 13.5px)/1.3 var(--f-ui); color: var(--mu); }
.wf-q { margin-top: 4px; font: 400 var(--fs-2, 13.5px)/1.3 var(--f-ui); color: var(--mu); }
.wf-mk { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid var(--pop-ln, var(--ln)); border-radius: 999px; font: 500 var(--fs-1, 12px)/1 var(--f-ui); color: var(--mu); white-space: nowrap; }
.wf-ok { display: inline-grid; place-items: center; color: var(--mu); opacity: .8; }
.wf-pl { flex: none; width: 32px; height: 32px; margin-inline-start: auto; color: var(--mu); }
.wf-p .wf-pl { margin-inline-start: 0; }
.wf-o .wf-pl, .wf-r .wf-pl { width: 28px; height: 28px; }
