.ts-home {
 --home-panel: var(--ts-panel);
 --home-ink: var(--ts-ink);
 --home-muted: var(--ts-muted);
 --home-border: var(--ts-line);
 --home-soft: var(--ts-panel-soft);
 --home-accent: var(--ts-accent);
 display: grid;
 gap: clamp(25px, 4vw, 56px);
 min-width: 0;
 max-width: 1520px;
 margin-inline: auto;
 color: var(--home-ink);
}

.ts-home svg { width: 18px; height: 18px; flex: none; }
.ts-home [data-tool-group], .ts-home-icon { --tool-color: var(--home-accent); --tool-tint: var(--home-soft); }
.ts-home :is([data-tool-group="users"],[data-tool-group="search"]) { --tool-color: #176957; --tool-tint: #dff3ec; }
.ts-home :is([data-tool-group="flow"],[data-tool-group="heart"]) { --tool-color: #6c43ab; --tool-tint: #f0e9fc; }
.ts-home [data-tool-group="chart"] { --tool-color: #84531b; --tool-tint: #faefda; }
html[data-theme="dark"] .ts-home :is([data-tool-group="users"],[data-tool-group="search"]) { --tool-color: #85dbc3; --tool-tint: #193b37; }
html[data-theme="dark"] .ts-home :is([data-tool-group="flow"],[data-tool-group="heart"]) { --tool-color: #d0b6ff; --tool-tint: #352852; }
html[data-theme="dark"] .ts-home [data-tool-group="chart"] { --tool-color: #f5cb92; --tool-tint: #412f26; }

.ts-home-catalog { display: grid; gap: 15px; min-width: 0; scroll-margin-top: 77px; }
.ts-home-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ts-home-section-head h2 { margin: 0; color: var(--home-ink); font-size: 24px; letter-spacing: -.035em; }
.ts-home-search {
 display: flex;
 align-items: center;
 gap: 8px;
 margin: 0;
 padding: 0 10px;
 border: 1px solid var(--home-border);
 background: var(--home-panel);
 border-radius: 9px;
 color: var(--home-muted);
}
.ts-home-search #wb-tool-search { width: min(31vw, 290px); min-width: 0; border: 0; margin: 0; background: transparent; color: var(--home-ink); }
.ts-home-search:focus-within { border-color: var(--home-accent); }
.ts-home-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.ts-home .ts-home-filters button {
 border: 1px solid var(--home-border);
 border-radius: 7px;
 background: var(--home-panel);
 color: var(--home-muted);
 padding: 5px 9px;
 min-height: 34px;
 font-size: 13px;
}
.ts-home .ts-home-filters button:hover { color: var(--home-accent); }
.ts-home .ts-home-filters button[aria-pressed="true"] { background: var(--home-soft); border-color: var(--home-accent); color: var(--home-accent); font-weight: 700; }
.ts-home-filters button span { margin-left: 3px; }
.ts-home #wb-tool-list {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
 align-items: start;
 gap: 12px;
}
.ts-home-tool-group {
 min-width: 0;
 content-visibility: auto;
 contain-intrinsic-block-size: auto 240px;
 overflow: hidden;
 border: 1px solid var(--home-border);
 border-radius: 13px;
 background: var(--home-panel);
}
.ts-home-tool-group h3 {
 display: flex;
 align-items: center;
 gap: 9px;
 margin: 0;
 padding: 12px;
 border-bottom: 1px solid var(--home-border);
 color: var(--home-ink);
 font-size: 16px;
}
.ts-home-icon {
 display: grid;
 place-items: center;
 width: 32px;
 height: 32px;
 border-radius: 8px;
 color: var(--tool-color);
 background: var(--tool-tint);
}
.ts-home-tool-group .ts-home-icon { --tool-color: inherit; --tool-tint: inherit; }
.ts-home-tool { display: grid; grid-template-columns: minmax(0,1fr) auto; min-width: 0; }
.ts-home-tool + .ts-home-tool { border-top: 1px solid var(--home-border); }
.ts-home .ts-home-tool-open {
 display: grid;
 grid-template-columns: 18px minmax(0,1fr) auto;
 align-items: center;
 gap: 8px;
 width: 100%;
 padding: 10px 5px 10px 12px;
 text-align: left;
 border-radius: 7px;
 background: transparent;
 color: var(--home-ink);
}
.ts-home .ts-home-tool-open:hover { background: var(--tool-tint); }
.ts-home-tool-open > .ts-home-icon { width: 18px; height: auto; background: none; }
.ts-home-tool-open > svg { width: 15px; height: 15px; color: var(--home-muted); }
.ts-home-tool-open strong, .ts-home-tool-open small { display: block; overflow-wrap: anywhere; }
.ts-home-tool-open strong { font-size: 14px; }
.ts-home-tool-open small { margin-top: 3px; color: var(--home-muted); font-size: 12px; line-height: 1.4; }
.ts-home .ts-home-tool .wb-pin { align-self: center; margin: 0 5px; color: var(--home-muted); }
.ts-home .ts-home-tool .wb-pin.pinned { color: var(--tool-color); }
.ts-home-tool .wb-pin.pinned path { fill: currentColor; }
.ts-home-recent { min-width: 0; }
.ts-home-recent .card-head { flex-wrap: wrap; gap: 6px; }
.ts-home-empty, .ts-home-notice { margin: 0; padding: 10px 16px; color: var(--home-muted); }
.ts-home-notice .text-btn { color: var(--home-accent); }
.ts-home :is(button,input):focus-visible { outline: 2px solid var(--home-accent); outline-offset: -2px; }
.ts-home .ts-home-welcome button:focus-visible { outline-color: #fff; }


.ts-home .ts-home-welcome {
 display: grid;
 grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
 align-items: center;
 position: relative;
 isolation: isolate;
 overflow: hidden;
 min-height: 490px;
 gap: clamp(12px, 2vw, 30px);
 padding: clamp(24px, 4.2vw, 66px);
 border-radius: 26px;
 border: 1px solid #25334d;
 background:
  radial-gradient(ellipse at 89% 85%, #281a54 0%, transparent 50%),
  radial-gradient(ellipse at 63% 25%, #14294b 0%, transparent 52%),
  #0a1020;
 color: #f6f8ff;
}
.ts-home-welcome::before {
 content: "";
 position: absolute;
 z-index: -1;
 inset: 0;
 background-image: linear-gradient(#8aa0c915 1px, transparent 1px), linear-gradient(90deg, #8aa0c915 1px, transparent 1px);
 background-size: 39px 39px;
 mask-image: linear-gradient(#000 15%, transparent);
 pointer-events: none;
}
.ts-home-hero-copy { min-width: 0; position: relative; z-index: 1; }
.ts-home-hero-context {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: #c2d3f5;
 font-size: 13px;
}
.ts-home-hero-context span { width: 7px; height: 7px; border-radius: 50%; background: #65e0bf; box-shadow: 0 0 12px #65e0bf80; }
.ts-home .ts-home-welcome h1 {
 margin: 18px 0 0;
 color: #f7f9ff;
 font-size: clamp(32px, 4.4vw, 72px);
 line-height: 1.15;
 letter-spacing: -.066em;
 text-wrap: balance;
}
.ts-home-welcome h1 > span { display: block; }
.ts-home .ts-home-type {
 width: fit-content;
 max-width: 100%;
 color: #c5caff;
 background: linear-gradient(95deg, #88c8ff 12%, #aaa7ff 63%, #e2a6ff);
 background-clip: text;
 -webkit-text-fill-color: transparent;
}
.ts-home-welcome p { max-width: 43ch; margin: 19px 0 0; color: #b8c6e0; line-height: 1.65; font-size: clamp(14px, 1.4vw, 17px); }
.ts-home-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.product-workspace .ts-home .ts-home-hero-actions button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 45px;
 gap: 7px;
 padding: 10px 14px;
 border: 1px solid #6476ac;
 border-radius: 9px;
 color: #fff;
 background: #1b2540;
 box-shadow: none;
}
.product-workspace .ts-home .ts-home-hero-actions .primary {
 border-color: #8498ff;
 background: linear-gradient(110deg,#345dd5,#6441bb);
 box-shadow: 0 8px 25px #2456d051;
}
.product-workspace .ts-home .ts-home-hero-actions button:hover { filter: brightness(1.15); }
.ts-home-connection {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 7px 8px;
 margin-top: 17px;
 color: #bdcae3;
 font-size: 12px;
}
.ts-home-connection b { display: block; color: #fff; overflow-wrap: anywhere; }
.product-workspace .ts-home .ts-home-connection .text-btn { padding: 3px 0; color: #b9cbff; font-size: inherit; }
.ts-home-dot { width: 7px; height: 7px; border-radius: 50%; background: #8396b7; flex: none; }
.ts-home-dot.online { background: #65e0bf; }
.ts-home .ts-home-welcome button:focus-visible { outline-color: #fff; }

.ts-home-orbit { position: relative; width: min(100%, 455px); min-width: 0; aspect-ratio: 1.05; justify-self: center; display: grid; place-items: center; }
.ts-home-rings { position: absolute; inset: 1%; display: grid; place-items: center; pointer-events: none; }
.ts-home-rings::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #4674d649, transparent 61%); }
.ts-home-rings i {
 position: absolute;
 width: var(--diameter);
 aspect-ratio: 1;
 border: 1px solid #8eabed40;
 border-radius: 50%;
}
.ts-home-rings i:nth-child(1) { --diameter: 92%; }
.ts-home-rings i:nth-child(2) { --diameter: 72%; border-style: dashed; }
.ts-home-rings i:nth-child(3) { --diameter: 50%; border-color: #a390ef65; }
.ts-home-rings i::after {
 content: "";
 position: absolute;
 top: 50%;
 right: -4px;
 width: 7px;
 height: 7px;
 background: #88edcf;
 border-radius: 50%;
 box-shadow: 0 0 12px #88edcf;
}
.ts-home-rings i:nth-child(2)::after { left: -4px; background: #93b9ff; box-shadow: 0 0 12px #93b9ff; }
.ts-home-rings i:nth-child(3)::after { top: 8%; right: 18%; background: #d69cff; box-shadow: 0 0 12px #d69cff; }
.ts-home-core {
 display: grid;
 place-items: center;
 width: 34%;
 aspect-ratio: 1;
 border: 1px solid #96aaff;
 border-radius: 30%;
 background: linear-gradient(145deg,#213760,#181c43);
 box-shadow: 0 0 0 7px #627cff12,0 0 52px #7596ff62;
}
.ts-home-core img {
 display: block;
 width: 71%;
 height: auto;
}
.ts-home .ts-home-node {
 position: absolute;
 display: grid;
 grid-template-columns: auto minmax(0,1fr) auto;
 align-items: center;
 max-width: 74%;
 gap: 8px;
 padding: 7px 9px;
 border: 1px solid #8197c263;
 border-radius: 12px;
 color: #f1f5ff;
 background: #121d35;
 box-shadow: 0 8px 24px #050a1bb0;
 text-align: left;
 font-size: 12px;
}
.ts-home .ts-home-node:hover { background: #28395b; border-color: #a7b6fa; }
.ts-home-node:nth-of-type(1) { top: 12%; left: 0; }
.ts-home-node:nth-of-type(2) { top: 20%; right: -1%; }
.ts-home-node:nth-of-type(3) { bottom: 13%; left: 7%; }
.ts-home-node > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #304a9f; }
.ts-home-node:nth-of-type(2) > span { background: #62469d; }
.ts-home-node:nth-of-type(3) > span { background: #18776b; }
.ts-home-node > svg { width: 13px; height: 13px; color: #a4b9de; }

.ts-home-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.product-workspace .ts-home .ts-home-stat {
 display: grid;
 justify-items: start;
 align-content: start;
 gap: 6px;
 min-width: 0;
 min-height: 132px;
 padding: clamp(12px,2vw,22px);
 border: 1px solid var(--home-border);
 border-radius: 16px;
 background: radial-gradient(ellipse at 100% 100%,var(--tool-tint),transparent 72%),var(--home-panel);
 color: var(--home-ink);
 text-align: left;
}
.ts-home .ts-home-stat:hover { border-color: var(--home-accent); }
.ts-home-stat .ts-home-icon { --tool-color: inherit; --tool-tint: inherit; }
.ts-home-stat b { font-size: clamp(29px,4.1vw,54px); line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ts-home-stat > span:last-child { color: var(--home-muted); font-size: 13px; overflow-wrap: anywhere; }
.ts-home-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }

.ts-home :is(.ts-home-featured,.ts-home-onboarding) h2,
.ts-home .ts-home-section-head h2 {
 margin: 0;
 color: var(--home-ink);
 font-size: clamp(24px,3.1vw,40px);
 letter-spacing: -.048em;
 line-height: 1.2;
}
.ts-home-bento { margin-top: 16px; display: grid; grid-template-columns: 1.1fr 1.25fr 1fr; gap: 12px; }
.ts-home-feature {
 display: flex;
 flex-direction: column;
 align-items: start;
 min-width: 0;
 min-height: 246px;
 padding: clamp(15px,2.3vw,27px);
 border: 1px solid var(--home-border);
 border-radius: 18px;
 background: var(--home-panel);
 color: var(--home-ink);
}
.ts-home-feature[data-tool-group="flow"] { background: linear-gradient(155deg,var(--tool-tint),var(--home-panel) 76%); }
.ts-home-feature .ts-home-icon { width: 41px; height: 41px; border-radius: 11px; --tool-color: inherit; --tool-tint: inherit; }
.ts-home-feature h3, .ts-home-onboarding h3 { margin: 12px 0 5px; color: var(--home-ink); font-size: clamp(17px,1.6vw,22px); letter-spacing: -.025em; }
.ts-home-feature p, .ts-home-onboarding p { margin: 0 0 14px; color: var(--home-muted); line-height: 1.55; font-size: 13px; }
.ts-home-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.product-workspace .ts-home .ts-home-chip {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 padding: 6px 10px;
 min-height: 34px;
 border: 1px solid var(--home-border);
 border-radius: 100px;
 color: var(--home-ink);
 background: var(--home-panel);
 font-size: 12px;
 text-align: left;
}
.ts-home .ts-home-chip:hover { border-color: var(--home-accent); color: var(--home-accent); }
.ts-home-chip svg { width: 14px; height: 14px; }
.ts-home-flow-preview { width: min(100%,240px); display: flex; justify-content: space-between; gap: 8px; position: relative; margin: 1px 0 14px; }
.ts-home-flow-preview::before { content: ""; position: absolute; top: 50%; inset-inline: 4px; height: 2px; background: var(--tool-color); opacity: .45; }
.ts-home-flow-preview span { position: relative; display: grid; place-items: center; width: 35px; height: 32px; border: 1px solid var(--home-border); border-radius: 8px; color: var(--tool-color); background: var(--home-panel); }
.ts-home-onboarding {
 content-visibility: auto;
 contain-intrinsic-block-size: auto 270px;
 padding: clamp(19px,3vw,42px);
 border: 1px solid var(--home-border);
 border-radius: 20px;
 background: var(--home-panel);
}
.ts-home-onboarding ol { margin: 20px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; }
.ts-home-onboarding li { min-width: 0; padding-top: 15px; border-top: 1px solid var(--home-border); }
.ts-home-onboarding .ts-home-icon { width: 40px; height: 40px; }
.ts-home-onboarding h3 { font-size: 17px; }

@media (prefers-reduced-motion: no-preference) {
 [data-home-intro] .ts-home-type { animation: ts-home-type 1.15s steps(15,end) calc(.20s - var(--home-intro-elapsed,0ms)) both; }
 [data-home-intro] .ts-home-rings i { animation: ts-home-revolve 4.8s cubic-bezier(.18,.65,.36,1) calc(0ms - var(--home-intro-elapsed,0ms)) both; }
 .ts-home-rings i:nth-child(2) { animation-direction: reverse; }
 [data-home-intro] .ts-home-node { animation: ts-home-arrive .66s cubic-bezier(.18,.65,.36,1) calc(.18s - var(--home-intro-elapsed,0ms)) both; }
 .ts-home-node:nth-of-type(2) { animation-delay: calc(.28s - var(--home-intro-elapsed,0ms)); }
 .ts-home-node:nth-of-type(3) { animation-delay: calc(.38s - var(--home-intro-elapsed,0ms)); }
}
@keyframes ts-home-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes ts-home-revolve { from { transform: rotate(-125deg); } to { transform: rotate(90deg); } }
@keyframes ts-home-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (forced-colors: active) { .ts-home .ts-home-type { -webkit-text-fill-color: currentColor; } }
@media (max-width: 1100px) { .ts-home .ts-home-welcome { min-height: 400px; } }
@media (max-width: 740px) {
 .ts-home .ts-home-welcome { grid-template-columns: minmax(0,1fr); padding: 24px 19px 12px; }
 .ts-home .ts-home-welcome h1 { font-size: clamp(30px,9vw,55px); }
 .ts-home-orbit { width: min(100%,370px); }
 .ts-home-bento { grid-template-columns: minmax(0,1fr); }
 .ts-home-feature { min-height: 0; }
 .ts-home-search, .ts-home-search #wb-tool-search { width: 100%; }
}
@media (max-width: 540px) {
 .ts-home-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .product-workspace .ts-home .ts-home-stat { min-height: 108px; }
 .ts-home-onboarding ol { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 440px) {
 .ts-home-node:nth-of-type(1) { top: 5%; }
 .ts-home-node:nth-of-type(2) { top: 24%; }
}
