.tf-owner,.tf-dialog {
  --tf-paper:#fffdfa; --tf-ink:#302923; --tf-muted:#6e655c; --tf-line:#e5ded5;
  --tf-accent:#ac4a2e; --tf-pale:#f7eee3; color:var(--tf-ink);
}
.tf-owner {max-width:1320px;margin:0 auto 30px;font-variant-numeric:tabular-nums}
.tf-owner h2,.tf-owner h3,.tf-owner p,.tf-dialog h2,.tf-dialog h3,.tf-dialog p {margin:0}
.tf-toolbar,.tf-actions,.tf-store,.tf-date,.tf-panel-head,.tf-response-meta,.tf-dialog-heading,.tf-url {display:flex;align-items:center}
.tf-toolbar,.tf-panel-head,.tf-response-meta,.tf-dialog-heading {justify-content:space-between;gap:12px}
.tf-toolbar {margin-bottom:20px;flex-wrap:wrap}
.tf-store {gap:10px;font-weight:740;font-size:17px}
.tf-store-dot {width:10px;height:10px;border-radius:50%;background:var(--tf-accent)}
.tf-store-logo {width:43px;height:43px;object-fit:contain;border-radius:9px}
.tf-actions,.tf-date {gap:8px;flex-wrap:wrap}.tf-date span {font-size:13px;color:var(--tf-muted)}
.tf-owner button,.tf-dialog button,.tf-owner input,.tf-dialog input {font:inherit}
.tf-date input,.tf-icon-button,.tf-primary,.tf-url button,.tf-url input {border-radius:10px;min-height:42px}
.tf-date input,.tf-icon-button,.tf-url input {background:var(--tf-paper);border:1px solid var(--tf-line);color:var(--tf-ink)}
.tf-date input {padding:5px 9px;font-weight:600;min-width:141px}
.tf-icon-button {width:42px;display:grid;place-items:center;cursor:pointer}
.tf-primary,.tf-url button {border:0;background:var(--tf-accent);color:white;font-weight:700!important;padding:0 16px;cursor:pointer}
.tf-primary i {margin-right:4px}.tf-owner button:focus-visible,.tf-dialog button:focus-visible,.tf-dialog a:focus-visible {outline:3px solid var(--tf-accent);outline-offset:3px}
.tf-owner button:disabled,.tf-dialog button:disabled {opacity:.55;cursor:wait}
.tf-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.tf-metric,.tf-panel,.tf-state {background:var(--tf-paper);border:1px solid var(--tf-line);border-radius:18px}
.tf-metric {padding:20px 23px}.tf-metric h3 {font-size:15px;font-weight:650;color:var(--tf-muted)}
.tf-number {display:flex;align-items:baseline;gap:6px;font-size:clamp(33px,3.1vw,49px);line-height:1.12;font-weight:760;letter-spacing:-.05em;margin:13px 0 9px}
.tf-number small {font-size:15px;color:var(--tf-muted);letter-spacing:0;font-weight:550}
.tf-metric p,.tf-panel-head>span,.tf-score-only,.tf-response-meta time {font-size:13px;color:var(--tf-muted)}
.tf-featured {background:#f8eee5;border-color:#e9d4c4}.tf-featured .tf-number {color:var(--tf-accent)}
.tf-columns {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:16px;align-items:start}
.tf-panel {overflow:hidden}.tf-panel-head {padding:22px 23px 16px;flex-wrap:wrap}
.tf-panel-head h2,.tf-dialog h2 {font-size:21px;font-weight:740;letter-spacing:-.035em}
.tf-bars,.tf-feed {list-style:none;margin:0;padding:0 23px 23px}
.tf-bars li {margin-top:16px}.tf-bars li>div:first-child {display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:14px}
.tf-bars b {font-size:15px}.tf-track {height:7px;overflow:hidden;border-radius:9px;background:#ece6df}.tf-track span {display:block;height:100%;background:#b96242;border-radius:inherit}
.tf-feed {overflow:auto;max-height:65vh}.tf-feed li {border-top:1px solid var(--tf-line);padding:15px 0}
.tf-feed li:last-child {padding-bottom:0}.tf-response-meta {margin-bottom:9px}
.tf-response-meta strong {background:#ece8df;padding:4px 9px;border-radius:7px;font-size:15px;line-height:1.3}.tf-response-meta strong.tf-low {background:#f7e5d9;color:#984325}
.tf-response-meta small {font-size:11px;font-weight:550;margin-left:3px}
.tf-tags {display:flex;gap:5px;flex-wrap:wrap}.tf-tags span {font-size:12px;border-radius:15px;border:1px solid var(--tf-line);padding:3px 9px;color:var(--tf-muted)}
.tf-feed p {font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.tf-feed .tf-tags+p {margin-top:7px}
.tf-empty {padding:38px 20px 52px;text-align:center}.tf-empty i {color:#a16d51;font-size:26px;margin-bottom:12px}
.tf-empty h3 {font-size:16px;margin-bottom:6px}.tf-empty p,.tf-dialog-inner>p {color:var(--tf-muted);font-size:14px;line-height:1.65}
.tf-state {padding:24px}.tf-error {color:#913823!important}.tf-state button,.tf-test-link {color:var(--tf-accent);text-decoration:underline}
.tf-state button {background:transparent;border:0;cursor:pointer}
.tf-dialog {position:fixed;inset:0;margin:auto;padding:0;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid var(--tf-line);border-radius:20px;background:var(--tf-paper);box-shadow:0 18px 90px #21180d3a}
.tf-dialog::backdrop {background:rgba(30,26,23,.53)}
.tf-dialog-inner {padding:25px}.tf-dialog-heading {margin-bottom:14px}.tf-dialog-heading button {border-radius:50%}
.tf-dialog label,.tf-dialog h3 {display:block;font-weight:700;font-size:14px;margin-bottom:8px}
.tf-qr {display:block;margin:12px auto;border:1px solid var(--tf-line);border-radius:12px;background:white}
.tf-url {gap:6px}.tf-url input {width:0;min-width:0;flex:1;padding:5px 9px;font-size:13px}
.tf-url button {font-size:13px;font-weight:650;flex:none}.tf-test-link {display:inline-block;margin-top:10px;font-size:13px}
.tf-dialog .tf-expiry {margin-top:4px;font-size:12px}.tf-issue {margin-top:18px}
.tf-install {margin-top:20px;background:#f2eee7;border-radius:12px;padding:15px}
.tf-install p {display:flex;gap:9px;font-size:13px;line-height:1.55;margin-top:4px}.tf-install b {min-width:48px}
.tf-dialog .tf-error {margin-top:10px}
@media(max-width:900px){.tf-metric {padding:17px}.tf-metrics,.tf-columns {gap:10px}.tf-panel-head {padding:17px}.tf-bars,.tf-feed {padding:0 17px 17px}}
@media(max-width:680px){.tf-columns {grid-template-columns:1fr}.tf-metrics {gap:6px}.tf-metric {padding:13px 9px;border-radius:12px}.tf-number {font-size:28px}.tf-number small {font-size:11px}.tf-metric h3 {font-size:13px}.tf-metric p {font-size:11px}.tf-actions {gap:5px}.tf-actions button,.tf-date input {min-height:40px}.tf-date {gap:4px}.tf-toolbar {gap:9px}.tf-primary {padding:0 10px}.tf-empty {padding:22px 12px 30px}}

.tf-charts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.tf-charts .tf-panel-head {padding-bottom:12px}
.tf-charts .tf-panel-head h2 {font-size:clamp(17px,1.45vw,21px)}
.tf-trend,.tf-distribution {list-style:none;margin:0;padding:9px 23px 20px}
.tf-trend {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.tf-trend li {min-width:0;text-align:center}
.tf-trend-track {position:relative;height:83px;border-bottom:1px solid var(--tf-line);margin-top:15px}
.tf-trend-column {position:absolute;inset:auto 12% 0;min-width:0;max-width:35px;margin:auto;background:#d69a7c;border-radius:4px 4px 0 0}
.tf-trend-column b {position:absolute;left:50%;bottom:100%;transform:translateX(-50%);font-size:12px;line-height:17px;color:var(--tf-ink);white-space:nowrap}
.tf-trend time {display:block;white-space:nowrap;margin-top:5px;font-size:12px;color:var(--tf-muted)}
.tf-chart-selected .tf-trend-column {background:var(--tf-accent)}
.tf-chart-selected time {color:var(--tf-ink);font-weight:750}
.tf-distribution {display:grid;gap:6px;padding-top:1px}
.tf-distribution li {display:grid;grid-template-columns:minmax(82px,auto) minmax(15px,1fr) auto;align-items:center;gap:11px;line-height:19px;font-size:13px}
.tf-score-caption {color:var(--tf-muted)}.tf-score-caption b,.tf-distribution strong {color:var(--tf-ink);font-weight:650}
.tf-distribution-track {background:#ece6df;height:7px;border-radius:8px;overflow:hidden}
.tf-distribution-track i {display:block;height:100%;border-radius:inherit}
.tf-score-1 {background:#a33f4b}.tf-score-2 {background:#a34d25}.tf-score-3 {background:#86641a}.tf-score-4 {background:#307955}.tf-score-5 {background:#116c73}
.tf-chart-message {padding:10px 23px 22px;color:var(--tf-muted);font-size:14px}
.tf-sr-only {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tf-secondary,.tf-delete {min-height:42px;padding:0 14px;border-radius:10px;font-weight:650!important;cursor:pointer}
.tf-secondary {background:var(--tf-paper);border:1px solid var(--tf-line);color:var(--tf-muted)}
.tf-delete {background:#963d29;color:white;border:1px solid #963d29}
.tf-reset-dialog {max-width:440px}
.tf-reset-store {margin:0 0 14px;color:var(--tf-ink);font-size:17px;font-weight:700}
.tf-reset-scope {margin:0;padding:0;border:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px}
.tf-reset-scope legend {margin:0 0 8px;color:var(--tf-muted);font-size:13px}
.tf-dialog .tf-reset-scope label {display:inline-flex;align-items:center;gap:6px;margin:0;min-height:36px;font-size:14px;cursor:pointer}
.tf-reset-scope input {accent-color:var(--tf-accent)}
.tf-reset-preview {display:grid;gap:5px;background:var(--tf-pale);border:1px solid var(--tf-line);border-radius:12px;padding:14px 16px;margin:14px 0}
.tf-reset-preview span,.tf-reset-preview small {color:var(--tf-muted);font-size:13px}
.tf-reset-preview strong {font-size:18px;font-weight:720}
.tf-dialog-actions {display:flex;gap:8px;justify-content:flex-end;margin-top:20px}
.tf-dialog-actions .tf-primary {min-height:42px;border-radius:10px}
.tf-owner .tf-reset-notice {margin:0 0 14px;color:#426449;font-size:14px}
@media(max-width:900px){.tf-charts {gap:10px}.tf-trend,.tf-distribution {padding-inline:17px}}
@media(max-width:680px){.tf-charts {grid-template-columns:minmax(0,1fr)}.tf-charts .tf-panel-head {padding-bottom:10px}.tf-trend-track {height:67px}.tf-secondary {padding-inline:9px}.tf-distribution li {gap:8px}}
