.tc-stage .tc-syspage{width:100%;max-width:1600px;margin-inline:auto}.tc-stage .tc-crail{display:flex;align-items:center;gap:12px;min-height:74px;padding:12px 18px;border:1px solid var(--tc-hair);border-radius:var(--tc-r);background:hsl(var(--card)/.5)}.tc-stage .tc-crail__chips{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:6px}.tc-stage .tc-crail__note{margin-left:auto;max-width:42ch;text-align:right;font-size:12px;line-height:1.5;color:hsl(var(--muted-foreground))}.tc-stage .tc-split{container-type:inline-size}.tc-stage .tc-split__grid{display:grid;grid-template-columns:minmax(0,1fr) 452px;gap:24px;align-items:start}.tc-stage .tc-split__main,.tc-stage .tc-split__rail{display:flex;min-width:0;flex-direction:column;gap:16px}@container (min-width: 1600px){.tc-stage .tc-split__grid{grid-template-columns:minmax(0,1fr) 520px}}@container (max-width: 1435px){.tc-stage .tc-split__grid{grid-template-columns:minmax(0,1fr) 400px}}@container (max-width: 1135px){.tc-stage .tc-split__grid{grid-template-columns:minmax(0,1fr)}.tc-stage .tc-split__rail{order:-1}}@media (max-height:850px){.tc-stage .tc-hero{padding:12px 18px}.tc-stage .tc-hero h1{font-size:22px}.tc-stage .tc-syspage .tc-hero-sub{display:none}.tc-stage .tc-hero-icon{width:34px;height:34px;border-radius:11px}.tc-stage .tc-crail{min-height:44px;padding:6px 14px}.tc-stage .tc-crail>div:first-child{display:flex;align-items:center;gap:12px}.tc-stage .tc-crail>div:first-child>.tc-eyebrow{margin-bottom:0;white-space:nowrap}.tc-stage .tc-crail__note{display:none}}.tc-stage .tc-hero-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:15px;background:hsl(var(--primary)/.13);border:1px solid hsl(var(--primary)/.28);color:hsl(var(--primary));transition:width .22s var(--ease-out),height .22s var(--ease-out)}.tc-stage .tc-hero-icon svg{width:22px;height:22px}@keyframes tc-settle{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes tc-fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.tc-stage .tc-settle{animation:tc-settle .22s var(--ease-out)}.tc-stage .tc-fade-up{animation:tc-fade-up .22s var(--ease-out)}.tc-stage .tc-leaving{opacity:0;transform:translateY(-2px);transition:opacity .15s var(--ease-out),transform .15s var(--ease-out)}.tc-stage .tc-must{color:hsl(var(--warning))}.tc-stage .tc-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.tc-stage .tc-strip>*{flex:none}@media (prefers-reduced-motion:reduce){.tc-stage :is(.tc-settle,.tc-fade-up){animation:none}.tc-stage .tc-leaving{transition-duration:.01ms}}.tc-stage .tc-cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(272px,1fr));align-items:start}.tc-stage .tc-panels{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(440px,1fr));align-items:start}.tc-stage .tc-syspage .tc-chip.text-foreground,.tc-stage .tc-syspage .tc-chip.text-muted-foreground{color:hsl(var(--foreground)/.8)}.tc-stage .tc-plate{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:hsl(var(--primary)/.14);border:1px solid hsl(var(--primary)/.26);color:hsl(var(--primary))}.tc-stage .tc-plate svg{width:17px;height:17px}.tc-stage .tc-plate--lg{width:44px;height:44px;border-radius:14px}.tc-stage .tc-plate--lg svg{width:21px;height:21px}.tc-stage .tc-plate--green{background:hsl(var(--profit)/.14);border-color:hsl(var(--profit)/.26);color:hsl(var(--profit))}.tc-stage .tc-plate--red{background:hsl(var(--loss)/.14);border-color:hsl(var(--loss)/.26);color:hsl(var(--loss))}.tc-stage .tc-plate--warn{background:hsl(var(--warning)/.14);border-color:hsl(var(--warning)/.26);color:hsl(var(--warning))}.tc-stage .tc-cardhead{display:flex;align-items:flex-start;gap:12px}.tc-stage .tc-cardhead__text{min-width:0;flex:1 1 auto}.tc-stage .tc-cardhead__sub{margin-top:2px;font-size:13px;line-height:1.45;color:hsl(var(--muted-foreground))}.tc-stage .tc-badge-count{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:8px;background:hsl(var(--primary)/.14);border:1px solid hsl(var(--primary)/.26);color:hsl(var(--primary));font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.tc-stage .tc-check{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px;border-radius:999px;border:1px solid var(--tc-hair);background:hsl(var(--card)/.6);color:hsl(var(--muted-foreground));font-size:13px;font-weight:600;white-space:nowrap}.tc-stage .tc-check svg{width:14px;height:14px}.tc-stage .tc-check--done{background:hsl(var(--profit)/.13);border-color:hsl(var(--profit)/.32);color:hsl(var(--profit))}.tc-stage .tc-btn-grad{background-image:linear-gradient(100deg,hsl(var(--primary)) 0,hsl(var(--primary)) 38%,hsl(var(--profit)) 100%);color:hsl(var(--primary-foreground));border:none}.tc-stage .tc-btn-grad:hover{filter:brightness(1.08)}.tc-stage .tc-tone--accent{--tc-tone:var(--primary)}.tc-stage .tc-tone--green{--tc-tone:var(--profit-ink)}.tc-stage .tc-tone--amber{--tc-tone:var(--cat-7)}.tc-stage .tc-vchip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 8px 0 10px;border-radius:13px;border:1px solid hsl(var(--tc-tone)/.26);background:hsl(var(--tc-tone)/.1);color:hsl(var(--tc-tone));font-size:11.5px;font-weight:500;white-space:nowrap}.tc-stage .tc-vchip__x{color:hsl(var(--tc-tone)/.6);transition:color .12s var(--ease-out)}.tc-stage .tc-vchip__x:hover{color:hsl(var(--loss))}.tc-stage .tc-vadd{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:36px;border-radius:8px;border:1px solid hsl(var(--tc-tone)/.3);background:hsl(var(--tc-tone)/.14);color:hsl(var(--tc-tone));transition:background-color .12s var(--ease-out),filter .12s var(--ease-out)}.tc-stage .tc-vadd:hover{background:hsl(var(--tc-tone)/.22)}.tc-stage .tc-vadd:disabled{opacity:.5;pointer-events:none}.tc-stage .tc-vadd svg{width:16px;height:16px}.tc-stage .tc-chip-ring{border:1px solid color-mix(in srgb,currentColor 28%,transparent);background:color-mix(in srgb,currentColor 12%,transparent);padding:2px 11px}.tc-stage .tc-jrow{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;height:36px;padding:0 10px 0 13px;border-radius:10px;border:1px solid var(--tc-hair-2);background:hsl(var(--muted)/.6);color:hsl(var(--foreground));font-size:13.5px;text-align:left;transition:border-color .12s var(--ease-out),background-color .12s var(--ease-out)}.tc-stage .tc-jrow:hover{border-color:hsl(var(--primary)/.5);background:hsl(var(--muted))}.tc-stage .tc-jrow:disabled{opacity:.5;pointer-events:none}.tc-stage .tc-jrow__n{flex:none;padding:1px 8px;border-radius:8px;background:hsl(var(--foreground)/.08);color:hsl(var(--foreground)/.8);font-size:10.5px;font-weight:600;font-variant-numeric:tabular-nums}.tc-stage .tc-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:258px;padding:24px;border:1px dashed var(--tc-hair-3);border-radius:12px;background:hsl(var(--muted)/.25);text-align:center;cursor:pointer;outline:none;transition:border-color .12s var(--ease-out),background-color .12s var(--ease-out),box-shadow .12s var(--ease-out)}.tc-stage .tc-drop--over,.tc-stage .tc-drop:focus-visible,.tc-stage .tc-drop:hover{border-color:hsl(var(--primary)/.6);background:hsl(var(--primary)/.05)}.tc-stage .tc-drop:focus-visible{box-shadow:0 0 0 3px hsl(var(--primary)/.2)}.tc-stage .tc-drop__icon{width:48px;height:48px;margin-bottom:8px;color:hsl(var(--primary))}.tc-stage .tc-drop__title{font-size:15px;font-weight:600;color:hsl(var(--foreground))}.tc-stage .tc-drop__sub{font-size:12.5px;color:hsl(var(--muted-foreground))}.tc-stage .tc-drop--tile{width:96px;min-height:64px;padding:4px;gap:2px;border-radius:8px;color:hsl(var(--muted-foreground))}.tc-stage .tc-tools{display:flex;align-items:center;gap:4px;height:38px;padding:0 8px;border:1px solid var(--tc-hair-2);border-radius:10px;background:hsl(var(--muted)/.5)}.tc-stage .tc-tools__btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;color:hsl(var(--muted-foreground));transition:background-color .12s var(--ease-out),color .12s var(--ease-out)}.tc-stage .tc-tools__btn:focus-visible,.tc-stage .tc-tools__btn:hover{background:hsl(var(--foreground)/.08);color:hsl(var(--foreground));outline:none}.tc-stage .tc-tools__btn svg{width:16px;height:16px}.tc-stage .tc-tools__sep{width:1px;height:16px;margin:0 2px;background:var(--tc-hair-2)}.tc-stage .tc-canvas{display:flex;flex-direction:column;gap:6px;min-height:176px;padding:14px 16px;border:1px solid var(--tc-hair-2);border-radius:12px;background:hsl(var(--background)/.4);transition:border-color .12s var(--ease-out),box-shadow .12s var(--ease-out)}.tc-stage .tc-canvas:focus-within{border-color:hsl(var(--primary)/.6);box-shadow:0 0 0 3px hsl(var(--primary)/.12)}.tc-stage .tc-canvas__body,.tc-stage .tc-canvas__title{width:100%;border:0;outline:none;background:transparent}.tc-stage .tc-canvas__title{font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.01em}.tc-stage .tc-canvas__body{flex:1;min-height:96px;resize:vertical;font-size:14px;line-height:1.6}.tc-stage .tc-rule{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border:1px solid var(--tc-hair-2);border-radius:10px;background:hsl(var(--card))}.tc-stage .tc-rule__text{flex:1 1 auto;min-width:0;field-sizing:content;min-height:42px;padding:10px 0;border:0;outline:none;background:transparent;font-size:15px;line-height:22px;color:hsl(var(--foreground));resize:none;overflow:hidden}.tc-stage .tc-rule__x{display:inline-flex;flex:none;align-items:center;justify-content:center;width:28px;height:28px;margin-right:-6px;border-radius:7px;color:hsl(var(--muted-foreground));transition:background-color .12s var(--ease-out),color .12s var(--ease-out)}.tc-stage .tc-rule__x:focus-visible,.tc-stage .tc-rule__x:hover{background:hsl(var(--loss)/.1);color:hsl(var(--loss));outline:none}.tc-stage .tc-addrow{display:flex;width:100%;align-items:center;gap:12px;min-height:44px;padding:0 14px;border:1px dashed var(--tc-hair-3);border-radius:10px;color:hsl(var(--primary));font-size:14px;font-weight:500;text-align:left;transition:border-color .12s var(--ease-out),background-color .12s var(--ease-out),color .12s var(--ease-out)}.tc-stage .tc-addrow:focus-visible,.tc-stage .tc-addrow:hover{border-color:hsl(var(--primary)/.6);background:hsl(var(--primary)/.05);color:hsl(var(--primary));outline:none}.tc-stage .tc-addrow svg{width:16px;height:16px;flex:none}.tc-stage .tc-addrow--sm{min-height:34px;gap:10px;padding:0 12px;font-size:13px;color:hsl(var(--muted-foreground))}.tc-stage .tc-rtile{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:58px;padding:10px 14px;border:1px solid var(--tc-hair-2);border-radius:10px;background:hsl(var(--muted)/.45)}.tc-stage .tc-rtile__l{font-size:12.5px;color:hsl(var(--muted-foreground))}.tc-stage .tc-rtile__v{margin-top:2px;font-size:24px;font-weight:600;line-height:1.1;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.tc-stage .tc-rtile__n{flex:none;padding-bottom:2px;font-size:12px;color:hsl(var(--muted-foreground));white-space:nowrap}.tc-stage .tc-role{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.tc-stage .tc-tone--amber>.tc-cardhead>.tc-plate{background:hsl(var(--tc-tone)/.14);border-color:hsl(var(--tc-tone)/.26);color:hsl(var(--tc-tone))}.tc-stage .tc-check--accent{background:hsl(var(--primary)/.13);border-color:hsl(var(--primary)/.32);color:hsl(var(--primary))}.tc-stage .tc-check--warn{background:hsl(var(--warning)/.13);border-color:hsl(var(--warning)/.32);color:hsl(var(--warning))}.tc-stage .tc-statwrap{overflow-x:auto;overscroll-behavior-x:contain;margin-top:4px;margin-inline:-20px;padding-inline:20px}.tc-stage .tc-statwrap.tc-statwrap{background:transparent;background-image:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}.tc-stage .tc-stattable{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.tc-stage .tc-stattable th{position:static;padding:10px 12px;background:transparent;border-bottom:1px solid var(--tc-hair-2);text-align:left;font-size:11px;letter-spacing:.1em}.tc-stage .tc-stattable td{padding:14px 12px;border-top:1px solid var(--tc-hair);font-size:14.5px;color:hsl(var(--foreground))}.tc-stage .tc-stattable tbody tr:first-child td{border-top:0}.tc-stage .tc-stattable :is(th,td):first-child{padding-left:0}.tc-stage .tc-stattable :is(th,td):last-child{padding-right:0}.tc-stage .tc-stattable .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.tc-stage .tc-stattable__lbl{display:flex;width:0;min-width:100%;align-items:center;gap:10px}.tc-stage .tc-stattable__empty{padding:28px 0;text-align:center;font-size:13px;color:hsl(var(--muted-foreground))}.tc-stage .tc-gdot{display:inline-block;flex:none;width:8px;height:8px;border-radius:999px}.tc-stage .tc-rtile--stat .tc-rtile__n{flex:0 1 auto;white-space:normal;text-align:right}.tc-stage .tc-card--warn{border-color:hsl(var(--warning)/.3);background:linear-gradient(180deg,hsl(var(--warning)/.07),transparent 72%),hsl(var(--card))}.tc-stage .tc-vpill{display:inline-flex;max-width:100%;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:999px;border:1px solid hsl(var(--profit)/.32);background:hsl(var(--profit)/.13);color:hsl(var(--profit-ink));font-size:13px;font-weight:600;white-space:nowrap}.tc-stage .tc-vpill__label{min-width:0;overflow:hidden;text-overflow:ellipsis}.tc-stage .tc-vpill__dot{flex:none;width:6px;height:6px;border-radius:999px;background:currentColor}.tc-stage .tc-vpill--none{border-color:var(--tc-hair-2);background:hsl(var(--card)/.6);color:hsl(var(--muted-foreground))}.tc-stage .tc-formrow{container-type:inline-size}.tc-stage .tc-formrow__grid{display:grid;gap:16px;align-items:end}.tc-stage .tc-formrow--version .tc-formrow__grid{grid-template-columns:minmax(200px,400px) minmax(0,1fr) 120px}.tc-stage .tc-formrow--setup .tc-formrow__grid{grid-template-columns:minmax(0,1fr) 200px 120px}@container (max-width: 720px){.tc-stage .tc-formrow .tc-formrow__grid{grid-template-columns:minmax(0,1fr)}}.tc-stage .tc-vno{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:34px;height:22px;padding:0 6px;border-radius:6px;background:hsl(var(--foreground)/.08);color:hsl(var(--foreground)/.78);font-family:var(--font-mono),var(--font-ui),ui-sans-serif,system-ui;font-size:11px;font-weight:600;letter-spacing:.06em;font-variant-numeric:tabular-nums}.tc-stage .tc-typechip{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:8px;border-width:1px;font-size:13px;font-weight:500;white-space:nowrap}.tc-stage .tc-typechip__n{font-size:12px;font-variant-numeric:tabular-nums;opacity:.75}.tc-stage .tc-cards--wide{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:20px}.tc-stage .tc-scover{display:flex;height:176px;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-bottom:1px solid var(--tc-hair);background:hsl(var(--muted)/.2);color:hsl(var(--muted-foreground));font-size:13px}.tc-stage .tc-scover svg{width:32px;height:32px;opacity:.7}.tc-stage .tc-scover--img{display:block;width:100%;-o-object-fit:cover;object-fit:cover}.tc-stage .tc-stile{display:flex;min-width:140px;min-height:54px;flex-direction:column;justify-content:center;gap:4px;padding:8px 12px;border-radius:8px;background:hsl(var(--muted)/.35)}.tc-stage .tc-stile__l{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.tc-stage .tc-stile__v{font-family:var(--font-mono),var(--font-ui),ui-sans-serif,system-ui;font-size:15px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;color:hsl(var(--foreground))}.tc-stage .tc-stile__v--muted{color:hsl(var(--muted-foreground))}.tc-stage .tc-stile--lead{flex:1 1 172px;gap:2px;padding:8px 14px 10px}.tc-stage .tc-stile--lead,.tc-stage .tc-stile--lead~.tc-stile{justify-content:flex-start}.tc-stage .tc-stile--lead .tc-stile__v{font-size:26px;font-weight:600;letter-spacing:-.01em;line-height:1.1}.tc-stage .tc-btn-go{background:hsl(var(--profit));color:hsl(var(--background));border:none}:root[data-theme=light] .tc-stage .tc-btn-go{background-image:linear-gradient(hsl(var(--foreground)/.3),hsl(var(--foreground)/.3))}@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .tc-stage .tc-btn-go{background-image:linear-gradient(hsl(var(--foreground)/.3),hsl(var(--foreground)/.3))}}.tc-stage .tc-btn-go:hover{filter:brightness(1.08)}.tc-stage .tc-btn-fill{padding-inline:22px;box-shadow:0 1px 0 hsl(var(--primary-foreground)/.12) inset,0 10px 24px -10px hsl(var(--primary)/.6)}.tc-stage .tc-btn-fill:hover{transform:translateY(-1px);box-shadow:0 1px 0 hsl(var(--primary-foreground)/.12) inset,0 14px 28px -10px hsl(var(--primary)/.7)}.tc-stage[data-mode=contrast] .tc-btn-fill,.tc-stage[data-mode=contrast] .tc-btn-fill:hover,.tc-stage[data-mode=strict] .tc-btn-fill,.tc-stage[data-mode=strict] .tc-btn-fill:hover,.tc-stage[data-mode=terminal] .tc-btn-fill,.tc-stage[data-mode=terminal] .tc-btn-fill:hover{box-shadow:none;transform:none}