.tma{gap:var(--space-3,16px);flex-direction:column;max-width:760px;display:flex}.tma [hidden]{display:none}.tma-card{border:1px solid var(--rd-card-border);background:var(--rd-surface,var(--bg-surface));border-radius:16px;flex-direction:column;gap:12px;padding:18px 20px;display:flex}.tma-row{align-items:flex-start;gap:14px;display:flex}.tma-head{align-items:center;gap:10px;display:flex}.tma-head .rd-pill{text-transform:none}.tma-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.tma-h{letter-spacing:-.01em;color:var(--text-primary);flex:1;margin:0;font-size:.95rem;font-weight:600}.tma-sub{color:var(--text-secondary);margin:0;font-size:.84rem;line-height:1.5}.tma-fine{color:var(--text-muted);flex-basis:100%;margin:0;font-size:.78rem}.tma-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);flex-basis:100%;margin:0;font-size:.72rem;font-weight:600}.tma-note{background:var(--bg-muted);color:var(--text-secondary);border-radius:10px;margin:0;padding:8px 12px;font-size:.82rem}.tma-saved{color:var(--success);margin:0;font-size:.82rem}.tma-sub a,.tma-note a{color:var(--brand-primary);font-weight:600}.tma-link{font:inherit;color:var(--brand-primary);cursor:pointer;background:0 0;border:none;padding:0;font-weight:600}.tma-caps{border-top:1px solid var(--bg-muted);flex-wrap:wrap;align-items:flex-end;gap:10px 16px;padding-top:12px;display:flex}.tma-cap{color:var(--text-secondary);flex-direction:column;gap:4px;font-size:.8rem;display:flex}.tma-cap__input{font-variant-numeric:tabular-nums;width:110px}.tma-code{background:var(--rd-surface-2,var(--bg-muted));font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);border-radius:6px;padding:1px 6px;font-size:.8rem}.tma-template{background:var(--rd-surface-2,var(--bg-muted));font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);white-space:pre-wrap;border-radius:12px;margin:0;padding:12px 14px;font-size:.8rem;line-height:1.6;overflow-x:auto}.tma-switch{background:var(--border);cursor:pointer;border:none;border-radius:999px;flex:none;width:40px;height:22px;margin-top:1px;padding:0;transition:background-color .16s;position:relative}.tma-switch--on{background:var(--brand-primary)}.tma-switch:disabled{opacity:.6;cursor:default}.tma-switch:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.tma-switch__knob{background:var(--bg-surface);border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.tma-switch--on .tma-switch__knob{transform:translate(18px)}.tma-skeleton{background:var(--rd-surface-2,var(--bg-muted));border-radius:16px;height:220px}@media (prefers-reduced-motion:reduce){.tma-switch,.tma-switch__knob{transition:none}}.tma{flex-direction:column;gap:20px;display:flex}.tm-card.tma-group{padding:0;overflow:hidden}.tma-group__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 14px;display:flex}.tma-group__head .tma-h{margin:0;font-size:1.05rem;font-weight:700}.tma-group__head .tma-sub{margin:4px 0 0}.tma-set{border-top:1px solid var(--rd-surface-2);justify-content:space-between;align-items:center;gap:24px;margin:0;padding:16px 20px;display:flex}.tma-set__copy{min-width:0}.tma-set__h{color:var(--text-primary);margin:0;font-size:.95rem;font-weight:600}p.tma-set__sub{color:var(--text-muted);max-width:640px;margin:3px 0 0;font-size:.84rem;line-height:1.45}.tma-caps2{flex-wrap:wrap;flex:none;align-items:center;gap:14px;display:flex}.tma-cap2{color:var(--text-muted);align-items:center;gap:8px;font-size:.84rem;display:flex}.tma-cap2 .tma-cap__input{text-align:center;width:76px}.tma-howto{border-radius:var(--radius-md);background:var(--rd-surface-2);margin:0 20px 14px;padding:10px 14px}.tma-howto>summary{cursor:pointer;color:var(--text-secondary);font-size:.84rem;font-weight:600}.tma-howto[open]>summary{margin-bottom:8px}@media (max-width:640px){.tma-set{flex-direction:column;align-items:flex-start;gap:12px}}.tma-group__head>div{flex:360px;min-width:0}.tma-group__head>.rd-pill{flex:none}.tma{max-width:none}
