.tm-description { max-width: 900px; line-height: 1.6; }
.tm-toolbar { display: flex; align-items: center; gap: 16px; margin: 20px 0 16px; }
.tm-toolbar .form-control { max-width: 360px; }
.tm-toolbar > span { white-space: nowrap; }
.tm-table-wrap { overflow-x: auto; }
.tm-table { min-width: 760px; }
.tm-table > tbody > tr > td { vertical-align: middle; padding-top: 12px; padding-bottom: 12px; }
.tm-table th:nth-child(1) { width: 32%; min-width: 200px; }
.tm-table th:nth-child(2) { width: 60px; }
.tm-table th:nth-child(3) { width: 90px; }
.tm-table th:nth-child(4) { width: 185px; }
.tm-table th:nth-child(5) { width: 130px; }
.tm-table th:nth-child(6) { width: 40px; }
.tm-color-controls { display: flex; align-items: center; gap: 4px; }
.tm-color-controls .tm-color { width: 94px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.tm-color-picker { padding: 2px; width: 34px; height: 34px; border: 1px solid #cbd5e1; border-radius: 5px; background: white; cursor: pointer; }
.tm-clear-color { padding: 6px 9px; font-size: 18px; line-height: 20px; }
.tm-preview { display: inline-block; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; line-height: 1.4; }
#tag-manager-settings .tm-table tr[hidden] { display: none; }
.tm-usage { color: #64748b; font-variant-numeric: tabular-nums; }
.tm-order { min-width: 82px; }
.tm-table .tm-preview:not([style]) { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.tm-diagnostics { margin-top: 16px; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; font-size: 12px; }
.tm-diagnostics summary { cursor: pointer; font-weight: 600; color: #334155; }
.tm-diagnostics-body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.tm-diag-meta, .tm-diag-perms, .tm-diag-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
@media (max-width: 600px) { .tm-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; } }
