Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
/* Specialist teams: /teams (your teams + assemble one) and /teams/:id (the
squad, the live findings board, role actions, settings). Both themes, every
state. */
:root {
--tm-bg: #0a0a0b;
--tm-panel: #121214;
--tm-panel-2: #17171a;
--tm-line: #26262b;
--tm-text: #f5f5f7;
--tm-dim: #a1a1aa;
--tm-faint: #7a7a83;
--tm-accent: #7c5cff;
--tm-accent-2: #22d3ee;
--tm-green: #34d399;
--tm-red: #fb7185;
--tm-amber: #f59e0b;
--tm-chip: #1e1e24;
--tm-radius: 16px;
--tm-fast: 140ms;
--tm-base: 220ms;
--role-researcher: #22d3ee;
--role-entry: #f59e0b;
--role-trader: #34d399;
--role-launcher: #c084fc;
--role-custom: #a1a1aa;
}
:root[data-theme='light'] {
--tm-bg: #fafafa;
--tm-panel: #ffffff;
--tm-panel-2: #f4f4f6;
--tm-line: #e4e4e8;
--tm-text: #14141a;
--tm-dim: #52525b;
--tm-faint: #63636c;
--tm-chip: #eef0f4;
--tm-green: #047857;
--tm-red: #be123c;
--tm-amber: #b45309;
--role-researcher: #0e7490;
--role-entry: #b45309;
--role-trader: #047857;
--role-launcher: #7e22ce;
--role-custom: #52525b;
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--tm-bg);
color: var(--tm-text);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
}
.tm { max-width: 1180px; margin: 0 auto; padding: 28px 16px 80px; }
.tm a { color: inherit; }
.tm-stack { display: grid; gap: 14px; }
.tm-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tm-accent); font-weight: 700; margin: 8px 0 10px; }
.tm-title { font-size: clamp(28px, 5.4vw, 48px); line-height: 1.04; font-weight: 800; margin: 0 0 12px; letter-spacing: -.025em; }
.tm-sub { font-size: clamp(14px, 2.2vw, 17px); color: var(--tm-dim); max-width: 68ch; line-height: 1.55; margin: 0 0 22px; }
.tm-h2 { font-size: 16px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tm-h2 small { color: var(--tm-faint); font-weight: 500; font-size: 13px; }
.tm-section { margin-top: 28px; }
.tm-muted { color: var(--tm-dim); }
.tm-faint { color: var(--tm-faint); }
.tm-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.tm-back { display: inline-block; margin: 0 0 14px; color: var(--tm-faint); text-decoration: none; font-weight: 700; font-size: 13.5px; }
.tm-back:hover { color: var(--tm-text); }
.tm-back:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; border-radius: 4px; }
/* ── buttons + inputs ───────────────────────────────────────────────── */
.tm-btn {
appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font: inherit; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 11px;
border: 1px solid var(--tm-line); background: var(--tm-panel-2); color: var(--tm-text);
text-decoration: none; cursor: pointer; min-height: 44px;
transition: background var(--tm-fast), border-color var(--tm-fast), transform var(--tm-fast), opacity var(--tm-fast);
}
.tm-btn:hover { border-color: var(--tm-accent); transform: translateY(-1px); }
.tm-btn:active { transform: none; }
.tm-btn:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.tm-btn.primary { background: var(--tm-accent); border-color: var(--tm-accent); color: #fff; }
.tm-btn.primary:hover { filter: brightness(1.08); }
.tm-btn.danger { color: var(--tm-red); }
.tm-btn.danger:hover { border-color: var(--tm-red); }
.tm-btn.live { background: var(--tm-red); border-color: var(--tm-red); color: #fff; }
.tm-btn.sm { padding: 7px 12px; font-size: 13px; min-height: 36px; border-radius: 9px; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tm-seg { display: inline-flex; flex-wrap: wrap; background: var(--tm-panel-2); border: 1px solid var(--tm-line); border-radius: 10px; padding: 4px; gap: 4px; }
.tm-seg button { appearance: none; border: 0; background: transparent; color: var(--tm-dim); font: inherit; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 7px; cursor: pointer; min-height: 36px; white-space: nowrap; transition: background var(--tm-fast), color var(--tm-fast); }
.tm-seg button:hover { color: var(--tm-text); }
.tm-seg button[aria-pressed='true'] { background: var(--tm-accent); color: #fff; }
.tm-seg button:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-form { display: grid; gap: 14px; }
.tm-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.tm-label { font-size: 12px; color: var(--tm-faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.tm-hint { font-size: 12.5px; color: var(--tm-faint); line-height: 1.45; }
.tm-input { width: 100%; background: var(--tm-panel-2); border: 1px solid var(--tm-line); color: var(--tm-text); font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; min-height: 44px; transition: border-color var(--tm-fast), box-shadow var(--tm-fast); }
.tm-input:hover { border-color: color-mix(in srgb, var(--tm-accent) 40%, var(--tm-line)); }
.tm-input:focus { outline: none; border-color: var(--tm-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tm-accent) 22%, transparent); }
textarea.tm-input { min-height: 74px; resize: vertical; }
.tm-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--tm-dim); line-height: 1.45; cursor: pointer; }
.tm-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--tm-accent); flex: none; }
/* ── panels, chips, notes ───────────────────────────────────────────── */
.tm-panel { background: var(--tm-panel); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 20px; min-width: 0; }
.tm-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--tm-chip); color: var(--tm-dim); white-space: nowrap; }
.tm-chip.good { background: color-mix(in srgb, var(--tm-green) 16%, transparent); color: var(--tm-green); }
.tm-chip.warn { background: color-mix(in srgb, var(--tm-amber) 18%, transparent); color: var(--tm-amber); }
.tm-chip.bad { background: color-mix(in srgb, var(--tm-red) 16%, transparent); color: var(--tm-red); }
.tm-chip.info { background: color-mix(in srgb, var(--tm-accent-2) 16%, transparent); color: var(--tm-accent-2); }
.tm-chip.role { background: color-mix(in srgb, var(--role) 16%, transparent); color: var(--role); }
.tm-err { background: color-mix(in srgb, var(--tm-red) 10%, transparent); border: 1px solid color-mix(in srgb, var(--tm-red) 40%, transparent); color: var(--tm-text); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.tm-note { background: var(--tm-panel-2); border: 1px solid var(--tm-line); border-left: 3px solid var(--tm-accent-2); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--tm-dim); line-height: 1.55; }
.tm-note.warn { border-left-color: var(--tm-amber); }
.tm-note.bad { border-left-color: var(--tm-red); }
.tm-note b { color: var(--tm-text); }
.tm-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.tm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.tm-tile { background: var(--tm-panel-2); border: 1px solid var(--tm-line); border-radius: 12px; padding: 12px 14px; margin: 0; }
.tm-tile dt { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--tm-faint); font-weight: 700; margin: 0 0 5px; }
.tm-tile dd { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* ── list view ──────────────────────────────────────────────────────── */
.tm-hero { background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--tm-accent) 16%, transparent), transparent 60%), var(--tm-panel); border: 1px solid var(--tm-line); border-radius: 20px; padding: clamp(18px, 4vw, 34px); }
.tm-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.tm-roles li { background: var(--tm-panel-2); border: 1px solid var(--tm-line); border-top: 3px solid var(--role); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: var(--tm-dim); }
.tm-roles li b { display: block; color: var(--tm-text); margin-bottom: 2px; }
.tm-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
@media (min-width: 980px) { .tm-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .tm-layout > aside { position: sticky; top: 84px; } }
.tm-cards { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tm-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--tm-panel); border: 1px solid var(--tm-line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit; transition: border-color var(--tm-fast), transform var(--tm-fast), background var(--tm-fast); animation: tm-in var(--tm-base) ease both; }
.tm-card:hover { transform: translateY(-2px); border-color: var(--tm-accent); background: var(--tm-panel-2); }
.tm-card:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-card-name { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-card-meta { font-size: 12.5px; color: var(--tm-faint); margin-top: 5px; display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; }
.tm-roster { display: inline-flex; }
.tm-roster > * + * { margin-left: -10px; }
.tm-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--tm-panel-2); border: 2px solid var(--role, var(--tm-line)); flex: none; display: inline-grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--role, var(--tm-accent)); }
@media (max-width: 560px) {
.tm-card { grid-template-columns: minmax(0, 1fr); }
.tm-card > .tm-chip { justify-self: start; }
}
/* ── squad stage ────────────────────────────────────────────────────── */
.tm-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.tm-head h1 { margin: 0; font-size: clamp(26px, 5vw, 42px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; overflow-wrap: anywhere; }
.tm-head-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.tm-desc { color: var(--tm-dim); margin: 8px 0 0; font-size: 15px; line-height: 1.5; max-width: 70ch; overflow-wrap: anywhere; }
.tm-squad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .tm-squad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .tm-squad { gap: 8px; } }
.tm-member { position: relative; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, color-mix(in srgb, var(--role) 14%, var(--tm-panel)), var(--tm-panel) 62%); border: 1px solid var(--tm-line); border-top: 3px solid var(--role); border-radius: 16px; overflow: hidden; min-width: 0; transition: border-color var(--tm-fast), box-shadow var(--tm-base); }
.tm-member.pulse { box-shadow: 0 0 0 2px var(--role), 0 0 28px -6px var(--role); }
.tm-stage { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.tm-stage agent-3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--duration-slow) var(--ease-standard); }
.tm-stage agent-3d.ready { opacity: 1; }
.tm-stage-img { width: 70%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--role) 50%, transparent); transition: opacity var(--duration-slow) var(--ease-standard); }
.tm-stage-img.gone { opacity: 0; }
.tm-stage-initial { width: 64%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 40px; font-weight: 900; color: var(--role); background: color-mix(in srgb, var(--role) 12%, transparent); }
.tm-member-body { padding: 10px 12px 12px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.tm-member-name { font-weight: 800; font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.tm-member-name:hover { color: var(--tm-accent-2); }
.tm-member-name:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; border-radius: 4px; }
.tm-member-blurb { margin: 0; font-size: 12px; color: var(--tm-faint); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-perms { display: flex; flex-wrap: wrap; gap: 4px; }
.tm-perms span { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--tm-chip); color: var(--tm-dim); }
.tm-perms span.sign { background: color-mix(in srgb, var(--tm-red) 16%, transparent); color: var(--tm-red); }
.tm-missing { aspect-ratio: 3 / 4; display: grid; place-items: center; text-align: center; padding: 14px; color: var(--tm-faint); font-size: 13px; line-height: 1.5; border: 1px dashed var(--tm-line); border-radius: 12px; margin: 10px; }
@media (max-width: 480px) { .tm-member-blurb, .tm-perms { display: none; } }
/* ── workbench ──────────────────────────────────────────────────────── */
.tm-work { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
@media (min-width: 1000px) { .tm-work:not(.solo) { grid-template-columns: 400px minmax(0, 1fr); align-items: start; } .tm-work > .tm-console { position: sticky; top: 84px; } }
.tm-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tm-tabs button { appearance: none; font: inherit; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--tm-line); background: var(--tm-panel-2); color: var(--tm-dim); cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; gap: 7px; transition: border-color var(--tm-fast), color var(--tm-fast), background var(--tm-fast); }
.tm-tabs button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--role); }
.tm-tabs button:hover { color: var(--tm-text); border-color: var(--role); }
.tm-tabs button[aria-selected='true'] { color: var(--tm-text); border-color: var(--role); background: color-mix(in srgb, var(--role) 14%, var(--tm-panel-2)); }
.tm-tabs button:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-result { margin-top: 12px; }
.tm-result:empty { display: none; }
/* ── findings board ─────────────────────────────────────────────────── */
.tm-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tm-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--tm-faint); }
.tm-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--tm-faint); }
.tm-live.on { color: var(--tm-green); }
.tm-live.on i { background: var(--tm-green); box-shadow: 0 0 0 0 var(--tm-green); animation: tm-pulse 1.8s ease-out infinite; }
.tm-live.retry { color: var(--tm-amber); }
.tm-live.retry i { background: var(--tm-amber); }
@keyframes tm-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tm-green) 70%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.tm-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tm-finding { background: var(--tm-panel); border: 1px solid var(--tm-line); border-left: 3px solid var(--role); border-radius: 14px; padding: 14px 16px; min-width: 0; animation: tm-in var(--tm-base) ease both; transition: box-shadow var(--tm-base), border-color var(--tm-fast); scroll-margin-top: 90px; }
.tm-finding.flash { box-shadow: 0 0 0 2px var(--tm-accent-2); }
.tm-finding.stale { opacity: .78; }
.tm-f-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tm-f-subject { font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--tm-text); overflow-wrap: anywhere; }
a.tm-f-subject:hover { color: var(--tm-accent-2); }
.tm-f-time { margin-left: auto; font-size: 12px; color: var(--tm-faint); white-space: nowrap; }
.tm-f-summary { font-size: 14px; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; }
.tm-f-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--tm-faint); margin-top: 8px; align-items: center; }
.tm-cite { appearance: none; background: color-mix(in srgb, var(--tm-accent-2) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tm-accent-2) 35%, transparent); color: var(--tm-accent-2); font: inherit; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; cursor: pointer; }
.tm-cite:hover { background: color-mix(in srgb, var(--tm-accent-2) 22%, transparent); }
.tm-cite:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-f-meta a { color: var(--tm-accent-2); font-weight: 700; text-decoration: none; }
.tm-f-meta a:hover { text-decoration: underline; }
.tm-ev { margin-top: 10px; }
.tm-ev summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--tm-dim); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.tm-ev summary::-webkit-details-marker { display: none; }
.tm-ev summary::before { content: '›'; display: inline-block; transition: transform var(--tm-fast); }
.tm-ev[open] summary::before { transform: rotate(90deg); }
.tm-ev summary:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; border-radius: 4px; }
.tm-ev dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 10px 0 0; font-size: 12.5px; }
.tm-ev dt { color: var(--tm-faint); font-weight: 700; }
.tm-ev dd { margin: 0; color: var(--tm-dim); overflow-wrap: anywhere; }
.tm-ev ul { margin: 0; padding-left: 16px; }
.tm-more { display: flex; justify-content: center; margin-top: 12px; }
/* ── states ─────────────────────────────────────────────────────────── */
.tm-skel { border-radius: 14px; border: 1px solid var(--tm-line); background: linear-gradient(100deg, var(--tm-panel) 30%, var(--tm-panel-2) 50%, var(--tm-panel) 70%); background-size: 200% 100%; animation: tm-sh 1.3s ease-in-out infinite; }
@keyframes tm-sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes tm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tm-state { text-align: center; padding: 40px 20px; border: 1px dashed var(--tm-line); border-radius: var(--tm-radius); background: var(--tm-panel); }
.tm-state h2, .tm-state h3 { margin: 0 0 8px; font-size: 19px; }
.tm-state p { color: var(--tm-dim); margin: 0 auto 16px; max-width: 52ch; font-size: 14px; line-height: 1.55; }
.tm-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tm-rot .8s linear infinite; flex: none; }
@keyframes tm-rot { to { transform: rotate(360deg); } }
/* ── dialog + toast ─────────────────────────────────────────────────── */
dialog.tm-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--tm-line); border-radius: 18px; background: var(--tm-panel); color: var(--tm-text); padding: 0; }
dialog.tm-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
dialog.tm-dialog[open] { animation: tm-in var(--tm-base) ease both; }
.tm-dialog-inner { margin: 0; }
.tm-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--tm-line); }
.tm-dialog-head h2 { margin: 0; font-size: 18px; }
.tm-dialog-body { padding: 18px 20px; font-size: 14px; line-height: 1.55; color: var(--tm-dim); }
.tm-dialog-body table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; }
.tm-dialog-body th { text-align: left; color: var(--tm-faint); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px 7px 0; vertical-align: top; width: 34%; }
.tm-dialog-body td { color: var(--tm-text); font-weight: 600; padding: 7px 0; overflow-wrap: anywhere; }
.tm-dialog-body tr + tr th, .tm-dialog-body tr + tr td { border-top: 1px solid var(--tm-line); }
.tm-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 18px; flex-wrap: wrap; }
.tm-x { appearance: none; border: 1px solid var(--tm-line); background: var(--tm-panel-2); color: var(--tm-text); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; line-height: 1; }
.tm-x:hover { border-color: var(--tm-accent); }
.tm-x:focus-visible { outline: 2px solid var(--tm-accent-2); outline-offset: 2px; }
.tm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(8px); background: var(--tm-text); color: var(--tm-bg); font-size: 13.5px; font-weight: 700; padding: 11px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity var(--tm-base), transform var(--tm-base); z-index: 80; max-width: calc(100vw - 32px); text-align: center; }
.tm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* settings fieldsets, permission pickers and inline cited findings */
.tm-fieldset { border: 1px solid var(--tm-line); border-radius: 12px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.tm-fieldset > legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--tm-text); display: inline-flex; gap: 8px; align-items: center; }
.tm-perms-pick { display: grid; gap: 8px; }
.tm-cited:empty { display: none; }
.tm-cited > .tm-feed > .tm-finding { border-left: 3px solid var(--role, var(--tm-line)); }
@media (prefers-reduced-motion: reduce) {
.tm-card, .tm-finding, dialog.tm-dialog[open], .tm-skel, .tm-live.on i, .tm-spin { animation: none; }
.tm-btn, .tm-card, .tm-stage agent-3d { transition: none; }
.tm-btn:hover, .tm-card:hover { transform: none; }
}
/* Hover feedback for the controls above that set cursor: pointer. */
.tm-check:hover { filter: brightness(1.25); }
.tm-ev summary:hover { color: var(--tm-accent-2); }