/* Translations (S07): O-07's LanguageTabs and translation states (owner-setup boards O-07-*), and G-01's label on a
   machine translation (guest-public G01_m_no_dates, G01_m_original). */

.bh-ltabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 2px; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--radius-card); }
.bh-ltab { min-width: 0; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); padding: var(--space-1) 2px; border: 0; border-radius: calc(var(--radius-card) - 2px); background: transparent; color: var(--ink-2); font: inherit; font-size: var(--text-small); line-height: var(--leading-small); font-weight: var(--weight-bold); text-align: center; cursor: pointer; }
.bh-ltab[aria-selected="true"] { background: var(--card); color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--primary); }
.bh-ltab:focus-visible { outline: 2px solid var(--primary); outline-offset: -4px; }
.bh-ltab .bh-chip { max-width: 100%; }
.bh-ltabs + [role="tabpanel"] { margin-top: var(--space-4); }

.bh-tr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.bh-tr-box { display: grid; gap: var(--space-2); justify-items: start; padding: var(--space-3); border-radius: var(--radius-card); background: var(--warning-bg); font-size: var(--text-small); line-height: var(--leading-small); }
.bh-tr-box--error { background: var(--danger-bg); }
.bh-tr-box-title { font-weight: var(--weight-bold); color: var(--warning-ink); }
.bh-tr-box--error .bh-tr-box-title { color: var(--danger-ink); }
.bh-tr-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bh-tr-action { justify-self: start; }
.bh-tr-source { padding: var(--space-3); border: 1px dashed var(--border-input); border-radius: var(--radius-control); background: var(--sunken); font-size: var(--text-small); line-height: var(--leading-small); white-space: pre-line; overflow-wrap: anywhere; }

.bh-tr-label { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-1); font-size: var(--text-small); line-height: var(--leading-small); color: var(--ink-3); }
.bh-tr-label a { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 var(--space-1); text-decoration: underline; text-underline-offset: 2px; }
