.tl-root { max-width: 100%; margin: 24px 0; color: var(--ink, #1f2433); }
.tl-root *, .tl-root *::before, .tl-root *::after { box-sizing: border-box; }
.tl-box { background: var(--card, #fff); border: 1px solid var(--line, #e3ddd0); border-radius: var(--radius, 14px); padding: 20px; max-width: 100%; overflow-wrap: anywhere; }
.tl-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 0; }
.tl-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.tl-label { font-size: 15px; font-weight: 600; color: var(--ink, #1f2433); }
.tl-input { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--ink, #1f2433); background: var(--bg, #f6f3ec); border: 1px solid var(--line, #e3ddd0); border-radius: 10px; }
.tl-input:focus { outline: 2px solid var(--brand-2, #13777f); outline-offset: 1px; }
.tl-btn { min-height: 44px; padding: 10px 22px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: var(--brand, #0f5c63); border: 0; border-radius: 10px; cursor: pointer; }
.tl-btn:hover { background: var(--brand-2, #13777f); }
.tl-btn:focus-visible { outline: 2px solid var(--accent, #e3962b); outline-offset: 2px; }
.tl-btn:disabled { cursor: default; opacity: 0.75; }
.tl-form .tl-btn { flex: 0 0 auto; }
.tl-msg { margin: 12px 0 0; color: #a3302b; font-weight: 600; }
.tl-msg:empty { display: none; }
.tl-out { margin-top: 16px; }
.tl-out:empty { display: none; }
.tl-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; border: 1px solid var(--line, #e3ddd0); border-radius: 10px; }
.tl-table { width: 100%; min-width: 320px; border-collapse: collapse; font-size: 16px; }
.tl-table th, .tl-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line, #e3ddd0); }
.tl-table thead th { background: var(--bg, #f6f3ec); color: var(--muted, #5d6475); font-size: 14px; }
.tl-table tbody tr:last-child th, .tl-table tbody tr:last-child td { border-bottom: 0; }
.tl-note { margin: 14px 0 0; font-size: 14px; color: var(--muted, #5d6475); }
.tl-facts { margin: 14px 0 0; padding-left: 20px; }
.tl-facts li { margin: 6px 0; }
.tl-h { margin: 22px 0 10px; font-size: 18px; }
.tl-big { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--brand, #0f5c63); }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tl-stat { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--bg, #f6f3ec); border: 1px solid var(--line, #e3ddd0); border-radius: 10px; min-width: 0; }
.tl-stat-num { font-size: 20px; font-weight: 700; color: var(--brand, #0f5c63); overflow-wrap: anywhere; }
.tl-stat-label { font-size: 14px; color: var(--muted, #5d6475); }
.tl-progress { margin: 0 0 8px; font-size: 14px; color: var(--muted, #5d6475); }
.tl-bar { height: 6px; background: var(--line, #e3ddd0); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.tl-bar-fill { display: block; height: 100%; background: var(--accent, #e3962b); }
.tl-question { margin: 0 0 16px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.tl-answers { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-answers .tl-btn { flex: 1 1 140px; }
.tl-btn-false { background: var(--muted, #5d6475); }
.tl-btn-false:hover { background: var(--ink, #1f2433); }
.tl-btn.tl-ok { background: #2e7d4f; opacity: 1; }
.tl-btn.tl-bad { background: #a3302b; opacity: 1; }
.tl-result { margin-top: 16px; }
.tl-result:empty { display: none; }
.tl-verdict { margin: 0 0 6px; font-weight: 700; }
.tl-verdict-ok { color: #2e7d4f; }
.tl-verdict-bad { color: #a3302b; }
.tl-explain { margin: 0 0 12px; line-height: 1.5; }
.tl-more { display: inline-block; min-height: 44px; line-height: 44px; margin-right: 16px; color: var(--brand, #0f5c63); font-weight: 600; }
.tl-next { margin-top: 4px; }
@media (max-width: 480px) {
  .tl-box { padding: 14px; }
  .tl-form .tl-btn { width: 100%; }
  .tl-question { font-size: 17px; }
  .tl-table { font-size: 15px; }
  .tl-table th, .tl-table td { padding: 8px 10px; }
}
