/* Legacy rules kept for the React tool interface (#tool-interface) and the illustrated scenes, extracted from tokens.css.
   Presentation of the new design overrides these in tc-tool.css. Generated once; edit by hand from here. */
:root { --brand-50:#eff6fd; --brand-100:#dbeafa; --brand-200:#bcd9f5; --brand-300:#8cc0ee; --brand-400:#5ea7e6; --brand-500:#3b8ddb; --brand-600:#2672c4; --brand-700:#1f5da3; --brand-800:#1d4d84; --brand-900:#1c406c; --sky:#61ace3; --ink-900:#141518; --ink-800:#1f2126; --ink-700:#2e3138; --ink-600:#4b5160; --ink-500:#6b7280; --line:#e6e8ec; --line-strong:#d5d9e0; --text-muted:#5b6170; --text-subtle:#6b7280; --c-image:#2672c4; --c-video:#7c3aed; --c-audio:#db2777; --c-text:#059669; --c-vector:#ea580c; --c-general:#475569; --radius-sm:.5rem; --radius:.75rem; --radius-lg:1rem; --radius-xl:1.25rem; --shadow-card:0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08); --shadow-md:0 4px 12px -2px rgba(16,24,40,.08), 0 2px 6px -2px rgba(16,24,40,.05); --shadow-lg:0 24px 48px -12px rgba(16,24,40,.22), 0 8px 16px -8px rgba(16,24,40,.10); --shadow-glow:0 10px 30px -8px rgba(38,114,196,.55); --font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --container:76rem; --header-h:4.25rem; --ease-out:cubic-bezier(.16,1,.3,1); --control-border:#d5dae1; --control-focus:rgba(38,114,196,.18); }
.tc-panel {background:#fff; border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-lg);}
.tc-upload {padding:clamp(1rem, 2.5vw, 1.5rem);}
.tc-drop {position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  min-height:clamp(15rem, 28vw, 18rem); padding:2rem 1rem; border-radius:var(--radius-lg);
  border:2px dashed var(--line-strong); background:radial-gradient(60% 80% at 50% 0%, var(--brand-50), #fff 70%);
  cursor:pointer; transition:border-color .25s, background-color .25s, transform .25s var(--ease-out);}
.tc-drop:hover, .tc-drop.is-dragover {border-color:var(--brand-400); background:radial-gradient(70% 90% at 50% 0%, var(--brand-100), #fff 75%);}
.tc-drop.is-dragover {transform:scale(1.01);}
.tc-drop__icon {width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom:1rem;
  background:linear-gradient(145deg, var(--brand-400), var(--brand-700)); box-shadow:var(--shadow-glow); animation:tc-bob 3.2s ease-in-out infinite;}
.tc-drop__icon svg {width:30px; height:30px;}
.tc-drop__title {margin:0; font-size:clamp(1.15rem, 2vw, 1.35rem); font-weight:700; letter-spacing:-.01em; color:var(--text);}
.tc-drop__sub {margin:.35rem 0 1.25rem; color:var(--text-muted); font-size:.95rem;}
.tc-drop__hint {margin-top:1rem; font-size:.8rem; color:var(--text-subtle);}
.tc-skeleton-line {height:12px; border-radius:6px; background:linear-gradient(90deg, #eef0f3 25%, #f6f7f9 50%, #eef0f3 75%); background-size:200% 100%; animation:tc-shimmer 1.4s infinite;}
.tc-badge--brand {background:var(--brand-50); color:var(--brand-700); border-color:var(--brand-100);}
.tc-chip {display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .9rem; border-radius:999px; border:1px solid var(--line-strong); background:#fff; color:var(--text); font:inherit; font-size:.88rem; font-weight:600; cursor:pointer; white-space:nowrap; transition:background-color .2s, border-color .2s, color .2s;}
.tc-chip:hover {border-color:var(--brand-300); color:var(--brand-700);}
.tc-chip.is-active {background:var(--ink-900); border-color:var(--ink-900); color:#fff;}
.tc-chip .count {font-size:.75rem; font-weight:600; opacity:.6;}
.tc-chip[hidden] {display:none;}
.tc-file-row {display:flex; align-items:center; gap:.8rem; padding:.7rem .8rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); animation:tc-fade-up .35s var(--ease-out) both;}
.tc-icon-btn {display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:var(--radius-sm); border:0; background:transparent; color:var(--text-subtle); cursor:pointer; transition:background-color .15s, color .15s;}
.tc-icon-btn:hover {background:#fee2e2; color:#dc2626;}
.tc-docs {display:grid; grid-template-columns:15rem minmax(0, 1fr); gap:1.5rem; align-items:start;}
.tc-toc {position:sticky; top:calc(var(--header-h) + 1rem); max-height:calc(100vh - var(--header-h) - 2rem); overflow:auto; padding:1rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-card);}
.tc-toc__title {margin:0 0 .5rem; padding:0 .5rem; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-subtle);}
.tc-toc a {display:block; padding:.42rem .6rem; border-radius:var(--radius-sm); color:var(--text-muted); font-size:.9rem; font-weight:500; text-decoration:none; transition:background-color .15s, color .15s;}
.tc-toc a:hover {background:var(--tc-surface); color:var(--text);}
.tc-toc a.is-active {color:var(--brand-700); background:var(--brand-50); font-weight:650;}
.tc-toc a.is-sub {padding-left:1.4rem; font-size:.85rem;}
.tc-doc-main {display:grid; gap:1.25rem; min-width:0;}
.tc-doc-section {padding:clamp(1.25rem, 3vw, 2.25rem); background:#fff; border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-card); scroll-margin-top:calc(var(--header-h) + 1rem); min-width:0;}
.tc-doc-main > .tc-doc-section:first-child {box-shadow:var(--shadow-lg);}
@media (max-width: 960px) {
  .tc-docs {grid-template-columns:1fr;}
  .tc-toc {position:static; max-height:none; display:flex; gap:.25rem; overflow-x:auto; padding:.5rem; scrollbar-width:none;}
  .tc-toc__title {display:none;}
  .tc-toc a {white-space:nowrap; flex-shrink:0;}
  .tc-toc a.is-sub {display:none;}
}
.tc-table-wrap {margin:1rem 0; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius);}
.tc-table {width:100%; border-collapse:collapse; font-size:.9rem; line-height:1.5;}
.tc-table th {text-align:left; padding:.7rem .9rem; background:var(--surface-2); color:var(--text); font-weight:650; font-size:.8rem; letter-spacing:.02em; border-bottom:1px solid var(--line); white-space:nowrap;}
.tc-table td {padding:.7rem .9rem; border-bottom:1px solid var(--line); color:var(--text-muted); vertical-align:top;}
.tc-table tr:last-child td {border-bottom:0;}
.tc-method {display:inline-block; min-width:3.6rem; text-align:center; padding:.15rem .45rem; border-radius:6px; font:700 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing:.03em;}
.tc-method--get {background:#ecfdf5; color:#047857;}
.tc-method--post {background:var(--brand-50); color:var(--brand-700);}
.tc-method--delete {background:#fef2f2; color:#b91c1c;}
.tc-callout--warn {border-color:#fde68a; background:#fffbeb; color:#78350f;}
.tc-callout--warn svg {color:#d97706;}
.tc-callout--tip {border-color:#a7f3d0; background:#ecfdf5; color:#064e3b;}
.tc-callout--tip svg {color:#059669;}
.tc-callout--note {border-color:var(--brand-100); background:var(--brand-50); color:var(--brand-900);}
.tc-callout--note svg {color:var(--brand-600);}
.tc-docs-hero__art {width:clamp(240px, 26vw, 360px); align-self:center;}
.tc-qlinks {display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:.7rem; margin-top:1.6rem; max-width:40rem;}
.tc-qlink {display:flex; align-items:center; gap:.75rem; padding:.75rem .9rem; border-radius:var(--radius); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:#fff; text-decoration:none; transition:background-color .2s, border-color .2s, transform .25s var(--ease-out);}
.tc-qlink:hover {background:rgba(255,255,255,.11); border-color:rgba(143,202,245,.55); transform:translateY(-2px);}
.tc-qlink strong {display:block; font-size:.95rem; font-weight:700; line-height:1.25;}
.tc-qlink small {display:block; margin-top:.1rem; color:#aab1be; font-size:.78rem; line-height:1.35;}
.tc-qlink__ico {display:inline-flex; align-items:center; justify-content:center; width:2.4rem; height:2.4rem; flex-shrink:0; border-radius:10px; background:rgba(97,172,227,.16); color:#8fcaf5;}
.tc-qlink__ico svg {width:20px; height:20px;}
.tc-h2ico {display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; flex-shrink:0; border-radius:10px; background:linear-gradient(145deg, var(--brand-50), var(--brand-100)); color:var(--brand-700); border:1px solid var(--brand-100);}
.tc-h2ico svg {width:19px; height:19px;}
.tc-prose ol.tc-steps {display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:.9rem; margin:1.1rem 0 1.4rem; padding:0; list-style:none; counter-reset:none;}
.tc-steps .tc-step {position:relative; margin:0; padding:0;}
.tc-steps .tc-step::marker {content:"";}
.tc-prose .tc-steps .tc-step a {position:relative; display:flex; flex-direction:column; gap:.4rem; height:100%; box-sizing:border-box; padding:1.1rem 1rem 1rem; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(180deg, #fff, var(--surface-2)); color:var(--text-muted); font-size:.9rem; line-height:1.5; font-weight:400; text-decoration:none; transition:border-color .2s, box-shadow .2s, transform .25s var(--ease-out);}
.tc-prose .tc-steps .tc-step a:hover {border-color:var(--brand-300); box-shadow:var(--shadow-md); transform:translateY(-2px);}
.tc-steps .tc-step:not(:last-child)::after {content:""; position:absolute; z-index:1; top:50%; right:-.75rem; width:.6rem; height:.6rem; border-top:2px solid var(--brand-300); border-right:2px solid var(--brand-300); transform:translateY(-50%) rotate(45deg);}
.tc-step__num {position:absolute; top:.8rem; right:.9rem; font-size:.75rem; font-weight:800; letter-spacing:.06em; color:var(--brand-500);}
.tc-step__ico {display:inline-flex; align-items:center; justify-content:center; width:2.4rem; height:2.4rem; border-radius:10px; background:var(--brand-50); color:var(--brand-600);}
.tc-step__ico svg {width:20px; height:20px;}
.tc-steps .tc-step strong {color:var(--text); font-size:1rem; font-weight:700;}
.tc-doc-section {transition:box-shadow .25s, border-color .25s;}
@media (max-width: 900px) {
  .tc-docs-hero__art {display:none;}
  .tc-prose ol.tc-steps {grid-template-columns:1fr;}
  .tc-steps .tc-step:not(:last-child)::after {top:auto; bottom:-.7rem; right:50%; transform:translateX(50%) rotate(135deg);}
}
@media (max-width: 600px) {
  .tc-qlinks {grid-template-columns:1fr;}
}
@media (prefers-reduced-motion: reduce) {
  .tc-qlink, .tc-prose .tc-steps .tc-step a {transition:none;}
  .tc-qlink:hover, .tc-prose .tc-steps .tc-step a:hover {transform:none;}
}
.tc-codeblock {margin:1rem 0; border-radius:var(--radius-lg); overflow:hidden; background:var(--ink-900); border:1px solid #2a2d34; box-shadow:var(--shadow-md);}
.tc-codeblock__bar {display:flex; align-items:center; gap:.25rem; padding:.45rem .5rem .45rem .75rem; border-bottom:1px solid #2a2d34; background:#1a1c21;}
.tc-codeblock__tab {padding:.35rem .7rem; border:0; border-radius:6px; background:transparent; color:#9aa1ae; font:600 .8rem/1 var(--font-sans); cursor:pointer;}
.tc-codeblock__tab:hover {color:#fff;}
.tc-codeblock__tab.is-active {background:rgba(255,255,255,.08); color:#fff;}
.tc-codeblock__label {color:#9aa1ae; font:600 .78rem/1 var(--font-sans); letter-spacing:.02em;}
.tc-codeblock__copy {margin-left:auto; padding:.35rem .65rem; border:1px solid #2f333b; border-radius:6px; background:transparent; color:#c3c8d2; font:600 .78rem/1 var(--font-sans); cursor:pointer;}
.tc-codeblock__copy:hover {color:#fff; border-color:#4b5160;}
.tc-codeblock pre {margin:0; padding:1rem 1.15rem; overflow-x:auto; color:#d7dbe3; font:500 .84rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;}
.tc-codeblock pre[hidden] {display:none;}
.tc-codeblock .k {color:#8cc0ee;}
.tc-codeblock .s {color:#a5e3b5;}
.tc-codeblock .c {color:#8a90a0;}
.tc-codeblock .tk-c {color:#8f96a6; font-style:italic;}
.tc-codeblock .tk-s {color:#a5e3b5;}
.tc-codeblock .tk-key {color:#8cc0ee;}
.tc-codeblock .tk-n {color:#f4b27a;}
.tc-codeblock .tk-kw {color:#d0a8f7;}
.tc-codeblock .tk-flag {color:#f0d58c;}
.tc-codeblock .tk-url {color:#7fd4e0;}
.tc-input, .tc-select, .tc-textarea {width:100%; box-sizing:border-box; padding:.75rem .9rem; font:inherit; font-size:.97rem; color:var(--text); background:#fff; border:1px solid var(--line-strong); border-radius:var(--radius); transition:border-color .2s, box-shadow .2s;}
.tc-textarea {min-height:9rem; resize:vertical; line-height:1.6;}
.tc-input:focus, .tc-select:focus, .tc-textarea:focus {outline:none; border-color:var(--brand-400); box-shadow:0 0 0 4px rgba(59,141,219,.15);}
.tc-help {font-size:.82rem; color:var(--text-subtle);}
.tc-info-card {display:flex; gap:.9rem; align-items:flex-start; padding:1.15rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); text-decoration:none; color:inherit; transition:transform .25s var(--ease-out), box-shadow .25s, border-color .25s;}
a.tc-info-card:hover {transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--brand-200);}
.tc-info-card h3 {margin:0 0 .2rem; font-size:.98rem; font-weight:700; color:var(--text);}
.tc-info-card p {margin:0; font-size:.88rem; color:var(--text-muted); line-height:1.5;}
.tc-steps {list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap:1rem; counter-reset:none;}
.tc-step {display:flex; gap:.9rem; align-items:flex-start; padding:1.25rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);}
.tc-step__num {flex-shrink:0; width:2.1rem; height:2.1rem; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(145deg, var(--brand-400), var(--brand-700)); color:#fff; font-weight:800; font-size:.95rem; box-shadow:var(--shadow-glow);}
.tc-step h3 {margin:.1rem 0 .3rem; font-size:1rem; font-weight:700; color:var(--text);}
.tc-step p {margin:0; font-size:.9rem; line-height:1.6; color:var(--text-muted);}
.tc-lang-select {display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-top:1rem;}
.tc-lang-select .tc-select {max-width:20rem;}
.tc-panel {border-radius:16px; box-shadow:0 2px 4px rgba(16,24,40,.025),0 12px 32px -20px rgba(16,24,40,.18);}
.tc-label, .label {display:block; margin:0 0 .45rem; color:#344054; font:600 .875rem/1.5 var(--font-sans);}
.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea {box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:.65rem .85rem;
  border:1px solid var(--control-border); border-radius:10px; background:#fff; color:#1d2939;
  font-family:var(--font-sans); font-size:.94rem; line-height:1.5; box-shadow:0 1px 2px rgba(16,24,40,.025);
  transition:border-color .15s,box-shadow .15s,background-color .15s;}
.tc-textarea, .textarea {min-height:10rem; line-height:1.7; resize:vertical;}
.tc-input--mono, .tc-textarea.font-mono, .textarea.font-mono, .input.font-mono {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.84rem; line-height:1.75; tab-size:2;}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea):hover:not(:disabled):not(:focus) {border-color:#98a2b3;}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea):focus {outline:none!important; border-color:var(--brand-600); box-shadow:0 0 0 3px var(--control-focus);}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea):disabled {color:#98a2b3; background:#f5f6f8; cursor:not-allowed; box-shadow:none;}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea)[readonly] {background:#fafbfc;}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea)[aria-invalid="true"], .tc-input.is-error, .tc-textarea.is-error {border-color:#d92d20;}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea)[aria-invalid="true"]:focus {box-shadow:0 0 0 3px rgba(217,45,32,.12);}
:is(.tc-input, .tc-select, .tc-textarea, .input, .select, .textarea)::placeholder {color:#98a2b3;}
.tc-input[type="color"], .input[type="color"] {padding:5px; cursor:pointer;}
.tc-input[type="file"], .input[type="file"] {font-size:.85rem;}
.tc-check, #tool-interface input[type="checkbox"], #tool-interface input[type="radio"] {width:18px; height:18px; flex-shrink:0; accent-color:var(--brand-600); vertical-align:middle;}
.tc-check:disabled {opacity:.5; cursor:not-allowed;}
.tc-field__head {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.5rem; min-height:32px;}
.tc-field__head .tc-label {margin:0;}
.tc-segmented {display:inline-flex; flex-wrap:wrap; align-items:center; gap:3px; padding:4px; background:#f2f4f7; border:1px solid #e4e7ec; border-radius:10px; max-width:100%;}
.tc-segmented__button {min-height:44px; padding:.45rem .85rem; font:600 .82rem/1.35 var(--font-sans); color:#667085; background:transparent; border:1px solid transparent; border-radius:7px; cursor:pointer;}
.tc-segmented__button:hover {color:#1d2939;}
.tc-segmented__button.is-active {background:#fff; color:#1d2939; border-color:#e4e7ec; box-shadow:0 1px 3px rgba(16,24,40,.07);}
.tc-segmented__button:focus-visible {outline:none!important; box-shadow:0 0 0 3px var(--control-focus);}
.tc-help {color:#667085; font-size:.8rem; line-height:1.5;}
.tc-file-row {border:1px solid #e4e7ec; border-radius:10px; background:#fafbfc; box-shadow:none; animation:none; min-width:0;}
.tc-icon-btn {min-width:36px; min-height:36px; border-radius:8px;}
.tc-drop {border:1px dashed #b8c5d4; border-radius:12px; background:#fafbfc; transition:border-color .18s,background-color .18s; padding:2rem 1.25rem;}
.tc-drop:hover, .tc-drop.is-dragover {border-color:var(--brand-500); background:#f5f9fd; transform:none;}
.tc-drop:focus-within {border-color:var(--brand-600); box-shadow:0 0 0 3px var(--control-focus);}
.tc-drop__icon {animation:none; background:none; box-shadow:none; border-radius:0; width:72px; height:72px; margin-bottom:.8rem;}
.tc-drop__icon img {width:72px; height:72px; object-fit:contain;}
.tc-drop__title {font-size:1.1rem; font-weight:600;}
.tc-drop__sub {font-size:.9rem;}
.tc-drop__hint {max-width:36rem; overflow-wrap:anywhere; line-height:1.6;}
.tc-upload-workspace {width:100%; max-width:64rem; margin:auto;}
.tc-options {padding:clamp(1.25rem,3vw,1.75rem);}
.tc-options__grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 1.5rem;}
.tc-options__grid > * {min-width:0; margin-bottom:0;}
.tc-process {display:flex; width:100%; min-height:48px; font-size:.95rem;}
.tc-tool-panel > * {min-width:0;}
.tc-workspace .tc-panel {box-shadow:0 1px 3px rgba(16,24,40,.04),0 12px 32px -24px rgba(16,24,40,.18);}
@media (max-width:640px) {
  .tc-options__grid {grid-template-columns:minmax(0,1fr);}
  .tc-segmented {display:flex;}
  .tc-segmented__button {flex:1 1 auto; min-height:44px; padding:.45rem .6rem;}
  .tc-field__head {gap:.35rem;}
  .tc-textarea, .textarea, .tc-input, .tc-select, .input, .select {font-size:16px;}
  .tc-textarea.tc-input--mono {font-size:.8rem;}
  .tc-drop {padding:1.5rem 1rem;}
}
.tc-options__grid > :only-child {grid-column:1 / -1;}
.tc-scene {--scene-blue:#2672c4; --scene-line:#e5e7eb; position:relative; isolation:isolate; width:100%; height:430px; color:#344054; font:400 12px/1.5 var(--font-sans); text-align:left;}
.tc-scene small {font-size:11px;}
.tc-scene *, .tc-scene *::before, .tc-scene *::after {box-sizing:border-box;}
.tc-scene::before {content:""; position:absolute; inset:40px 0 0; z-index:-1; border-radius:50%; background:radial-gradient(ellipse,rgba(38,114,196,.09),transparent 70%);}
.tc-scene__main, .tc-scene__float {background:#fff; border:1px solid var(--scene-line); border-radius:14px; box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 32px -8px rgba(15,23,42,.18);}
.tc-scene__main {position:absolute; inset:96px 24px 26px; overflow:hidden;}
.tc-scene__chrome {display:flex; align-items:center; gap:12px; height:38px; padding:0 14px; border-bottom:1px solid #edf0f3; background:#fafbfc; white-space:nowrap;}
.tc-scene__chrome strong {color:#344054; font-size:11px; font-weight:600; overflow:hidden; text-overflow:ellipsis;}
.tc-scene__chrome strong span {font-weight:400; color:#667085;}
.tc-scene__chrome-mark {margin-left:auto; font-size:11px; color:#7b8493;}
.tc-scene__dots {display:flex; gap:4px; flex-shrink:0;}
.tc-scene__dots i {width:5px; height:5px; background:#d0d5dd; border-radius:50%;}
.tc-scene__body {padding:16px;}
.tc-scene__eyebrow {display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; color:#667085; font-size:11px;}
.tc-scene__eyebrow > span:last-child {color:#7b8493; font-size:11px; white-space:nowrap;}
.tc-scene__file {display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid #f0f2f5;}
.tc-scene__file img {width:24px; height:24px; flex-shrink:0; object-fit:contain;}
.tc-scene__file > span {min-width:0; flex:1; color:#344054; font-size:11px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.tc-scene__file small {display:block; color:#7b8493; font-size:11px; font-weight:400;}
.tc-scene__file b {color:#667085; font-size:11px; font-weight:500; white-space:nowrap;}
.tc-scene__done {color:var(--scene-blue); font-size:12px; font-style:normal;}
.tc-scene__pending {width:10px; height:10px; border:1px solid #7b8493; border-top-color:var(--scene-blue); border-radius:50%;}
.tc-scene__progress-label {display:flex; align-items:center; justify-content:space-between; margin:13px 0 6px; font-size:11px; color:#667085;}
.tc-scene__progress-label strong {font-weight:500; color:var(--scene-blue);}
.tc-scene__progress {height:4px; background:#edf0f4; border-radius:5px; overflow:hidden;}
.tc-scene__progress > i {display:block; height:100%; border-radius:inherit; background:var(--scene-blue);}
.tc-scene__float {position:absolute; z-index:2; padding:14px;}
.tc-scene__float--tl {top:0; left:0;}
.tc-scene__float--tr {top:20px; right:0;}
.tc-scene__float--bl {bottom:4px; left:0;}
.tc-scene__float--br {bottom:0; right:0;}
.tc-scene__float strong {display:block; font-size:11px; font-weight:600; color:#344054;}
.tc-scene__float small {display:block; font-size:11px; color:#667085; line-height:1.6;}
.tc-scene__stats {width:176px;}
.tc-scene__metric {display:flex; align-items:baseline; gap:5px; margin-top:3px; color:#1d2939; font-size:23px; font-weight:600; line-height:1.35; letter-spacing:-.04em; white-space:nowrap;}
.tc-scene__metric span {color:#667085; font-size:12px; font-weight:400; letter-spacing:0;}
.tc-scene__metric em {margin-left:auto; padding:2px 4px; font-size:11px; font-style:normal; font-weight:500; letter-spacing:0; color:var(--scene-blue); background:#eff6fd; border-radius:4px;}
.tc-scene__metric--compact {font-size:17px; margin-bottom:12px;}
.tc-scene__bars {display:flex; align-items:flex-end; gap:7px; height:22px; margin-top:8px;}
.tc-scene__bars i {display:block; flex:1; border-radius:2px 2px 0 0; background:#dbe3ec;}
.tc-scene__bars .is-accent {background:var(--scene-blue);}
.tc-scene__settings {width:158px;}
.tc-scene__setting {display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; font-size:11px; color:#667085;}
.tc-scene__setting b {font-weight:500; color:#344054;}
.tc-scene__select {display:block; min-width:52px; padding:2px 6px; border:1px solid #e5e7eb; border-radius:5px; background:#fafbfc;}
.tc-scene__slider {position:relative; height:3px; border-radius:4px; background:linear-gradient(to right,var(--scene-blue) 85%,#e5e7eb 85%); margin:10px 0 8px;}
.tc-scene__slider > i {position:absolute; width:9px; height:9px; top:-3px; background:#fff; border:2px solid var(--scene-blue); border-radius:50%;}
.tc-scene__toast {display:flex; align-items:center; gap:10px; width:226px; padding:12px 14px;}
.tc-scene__check {display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:25px; height:25px; border:1px solid #dce8f5; border-radius:50%; background:#eff6fd; color:var(--scene-blue); font-size:13px;}
.tc-scene__preview {position:relative; height:94px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; overflow:hidden; border-radius:7px; background:linear-gradient(160deg,#dde7ef 0%,#c5d3df 45%,#95adbf 46%,#6d899f 65%,#526d83 66%,#324c62);}
.tc-scene__preview > span:not(.tc-scene__play) {position:absolute; left:10px; bottom:8px; color:#fff; font-size:11px;}
.tc-scene__preview small {position:absolute; top:7px; right:8px; color:#fff; background:rgba(15,23,42,.35); padding:2px 4px; border-radius:3px; font-size:11px;}
.tc-scene__play {display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; padding-left:2px; color:var(--scene-blue); background:rgba(255,255,255,.92); border:1px solid #e5e7eb; border-radius:50%; font-size:11px;}
.tc-scene__timeline {position:relative; height:40px; border:1px solid #dbe3ec; border-radius:5px;}
.tc-scene__frames {display:flex; height:100%; gap:2px; overflow:hidden; border-radius:4px;}
.tc-scene__frames i {flex:1; background:linear-gradient(155deg,#d9e3ed,#b3c6d8 45%,#7b96ac 46%,#45667f);}
.tc-scene__frames i:nth-child(2n) {background:linear-gradient(175deg,#e2eaf1,#b3c6d8 60%,#5d7b92 61%);}
.tc-scene__selection {position:absolute; inset:-2px 15% -2px 18%; border:2px solid var(--scene-blue); border-radius:4px;}
.tc-scene__selection > i {position:absolute; top:-2px; bottom:-2px; width:5px; border-radius:2px; background:var(--scene-blue);}
.tc-scene__selection > i:first-child {left:-3px;}
.tc-scene__selection > i:last-child {right:-3px;}
.tc-scene__playhead {position:absolute; top:-4px; bottom:-4px; left:54%; width:1px; background:#1d2939;}
.tc-scene__timecodes {display:flex; align-items:center; justify-content:space-between; margin-top:8px; color:#667085; font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;}
.tc-scene__timecodes span:nth-child(2) {font-family:var(--font-sans);}
.tc-scene__wave {position:relative; display:flex; align-items:center; gap:3px; height:100px; margin-top:24px; background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#edf0f4 calc(25% - 1px),#edf0f4 25%);}
.tc-scene__wave > i {flex:1; height:var(--bar); border-radius:2px; background:#82add7;}
.tc-scene__wave-selection {position:absolute; inset:0 18% 0 20%; border:1px solid var(--scene-blue); background:rgba(38,114,196,.07); border-radius:3px;}
.tc-scene__audio-transport {display:flex; align-items:center; gap:10px; padding-top:16px;}
.tc-scene__audio-transport strong {font:11px ui-monospace,SFMono-Regular,Menlo,monospace;}
.tc-scene__audio-transport > span:last-child {margin-left:auto; color:#667085; font-size:11px;}
.tc-scene__format-chips {display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; font-size:11px;}
.tc-scene__format-chips > * {padding:4px 7px; border:1px solid #e5e7eb; border-radius:5px; color:#667085;}
.tc-scene__format-chips b {background:#eff6fd; border-color:#bcd9f5; color:var(--scene-blue); font-weight:500;}
.tc-scene__format-chips small {display:inline; color:inherit;}
.tc-scene__meter {display:flex; gap:3px; margin-top:10px; height:10px;}
.tc-scene__meter > i {flex:1; border-radius:2px; background:#8bb5de;}
.tc-scene__meter > i:nth-last-child(-n+2) {background:#e5e7eb;}
.tc-scene__pages {display:grid; grid-template-columns:repeat(3,64px); gap:10px 16px; justify-content:center; margin:12px 0;}
.tc-scene__page {position:relative; height:76px; padding:9px 8px; border:1px solid #d8dee6; border-radius:3px; background:#fff; box-shadow:0 1px 3px rgba(15,23,42,.05);}
.tc-scene__page:nth-child(3) {border-color:var(--scene-blue); box-shadow:0 0 0 2px #dbeafa;}
.tc-scene__page > span {display:block; width:65%; height:12px; background:#e5edf5; margin-bottom:6px;}
.tc-scene__page > i {display:block; height:2px; background:#dce2e9; margin-top:5px;}
.tc-scene__page > i:nth-child(3) {width:75%;}
.tc-scene__page > b {position:absolute; bottom:5px; left:0; right:0; text-align:center; font-size:11px; font-weight:400; color:#667085;}
.tc-scene__footnote {display:flex; gap:8px; justify-content:space-between; padding-top:10px; border-top:1px solid #edf0f4; color:#667085; font-size:11px;}
.tc-scene__footnote strong {color:#344054; font-weight:500;}
.tc-scene__signature {margin:12px 0 8px; padding:8px 0; border-bottom:1px dashed #d0d5dd; text-align:center; color:#344054; font:italic 22px Georgia,serif;}
.tc-scene__editor-tabs {display:flex; justify-content:space-between; padding:8px 16px; border-bottom:1px solid #edf0f4; color:#667085; background:#fff; font-size:11px;}
.tc-scene__editor-tabs span {color:var(--scene-blue);}
.tc-scene__editor {display:flex; gap:14px; padding:12px 16px; background:#fcfdfe;}
.tc-scene__editor pre {margin:0; padding:0; border:0; background:transparent; color:#475467; font:11px/21px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space:pre; overflow:hidden;}
.tc-scene__editor pre span {color:var(--scene-blue);}
.tc-scene__line-numbers {color:#7b8493; font:11px/21px ui-monospace,SFMono-Regular,Menlo,monospace; text-align:right;}
.tc-scene__text-stats {display:flex; gap:14px; margin-top:8px;}
.tc-scene__text-stats b {display:block; font-size:18px; font-weight:600; color:#344054;}
.tc-scene__text-stats span {color:#667085; font-size:11px;}
.tc-scene--dev .tc-scene__stats {width:210px;}
.tc-scene__toggle {display:block; position:relative; width:24px; height:14px; background:var(--scene-blue); border-radius:10px;}
.tc-scene__toggle::after {content:""; position:absolute; top:2px; right:2px; width:10px; height:10px; background:#fff; border-radius:50%;}
.tc-scene__calc-result {display:flex; align-items:center; gap:18px; padding:16px 0 20px;}
.tc-scene__donut {display:flex; align-items:center; justify-content:center; flex-shrink:0; width:118px; height:118px; border-radius:50%; background:conic-gradient(var(--scene-blue) 0 74%,#9dc2e5 74% 90%,#e4edf6 90%);}
.tc-scene__donut > span {display:flex; flex-direction:column; align-items:center; justify-content:center; width:90px; height:90px; background:#fff; border-radius:50%; color:#344054; font-size:18px; font-weight:600; letter-spacing:-.03em;}
.tc-scene__donut small {color:#667085; font-size:11px; font-weight:400; letter-spacing:0;}
.tc-scene__legend {display:grid; gap:12px; flex:1; min-width:0;}
.tc-scene__legend > span {display:grid; grid-template-columns:5px minmax(0,1fr) auto; align-items:center; gap:6px; font-size:11px; color:#667085;}
.tc-scene__legend i {width:5px; height:5px; background:var(--scene-blue); border-radius:2px;}
.tc-scene__legend span:nth-child(2) i {background:#9dc2e5;}
.tc-scene__legend span:nth-child(3) i {background:#e4edf6;}
.tc-scene__legend b {color:#344054; font-weight:500;}
.tc-scene__table {display:grid; grid-template-columns:1fr 1fr; gap:5px 12px; margin-top:8px; font-size:11px;}
.tc-scene__table span {padding-bottom:4px; color:#7b8493; border-bottom:1px solid #edf0f4;}
.tc-scene__table b {color:#475467; font-weight:400;}
.tc-scene__table > :nth-child(2n) {text-align:right;}
.tc-scene--calc .tc-scene__stats {width:208px;}
.tc-scene__security {display:flex; align-items:center; gap:10px; width:228px;}
.tc-scene__security img {width:28px; height:28px; object-fit:contain; flex-shrink:0;}
.tc-scene__privacy-status {display:flex; align-items:center; gap:9px; margin-top:18px; padding:12px 10px; border:1px solid #e4edf6; border-radius:7px; background:#f8fbfe; font-size:11px; color:#475467;}
.tc-scene__privacy-status .tc-scene__check {width:20px; height:20px; font-size:11px;}
.tc-scene-stage {position:relative; width:100%;}
.tc-scene-stage--picker .tc-scene {height:450px;}
.tc-scene-stage--picker .tc-scene__main {bottom:46px;}
.tc-scene-stage--picker .tc-scene__toast {left:0; right:auto; bottom:8px; width:218px;}
.tc-scene-picker {position:absolute; bottom:0; right:0; z-index:3; width:270px; padding:10px; background:#fff; border:1px solid #e5e7eb; border-radius:12px; box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 32px -8px rgba(15,23,42,.18);}
.tc-scene-picker .tc-convert {display:flex; gap:8px; margin:0; width:100%; animation:none;}
.tc-scene-picker .tc-convert__rings, .tc-scene-picker .tc-convert__to, .tc-scene-picker .tc-tile__icon {display:none;}
.tc-scene-picker .format-btn.tc-tile {flex:1; width:auto; height:48px; border-radius:7px; background:#fafbfc; color:#344054; border:1px solid #e5e7eb; box-shadow:none; display:flex; flex-direction:row; justify-content:flex-start; padding:0 10px; gap:4px; transform:none;}
.tc-scene-picker .format-btn.tc-tile .tc-tile__label {font-size:12px; font-weight:500; letter-spacing:0;}
.tc-scene-picker .format-btn.tc-tile .tc-tile__chev {position:static; margin-left:auto; width:9px; height:9px;}
.tc-scene-picker .format-btn.tc-tile:hover:not(:disabled) {background:#fff; border-color:#8cb2d7; box-shadow:none; transform:none;}
.tc-scene-picker .format-btn.tc-tile:disabled {opacity:.55;}
.tc-scene-picker .tc-convert__link {width:24px; flex-shrink:0;}
.tc-scene-picker .tc-convert__link::before {display:none;}
.tc-scene-picker .tc-convert__orb {width:24px; height:24px; background:#eff6fd; color:var(--brand-600); border-radius:6px; box-shadow:none;}
.tc-scene-picker .tc-convert__orb svg {width:14px; height:14px; animation:none;}
@media (max-width:1100px) and (min-width:901px) {
  .tc-scene-stage--picker .tc-scene__toast {display:none;}
  .tc-scene__main {left:12px; right:12px;}
}
@media (max-width:900px) {
  .tc-scene {max-width:560px; height:380px; margin-inline:auto;}
  .tc-scene__main {top:76px; left:12px; right:12px; bottom:24px;}
  .tc-scene__float--tr {display:none;}
  .tc-scene__float--tl {top:0; left:0;}
  .tc-scene__stats {width:156px; padding:11px;}
  .tc-scene__bars {height:15px; margin-top:5px;}
  .tc-scene__metric {font-size:21px;}
  .tc-scene__metric--compact {font-size:15px;}
  .tc-scene__toast {width:208px; padding:11px;}
  .tc-scene__security {width:215px;}
  .tc-scene--dev .tc-scene__stats {width:198px;}
  .tc-scene--calc .tc-scene__stats {width:198px;}
  .tc-scene-stage {max-width:560px; margin:auto;}
  .tc-scene-stage--picker .tc-scene {height:400px;}
  .tc-scene-stage--picker .tc-scene__main {bottom:44px;}
  .tc-scene-stage--picker .tc-scene__toast {display:none;}
  .tc-scene-picker {width:252px;}
}
@media (max-width:480px) {
  .tc-scene {height:364px; font-size:11px;}
  .tc-scene__chrome {height:34px; gap:8px; padding:0 10px;}
  .tc-scene__chrome-mark {display:none;}
  .tc-scene__body {padding:12px;}
  .tc-scene__eyebrow {font-size:10px; gap:5px;}
  .tc-scene__eyebrow > span:last-child {font-size:9px;}
  .tc-scene__file {gap:6px; padding:7px 0;}
  .tc-scene__file > span {font-size:10px;}
  .tc-scene__file b {font-size:10px;}
  .tc-scene__file img {width:22px; height:22px;}
  .tc-scene__file small {font-size:9px;}
  .tc-scene__file .tc-scene__done {font-size:10px;}
  .tc-scene__metric {font-size:20px;}
  .tc-scene__metric--compact {font-size:17px;}
  .tc-scene__float small {font-size:10px;}
  .tc-scene__stats {width:155px;}
  .tc-scene--dev .tc-scene__stats {width:194px;}
  .tc-scene__text-stats {gap:12px;}
  .tc-scene__text-stats span {font-size:9px;}
  .tc-scene__security {width:210px;}
  .tc-scene__preview {height:86px;}
  .tc-scene__preview > span:not(.tc-scene__play) {max-width:60%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  .tc-scene__timecodes {font-size:9px;}
  .tc-scene__pages {grid-template-columns:repeat(3,54px); gap:8px 12px; margin:8px 0;}
  .tc-scene__page {height:65px; padding:7px;}
  .tc-scene__editor {gap:10px; padding:10px;}
  .tc-scene__editor pre, .tc-scene__line-numbers {font-size:10px; line-height:20px;}
  .tc-scene__calc-result {gap:12px; padding-block:12px 18px;}
  .tc-scene__donut {width:98px; height:98px;}
  .tc-scene__donut > span {width:74px; height:74px; font-size:16px;}
  .tc-scene__legend {gap:8px;}
  .tc-scene__legend > span {grid-template-columns:4px minmax(0,1fr); font-size:9px; gap:4px;}
  .tc-scene__legend b {grid-column:2; font-size:10px;}
  .tc-scene__footnote {font-size:9px;}
  .tc-scene__privacy-status {font-size:10px; padding:9px 7px;}
}
@media (prefers-reduced-motion:reduce) {
  .tc-scene *, .tc-scene-picker * {animation:none!important; transition:none!important;}
}
@keyframes tc-bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-5px); } }
@keyframes tc-fade-up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes tc-shimmer { to { background-position:-200% 0; } }
