.ttc-stt{--ttc-accent:#2563eb;--ttc-border:#dce3ed;box-sizing:border-box;max-width:100%;margin:1.2em auto;padding:16px;border:1px solid var(--ttc-border);border-radius:14px;background:#fff;color:#182334;font:inherit;line-height:1.55;text-align:left;overflow-wrap:anywhere}
.ttc-stt *{box-sizing:border-box}.ttc-stt [hidden]{display:none!important}.ttc-stt .ttc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ttc-stt .ttc-head strong{font-size:1.15em}.ttc-stt .ttc-count{font-size:.8em;color:#53647b;white-space:nowrap}.ttc-stt .ttc-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.ttc-stt button{font:inherit;font-size:13px;line-height:1.25;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal;border-radius:8px;padding:8px 12px;border:1px solid var(--ttc-border);background:#f4f7fb;color:#23344b;margin:0;min-height:36px;white-space:nowrap}.ttc-stt .ttc-tabs button[aria-pressed=true]{background:var(--ttc-accent);border-color:var(--ttc-accent);color:white}.ttc-stt .ttc-search{display:block;width:100%;margin:0 0 10px;border:1px solid var(--ttc-border);border-radius:8px;background:#fff;color:#182334;padding:10px;font:inherit;min-height:42px}.ttc-stt .ttc-group-title{font-size:1em;margin:12px 0 4px;color:#34455c}.ttc-stt .ttc-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #e9edf3;padding:11px 0}.ttc-stt .ttc-row:last-child{border-bottom:none}.ttc-stt .ttc-num{font-size:12px;color:#6c7c91;font-variant-numeric:tabular-nums}.ttc-stt .ttc-content{font-size:15px;white-space:normal;user-select:text}.ttc-stt .ttc-copy{background:#eef4ff;border-color:#c9d9fb;color:#1749b3;min-width:78px}.ttc-stt .ttc-copy:hover{background:#dfeaff}.ttc-stt .ttc-copy.ttc-done{background:#e5f7ed;border-color:#b5e2c9;color:#116638}.ttc-stt .ttc-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:99999;background:#182334;color:#fff;padding:10px 18px;border-radius:9px;box-shadow:0 4px 20px #0003;font-size:14px;max-width:90vw;pointer-events:none}.ttc-stt .ttc-empty{color:#65758b;margin:14px 0}.ttc-stt button:focus-visible,.ttc-stt input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:480px){.ttc-stt{padding:10px}.ttc-stt .ttc-row{gap:6px;grid-template-columns:22px minmax(0,1fr) auto}.ttc-stt .ttc-copy{min-width:65px;padding:8px 6px}.ttc-stt .ttc-content{font-size:14px}.ttc-stt .ttc-tabs button{padding:8px}}
/* Small icon buttons, independent of theme button styling. */
.ttc-post-copy-root{position:relative}.ttc-post-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 8px}.ttc-post-copy-root button.ttc-post-copy,.ttc-stt button.ttc-copy{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;margin:0 0 0 8px;padding:6px;border:1px solid #c9d9fb;border-radius:6px;background:#eef4ff;color:#1749b3;cursor:pointer;box-shadow:none;line-height:1;letter-spacing:normal;white-space:nowrap;text-decoration:none;text-transform:none;flex-shrink:0}.ttc-post-copy-root button.ttc-total-copy{width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;margin:0}.ttc-post-copy-root button.ttc-post-copy svg,.ttc-stt button.ttc-copy svg{display:block;width:18px;height:18px;max-width:none;pointer-events:none;fill:none;stroke:currentColor}.ttc-post-copy-root button.ttc-post-copy:hover,.ttc-stt button.ttc-copy:hover{background:#dfeaff;color:#1749b3}.ttc-post-copy-root button.ttc-post-copy.ttc-done,.ttc-stt button.ttc-copy.ttc-done{background:#e5f7ed;border-color:#b5e2c9;color:#116638}.ttc-post-copy-root button.ttc-post-copy:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.ttc-post-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:99999;background:#182334;color:#fff;padding:10px 18px;border-radius:9px;box-shadow:0 4px 20px #0003;font-size:14px;max-width:90vw;pointer-events:none}.ttc-post-toast[hidden]{display:none!important}.ttc-post-copy-root[data-ttc-post-mode="total"] .ttc-stt .ttc-copy{display:none!important}.ttc-post-copy-root[data-ttc-post-mode="total"] .ttc-stt .ttc-row{grid-template-columns:28px minmax(0,1fr)}

/* V2.2: category-specific sizing and ten shared styles. */
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="soft"]{--ttc-btn-bg:#eef4ff;--ttc-btn-fg:#1749b3;--ttc-btn-border:#c9d9fb;--ttc-btn-radius:6px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="blue"]{--ttc-btn-bg:#2563eb;--ttc-btn-fg:#fff;--ttc-btn-border:#1d4ed8;--ttc-btn-radius:6px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="green"]{--ttc-btn-bg:#15803d;--ttc-btn-fg:#fff;--ttc-btn-border:#166534;--ttc-btn-radius:6px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="purple"]{--ttc-btn-bg:#7c3aed;--ttc-btn-fg:#fff;--ttc-btn-border:#6d28d9;--ttc-btn-radius:9px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="orange"]{--ttc-btn-bg:#c2410c;--ttc-btn-fg:#fff;--ttc-btn-border:#9a3412;--ttc-btn-radius:6px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="dark"]{--ttc-btn-bg:#1f2937;--ttc-btn-fg:#fff;--ttc-btn-border:#111827;--ttc-btn-radius:4px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="outline"]{--ttc-btn-bg:transparent;--ttc-btn-fg:#2563eb;--ttc-btn-border:#2563eb;--ttc-btn-radius:5px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="pill"]{--ttc-btn-bg:#fce7f3;--ttc-btn-fg:#9d174d;--ttc-btn-border:#f9a8d4;--ttc-btn-radius:999px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="gradient"]{--ttc-btn-bg:linear-gradient(135deg,#2563eb,#7c3aed);--ttc-btn-fg:#fff;--ttc-btn-border:transparent;--ttc-btn-radius:9px;--ttc-btn-shadow:none}
:is(.ttc-post-copy-root,.ttc-style-option,.ttc-live-preview)[data-ttc-style="shadow"]{--ttc-btn-bg:#fff;--ttc-btn-fg:#334155;--ttc-btn-border:#e2e8f0;--ttc-btn-radius:8px;--ttc-btn-shadow:0 2px 6px #0f172a26}
.ttc-post-copy-root button.ttc-post-copy,.ttc-post-copy-root button.ttc-total-copy,.ttc-stt button.ttc-copy,.ttc-preview-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:var(--ttc-copy-size,36px);min-width:var(--ttc-copy-size,36px);max-width:var(--ttc-copy-size,36px);height:var(--ttc-copy-size,36px);min-height:var(--ttc-copy-size,36px);max-height:var(--ttc-copy-size,36px);padding:0;border:1px solid var(--ttc-btn-border,#c9d9fb);background:var(--ttc-btn-bg,#eef4ff);color:var(--ttc-btn-fg,#1749b3);border-radius:var(--ttc-btn-radius,6px);box-shadow:var(--ttc-btn-shadow,none);line-height:1}
.ttc-post-copy-root button.ttc-total-copy,.ttc-demo-total .ttc-preview-button{height:var(--ttc-copy-size,36px);min-height:var(--ttc-copy-size,36px);max-height:var(--ttc-copy-size,36px)}
.ttc-stt button.ttc-copy{margin:0}
.ttc-post-copy-root button.ttc-post-copy svg,.ttc-stt button.ttc-copy svg,.ttc-preview-button svg{width:calc(var(--ttc-copy-size,36px) * .55);height:calc(var(--ttc-copy-size,36px) * .55);min-width:0;max-width:none;display:block;flex-shrink:0;stroke:currentColor;fill:none;pointer-events:none}
.ttc-post-copy-root button.ttc-post-copy:hover,.ttc-stt button.ttc-copy:hover{background:var(--ttc-btn-bg,#eef4ff);color:var(--ttc-btn-fg,#1749b3);filter:brightness(.94)}
.ttc-post-copy-root button.ttc-post-copy.ttc-done,.ttc-stt button.ttc-copy.ttc-done{background:#e5f7ed;border-color:#b5e2c9;color:#116638;filter:none}
