
  /* Все селекторы начинаются с #tc-app — не конфликтуют с Tilda */
  #tc-app { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; color:#0f172a; }
  #tc-app .tc-title { font-size:22px; margin:0 0 4px; }
  #tc-app .tc-sub { color:#64748b; font-size:13px; margin-bottom:20px; }
  #tc-app .tc-toolbar { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; align-items:center; }
  #tc-app select, #tc-app input[type="text"] {
    padding:9px 12px; border:1px solid #cbd5e1; border-radius:8px;
    font-size:14px; background:#fff; outline:none; max-width:100%;
  }
  #tc-app input[type="text"] { flex:1; min-width:200px; }
  #tc-app .tc-btn {
    padding:9px 16px; border:none; border-radius:8px; font-size:14px;
    font-weight:600; cursor:pointer; transition:.15s; white-space:nowrap;
  }
  #tc-app .tc-btn:disabled { opacity:.45; cursor:default; }
  #tc-app .tc-btn-primary { background:#2563eb; color:#fff; }
  #tc-app .tc-btn-success { background:#16a34a; color:#fff; }
  #tc-app .tc-btn-ghost   { background:#fff; color:#334155; border:1px solid #cbd5e1; }
  #tc-app .tc-stats { font-size:13px; color:#64748b; margin-bottom:10px; }
  #tc-app .tc-stats b { color:#0f172a; }
  #tc-app .tc-table-wrap {
    background:#fff; border:1px solid #e2e8f0; border-radius:12px;
    overflow:auto; box-shadow:0 1px 3px rgba(0,0,0,.04);
  }
  #tc-app table { border-collapse:collapse; width:100%; font-size:13px; }
  #tc-app th, #tc-app td {
    padding:10px 12px; text-align:left; border-bottom:1px solid #eef2f7; vertical-align:top;
  }
  #tc-app th {
    background:#f8fafc; font-weight:600; color:#475569; font-size:12px;
    text-transform:uppercase; letter-spacing:.03em; white-space:nowrap;
  }
  #tc-app tbody tr:hover td { background:#f8fafc; }
  #tc-app td a { color:#2563eb; text-decoration:none; }
  #tc-app .tc-empty { padding:40px; text-align:center; color:#94a3b8; font-size:14px; }
  #tc-app .tc-check-ok  { color:#16a34a; font-size:12px; }
  #tc-app .tc-check-bad { color:#dc2626; font-size:12px; }
  #tc-app .tc-badge { display:inline-block; padding:1px 7px; border-radius:999px; font-size:11px; background:#f1f5f9; color:#64748b; }
  #tc-app .tc-hidden { display:none !important; }
  /* Адаптив для мобильных */
  @media (max-width: 768px) {
    #tc-app .tc-table-wrap { font-size:12px; }
    #tc-app th, #tc-app td { padding:6px 8px; }
  }
</style>