/* Uniwork landing — light futuristic. Ground #FBFBFE · text #101321 · accent #7C5CFF (brand) · green #0E8A5F */
:root{
  --ground:#FBFBFE;
  --ink:#101321;
  --muted:#5A5E70;
  --line:#E7E7F0;
  --accent:#7C5CFF;
  --accent-deep:#5B3DF5;
  --accent-soft:#F1EDFF;
  --good:#0E8A5F;
  --good-soft:#E7F5EE;
  --card:#FFFFFF;
  --radius:12px;
  --display:"Space Grotesk","Avenir Next",Helvetica,Arial,sans-serif;
  --body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--body);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--display);letter-spacing:-.015em;margin:0}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.eyebrow{font:600 11.5px var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-deep);margin:0 0 14px}
.lede{font-size:18.5px;line-height:1.6;color:var(--muted);max-width:44em}
.sect{font-size:clamp(30px,4.4vw,44px);line-height:1.1;font-weight:600;margin-bottom:14px}
.grad{background:linear-gradient(100deg,var(--accent-deep),var(--accent) 55%,#9E7BFF);
  -webkit-background-clip:text;background-clip:text;color:transparent}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:10px;font:600 14px var(--body);
  padding:10px 18px;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.btn.lg{padding:13px 24px;font-size:15px}
.btn.solid{background:linear-gradient(120deg,var(--accent-deep),var(--accent));color:#fff;
  box-shadow:0 8px 24px -10px rgba(124,92,255,.65)}
.btn.solid:hover{transform:translateY(-1px);box-shadow:0 12px 28px -10px rgba(124,92,255,.75)}
.btn.ghost{border-color:var(--line);background:rgba(255,255,255,.7);backdrop-filter:blur(6px);color:var(--ink)}
.btn.ghost:hover{border-color:var(--accent-deep);color:var(--accent-deep)}

/* reveal-on-scroll */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}

/* ── nav ─────────────────────────────────────────────── */
.nav{position:fixed;inset:0 0 auto;z-index:100;padding:14px 0;transition:background .25s,box-shadow .25s}
.nav.scrolled{background:rgba(251,251,254,.85);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.nav-in{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:28px}
.brand img{display:block}
.nav-links{display:flex;gap:26px;margin-left:8px;align-items:center}
.nav-links a,.nav-dd-btn{font:500 14px/1.2 var(--body);color:var(--muted);text-decoration:none;
  transition:color .15s;display:inline-flex;align-items:center}
.nav-links a:hover{color:var(--ink)}
.nav-cta{margin-left:auto;display:flex;gap:10px}

/* features dropdown (mega-menu) */
.nav-dd{position:relative}
.nav-dd-btn{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;cursor:pointer;
  font:500 14px var(--body);color:var(--muted);padding:0;transition:color .15s}
.nav-dd-btn:hover,.nav-dd[data-open] .nav-dd-btn{color:var(--ink)}
.nav-dd .caret{font-size:10px;transition:transform .2s}
.nav-dd[data-open] .caret{transform:rotate(180deg)}
.nav-dd-panel{position:absolute;left:-16px;top:calc(100% + 16px);width:340px;padding:10px;z-index:110;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 30px 70px -30px rgba(16,19,33,.35),0 4px 16px -8px rgba(16,19,33,.12);
  opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .18s,transform .18s}
.nav-dd:hover .nav-dd-panel,.nav-dd:focus-within .nav-dd-panel,.nav-dd[data-open] .nav-dd-panel{
  opacity:1;transform:none;pointer-events:auto}
.nav-dd-panel::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.nav-dd-panel a{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:10px;
  text-decoration:none;transition:background .13s}
.nav-dd-panel a:hover{background:var(--accent-soft)}
.nav-dd-panel a i{font-style:normal;font-size:17px;width:32px;height:32px;border-radius:9px;background:#F4F3FC;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nav-dd-panel a i.ddri{color:var(--c,#6366F1);background:color-mix(in srgb,var(--c,#6366F1) 12%,#fff);font-size:16px}
.t-ai i{font-size:9px;margin-right:1px}
.suggest i{font-size:12px;vertical-align:-1px}
.dh-tools>i{font-size:15px}
.nav-dd-panel a b{display:block;font:600 13.5px var(--display);color:var(--ink)}
.nav-dd-panel a em{display:block;font:400 12px var(--body);font-style:normal;color:var(--muted);margin-top:1px}

/* anchored sections land below the fixed nav */
[id]{scroll-margin-top:84px}

/* hero badges — ONE muted line. Three ✓ rows sat exactly where a third pill row would,
 * which is most of why the hero read as a wall of buttons. */
.hero-badges{max-width:640px;margin:0 auto 26px;font:500 13px/1.7 var(--body);color:var(--muted);
  text-align:center}

/* ── hero (centered) ─────────────────────────────────── */
.hero{position:relative;display:flex;align-items:center;padding:150px 0 40px;overflow:hidden}
.mesh{position:absolute;inset:-20% -10% auto;height:130%;pointer-events:none;
  background:
    radial-gradient(42% 55% at 78% 18%, rgba(124,92,255,.16), transparent 70%),
    radial-gradient(38% 48% at 12% 70%, rgba(94,196,255,.13), transparent 70%),
    radial-gradient(30% 40% at 55% 95%, rgba(158,123,255,.10), transparent 70%)}
.mesh.flip{transform:scaleY(-1)}
.dotgrid{position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(16,19,33,.10) 1px, transparent 1.4px);background-size:26px 26px;
  mask-image:radial-gradient(70% 70% at 50% 35%, #000 30%, transparent 100%)}
.hero-in{position:relative;max-width:900px;margin:0 auto;padding:0 24px;text-align:center;
  display:flex;flex-direction:column;align-items:center}
.hero h1{font-size:clamp(38px,5.6vw,64px);line-height:1.05;font-weight:700;margin:0 0 20px}
.hero .lede{margin-left:auto;margin-right:auto}
.hero .lede b{color:var(--ink)}
.hero-actions{display:flex;align-items:center;gap:20px;margin:28px 0 22px;flex-wrap:wrap;justify-content:center}
/* The secondary action is a LINK, not a second pill: one filled button in the hero, and
 * `.icp-tab.on` below no longer wears the same gradient, so nothing competes with it. */
.btn-quiet{display:inline-flex;align-items:center;gap:6px;font:500 15px var(--body);color:var(--muted);
  text-decoration:none;transition:color .2s}
.btn-quiet:hover{color:var(--accent-deep)}
.btn-quiet i{font-size:15px}

/* voice chip + waveform */
.voice-chip{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--line);
  background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-radius:999px;padding:10px 20px 10px 14px;
  font:500 15px var(--body);color:var(--ink);box-shadow:0 10px 30px -18px rgba(16,19,33,.35)}
.typed{min-width:22ch}
.typed::after{content:"▍";color:var(--accent-deep);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.wave{display:inline-flex;align-items:center;gap:2.5px;height:18px}
.wave i{width:3px;border-radius:2px;background:var(--accent);animation:wv 1s ease-in-out infinite}
.wave i:nth-child(1){height:7px;animation-delay:0s}
.wave i:nth-child(2){height:14px;animation-delay:.12s}
.wave i:nth-child(3){height:18px;animation-delay:.24s}
.wave i:nth-child(4){height:12px;animation-delay:.36s}
.wave i:nth-child(5){height:8px;animation-delay:.48s}
.wave.sm{height:12px}.wave.sm i{max-height:12px}
@keyframes wv{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}

/* ── big interactive product demo ────────────────────── */
.wrap-wide{max-width:1240px;margin:0 auto;padding:0 24px}
.appdemo{position:relative;padding:26px 0 40px}
.demo-glow{position:absolute;inset:18% 14% 6%;pointer-events:none;filter:blur(70px);opacity:.4;border-radius:50%;
  background:conic-gradient(from 120deg at 50% 40%, rgba(124,92,255,.35), rgba(94,196,255,.2), rgba(158,123,255,.28), rgba(124,92,255,.35))}
.browser{position:relative;border-radius:18px;background:#fff;border:1px solid #E3E0F5;overflow:hidden;
  box-shadow:0 60px 120px -50px rgba(60,40,160,.45),0 0 0 6px rgba(124,92,255,.05)}
.browser-bar{display:flex;align-items:center;gap:14px;padding:11px 16px;border-bottom:1px solid var(--line);background:#FAFAFE}
.tl{display:flex;gap:6px}
.tl i{width:11px;height:11px;border-radius:50%;background:#E4E2F0}
.tl i:nth-child(1){background:#FF5F57}.tl i:nth-child(2){background:#FEBC2E}.tl i:nth-child(3){background:#28C840}
.urlbar{display:inline-flex;align-items:center;gap:7px;font:500 12.5px var(--mono);color:var(--muted);
  background:#F1F0FA;border-radius:8px;padding:6px 14px;margin:0 auto}
.live-dot{font:600 11px var(--mono);color:var(--good)}
.browser-body{display:grid;grid-template-columns:224px 1fr auto;height:620px}
.d-side{overflow-y:auto}
.d-main{overflow-y:auto}
.d-side::-webkit-scrollbar,.d-main::-webkit-scrollbar,.d-chatlist::-webkit-scrollbar{width:6px}
.d-side::-webkit-scrollbar-thumb,.d-main::-webkit-scrollbar-thumb,.d-chatlist::-webkit-scrollbar-thumb{
  background:#DDDDD6;border-radius:3px}

/* sidebar — matches the real platform: white bg, gray selection, generic app glyphs */
.d-side{border-right:1px solid #EDEDEA;background:#fff;padding:12px 10px;display:flex;flex-direction:column;gap:1px}
.d-side>*{flex-shrink:0}
.d-top{display:flex;align-items:center;justify-content:space-between;margin:2px 6px 14px}
.d-collapse{width:16px;height:16px;color:#6B6E7B}
.d-nav{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;
  border-radius:8px;padding:7px 9px;font:400 13.5px var(--body);color:#33353D;cursor:pointer;transition:background .15s}
.d-nav:hover{background:#F1F1EF}
.d-nav svg,.d-ws svg,.d-foot svg,.d-chatrow svg,.d-folder svg,.d-collapse{width:16px;height:16px;fill:none;
  stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;color:#6B6E7B}
.d-sec{display:flex;align-items:center;font:500 11.5px var(--body);color:#6B6E7B;padding:14px 9px 4px}
.d-plus{margin-left:auto;color:#6B6E7B;font-size:12px}
.d-chatrow{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:transparent;
  border-radius:8px;padding:6px 9px;font:400 13px var(--body);color:#33353D;cursor:pointer;transition:background .15s;
  white-space:nowrap;overflow:hidden}
.d-chatrow span{overflow:hidden;text-overflow:ellipsis}
.d-chatrow:hover{background:#F1F1EF}
.d-chatrow.dim{color:#5C5F6B}
.d-badge{margin-left:auto;background:var(--accent);color:#fff;font:700 9.5px var(--mono);
  min-width:16px;height:16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.d-ws{display:flex;align-items:center;gap:8px;font:500 13.5px var(--body);color:#2A2C38;padding:6px 9px;border-radius:8px}
.d-ws.org{margin-top:6px}
.d-folder{display:flex;align-items:center;gap:6px;font:400 13px var(--body);color:#33353D;padding:5px 9px 5px 14px}
.chev{width:12px;height:12px}
.chev.r{transform:rotate(-90deg)}
/* org workspaces — expandable folders with their own apps (Sales/Marketing/…) */
.d-spaces{display:flex;flex-direction:column;gap:1px}
.d-space>.d-folder{width:100%;text-align:left;border:0;background:transparent;cursor:pointer;border-radius:8px}
.d-space>.d-folder:hover{background:#F1F1EF}
.d-space>.d-folder .chev{transition:transform .2s}
.d-space:not(.open)>.d-folder .chev{transform:rotate(-90deg)}
.d-folder-apps{display:none;flex-direction:column;gap:1px;margin:1px 0 3px}
.d-space.open>.d-folder-apps{display:flex}
.d-space .d-app.sub{width:calc(100% - 32px);margin-left:32px;font-size:12.5px;padding:4px 9px;color:#4A4C58}
.d-space .d-app.sub .ai-tile{width:17px;height:17px;border-radius:5px}
.d-space .d-app.sub .ai-tile i{font-size:10px}
.d-app{display:flex;align-items:center;gap:8px;width:calc(100% - 18px);margin-left:18px;text-align:left;border:0;
  background:transparent;border-radius:8px;padding:5px 8px;
  font:400 13px var(--body);color:#33353D;cursor:pointer;transition:background .15s}
.d-app:hover{background:#F1F1EF}
.d-app.on{background:#EDEDEA;font-weight:500}
.d-app.new{color:#6B6E7B}
.appglyph{width:15px;height:15px;fill:none;stroke:#6B6E7B;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.d-foot{margin-top:auto;display:flex;align-items:center;gap:14px;padding:12px 8px 2px}
.d-foot svg{cursor:pointer}
.d-foot svg:hover{color:var(--ink)}
.d-ava{margin-left:auto;width:24px;height:24px;border-radius:50%;background:#E8E8E4;color:#5C5F6B;
  font:500 11px var(--body);display:inline-flex;align-items:center;justify-content:center}

/* UniAgent drawer (QuickChat) + ✨ launcher — faithful to the real product */
.d-launch{position:absolute;right:18px;bottom:16px;z-index:7;width:46px;height:46px;border-radius:50%;border:0;
  background:linear-gradient(135deg,var(--accent-deep),#9E7BFF);color:#fff;cursor:pointer;font-size:20px;
  box-shadow:0 14px 30px -10px rgba(124,92,255,.7);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.d-launch:hover{transform:scale(1.08)}
.d-launch.pulse{animation:launchpulse 1.5s ease-in-out infinite}
.browser:has(.d-drawer.open) .d-launch{opacity:0;pointer-events:none}
@keyframes launchpulse{0%,100%{box-shadow:0 14px 30px -10px rgba(124,92,255,.7)}50%{box-shadow:0 14px 30px -10px rgba(124,92,255,.7),0 0 0 10px rgba(124,92,255,.16)}}
/* Docked side panel, NOT an overlay — it takes its own column and the main
   pane resizes, exactly like the real product's UniAgent panel. */
.d-drawer{position:relative;width:0;min-width:0;overflow:hidden;background:#fff;
  border-left:1px solid transparent;display:flex;flex-direction:column;
  transition:width .34s cubic-bezier(.3,.9,.3,1),min-width .34s cubic-bezier(.3,.9,.3,1)}
.d-drawer.open{width:334px;min-width:334px;border-left-color:var(--line);background:#FAFAFE;padding:0}
.d-drawer>*{min-width:334px}
.dd-panel{flex:1;min-width:334px;display:flex;flex-direction:column;background:#FAFAFE;
  border:0;border-radius:0;overflow:hidden;box-shadow:none}
.dd-head{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 10px 16px;border-bottom:1px solid var(--line)}
.dd-title{font:600 14px var(--display)}
.dd-actions{display:flex;gap:1px}
.dd-actions button{width:28px;height:28px;border:0;background:transparent;border-radius:7px;color:#6B6E7B;cursor:pointer;
  font-size:15px;display:inline-flex;align-items:center;justify-content:center}
.dd-actions button:hover{background:#F1F1EF;color:var(--ink)}
.dd-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column}
.dd-empty{margin:auto 0;text-align:center}
.dd-empty h2{font:600 26px var(--display);letter-spacing:-.01em;margin:0 0 6px}
.dd-empty p{font-size:15px;color:var(--muted);margin:0 0 20px}
.dd-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.dd-pills button{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;
  border-radius:999px;padding:8px 13px;font:500 12.5px var(--body);color:#33353D;cursor:pointer;transition:all .15s}
.dd-pills button:hover{border-color:#CFC6F5;background:var(--accent-soft)}
.dd-pills button i{color:var(--c,#6366F1);font-size:14px}
.dd-thread{display:none;flex-direction:column;gap:10px}
.d-drawer.chatting .dd-empty{display:none}
.d-drawer.chatting .dd-thread{display:flex}
.dd-input{display:flex;align-items:center;gap:9px;margin:10px;border:1px solid var(--line);border-radius:14px;
  padding:9px 12px;font:400 12.5px var(--body);background:#fff}
.dd-plus{color:#6B6E7B;font-size:16px}
.dd-auto{font:500 11px var(--body);color:#33353D;border:1px solid var(--line);border-radius:7px;padding:2px 7px}
.dd-ph{color:#A5A3BC;flex:1}
.dd-input i{color:#6B6E7B;font-size:15px}
.dd-send{width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}

/* standalone QuickChat panel mock (feature pages) */
.dd-mock{border:1px solid #E3E0F5;border-radius:16px;overflow:hidden;background:#fff;max-width:340px;
  margin:0 auto;box-shadow:0 24px 55px -32px rgba(60,40,160,.35)}
.dd-mock .dd-head{border-bottom:1px solid var(--line)}
.dd-mock .dd-input{margin:8px 10px 10px}
.dd-auto i{font-size:11px}


/* colorful sidebar app tiles (real AppIcon look) */
.ai-tile{width:20px;height:20px;border-radius:6px;background:var(--c,#6366F1);flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(16,19,33,.12)}
.ai-tile i{color:#fff;font-size:12px;line-height:1}
.ai-tile.ghost{background:transparent;border:1px dashed #C8C9C0}
.ai-tile.ghost i{color:#6B6E7B}

/* home scene — the real chat-first home */
.d-fab{position:absolute;right:20px;bottom:18px;z-index:6;width:44px;height:44px;border-radius:50%;border:0;
  background:linear-gradient(135deg,var(--accent-deep),#9E7BFF);color:#fff;cursor:pointer;
  box-shadow:0 14px 30px -10px rgba(124,92,255,.7);display:flex;align-items:center;justify-content:center;
  transition:transform .2s}
.d-fab:hover{transform:scale(1.07)}
.d-fab svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round}

/* floating UniAgent panel (FAB toggles collapse/expand) */
.d-agentpanel{position:absolute;right:20px;bottom:72px;z-index:5;width:300px;max-height:380px;
  display:none;flex-direction:column;background:#fff;border:1px solid #E7E7F0;border-radius:16px;
  box-shadow:0 30px 70px -25px rgba(16,19,33,.4);overflow:hidden;
  transform-origin:bottom right;animation:apin .22s ease}
.d-agentpanel.open{display:flex}
@keyframes apin{from{opacity:0;transform:scale(.92) translateY(8px)}to{opacity:1;transform:none}}
.ap-head{display:flex;align-items:center;gap:8px;font:600 13px var(--display);padding:11px 13px;
  border-bottom:1px solid var(--line);background:#FCFCFB}
.ap-head button{margin-left:auto;border:0;background:transparent;color:#6B6E7B;font-size:13px;cursor:pointer;
  width:24px;height:24px;border-radius:6px}
.ap-head button:hover{background:#F1F1EF;color:var(--ink)}
.ap-list{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:9px}
.ap-list .msg{font-size:12px;padding:8px 11px;border-radius:12px}
.ap-input{display:flex;align-items:center;gap:8px;margin:8px 10px 10px;border:1px solid var(--line);
  border-radius:999px;padding:6px 8px 6px 14px;font:400 12px var(--body);color:#A5A3BC}
.ap-input .dh-send{margin-left:auto;width:22px;height:22px;font-size:11px}
/* The briefing home. Left-aligned now: the product leads with a decision count and a
 * greeting, not a centred product title, and everything under the composer is a flat
 * row rather than a card grid. */
.dh-center{max-width:700px;margin:0 auto;padding-top:8px;text-align:left}
.dh-brief{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.dh-eyebrow{font:600 10.5px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#8B8EA0;margin:0 0 6px}
.dh-title{font:700 23px var(--display);letter-spacing:-.015em;margin:0 0 3px}
.dh-title b{color:var(--accent-deep);font-weight:700}
.dh-sub{font:400 13px var(--body);color:var(--muted);margin:0}
.dh-review{flex-shrink:0;border:1px solid var(--line);border-radius:9px;padding:5px 11px;
  font:500 12.5px var(--body);color:var(--ink);background:#fff}
.dh-review i{font-size:12px;color:var(--muted)}
.dh-input{border:1px solid #E7E7F0;border-radius:16px;background:#fff;box-shadow:0 10px 30px -18px rgba(16,19,33,.25);
  padding:14px 16px 10px;text-align:left}
.dh-input.mini{margin-top:auto}
.dh-typed-row{min-height:22px;font:400 14.5px var(--body);color:#33353D;display:flex;align-items:center}
.dh-typed:empty::before{content:"Ask anything or describe what you want to build…";color:#A5A3BC}
.dh-caret{width:2px;height:16px;background:var(--accent);margin-left:2px;animation:blink 1s steps(1) infinite}
.dh-input-row{display:flex;align-items:center;gap:10px;margin-top:10px}
.dh-ic{color:#6B6E7B;font-size:15px}
.dh-auto{font:500 12.5px var(--body);color:#33353D;border:1px solid #EDEDEA;border-radius:8px;padding:3px 9px}
.dh-auto i{font-style:normal;color:#6B6E7B;font-size:10px}
.dh-ph{font:400 13px var(--body);color:#A5A3BC}
.dh-spacer{flex:1}
.dh-mic{width:17px;height:17px;fill:none;stroke:#6B6E7B;stroke-width:1.7;stroke-linecap:round}
.dh-send{width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center}
/* "Connect your tools" sits INSIDE the composer card now, with its own dismiss. */
.dh-tools{display:flex;align-items:center;gap:7px;margin:12px -16px -10px;padding:9px 16px;
  border-top:1px solid #F0F0F6;font:500 12px var(--body);color:#6B6E7B}
.dh-tools>i{color:#6B6E7B}
.dh-tools img{width:16px;height:16px;object-fit:contain}
.dh-x{margin-left:auto;color:#A5A3BC;font-size:14px}
.dh-sechead{display:flex;align-items:center;gap:8px;text-align:left;font:600 13.5px var(--body);margin:14px 0 8px}
.dh-sechead span{font:400 12px var(--body);color:#6B6E7B}
/* status rows + the flat "across your apps" list, replacing the two card grids */
.dh-row{display:flex;align-items:center;gap:9px;padding:11px 2px;border-bottom:1px solid #F0F0F6;
  font:400 13px var(--body);color:var(--ink)}
.dh-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
.dh-row em{margin-left:auto;font-style:normal;font-size:12px;color:#8B8EA0}
.dh-cta{margin-left:auto;border:1px solid var(--line);border-radius:7px;padding:3px 9px;
  font:500 11.5px var(--body);color:var(--ink);background:#fff}
.dh-list{list-style:none;margin:0;padding:0}
.dh-item{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #F5F5F9;
  font:400 13px var(--body);color:var(--ink)}
.dh-item .ai-tile{width:22px;height:22px;border-radius:6px;font-size:12px;flex-shrink:0}
.dh-item em{margin-left:auto;font-style:normal;font:400 11.5px var(--mono);color:#A5A3BC}
.dh-ask{font:500 11.5px var(--body);color:#8B8EA0}
.dh-more{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font:500 13px var(--body);
  color:var(--ink);text-decoration:none}
.dh-more i{font-size:14px}

.d-main{position:relative;padding:18px 20px;overflow:hidden}
.d-scene{display:none;animation:scenein .45s ease}
.d-scene.on{display:block}
@keyframes scenein{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.d-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.d-head h3{font:600 16px var(--display);margin:0}
.d-head h3 em{font-style:normal;font-weight:500;color:#A5A3BC}
.d-chip{font:600 10px var(--mono);color:var(--good);background:var(--good-soft);border-radius:5px;padding:3px 8px}
.d-table{width:100%;border-collapse:collapse;font-size:13px}
.d-table th{font:600 10px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#A5A3BC;text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)}
.d-table td{padding:9px 8px;border-bottom:1px solid #F1F0F8;color:#3B3E52}
.d-table tr.hl.flash td{background:#FFF7E8}
.st{font:600 10.5px var(--mono);border-radius:5px;padding:3px 8px;white-space:nowrap}
.s1{color:#B4540A;background:#FCEFE3}.s2{color:#4A44C8;background:var(--accent-soft)}.s3{color:var(--good);background:var(--good-soft)}
.d-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.kpi{border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.kpi span{font:600 10px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#A5A3BC;display:block;margin-bottom:4px}
.kpi b{font:600 20px var(--display)}
.kpi i{font:600 11px var(--mono);color:#A5A3BC;font-style:normal;margin-left:6px}
.kpi i.up{color:var(--good)}
.d-bars{display:flex;align-items:flex-end;gap:10px;height:120px;padding:0 6px 18px}
.d-bars i{flex:1;height:var(--h);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#9E7BFF,var(--accent-deep));opacity:.85;position:relative}
.d-bars i.hot{opacity:1;background:linear-gradient(180deg,#7C5CFF,var(--accent-deep));box-shadow:0 8px 18px -8px rgba(124,92,255,.6)}
.d-bars i s{position:absolute;bottom:-17px;left:0;right:0;text-align:center;font:600 9px var(--mono);
  color:#A5A3BC;text-decoration:none;text-transform:uppercase;letter-spacing:.05em}
.d-rows{display:flex;flex-direction:column;gap:8px}
.d-row{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:10px;padding:11px 14px;font-size:13.5px;color:#3B3E52}
.d-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.d-col{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#FCFCFE}
.d-col h4{font:600 10.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#A5A3BC;margin:0 0 8px}
.d-col p{font-size:12.5px;color:#3B3E52;background:#fff;border:1px solid #F0EFF8;border-radius:7px;padding:7px 9px;margin:0 0 6px;box-shadow:0 1px 2px rgba(16,19,33,.04)}
.d-prompt{font:500 14.5px var(--body);color:var(--ink);background:var(--accent-soft);border-radius:10px;padding:14px 16px;margin-bottom:14px}
.d-steps{list-style:none;padding:0;margin:0}
.d-steps li{position:relative;padding:7px 0 7px 30px;font-size:13.5px;color:#3B3E52}
.d-steps li::before{content:"✓";position:absolute;left:4px;top:7px;width:16px;height:16px;border-radius:50%;
  background:var(--good-soft);color:var(--good);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
.d-steps li.doing::before{content:"";background:conic-gradient(var(--accent) 40%,#ECEBF6 0);animation:spin 1.1s linear infinite}
.d-steps li:not([data-done]):not(.doing){color:#A5A3BC}
.d-steps li:not([data-done]):not(.doing)::before{content:"";background:#ECEBF6}
@keyframes spin{to{transform:rotate(1turn)}}

/* chat scene — full-pane thread like the real chat */
.d-scene[data-scene="chat"].on{display:flex;flex-direction:column;height:100%}
.d-scene[data-scene="studio"].on{display:flex;flex-direction:column;height:100%}
.d-chat{flex:1;overflow-y:auto;padding:8px 2px;display:flex;flex-direction:column;gap:10px;
  max-width:none;width:100%;margin:0}
.dh-input.mini{max-width:none;width:100%;margin:12px 0 0;padding:10px 14px}
.demo-replay{border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px 12px;margin:0 6px;
  font:600 12px var(--body);color:var(--accent-deep);cursor:pointer;transition:border-color .15s}
.demo-replay:hover{border-color:var(--accent-deep)}
.msg{max-width:86%;border-radius:14px;padding:10px 14px;font-size:13px;line-height:1.55;animation:scenein .3s ease}
.msg.user{align-self:flex-end;background:linear-gradient(120deg,var(--accent-deep),var(--accent));color:#fff}
.msg.agent{align-self:flex-start;background:#fff;border:1px solid var(--line);color:#3B3E52}
.msg.agent b{color:var(--accent-deep)}
.msg .act{display:inline-block;font:600 10.5px var(--mono);color:var(--good);background:var(--good-soft);border-radius:5px;padding:2px 7px;margin:6px 4px 0 0}
.msg.think{align-self:flex-start;color:#A5A3BC;background:transparent;border:0;font-style:italic;padding:0 4px}
.demo-note{text-align:center;font:500 13.5px var(--body);color:var(--muted);margin:18px 0 0}
.demo-note .dim{color:#A5A3BC}

/* ── USP strip ───────────────────────────────────────── */
.usp{padding:70px 0 30px}
.ugrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.u{border-top:2px solid var(--accent);padding:16px 4px 0}
.u b{font:600 15.5px var(--display);display:block;margin-bottom:6px}
.u p{font-size:13.5px;color:var(--muted);margin:0}

/* ── before / after platform slider ──────────────────── */
.compute{padding:90px 0 60px}
.ba{position:relative;margin:32px 0 28px;border-radius:20px;overflow:hidden;min-height:460px;
  border:1px solid var(--line);box-shadow:0 40px 90px -50px rgba(60,40,160,.4);user-select:none;touch-action:none;cursor:ew-resize}
.ba-side{position:absolute;inset:0;padding:26px 30px;display:flex;flex-direction:column}
.ba-before{background:#F7F6F2}
.ba-after{background:linear-gradient(140deg,#F4F1FF,#FBFAFF 70%);clip-path:inset(0 0 0 var(--pos));
  padding-left:38%}
.ba-after .ba-facts{align-self:center}
.ba-tag{align-self:flex-start;font:600 11px var(--mono);letter-spacing:.08em;border-radius:6px;padding:4px 11px;margin-bottom:18px}
.ba-tag.red{color:#B4443C;background:#F6E3E0}
.ba-tag.green{color:var(--good);background:var(--good-soft)}
.ba-apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:600px}
.ba-app{display:flex;flex-direction:column;align-items:center;gap:5px;background:#fff;border:1px solid #E7E5DD;
  border-radius:12px;padding:12px 8px 10px;font:600 11.5px var(--body);color:#33353D;text-align:center}
.ba-app img{width:26px;height:26px;object-fit:contain}
.ba-app i{font:600 9.5px var(--mono);color:#B4443C;font-style:normal;background:#F6E3E0;border-radius:4px;padding:1px 6px}
.ba-glue{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:600px;margin-top:12px;
  border-top:1px dashed #DFDCD2;padding-top:12px}
.ba-glue-label{width:100%;font:italic 400 12px var(--body);color:#6B6E7B}
.ba-app.glue{flex-direction:row;gap:8px;padding:9px 12px}
.ba-app.glue em{font:italic 400 10.5px var(--body);color:#6B6E7B}
.brandtile{width:22px;height:22px;border-radius:6px;background:var(--c,#888);color:#fff;
  font:700 12px var(--body);display:inline-flex;align-items:center;justify-content:center}
.ba-facts{list-style:none;margin:auto 0 0;padding:16px 0 0}
.ba-facts li{font:500 13px var(--body);padding:3px 0;color:#5A5E70}
.ba-engine{display:flex;flex-direction:column;align-items:center}
.ba-agent{display:inline-flex;align-items:center;gap:9px;font:600 13px var(--body);color:var(--accent-deep);
  background:#fff;border:1px solid #DDD6FB;border-radius:999px;padding:8px 18px;margin:0 auto 18px;
  box-shadow:0 10px 26px -14px rgba(124,92,255,.5)}
.ba-orbit{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:560px;margin:0 auto}
.ba-tile{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #E4E0F7;border-radius:10px;
  padding:8px 13px;font:600 12.5px var(--body);color:#33353D;animation:tilepulse 3s ease-in-out infinite;animation-delay:var(--d,0s)}
.ba-tile i{width:22px;height:22px;border-radius:6px;background:var(--c,#6366F1);color:#fff;display:inline-flex;
  align-items:center;justify-content:center;font-size:13px}
.ba-tile.ghost{border-style:dashed;color:#6B6E7B;animation:none}
.ba-tile.ghost i{background:transparent;color:#6B6E7B;border:1px dashed #C8C9C0}
@keyframes tilepulse{0%,100%{box-shadow:0 0 0 0 rgba(124,92,255,0)}50%{box-shadow:0 0 0 6px rgba(124,92,255,.13)}}
.ba-flow{display:flex;align-items:center;gap:8px;justify-content:center;margin:20px auto 0;flex-wrap:wrap}
.ba-flow b{background:#fff;border:1px solid #E4E0F7;border-radius:7px;padding:5px 10px;font:600 11px var(--mono);color:#33353D}
.ba-flow s{width:26px;height:2px;text-decoration:none;
  background:repeating-linear-gradient(90deg,var(--accent) 0 5px,transparent 5px 9px);animation:dashmove 1s linear infinite}
@keyframes dashmove{to{background-position:-18px 0}}
.ba-flow em{width:100%;text-align:center;font:italic 400 11.5px var(--body);color:#6B6E7B;margin-top:8px}
.ba-handle{position:absolute;top:0;bottom:0;left:var(--pos);width:0;z-index:5}
.ba-handle::before{content:"";position:absolute;left:-1px;top:0;bottom:0;width:2px;background:var(--accent)}
.ba-handle span{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;
  background:#fff;border:2px solid var(--accent);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;
  font-size:16px;box-shadow:0 10px 26px -8px rgba(124,92,255,.55)}
/* after-side storytelling rows */
.ba-story{display:flex;flex-direction:column;gap:16px;max-width:560px;margin:0 auto}
.ba-srow{text-align:left}
.ba-lbl{display:block;font:600 10.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;
  color:#8A7DC9;margin-bottom:9px}
.ba-srow .ba-orbit{justify-content:flex-start;max-width:none;margin:0}
.ba-keeps{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ba-keep{width:34px;height:34px;border-radius:9px;background:#fff;border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 14px -8px rgba(16,19,33,.25)}
.ba-keep img{width:18px;height:18px;object-fit:contain}
.kdash{width:26px;height:2px;
  background:repeating-linear-gradient(90deg,#B9A5FF 0 5px,transparent 5px 9px);animation:dashmove 1.1s linear infinite}
.ba-keep-note{font:italic 400 11.5px var(--body);color:#6B6E7B;margin-left:4px}

/* resources-per-plan statement strip */
.alloc{display:flex;gap:14px;align-items:flex-start;background:var(--accent-soft);border:1px solid #DDD6FB;
  border-radius:14px;padding:16px 20px;margin:0 0 26px}
.alloc i{font-size:20px;color:var(--accent-deep);margin-top:1px}
.alloc p{margin:0;font-size:14px;line-height:1.6;color:#3B3565}
.alloc b{color:var(--accent-deep)}

/* ICP tabs above the demo */
.icp-tabs{display:flex;align-items:center;gap:8px;justify-content:center;margin:0 0 18px;flex-wrap:wrap}
.icp-lbl{font:600 11px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#6B6E7B;margin-right:4px}
.icp-tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 18px;
  font:600 13.5px var(--body);color:var(--muted);cursor:pointer;transition:all .2s}
.icp-tab:hover{border-color:var(--accent-deep);color:var(--accent-deep)}
.icp-tab.on{background:var(--accent-soft);color:var(--accent-deep);border-color:#D6CCFF;font-weight:600}

/* mini workflow builder (automations bento) — mirrors the real flow editor */
.wf{display:flex;flex-direction:column;align-items:center;background:
  radial-gradient(rgba(16,19,33,.06) 1px,transparent 1.4px) 0 0/16px 16px,#FAFAF8;
  border:1px solid #F0F0EC;border-radius:12px;padding:11px 14px}
.wf-node{display:flex;align-items:center;gap:10px;width:210px;background:#fff;border:1px solid var(--line);
  border-radius:12px;padding:8px 12px;box-shadow:0 8px 18px -12px rgba(16,19,33,.25)}
.wf-ic{width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--c,#6366F1) 14%,#fff);
  color:var(--c,#6366F1);display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.wf-t b{display:block;font:600 12.5px var(--body);color:var(--ink)}
.wf-t em{font:400 10.5px var(--body);font-style:normal;color:#6B6E7B}
.wf-link{display:flex;flex-direction:column;align-items:center}
.wf-link i{width:2px;height:9px;background:repeating-linear-gradient(180deg,#C4B8F2 0 4px,transparent 4px 8px)}
.wf-link u{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);background:#fff;
  color:#6B6E7B;font-size:11px;text-decoration:none;display:flex;align-items:center;justify-content:center;margin:1px 0}
.wf-end{display:inline-flex;align-items:center;gap:6px;font:600 12px var(--body);color:#6B6E7B;
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;margin-top:2px}

/* apps bento: copy left, live UI panel right */
.brow.cols{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.bpanel{border:1px solid var(--line);border-radius:14px;background:#FCFCFB;padding:14px 16px}
.bpanel-bar{display:flex;align-items:center;gap:8px}
.albl2{font:600 13px var(--display)}

/* apps card: full build-mode window — prompt → build → published */
.bs-head{display:flex;gap:26px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.bs-head>div:first-child{max-width:560px}
.bs-steps{display:flex;gap:8px;flex-wrap:wrap}
.bs-steps span{display:inline-flex;align-items:center;gap:7px;font:600 12px var(--body);color:#3B3E52;
  border:1px solid var(--line);background:#FCFCFB;border-radius:999px;padding:6px 13px}
.bs-steps b{width:17px;height:17px;border-radius:50%;background:linear-gradient(120deg,var(--accent-deep),var(--accent));
  color:#fff;font:700 10px var(--body);display:inline-flex;align-items:center;justify-content:center}
.bwin{border:1px solid #E3E0F5;border-radius:14px;overflow:hidden;background:#fff;
  box-shadow:0 24px 55px -32px rgba(60,40,160,.35)}
.bwin-bar{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid var(--line);background:#FCFCFB}
.bwin-app{display:inline-flex;align-items:center;gap:7px;font:600 13px var(--display)}
.bwin-app i{color:#6366F1}
.bwin-url{margin-left:auto;font:500 11px var(--mono);color:#A5A3BC;background:#F4F4F1;border-radius:7px;padding:4px 12px}
.bwin-body{display:grid;grid-template-columns:1.15fr .85fr}
.bwin-preview{padding:16px 18px;background:
  radial-gradient(rgba(16,19,33,.05) 1px,transparent 1.4px) 0 0/16px 16px,#FBFBFE}
.bs-app-h{display:flex;align-items:center;gap:7px;font:600 13px var(--display);margin-bottom:10px}
.bs-app-h i{color:#6366F1}
.ck{list-style:none;padding:0;margin:0;max-width:380px}
.ck li{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:9px;
  padding:9px 12px;margin-bottom:7px;font:500 13px var(--body);color:#33353D}
.ck li i{font-size:15px;color:#C4C5CC}
.ck li.done i{color:var(--good)}
.ck li em{margin-left:auto;font:italic 400 10.5px var(--body);color:#6B6E7B}
.bwin-toast{display:inline-flex;align-items:center;gap:7px;margin-top:10px;font:600 12px var(--body);color:var(--good);
  background:var(--good-soft);border:1px solid #CBE8DA;border-radius:9px;padding:7px 13px;animation:scenein .4s ease}
.bwin-toast i{font-size:14px}
.bwin-agent{border-left:1px solid var(--line);padding:14px 16px;display:flex;flex-direction:column}
.bwin-ahead{display:flex;align-items:center;gap:8px;font:600 13px var(--display)}
.bwin-agent .msg{font-size:12px;padding:8px 11px}
.bwin-agent .ap-input{margin-left:0;margin-right:0}
@media (max-width:820px){.bwin-body{grid-template-columns:1fr}.bwin-agent{border-left:0;border-top:1px solid var(--line)}.bwin-url{display:none}}

/* orb card: shared-by consumers — balanced composition */
.bcard .orbwrap{flex:1;padding:12px 0}
.bcard .orb{width:116px;height:116px}
.bcard .orb-note{margin-top:auto;padding-top:12px}
.orbcol.shared{gap:10px}
.share-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #E4E0F7;background:#fff;
  border-radius:999px;padding:7px 13px;font:600 12px var(--body);color:#33353D;
  animation:tilepulse 3s ease-in-out infinite}
.share-chip:nth-child(2){animation-delay:.5s}
.share-chip:nth-child(3){animation-delay:1s}
.share-chip i{color:var(--accent-deep);font-size:14px}
.orb-note{font:italic 400 12px var(--body);color:#6B6E7B;text-align:center;margin:12px 0 0}


/* build window: studio rail + preview toolbar + picker (exact-UI mock) */
.bwin-body.rail3{grid-template-columns:148px 1fr 300px;height:392px}
.bwin-rail{border-right:1px solid var(--line);background:#FCFCFB;padding:10px 8px;display:flex;flex-direction:column;gap:1px}
.brl{display:flex;align-items:center;gap:8px;font:500 11.5px var(--body);color:#5C5F6B;border-radius:7px;padding:6px 8px;white-space:nowrap}
.brl i{font-size:13px;color:#6B6E7B}
.brl.on{background:#EFEFEC;color:var(--ink);font-weight:600}
.brl.on i{color:var(--accent-deep)}
.bwin-more{margin-left:6px;color:#6B6E7B}
.bwin-tools{display:flex;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid var(--line);background:#fff}
.bwin-tools>i{font-size:14px;color:#6B6E7B}
.bwin-sel{display:inline-flex;align-items:center;gap:6px;font:500 11.5px var(--body);color:#33353D;border:1px solid var(--line);border-radius:8px;padding:4px 10px}
.bwin-urlpill{flex:1;display:inline-flex;align-items:center;gap:7px;font:500 10.5px var(--mono);color:#6B6E7B;
  border:1px solid var(--line);border-radius:9px;padding:5px 11px;overflow:hidden;white-space:nowrap}
.bwin-urlpill u{width:7px;height:7px;border-radius:50%;background:#22C55E;text-decoration:none;flex-shrink:0}
.bwin-urlpill b{font:600 9.5px var(--mono);color:#6B6E7B;background:#F0F0EC;border-radius:4px;padding:1px 6px}
.bwin-px{font:500 10.5px var(--mono);color:#6B6E7B;background:#F4F4F1;border-radius:6px;padding:4px 8px}
.newcol{background:#F6F3FF;color:var(--accent-deep)!important}
th.newcol{color:var(--accent-deep)!important}
.pick-chip{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font:500 10.5px var(--mono);
  color:var(--accent-deep);background:var(--accent-soft);border:1px solid #DDD6FB;border-radius:7px;padding:4px 9px;margin-bottom:2px}
.pick-chip i{font-size:11px}
.bwin-aicons{margin-left:auto;display:inline-flex;gap:8px;color:#6B6E7B}
.bwin-aicons i{font-size:13px}
.bwin-agent .ap-input i.ri-cursor-line,.bwin-agent .ap-input i.ri-mic-line{font-size:14px;color:#6B6E7B}
@media (max-width:960px){.bwin-body.rail3{grid-template-columns:1fr}.bwin-rail{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}}


/* dashboard artifact: chart + side widget */
.dash-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}
.dash-widget{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff}
.dash-wh{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;
  font:600 12px var(--display);color:#3B3E52}
.dash-wh em{font:600 10px var(--mono);font-style:normal;color:#A5A3BC}
.dash-wh em.up{color:var(--good)}
.dash-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.dash-list li{display:flex;align-items:center;justify-content:space-between;font:500 12px var(--body);color:#3B3E52}
.dash-list li span{display:inline-flex;align-items:center;gap:9px}
.dash-list li span b{width:18px;height:18px;border-radius:5px;background:var(--accent-soft);color:var(--accent-deep);
  font:700 10px var(--mono);display:inline-flex;align-items:center;justify-content:center}
.dash-list li em{font:600 12px var(--display);font-style:normal}
@media (max-width:640px){.dash-grid{grid-template-columns:1fr}}


/* App Studio is a FULL-SCREEN takeover: it REPLACES the platform sidebar with
   its own rail (Preview / Code / … ), exactly like the real product — the
   New Chat / apps sidebar is gone while you're building. */
.d-scene[data-scene="studio"]{padding:0}
.d-scene[data-scene="studio"] .bwin{flex:1;display:flex;flex-direction:column;min-height:0;border:0;border-radius:0}
.d-scene[data-scene="studio"] .bwin-body.rail3{height:auto;flex:1;min-height:0;grid-template-columns:156px 1fr 300px}
/* hide the floating UniAgent launcher in full-screen chat & App Studio (build mode) */

/* demo App Studio scene — two-pane editor (preview + grey-isolated agent) */
.d-studio{display:grid;grid-template-columns:1fr 232px;gap:0;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;background:#fff;flex:1;min-height:320px}
.ds-preview{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line)}
.ds-canvas{flex:1;overflow-y:auto;padding:14px 16px;
  background:radial-gradient(circle at 1px 1px,#E7E7EF 1px,transparent 0) 0 0/16px 16px,#FBFBFE}
.ds-rows{display:flex;flex-direction:column;gap:8px}
.ds-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;font:500 12px var(--body);color:#3B3E52;box-shadow:0 1px 2px rgba(16,19,33,.04)}
.ds-row .ds-lbl{flex:1;min-width:0}
.ds-row .ds-lbl b{color:var(--accent-deep)}
.ds-row.new{border-color:#DDD6FB;background:linear-gradient(0deg,var(--accent-soft),#fff)}
.ds-ck{width:18px;height:18px;border-radius:6px;border:1.5px solid #C8C9D4;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center}
.ds-ck.on{background:var(--good);border-color:var(--good)}
.ds-ck i{color:#fff;font-size:12px}
.ds-build{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font:600 11px var(--body);color:var(--accent-deep);
  background:var(--accent-soft);border-radius:8px;padding:7px 11px;align-self:flex-start}
.d-studio .bwin-agent{border-radius:0;display:flex}
.d-studio .bwin-agent-panel{flex:1;display:flex;flex-direction:column}
.ds-chat{flex:1;overflow-y:auto;min-height:0}
/* sample-app: health/status list rows (e.g. churn tracker) */
.ds-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;background:var(--c,#94A3B8)}
.ds-row .ds-lbl em{font-style:normal;color:#6B6E7B;font-weight:500;margin-left:7px;font-size:11px}
/* sample-app: intake form fields */
.ds-field{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 13px}
.ds-field label{width:70px;flex-shrink:0;font:600 10px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#6B6E7B}
.ds-field .ds-inp{flex:1;display:flex;align-items:center;justify-content:space-between;font:500 12.5px var(--body);color:#33353D}
.ds-field .ds-inp i{color:#6B6E7B;font-size:15px}
.ds-submit{align-self:flex-start;margin-top:4px;border:0;color:#fff;font:600 12px var(--body);border-radius:9px;
  padding:9px 16px;cursor:pointer;background:linear-gradient(120deg,var(--accent-deep),var(--accent));
  box-shadow:0 8px 20px -10px rgba(124,92,255,.6)}
@media (max-width:820px){.d-studio{grid-template-columns:1fr;height:auto}.d-studio .bwin-agent{border-top:1px solid var(--line)}}

.d-studio .ap-input{flex-wrap:nowrap}
.d-studio .ap-input i,.d-studio .ap-input .dd-plus,.d-studio .ap-input .dd-auto,.d-studio .ap-input .dh-send{flex-shrink:0}

/* orb card: traveling pulses + breathing orb */
.bcard .orb{animation:orbbreathe 5s ease-in-out infinite}
@keyframes orbbreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
.conns i{position:relative;overflow:visible}
.conns i::after{content:"";position:absolute;top:50%;left:0;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 8px 2px rgba(124,92,255,.5);opacity:0;
  animation:packet 2.6s cubic-bezier(.4,.1,.6,.9) infinite}
.conns i:nth-child(2)::after{animation-delay:.45s}
.conns i:nth-child(3)::after{animation-delay:.9s}
.conns i.rev::after{animation-delay:1.3s}
.conns i.rev:nth-child(2)::after{animation-delay:1.75s}
.conns i.rev:nth-child(3)::after{animation-delay:2.2s}
@keyframes packet{0%{left:0;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:calc(100% - 7px);opacity:0}}
@media (prefers-reduced-motion:reduce){.conns i::after{animation:none;opacity:0}.bcard .orb{animation:none}}


/* compact density to match the real editor */
.bwin-agent{padding:10px 12px}
.bwin-agent .bchat{gap:7px}
.bwin-agent .msg{font-size:11px;padding:7px 10px;border-radius:11px;line-height:1.45}
.bwin-ahead{font-size:12px}
.bwin-aicons{gap:6px}
.bwin-aicons i{font-size:12px}
.pick-chip{font-size:9.5px;padding:3px 8px}
.bwin-agent .ap-input{font-size:11px;padding:5px 7px 5px 10px;gap:6px;margin-top:10px}
.bwin-tools{padding:6px 10px;gap:7px}
.bwin-urlpill{font-size:10px;padding:4px 9px}
.bwin-sel{font-size:10.5px;padding:3px 8px}
.bwin-px{font-size:10px;padding:3px 7px}
.brl{font-size:11px;padding:5px 7px}
.bwin-bar{padding:7px 12px}
.bwin-app{font-size:12.5px}
.bwin-preview{padding:12px 14px}
.bwin-preview .d-table{font-size:11.5px}
.bwin-preview .d-table th{padding:5px 8px}
.bwin-preview .d-table td{padding:7px 8px}
.bs-app-h{font-size:12px;margin-bottom:8px}
.bwin-toast{font-size:11px;padding:6px 11px;margin-top:8px}
.bwin .bm-pub{font-size:11px;padding:4px 11px}
.bwin .d-chip{font-size:9.5px}

/* step chips animate 1 → 2 → 3 */
.bs-steps span{transition:background .3s,color .3s,border-color .3s,box-shadow .3s}
.bs-steps span.act{background:linear-gradient(120deg,var(--accent-deep),var(--accent));color:#fff;border-color:transparent;
  box-shadow:0 8px 20px -10px rgba(124,92,255,.6)}
.bs-steps span.act b{background:#fff;color:var(--accent-deep)}

/* security card: two examples side by side */
.sec2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sec2 .msg{font-size:12px;padding:8px 11px}
@media (max-width:820px){.sec2{grid-template-columns:1fr}}


/* orb card wide: centered, long connection lines so the pulses travel */
.orbcard .orbwrap.big{justify-content:center;gap:0;padding:22px 0 10px;margin-top:6px}
.orbcard .orbwrap.big .orb{width:168px;height:168px}
.orbcard .orbwrap.big .orb-ic{width:46px;height:46px}
.orbcard .orbwrap.big .orb-ic img{width:23px;height:23px}
.orbcard .orbwrap.big .conns{flex:0 0 108px;max-width:108px;gap:46px;margin:0 8px}
.orbcard .orbwrap.big .share-chip{padding:10px 16px;font-size:13px}
.orbcard .orbwrap.big .orbcol{gap:36px}
@media (max-width:820px){.orbcard .orbwrap.big .conns{flex-basis:56px;max-width:56px}.orbcard .orbwrap.big .orb{width:130px;height:130px}}

/* security card single width: examples stack */
.sec1{display:flex;flex-direction:column;gap:10px}
.sec1 .msg{font-size:12px;padding:8px 11px}

/* UniAgent build-mode pane — flush, tinted to match the fake-browser header (#FAFAFE) */
.bwin-agent{background:#FAFAFE;padding:0}
.bwin-agent-panel{background:#FAFAFE;border:0;border-radius:0;box-shadow:none;
  padding:0;height:100%;display:flex;flex-direction:column}
.bwin-agent-panel .bwin-ahead{padding:13px 15px;border-bottom:1px solid var(--line);margin:0}
.bwin-agent-panel .bchat,.bwin-agent-panel #bwin-chat{flex:1;overflow-y:auto;min-height:0;padding:14px 15px 4px;margin:0}
.bwin-agent-panel .ap-input{margin:8px 15px 14px;background:#fff}



/* stable build-window height: panes scroll internally, no growth per phase */
.bwin-main{display:flex;flex-direction:column;min-height:0}
.bwin-preview{flex:1;overflow-y:auto}
.bwin-agent-panel #bwin-chat{overflow-y:auto;min-height:0}

/* build-window driven phases (Describe → Build → Publish) */
.bwin-build{display:none;align-items:center;gap:8px;margin-top:8px;font:600 11px var(--body);color:var(--accent-deep);
  background:var(--accent-soft);border:1px solid #DDD6FB;border-radius:9px;padding:7px 12px}
.bwin.building .bwin-build{display:inline-flex}
.bwin-spin{width:12px;height:12px;border-radius:50%;flex-shrink:0;
  background:conic-gradient(var(--accent) 40%,#DDD6FB 0);-webkit-mask:radial-gradient(circle,transparent 3px,#000 3.5px);
  mask:radial-gradient(circle,transparent 3px,#000 3.5px);animation:spin 1s linear infinite}
.bwin-toast{display:none}
.bwin.published .bwin-toast{display:inline-flex}
.bwin-ph{color:#A5A3BC;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bwin-ph.typing{color:#33353D}
.bwin-ph .cur{display:inline-block;width:1px;height:12px;background:var(--accent);vertical-align:-2px;margin-left:1px;animation:blink 1s steps(1) infinite}
#bwin-pub.done{background:var(--good);pointer-events:none}
#bwin-branch.live{color:var(--good)}

/* pricing comparison table (/pricing/) */
.cmp-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:#fff}
.cmp{width:100%;border-collapse:collapse;font-size:13.5px;min-width:760px}
.cmp th{font:600 13px var(--display);text-align:left;padding:14px 16px;border-bottom:2px solid var(--ink);vertical-align:top}
.cmp th em{display:block;font:500 11px var(--mono);font-style:normal;color:var(--muted);margin-top:3px}
.cmp th.hot,.cmp td.hot{background:var(--accent-soft)}
.cmp td{padding:10px 16px;border-bottom:1px solid #F1F0F8;color:#33353D}
.cmp td:first-child{color:var(--ink);font-weight:500}
.cmp tr.grp td{font:600 10.5px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#6B6E7B;
  background:#FAFAF8;padding:10px 16px 6px}

/* build-mode row inside the App Studio bento card */
.bmrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;border-top:1px dashed #E4E0F7;padding-top:12px}
.bm-chip{font:700 9.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent-deep);
  background:var(--accent-soft);border-radius:5px;padding:3px 8px}
.bm-pill{font:500 11.5px var(--body);color:#33353D;border:1px solid var(--line);border-radius:999px;padding:4px 11px}
.bm-pub{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font:600 11.5px var(--body);color:#fff;
  background:linear-gradient(120deg,var(--accent-deep),var(--accent));border-radius:8px;padding:5px 12px}

.compute-points{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cp{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:20px}
.cp b{font:600 15px var(--display);display:block;margin-bottom:6px}
.cp p{font-size:13.5px;color:var(--muted);margin:0}

/* ── storybook ───────────────────────────────────────── */
.story{background:linear-gradient(#FBFBFE,#F5F4FC 12%,#F5F4FC 88%,#FBFBFE)}
.story-track{height:330vh;position:relative}
.story-sticky{position:sticky;top:0;height:100vh;overflow:hidden;display:grid;
  grid-template-columns:1fr 1fr;align-items:center;max-width:1180px;margin:0 auto;padding:0 24px;gap:20px}
.story-stage{position:relative;height:min(560px,72vh)}
.tiles{position:absolute;inset:0}
.tile{position:absolute;left:50%;top:50%;width:118px;padding:12px 10px 10px;border-radius:14px;
  background:var(--card);border:1px solid var(--line);box-shadow:0 14px 34px -18px rgba(16,19,33,.28);
  display:flex;flex-direction:column;align-items:center;gap:3px;
  transition:transform 1s cubic-bezier(.25,.8,.25,1),opacity .8s,filter .8s;will-change:transform}
.t-img{width:26px;height:26px;object-fit:contain}
.t-n{font:600 12px var(--display);letter-spacing:.01em}
.hub-core{position:absolute;left:50%;top:50%;width:84px;height:84px;transform:translate(-50%,-50%) scale(0);
  border-radius:24px;background:#fff;border:1px solid #E3E0F5;
  display:flex;align-items:center;justify-content:center;box-shadow:0 20px 50px -12px rgba(124,92,255,.55),0 0 0 10px rgba(124,92,255,.07);
  transition:transform .9s cubic-bezier(.3,1.4,.4,1)}
.hub-core img{display:block}
.chat-card{position:absolute;left:50%;top:50%;width:min(400px,92%);transform:translate(-50%,-42%) scale(.92);
  opacity:0;transition:opacity .7s,transform .7s;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:18px;box-shadow:0 30px 70px -30px rgba(16,19,33,.4)}
.chat-q{display:flex;align-items:center;gap:10px;font:500 14.5px var(--body);color:var(--ink);
  background:var(--accent-soft);border-radius:12px;padding:12px 14px;margin-bottom:12px}
.chat-a{font:400 14px var(--body);color:var(--muted);background:#F7F7FA;border-radius:12px;padding:12px 14px;line-height:1.55}
.chat-a b{color:var(--accent-deep);font-family:var(--display);margin-right:6px}

/* AI-copilot price badge (chapter 2: AI subscription fatigue) */
.t-ai{position:absolute;top:-10px;right:-14px;font:700 9.5px var(--mono);color:#fff;
  background:linear-gradient(120deg,#7C5CFF,#A78BFA);border-radius:999px;padding:3px 8px;
  box-shadow:0 6px 14px -6px rgba(124,92,255,.6);
  opacity:0;transform:scale(.4) rotate(8deg);
  transition:opacity .45s,transform .45s cubic-bezier(.3,1.6,.4,1);transition-delay:calc(var(--i)*110ms)}

/* our NATIVE apps ring in around the hub (chapter 3) */
.native .n-tile{position:absolute;left:50%;top:50%;display:flex;align-items:center;gap:7px;
  background:#fff;border:1px solid #E4E0F7;border-radius:11px;padding:8px 13px;
  font:600 12.5px var(--body);color:#33353D;white-space:nowrap;
  box-shadow:0 14px 30px -16px rgba(124,92,255,.45);
  opacity:0;transform:translate(-50%,-50%) scale(.3);
  transition:opacity .5s,transform .6s cubic-bezier(.3,1.5,.4,1);transition-delay:calc(150ms + var(--i)*90ms)}
.native .n-tile i{width:22px;height:22px;border-radius:6px;background:var(--c,#6366F1);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:13px}

/* LAYERED CIRCLES (chapter 3): inner circle = your apps · outer orbit = integrations */
.iring{position:absolute;left:50%;top:50%;width:434px;height:434px;
  transform:translate(-50%,-50%) scale(.9);border:1.5px solid rgba(124,92,255,.28);border-radius:50%;
  background:radial-gradient(circle, rgba(124,92,255,.05), transparent 68%);
  opacity:0;transition:opacity .55s .35s,transform .65s .35s cubic-bezier(.3,1.3,.4,1)}
.iring-tag{position:absolute;left:50%;bottom:-11px;transform:translateX(-50%);white-space:nowrap;
  font:600 10px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep);
  background:#fff;border:1px solid #DDD6FB;border-radius:999px;padding:4px 12px}
.oring{position:absolute;left:50%;top:50%;width:520px;height:520px;
  transform:translate(-50%,-50%) scale(.88);border:1.5px dashed #C4B8F2;border-radius:50%;
  opacity:0;transition:opacity .6s .6s,transform .7s .6s cubic-bezier(.3,1.3,.4,1)}
.oring-tag{position:absolute;left:50%;top:-12px;transform:translateX(-50%);white-space:nowrap;
  font:600 10px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#7C6DC4;
  background:#F1EDFF;border:1px solid #DDD6FB;border-radius:999px;padding:4px 12px}
.oring-ic{position:absolute;left:50%;top:50%;margin:-21px 0 0 -21px;transform:translate(var(--ox),var(--oy));
  animation:orbfloat 4.5s ease-in-out infinite;animation-delay:var(--fd,0s)}
.oring-ic img{width:42px;height:42px;object-fit:contain;background:#fff;border:1px solid #E4E0F7;
  border-radius:12px;padding:8px;box-shadow:0 12px 26px -12px rgba(124,92,255,.5)}
@keyframes orbfloat{0%,100%{margin-top:-21px}50%{margin-top:-27px}}
.story[data-chapter="2"] .iring{opacity:1;transform:translate(-50%,-50%) scale(1)}
.story[data-chapter="2"] .oring{opacity:1;transform:translate(-50%,-50%) scale(1)}

/* chapter states — sprawl → AI tax → one platform */
.story .tile{transform:translate(-50%,-50%) translate(var(--sx),var(--sy)) rotate(var(--r))}
.story[data-chapter="1"] .tile{transform:translate(-50%,-50%) translate(var(--sx),var(--sy)) rotate(0deg);
  filter:grayscale(.3)}
.story[data-chapter="1"] .t-ai{opacity:1;transform:scale(1) rotate(0deg)}
.story[data-chapter="2"] .tile{transform:translate(-50%,-50%) translate(calc(var(--sx)*1.8),calc(var(--sy)*1.8)) scale(.5);
  opacity:0;transition-delay:calc(var(--i)*40ms)}
.story[data-chapter="2"] .hub-core{transform:translate(-50%,-50%) scale(1)}
.story[data-chapter="2"] .n-tile{opacity:1;transform:translate(-50%,-50%) translate(var(--nx),var(--ny)) scale(1)}

/* chapter copy crossfade */
.story-copy{position:relative;min-height:300px;z-index:2}
.chapter{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;
  opacity:0;transform:translateY(18px);transition:opacity .5s,transform .5s;pointer-events:none}
.chapter h2{font-size:clamp(28px,3.6vw,40px);line-height:1.12;font-weight:600;margin:0 0 12px}
.chapter p{color:var(--muted);font-size:16.5px;max-width:34em}
.story[data-chapter="0"] .chapter[data-ch="0"],
.story[data-chapter="1"] .chapter[data-ch="1"],
.story[data-chapter="2"] .chapter[data-ch="2"],
.story[data-chapter="3"] .chapter[data-ch="3"]{opacity:1;transform:none;pointer-events:auto}
.story-dots{position:absolute;right:26px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px}
.story-dots i{width:7px;height:7px;border-radius:50%;background:#CFCFE0;transition:background .3s,height .3s;display:block}
.story-dots i.on{background:var(--accent);height:20px;border-radius:5px}

/* ── features ────────────────────────────────────────── */
.features{padding:110px 0 70px}
.cluster{font-size:15px;font-weight:600;letter-spacing:.04em;color:var(--ink);margin:44px 0 16px}
.fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px;
  transition:transform .25s,box-shadow .25s,border-color .25s}
.fcard:hover{transform:translateY(-4px);border-color:#D6CCFF;box-shadow:0 22px 44px -24px rgba(124,92,255,.35)}
.fic{width:40px;height:40px;border-radius:11px;background:var(--accent-soft);display:flex;align-items:center;
  justify-content:center;font-size:20px;margin-bottom:14px}
.fcard h3{font:600 15.5px var(--display);letter-spacing:-.01em;margin:0 0 8px}
.fcard p{font-size:13.5px;line-height:1.55;color:var(--muted);margin:0}

/* ── "Coming soon" badge (stealth beta) ──────────────── */
.soon{display:inline-block;font:600 10px var(--mono);letter-spacing:.08em;text-transform:uppercase;
  color:#92600A;background:#FCF0DC;border:1px solid #F2DFBB;border-radius:5px;padding:2px 8px;
  vertical-align:2px;white-space:nowrap}

/* ── feature-page rows (alternating copy + visual) ───── */
.frow{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:36px 0;
  border-bottom:1px solid var(--line)}
.frow:last-child{border-bottom:0}
.frow.rev .frow-copy{order:2}
.frow.rev .frow-viz{order:1}
.frow-copy p{color:var(--muted);font-size:15px;max-width:40em}
.frow-viz{display:flex;justify-content:center}
.frow-viz>.bviz{width:100%;max-width:440px}
@media (max-width:820px){.frow{grid-template-columns:1fr;gap:20px}.frow.rev .frow-copy{order:1}.frow.rev .frow-viz{order:2}}

/* ── bento feature cards with live micro-demos ───────── */
.bento{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
.bcard{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px 24px 22px;
  overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column}
.bcard:hover{transform:translateY(-3px);border-color:#D6CCFF;box-shadow:0 26px 50px -28px rgba(124,92,255,.4)}
.bcard.w2{grid-column:span 2}
.bcard.w3{grid-column:span 3}
.bcard h3{font:600 19px var(--display);letter-spacing:-.01em;margin:0 0 6px}
.bcard>p{font-size:13.5px;color:var(--muted);margin:0}
.bviz{margin-top:18px}
.lm{display:inline-block;font:600 13px var(--body);color:var(--accent-deep);text-decoration:none;margin-top:8px}
.lm:hover{text-decoration:underline}
.bchat{display:flex;flex-direction:column;gap:9px;max-width:560px}
#uniagent-card .bviz.bchat{flex:1;justify-content:center;gap:14px;max-width:none}
#uniagent-card .bchat .msg{font-size:13.5px;padding:11px 15px}
.bchat .msg{font-size:12.5px;padding:9px 13px}
.msg.agent.deny{border-color:#F3C8C4;background:#FDF6F5}
.shield{align-self:flex-start;font:600 11px var(--mono);color:var(--good);background:var(--good-soft);
  border-radius:6px;padding:5px 10px;margin-top:4px}
.d-prompt.sm{font-size:13px;padding:11px 13px;margin-bottom:12px}
.suggest{display:inline-block;font:600 11px var(--mono);color:var(--accent-deep);background:var(--accent-soft);
  border-radius:6px;padding:4px 10px;margin-bottom:12px;animation:suggestpulse 2.6s ease-in-out infinite}
@keyframes suggestpulse{0%,100%{box-shadow:0 0 0 0 rgba(124,92,255,0)}50%{box-shadow:0 0 0 6px rgba(124,92,255,.14)}}
.ba-flow.left{justify-content:flex-start;margin:0}
.approve{display:flex;gap:8px;margin-top:14px}
.chip-ok,.chip-no{font:600 12px var(--body);border-radius:8px;padding:6px 14px;cursor:default}
.chip-ok{color:#fff;background:linear-gradient(120deg,var(--accent-deep),var(--accent))}
.chip-no{color:var(--muted);border:1px solid var(--line)}
.brow{display:flex;align-items:center;gap:30px;justify-content:space-between;flex-wrap:wrap}
.btiles{display:flex;flex-wrap:wrap;gap:10px;max-width:560px}

/* integrations orb — nebula sphere, ours (light theme) */
.orbwrap{display:flex;align-items:center;justify-content:center;gap:0;padding:6px 0 2px}
.orbcol{display:flex;flex-direction:column;gap:30px}
.orb-ic{width:40px;height:40px;border-radius:11px;background:#fff;border:1px solid var(--line);
  box-shadow:0 8px 18px -10px rgba(16,19,33,.3);display:flex;align-items:center;justify-content:center}
.orb-ic img{width:20px;height:20px;object-fit:contain}
.conns{display:flex;flex-direction:column;gap:36px;flex:1;max-width:52px;margin:0 6px}
.conns i{height:2px;background:repeating-linear-gradient(90deg,#B9A5FF 0 5px,transparent 5px 9px);
  animation:dashmove 1.1s linear infinite}
.conns i.rev{animation-direction:reverse}
.orb{width:132px;height:132px;border-radius:50%;position:relative;flex-shrink:0;
  background:
    radial-gradient(circle at 30% 26%, #fff, rgba(255,255,255,0) 48%),
    radial-gradient(circle at 74% 78%, rgba(124,92,255,.32), transparent 62%),
    radial-gradient(circle at 50% 46%, #F6F3FE 0%, #E7E0FC 52%, #D5C9F8 100%);
  box-shadow:inset -9px -12px 26px rgba(124,92,255,.18),inset 7px 9px 20px rgba(255,255,255,.95),
    0 20px 42px -18px rgba(124,92,255,.45),0 0 0 1px rgba(124,92,255,.10)}
.orb::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:
    radial-gradient(1.5px 1.5px at 24% 38%, rgba(124,92,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 60% 22%, rgba(124,92,255,.42), transparent),
    radial-gradient(1.6px 1.6px at 74% 58%, rgba(91,61,245,.45), transparent),
    radial-gradient(1.2px 1.2px at 42% 72%, rgba(124,92,255,.38), transparent),
    radial-gradient(1.4px 1.4px at 56% 50%, rgba(91,61,245,.5), transparent),
    radial-gradient(1.1px 1.1px at 33% 57%, rgba(124,92,255,.4), transparent)}
.orb::after{content:"";position:absolute;inset:-2px;border-radius:50%;
  background:conic-gradient(from 0deg, transparent 0 68%, rgba(124,92,255,.55) 80%, rgba(94,196,255,.4) 88%, transparent 96%);
  animation:orbspin 5s linear infinite;
  -webkit-mask:radial-gradient(circle, transparent 58%, #000 60%, #000 72%, transparent 74%);
  mask:radial-gradient(circle, transparent 58%, #000 60%, #000 72%, transparent 74%)}
@keyframes orbspin{to{transform:rotate(1turn)}}

/* ── demos ───────────────────────────────────────────── */
.demos{padding:80px 0 100px;background:linear-gradient(#FBFBFE,#F5F4FC 30%,#FBFBFE)}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 26px}
.tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 18px;
  font:600 13.5px var(--body);color:var(--muted);cursor:pointer;transition:all .2s}
.tabs button:hover{border-color:var(--accent-deep);color:var(--accent-deep)}
.tabs button.on{background:linear-gradient(120deg,var(--accent-deep),var(--accent));color:#fff;border-color:transparent;
  box-shadow:0 8px 22px -10px rgba(124,92,255,.6)}
.demo-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:center;
  background:var(--card);border:1px solid var(--line);border-radius:18px;padding:34px;
  box-shadow:0 30px 70px -40px rgba(16,19,33,.3)}
.demo-copy h3{font-size:24px;font-weight:600;margin-bottom:10px}
.demo-copy p{color:var(--muted);font-size:15px}
.ticklist{list-style:none;padding:0;margin:14px 0 0}
.ticklist li{position:relative;padding:6px 0 6px 28px;font-size:14.5px;color:#33353F;line-height:1.5}
.ticklist li::before{content:"";position:absolute;left:2px;top:12px;width:12px;height:12px;border-radius:4px;
  background:linear-gradient(135deg,var(--accent-deep),var(--accent))}

/* "See it fit" — product snapshot (no video) */
.demo-video{width:100%}
.fit-snap{border:1px solid #E3E0F5;border-radius:16px;overflow:hidden;background:#fff;
  box-shadow:0 28px 60px -34px rgba(60,40,160,.4)}
.fit-bar{display:flex;align-items:center;gap:12px;padding:11px 16px;background:#FAFAFE;border-bottom:1px solid var(--line)}
.fb-dots{display:inline-flex;gap:6px}
.fb-dots i{width:9px;height:9px;border-radius:50%;background:#E0DEEE}
.fb-dots i:nth-child(1){background:#FF6159}.fb-dots i:nth-child(2){background:#FFBD2E}.fb-dots i:nth-child(3){background:#28C840}
.fb-url{display:inline-flex;align-items:center;gap:6px;font:500 12px var(--mono);color:#6B6E7B}
.fb-live{margin-left:auto;font:700 10.5px var(--mono);letter-spacing:.08em;color:var(--good)}
.fit-body{padding:22px 22px 24px}
.fit-tag{display:inline-flex;align-items:center;gap:8px;font:600 12px var(--mono);letter-spacing:.02em;
  color:var(--c,#6366F1);background:color-mix(in srgb,var(--c,#6366F1) 12%,#fff);
  border:1px solid color-mix(in srgb,var(--c,#6366F1) 26%,#fff);border-radius:999px;padding:6px 13px}
.fit-tag i{font-size:14px}
.fit-outcomes{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.fit-outcomes li{display:flex;align-items:flex-start;gap:11px;font-size:15px;line-height:1.5;color:#33353F}
.fit-outcomes li i{flex-shrink:0;margin-top:2px;width:22px;height:22px;border-radius:7px;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;background:var(--good-soft);color:var(--good)}
.fit-outcomes li i.ri-mic-line{background:var(--accent-soft);color:var(--accent-deep)}
.fit-outcomes li i.ri-shield-check-line{background:var(--accent-soft);color:var(--accent-deep)}
.fit-outcomes li i.ri-price-tag-3-line,.fit-outcomes li i.ri-global-line{background:var(--accent-soft);color:var(--accent-deep)}
.dv-frame{aspect-ratio:16/9;border-radius:14px;border:1px dashed #C9C2EC;background:
  radial-gradient(60% 80% at 50% 40%, rgba(124,92,255,.10), transparent),#F8F7FE;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.dv-play{width:64px;height:64px;border-radius:50%;border:0;cursor:pointer;color:#fff;font-size:20px;
  background:linear-gradient(135deg,var(--accent-deep),var(--accent));
  box-shadow:0 16px 36px -12px rgba(124,92,255,.7);transition:transform .2s}
.dv-play:hover{transform:scale(1.08)}
.dv-note{font:600 12px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#8A86A8}
.demo-video video,.demo-video iframe{width:100%;aspect-ratio:16/9;border-radius:14px;border:0;display:block}

/* ── numbers strip ───────────────────────────────────── */
.numbers{padding:40px 0 30px}
.ngrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.num{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:26px 24px}
.num b{display:block;font:600 38px/1 var(--display);letter-spacing:-.02em;margin-bottom:10px}
.num b span{font-size:17px;color:var(--muted);font-weight:500;margin-left:4px}
.num p{margin:0;font-size:14px;color:var(--muted)}
.num em{font-style:normal;color:var(--good);font-weight:600}

/* ── pricing ─────────────────────────────────────────── */
.pricing{padding:90px 0}
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}
.pcard{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:28px 26px;position:relative}
.pcard.hot{border-color:transparent;background:
  linear-gradient(var(--card),var(--card)) padding-box,
  linear-gradient(135deg,var(--accent-deep),#9E7BFF) border-box;
  border:1.6px solid transparent;box-shadow:0 30px 60px -30px rgba(124,92,255,.45)}
.ptier{font:600 12px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:10px}
.pprice{font:600 42px/1 var(--display);letter-spacing:-.02em;margin-bottom:16px}
.pprice span{font-size:15px;color:var(--muted);font-weight:500}
.pnote{margin-top:26px;font-size:14px;color:var(--muted);max-width:52em}
/* 4-plan grid (the pricing page renders the whole catalog, Enterprise included). */
.pgrid.four{grid-template-columns:repeat(4,1fr);gap:14px}
.pgrid.four .pcard{padding:24px 20px}
.pgrid.four .pprice{font-size:34px}
@media (max-width:1080px){.pgrid.four{grid-template-columns:repeat(2,1fr)}}
/* Minimum-seat badge on a plan card (Premium is min 5). */
.pmin{display:inline-block;background:var(--accent-soft);color:var(--accent-deep);font:600 10px var(--mono);
  letter-spacing:.04em;text-transform:uppercase;padding:3px 7px;border-radius:6px;margin:-8px 0 4px}
/* "Live from our plan catalog" — shown by main.js only once the catalog actually
   answered, so it is never a claim the page cannot back up. */
.plive{display:inline-block;vertical-align:middle;margin-left:8px;font:600 10px var(--mono);letter-spacing:.08em;
  text-transform:uppercase;color:var(--good,#12A150);background:rgba(18,161,80,.09);padding:3px 8px;border-radius:999px}
/* Footnotes that keep the table honest (rolling windows, credits, pooling). */
.pfoot{margin:22px 0 0;padding-left:1.2em;max-width:58em;font-size:13px;line-height:1.6;color:var(--muted)}
.pfoot li{margin-top:8px}
.pfoot b{color:var(--ink);font-weight:600}

/* ── security ────────────────────────────────────────── */
.security{padding:40px 0 90px}
.sec-in{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;
  background:linear-gradient(135deg,#14122B,#241C4F 70%,#2B2160);border-radius:22px;padding:52px 48px;color:#fff}
.sec-in h2{font-size:clamp(26px,3.4vw,36px);line-height:1.15;font-weight:600}
.sec-in .ticklist li{color:#D9D6F2}
.sec-in .ticklist li::before{background:linear-gradient(135deg,#9E7BFF,#C9B8FF)}

/* ── waitlist CTA ────────────────────────────────────── */
.cta{position:relative;padding:110px 0;overflow:hidden;text-align:center}
.cta-in h2{font-size:clamp(30px,4.4vw,46px);font-weight:700;margin-bottom:14px}
.cta-in .lede{margin:0 auto 30px}
.wl-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.wl-form input{width:min(360px,86vw);border:1px solid var(--line);border-radius:10px;padding:13px 16px;
  font:400 15px var(--body);background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.wl-form input:focus{border-color:var(--accent-deep);box-shadow:0 0 0 4px rgba(124,92,255,.18)}
.wl-done{color:var(--good);font-weight:600;margin-top:18px}
.wl-alt{margin-top:18px;font-size:13.5px;color:var(--muted)}
.wl-alt a{color:var(--accent-deep);font-weight:600}

/* ── footer ──────────────────────────────────────────── */
.foot{border-top:1px solid var(--line);padding:30px 0 40px}
.foot-in{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.foot-in p{font-size:13px;color:var(--muted);margin:0 auto 0 0;line-height:1.6}
.foot-co{font-size:12px;color:#8B8EA0}
.foot-in nav{display:flex;gap:18px;flex-wrap:wrap}
.foot-in nav a{font:500 13px var(--body);color:var(--muted);text-decoration:none}
.foot-in nav a:hover{color:var(--ink)}

/* ── responsive ──────────────────────────────────────── */
@media (max-width:960px){
  .fgrid{grid-template-columns:repeat(2,1fr)}
  .bento{grid-template-columns:1fr}
  .bcard.w2,.bcard.w3{grid-column:span 1}
  .ugrid,.compute-points{grid-template-columns:repeat(2,1fr)}
  .browser-body{grid-template-columns:1fr;min-height:0}
  .d-side{flex-direction:row;flex-wrap:wrap;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:4px}
  .d-top{margin:0 8px 0 2px}
  .d-collapse,.d-nav,.d-sec,.d-ws,.d-foot,.d-chatrow,.d-folder{display:none}
  .d-app{width:auto;margin-left:0;font-size:12px;padding:5px 9px}
  .dh-cards{grid-template-columns:1fr!important}
  .d-fab{right:12px;bottom:12px}
  .d-agent{border-left:0;border-top:1px solid var(--line);max-height:280px}
  .story-sticky{grid-template-columns:1fr;grid-template-rows:1fr auto;padding-bottom:40px}
  .story-stage{height:44vh}
  .story-copy{min-height:220px}
  .demo-panel{grid-template-columns:1fr}
  .ngrid,.pgrid,.pgrid.four{grid-template-columns:1fr}
  .sec-in{grid-template-columns:1fr;padding:36px 28px}
  .nav-links{display:none}
  .tile{width:96px}.t-ic{font-size:20px}
}
@media (max-width:560px){.fgrid,.ugrid,.compute-points{grid-template-columns:1fr}.d-cols,.d-kpis{grid-template-columns:1fr}
  .ba{min-height:540px}.ba-apps{grid-template-columns:repeat(2,1fr)}.ba-side{padding:18px 16px}}

/* ── phones: declutter nav, simplify the demo, stack the orb, fit the circles ── */
@media (max-width:640px){
  /* typography downscaling */
  .hero h1{font-size:clamp(32px,8vw,42px)}
  .sect{font-size:clamp(26px,6vw,32px)}
  .lede{font-size:16px}
  .cta-in h2{font-size:clamp(26px,6vw,32px)}
  .sec-in h2{font-size:clamp(24px,6vw,30px)}
  /* nav: keep just the logo + the primary CTA */
  .nav-cta .btn.ghost{display:none}
  /* interactive demo: hide the desktop sidebar + docked drawer; the scene fills the width */
  .d-side{display:none}
  .d-drawer,.d-launch{display:none}
  .d-main{padding:16px 14px}
  /* integrations orb: stack logos -> orb -> chips (drop the horizontal connectors) */
  .orbcard .orbwrap.big{flex-direction:column;gap:14px;padding:14px 0 6px}
  .orbcard .orbwrap.big .conns{display:none}
  .orbcard .orbwrap.big .orbcol{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:14px}
  .orbcard .orbwrap.big .orb{width:120px;height:120px}
  .orbcard .orbwrap.big .share-chip{padding:8px 13px;font-size:12.5px}
  /* storybook layered circles: scale the whole assembly to fit the viewport */
  .story-stage{transform:scale(.66);transform-origin:center}
  /* App Studio demo scene: its 3-col editor overrides the mobile stack — force 1 col */
  .d-scene[data-scene="studio"] .bwin-body.rail3{grid-template-columns:1fr}
  .d-scene[data-scene="studio"] .bwin-agent{border-top:1px solid var(--line)}
  /* demo tables: shrink a touch so more columns fit the phone width */
  .d-table{font-size:12px}
  .d-table th,.d-table td{padding:9px 9px}
}

/* ── reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
  .typed::after{content:""}
}

@media (max-width:640px){
  *, *::before, *::after {
    animation-name: none !important;
  }
}

/* Compute Units Tooltip */
.cu-info {
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: var(--muted);
  margin-left: 4px;
}
.cu-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) scale(0.95) translateY(10px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  padding: 14px;
  width: max-content;
  max-width: 320px;
  text-align: left;
  font: 400 13px var(--body);
  color: var(--ink);
  z-index: 100;
  transition: all 0.2s;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.cu-info:hover .cu-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1) translateY(0);
}
.cu-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.cu-tooltip b { display: block; margin-bottom: 4px; font-weight: 600; }
.cu-tooltip ul { padding-left: 18px; margin: 8px 0; }
.cu-tooltip .cu-foot { margin-top: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.cu-note {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  max-width: 800px;
  margin: 30px auto 0;
  line-height: 1.55;
}

/* ── additions 2026-09: waitlist geometry, /mcp/ page bits ── */
/* connect-your-agent command block — used by /mcp/ only */
.ctabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.ctabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 13px;
  font:600 11.5px var(--body);color:var(--muted);cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.ctabs button:hover{border-color:#D6CCFF;color:var(--ink)}
.ctabs button.on{background:var(--accent-soft);border-color:#D6CCFF;color:var(--accent-deep)}
.cmd{display:flex;align-items:stretch;border:1px solid #E3E0F5;background:#14162A;border-radius:9px;overflow:hidden}
.cmd code{flex:1;min-width:0;padding:12px 14px;font:500 12.5px/1.5 var(--mono);color:#E6E7F5;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.cmd code::-webkit-scrollbar{display:none}
.cmd .copy{display:inline-flex;align-items:center;justify-content:center;width:46px;flex-shrink:0;border:0;
  border-left:1px solid #2A2D4A;background:#1B1E36;color:#C9CBE6;cursor:pointer;font-size:15px}
.cmd .copy:hover{color:#fff;background:#23264A}
.cmd .copy.copied{color:#4ADE80}
@media (max-width:640px){.cmd code{font-size:11.5px;padding:11px 12px}}
.wl-form{flex-direction:column;align-items:center;gap:8px}
.wl-form[hidden]{display:none}
.wl-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
#wl-turnstile{min-height:0;line-height:0}
#wl-turnstile:empty{display:none}
.wl-error{margin:4px 0 0;font-size:13.5px;color:#B42318;font-weight:500}

@media (max-width:900px){.ways{grid-template-columns:1fr}}
.fcard code,.ticklist code,.frow-viz code{font:500 12px var(--mono);color:var(--accent-deep);background:var(--accent-soft);border-radius:5px;padding:1px 6px}
.ticklist li b{font:600 13px var(--mono);color:var(--ink)}

/* ── /mcp/ — the headless page (monid-shaped: one line, then the map) ─────────
 * Added 2026-09; nothing above is edited. The three-way strip (`.ways`) already
 * had its mobile rule in this file from earlier work — it is defined here. */
.pill-live{display:inline-flex;align-items:center;gap:8px;margin:0 auto 18px;padding:6px 14px 6px 12px;
  border:1px solid var(--line);background:var(--card);border-radius:999px;
  font:500 13px/1 var(--body);color:var(--muted);box-shadow:0 1px 2px rgba(16,19,33,.04)}
.pill-live i{width:7px;height:7px;border-radius:50%;background:var(--accent);
  box-shadow:0 0 0 3px rgba(124,92,255,.16)}
.hh-big{font:700 clamp(36px,5.4vw,62px)/1.02 var(--display);letter-spacing:-.025em;margin:0}

.give-lbl{margin:32px 0 0;font:500 17px/1 var(--body);color:var(--ink)}
.give-after{margin:16px 0 0;font:400 17px/1.4 var(--body);color:var(--muted)}

/* the map: centre pill → stretched svg band → the app grid */
.nodemap-sect{padding:26px 0 46px}
.nm-hub{display:flex;justify-content:center}
.nm-centre{display:inline-flex;align-items:center;padding:10px 26px;border-radius:999px;
  background:#14162A;color:#fff;font:600 15px/1 var(--display);letter-spacing:-.01em;
  box-shadow:0 6px 20px rgba(16,19,33,.18)}
.nm-lines{display:block;width:100%;height:64px}
.nm-lines path{fill:none;stroke:var(--line);stroke-width:1.4;vector-effect:non-scaling-stroke}
.nm-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.nm-card{display:flex;align-items:center;gap:10px;padding:12px 13px;background:var(--card);
  border:1px solid var(--line);border-radius:11px;transition:transform .25s,border-color .25s,box-shadow .25s}
.nm-card:hover{transform:translateY(-2px);border-color:#D6CCFF;box-shadow:0 8px 22px rgba(124,92,255,.10)}
.nm-card i{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:8px;font-size:15px;color:var(--c,var(--accent));background:#F3F4FA;
  background:color-mix(in srgb,var(--c,#7C5CFF) 12%,#fff)}
.nm-card b{display:block;font:600 13.5px/1.2 var(--body);color:var(--ink)}
.nm-card em{display:block;font:400 11.5px/1.3 var(--mono);color:var(--muted);font-style:normal}
.nm-tail{max-width:680px;margin:22px auto 0;text-align:center;font-size:14px;color:var(--muted)}
.nm-tail b{color:var(--ink)}

.ways{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
/* the /mcp/ steps row: a class, not an inline grid-template, so the breakpoints below
 * can actually reach it — three cards at 390px is one word per line. */
.fgrid.g3{grid-template-columns:repeat(3,1fr)}
.ways .fcard h3{display:flex;align-items:center;gap:8px}
.ways .fcard h3 i{color:var(--accent-deep)}

/* the one home-page mention: the same copy cell, in the USP strip's idiom */
.headless-strip{border-top:1px solid var(--line);background:var(--card)}
.headless-strip .hs-in{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;padding:44px 0}
.headless-strip .hs-in h2{margin:6px 0 8px;font:600 clamp(22px,2.5vw,30px)/1.15 var(--display);letter-spacing:-.02em}
.headless-strip .hs-in p{margin:0;font-size:15px;color:var(--muted)}
/* Named client chips. The clients are SPELLED OUT rather than shown as logos: we hold no
 * licensed brand marks, and a row of unlabelled Remixicon glyphs was tried and read as
 * grey squares. `.cc-soon` is the honest half — hosted ChatGPT/claude.ai connectors need
 * OAuth that no MCP surface serves yet. */
.clientchips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0;padding:0;list-style:none}
/* still used by the home strip; /mcp/ replaced its copy with the docked tab strip below */
.clientchips li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--line);
  border-radius:999px;background:var(--card);font:500 13px/1 var(--body);color:var(--ink);white-space:nowrap}
.clientchips i{color:var(--accent-deep);font-size:14px}
.clientchips .cc-soon{color:var(--muted)}
.clientchips .cc-soon i{color:var(--muted)}
.clientchips .cc-soon span{font:600 9.5px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;
  color:#92600A;background:#FCF0DC;border-radius:4px;padding:2px 5px}
.clientchips .cc-any{color:var(--muted);border-style:dashed}
.clientchips .cc-any i{color:var(--muted)}

@media (max-width:900px){
  .nm-grid{grid-template-columns:repeat(3,1fr)}
  .nm-lines{height:44px}
  .headless-strip .hs-in{grid-template-columns:1fr;gap:22px}
  .ways,.fgrid.g3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .nm-grid{grid-template-columns:repeat(2,1fr)}
  .clientchips{gap:6px}
  .clientchips li{padding:5px 10px;font-size:12.5px}
  .ways,.fgrid.g3{grid-template-columns:1fr}
  .nm-lines{display:none}
  .nm-hub{margin-bottom:18px}
  .give-lbl,.give-after{font-size:15px}
}





/* ── the demo window's TABS + the web-chat surface ───────────────────────────
 * Round 1 put a second row of pills above the frame ("Work in it: UI / agent")
 * and the agent surface was a terminal. Both read wrong: two pill rows are two
 * controls for one choice, and a CLI reads as a developer artefact when the
 * point is that the chat people already use can run the business. The switch is
 * now the window's own tab strip, and the agent surface is a chat. */
.btabs{display:flex;align-items:flex-end;gap:4px;flex:0 0 auto;margin-bottom:-11px}
.btab{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-bottom-color:transparent;
  background:#F1F1F8;border-radius:9px 9px 0 0;padding:7px 13px 8px;font:500 12.5px var(--body);color:var(--muted);
  cursor:pointer;transition:background .2s,color .2s}
.btab i{font-size:14px}
.btab img{opacity:.55}
.btab:hover{color:var(--ink)}
.btab.on{background:#fff;color:var(--ink);border-color:var(--line);border-bottom-color:#fff}
.btab.on img{opacity:1}
.ub-ic{font-size:12px;color:#9A9DB0;vertical-align:-1px}
@media (max-width:860px){
  .browser-bar{flex-wrap:wrap;gap:8px}
  .btabs{order:3;margin:2px 0 -12px}
  .urlbar{order:2}
}

@media (prefers-reduced-motion:reduce){.wc-l{opacity:1;transform:none}}

/* Both panes set their own `display`, which wins over [hidden]'s display:none — the
 * chat pane rendered under the tour until these two rules existed. */
.browser-body[hidden],.webchat[hidden]{display:none}


/* ── /mcp/ round 2: docked client tabs, the client tier, flow motion ─────────
 * The connect cell had a chip row (clients) + a tab row (formats) + the box —
 * three controls for one copy-paste. Now the tabs ARE the client list and they
 * are docked to the cell they change. */
.connect{max-width:760px;margin:26px auto 0;text-align:left}
.ctabs.docked{gap:6px;margin-bottom:0;position:relative;z-index:1}
.ctabs.docked button{display:inline-flex;align-items:center;gap:6px;border-radius:9px 9px 0 0;
  border-bottom-color:transparent;padding:7px 13px 9px}
.ctabs.docked button i{font-size:14px}
.ctabs.docked button.on{background:#14162A;border-color:#14162A;color:#fff}
.ctabs.docked .tsoon{font:600 9px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#92600A;
  background:#FCF0DC;border-radius:4px;padding:2px 5px}
.ctabs.docked button.on .tsoon{color:#F5D9A8;background:#3A2F1B}
.connect .cmd{border-radius:0 9px 9px 9px}

/* the clients that connect ABOVE the hub */
.nm-clients{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 4px;padding:0;list-style:none}
.nm-clients li{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border:1px solid var(--line);
  border-radius:999px;background:var(--card);font:500 13.5px var(--body);color:var(--ink);
  box-shadow:0 1px 2px rgba(16,19,33,.04)}
.nm-clients i{font-size:15px;color:var(--accent-deep)}
.nm-clients .dim{color:var(--muted);border-style:dashed}
.nm-clients .dim i{color:var(--muted)}
.nm-lines.up{height:52px}

/* motion: dots travelling the edges, client → Uniwork → app. Same idea as the
 * integrations orbit's `packet`, done with a dashed overlay path so it follows a
 * curve without JS. */
.nm-flow path{stroke:var(--accent);stroke-width:4.5;stroke-linecap:round;fill:none;
  vector-effect:non-scaling-stroke;stroke-dasharray:3 500;stroke-dashoffset:503;
  animation:nmflow 3.4s linear infinite}
.nm-lines.up .nm-flow path{animation-direction:reverse}
.nm-flow path:nth-child(2){animation-delay:.7s}
.nm-flow path:nth-child(3){animation-delay:1.4s}
.nm-flow path:nth-child(4){animation-delay:2.1s}
.nm-flow path:nth-child(5){animation-delay:2.8s}
@keyframes nmflow{from{stroke-dashoffset:503}to{stroke-dashoffset:0}}

/* the store is a starting point: the last card is the app you describe */
.nm-card.new{border-style:dashed;background:transparent}
.nm-card.new i{color:var(--accent-deep);background:var(--accent-soft)}
.nm-card.new b{color:var(--accent-deep)}

.fgrid.g2{grid-template-columns:repeat(2,1fr)}
.dogrid .fcard h3{display:flex;align-items:center;gap:8px}
.dogrid .fcard h3 i{color:var(--accent-deep)}
.dogrid .fcard p b{color:var(--ink);font-weight:600}

@media (max-width:900px){.fgrid.g2{grid-template-columns:1fr}}
@media (max-width:640px){
  .nm-lines.up{display:none}
  .nm-clients{margin-bottom:14px}
  .ctabs.docked{flex-wrap:wrap}
  .connect .cmd{border-radius:9px}
}
@media (prefers-reduced-motion:reduce){.nm-flow{display:none}}

/* A two-sentence headline needs a smaller size than a three-word one, or it wraps to
   four lines and orphans a word. */
.hh-two{font-size:clamp(29px,3.9vw,50px);line-height:1.06;max-width:940px;margin-inline:auto}
.connect-note{display:block;margin:12px 0 0;font-size:13px;line-height:1.55;color:var(--muted)}
.connect-note i{font-size:15px;color:var(--muted);vertical-align:-2px;margin-right:4px}
.connect-note b{color:var(--ink);font-weight:600}


/* ── the tab GROUP + the two client skins ────────────────────────────────────
 * Chrome's tab groups are the right idiom for "these two tabs are one idea":
 * Claude and ChatGPT are both the headless surface, so they are labelled once.
 * Below that, each pane is skinned as the product it claims to be — the generic
 * violet chat read as OUR chat, which is the one thing this surface is not. */
.btgroup{display:flex;align-items:flex-end;gap:4px;padding:4px 5px 0;border-radius:10px 10px 0 0;
  background:rgba(124,92,255,.12)}
.btg-lbl{align-self:center;margin:0 2px 6px 3px;padding:2px 8px;border-radius:6px;
  background:var(--accent-deep);color:#fff;font:600 10.5px var(--mono);letter-spacing:.06em;text-transform:uppercase}

.wc-conn[hidden]{display:none}


/* ── the chat clients, drawn as they are ─────────────────────────────────────
 * Two-pane, dark, with the client's own sidebar / header / composer / footer,
 * because that is what the visitor recognises. Everything but the transcript is
 * per-client and switched by `data-client`; `--wc-*` custom properties carry the
 * two palettes so the structure is written once.
 *   Claude   ivory-on-#262624, serif assistant voice, coral #D97757
 *   ChatGPT  #ECECEC-on-#212121, blue user pill #2F6FED, black round send */
.webchat{display:grid;grid-template-columns:212px 1fr;min-height:620px;
  background:var(--wc-bg);color:var(--wc-fg);font-family:var(--body)}
/* LIGHT, to sit inside our own light page — these are the clients' own light themes,
 * not a recolour: claude.ai's ivory #FAF9F5 with the #F0EEE6 rail, ChatGPT's white with
 * the #F9F9F9 rail and its grey user bubble (the blue pill is its dark mode only). */
.webchat[data-client="claude"]{--wc-bg:#FAF9F5;--wc-side:#F0EEE6;--wc-fg:#26241F;--wc-dim:#7C7568;
  --wc-line:#E5E1D6;--wc-card:#FFFFFF;--wc-accent:#C2552C;--wc-you:#F0EEE6;--wc-youfg:#26241F;
  --wc-avatar:#B4552F;--wc-chip:#F0EEE6;--wc-hover:#E8E4D8}
.webchat[data-client="chatgpt"]{--wc-bg:#FFFFFF;--wc-side:#F9F9F9;--wc-fg:#0D0D0D;--wc-dim:#8F8F8F;
  --wc-line:#E5E5E5;--wc-card:#F7F7F8;--wc-accent:#0D0D0D;--wc-you:#F4F4F4;--wc-youfg:#0D0D0D;
  --wc-avatar:#6E58C9;--wc-chip:#EDEDED;--wc-hover:#ECECEC}

/* sidebar */
.wc-side{background:var(--wc-side);border-right:1px solid var(--wc-line);padding:16px 10px 12px;
  display:flex;flex-direction:column;min-width:0}
.wc-brand{padding:0 8px 14px;font:600 17px var(--display);letter-spacing:-.01em;color:var(--wc-fg)}
.webchat[data-client="claude"] .wc-brand{font-family:Tiempos,Georgia,serif;font-weight:500;font-size:19px}
.wc-nav{display:flex;flex-direction:column;gap:1px}
.wc-nav[hidden]{display:none}
.wc-nav a{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:8px;font-size:13px;
  color:var(--wc-fg);opacity:.92}
.wc-nav a i{font-size:15px;opacity:.85}
.wc-nav a:hover{background:var(--wc-hover)}
.wc-slbl{margin:16px 8px 6px;font:500 11px var(--body);color:var(--wc-dim);letter-spacing:.02em}
.wc-recents{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px;overflow:hidden;flex:1}
.wc-recents li{padding:7px 8px;border-radius:8px;font-size:12.5px;color:var(--wc-dim);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc-recents li.on{background:var(--wc-hover);color:var(--wc-fg)}
.wc-me{display:flex;align-items:center;gap:9px;padding:9px 8px 0;border-top:1px solid var(--wc-line);
  margin-top:10px;font-size:12.5px;color:var(--wc-fg)}
.wc-me em{display:block;font-style:normal;font-size:11px;color:var(--wc-dim)}
.wc-me-av{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;
  background:var(--wc-avatar,var(--wc-accent));color:#fff;font:600 11px var(--body)}

/* main column */
.wc-main{display:flex;flex-direction:column;min-width:0}
.wc-top{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--wc-line);
  flex-wrap:wrap}
.wc-title{display:inline-flex;align-items:center;gap:5px;font-size:13.5px;color:var(--wc-fg)}
.wc-title i{color:var(--wc-dim)}
.wc-share{margin-left:auto;border:1px solid var(--wc-line);border-radius:999px;padding:4px 12px;
  font-size:12.5px;color:var(--wc-fg)}
.wc-conn{display:inline-flex;align-items:center;gap:5px;font:500 11px var(--mono);color:var(--good);
  background:var(--good-soft);border-radius:999px;padding:3px 9px}
.wc-conn[hidden]{display:none}
.wc-soonline{font:500 11px var(--mono);color:#92600A;background:#FCF0DC;border:1px solid #F2DFBB;
  border-radius:999px;padding:3px 9px}

/* transcript */
.wc-body{flex:1;padding:22px 26px 10px;display:flex;flex-direction:column;gap:14px;overflow:hidden}
.wc-l{margin:0;opacity:0;transform:translateY(7px);transition:opacity .45s,transform .45s}
.wc-l.in{opacity:1;transform:none}
.wc-you{align-self:flex-end;max-width:min(520px,78%);background:var(--wc-you);color:var(--wc-youfg);
  border:1px solid var(--wc-line);border-radius:16px;padding:10px 15px;font-size:14px;line-height:1.5}
.wc-say{max-width:660px;font-size:15px;line-height:1.68;color:var(--wc-fg)}
.webchat[data-client="claude"] .wc-say{font-family:Tiempos,Georgia,"Times New Roman",serif;font-size:16px}
.wc-say b{font-weight:600}
.wc-tool{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;align-self:flex-start;
  min-width:min(420px,100%);border:1px solid var(--wc-line);background:var(--wc-card);border-radius:11px;
  padding:9px 13px}
.wc-t{display:inline-flex;align-items:center;gap:8px;font:500 12.5px var(--mono);color:var(--wc-fg)}
.wc-t i{color:var(--wc-accent);font-size:14px}
.wc-t b{color:var(--wc-accent);font-weight:600}
.wc-t b::after{content:" ·";color:var(--wc-dim);font-weight:400}
/* ChatGPT labels a finished call "Used <server>" — same row, its own voice. */
.webchat[data-client="chatgpt"] .wc-t::before{content:"Used ";color:var(--wc-dim);font-weight:500}
.wc-r{font:500 11px var(--mono);color:var(--wc-dim);background:var(--wc-chip);border-radius:999px;
  padding:2px 9px;white-space:nowrap}
.wc-see{border:1px solid var(--wc-line);background:var(--wc-card);border-radius:999px;padding:8px 15px;
  cursor:pointer;font:500 13px var(--body);color:var(--wc-accent);transition:border-color .2s,background .2s}
.wc-see:hover{border-color:var(--wc-accent);background:var(--wc-hover)}

/* composer + footer */
.wc-composer{display:flex;align-items:center;gap:10px;margin:0 26px;border:1px solid var(--wc-line);
  background:#fff;border-radius:26px;padding:13px 14px;color:var(--wc-dim);font-size:13.5px;
  box-shadow:0 1px 2px rgba(16,19,33,.04)}
.wc-composer #wc-ph{flex:1}
.wc-plus{font-size:17px;color:var(--wc-fg)}
.wc-ctrl{display:inline-flex;align-items:center;gap:10px;font-size:16px}
.wc-ctrl[hidden]{display:none}
.wc-think{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--wc-line);border-radius:999px;
  padding:4px 11px;font:500 12px var(--body);color:var(--wc-fg)}
.wc-think i{font-size:14px}
.wc-send{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;
  background:#0D0D0D;color:#fff;font-size:15px}
.wc-foot{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 26px 14px;
  font-size:11.5px;color:var(--wc-dim)}
.wc-foot em{font-style:normal;margin-left:auto;white-space:nowrap}

@media (max-width:860px){
  .webchat{grid-template-columns:1fr}
  .wc-side{display:none}
}
@media (max-width:640px){
  .wc-body{padding:16px 14px 6px}
  .wc-tool{min-width:0;width:100%;flex-wrap:wrap;gap:6px}
  .wc-you{max-width:92%}
  .wc-composer,.wc-foot{margin-inline:14px}
  .wc-foot em{display:none}
}
@media (prefers-reduced-motion:reduce){.wc-l{opacity:1;transform:none}}

/* On a phone the strip is wider than the frame, and `.browser` has overflow:hidden — so
 * FOCUSING the last tab scrolled the whole window sideways and the chat rendered 70px
 * off-frame. Only the active tab keeps its label; the rest are their mark alone, which
 * fits and cannot scroll anything. */
@media (max-width:560px){
  .btab:not(.on) .btab-t{display:none}
  .btab{padding:7px 10px 8px}
  .btg-lbl{font-size:9.5px;padding:2px 6px}
}

/* the real sidebar labels each chat run by day */
.d-daygrp{font:600 9.5px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#9A9DB0;
  margin:2px 0 3px 10px}


/* ── hero split: copy left, the platform diagram right ────────────────────────
 * The diagram is what the headline says: one platform (the orb), agents feeding
 * it from above, the apps it runs orbiting below. Nodes are DOM so the icons and
 * labels stay crisp; the canvas (three.js, `heroOrb` in main.js) sits between the
 * glow and the nodes and only adds motion + particle flow. */
.hero.split .hero-in{max-width:1180px;display:grid;grid-template-columns:1.02fr .98fr;gap:36px;
  align-items:center;text-align:left}
.hero.split .hero-copy{display:flex;flex-direction:column;align-items:flex-start}
.hero.split h1{font-size:clamp(32px,3.5vw,46px)}
.hero.split .lede{margin-left:0;margin-right:0;max-width:560px}
.hero.split .hero-actions{justify-content:flex-start}
.hero.split .hero-badges{margin-left:0;text-align:left;max-width:540px}

.hero-visual{position:relative;height:560px;min-width:0}







.onode.you{border-style:dashed;color:var(--muted)}
.onode.you i{color:var(--muted)}
/* "Your own app": idle (dashed) → typing the brief → building → ADDED as a real tile. */
.onode.new{border-style:dashed;background:transparent;color:var(--accent-deep);transition:background .35s,border-color .35s,color .35s,box-shadow .35s}
.onode.new i{color:var(--accent-deep);background:var(--accent-soft)}
.onode.new.typing{color:var(--muted);font-style:italic}
.onode.new.typing i{color:var(--muted)}
.onode.new.building{border-style:solid;border-color:#D6CCFF;background:var(--accent-soft);color:var(--accent-deep)}
.onode.new.building i{animation:spin 1s linear infinite;background:transparent}
.onode.new.added{border-style:solid;border-color:#D6CCFF;background:var(--card);color:var(--ink);
  box-shadow:0 0 0 4px rgba(124,92,255,.14),0 10px 24px -14px rgba(91,61,245,.5);animation:apin .45s cubic-bezier(.2,.8,.2,1)}
.onode.new.added i{color:var(--c,var(--accent-deep));background:color-mix(in srgb,var(--c,#7C5CFF) 12%,#fff)}
@media (prefers-reduced-motion:reduce){.onode.new.added,.onode.new.building i{animation:none}}
.onode.lit{border-color:#B9A8FF;box-shadow:0 0 0 3px rgba(124,92,255,.14),0 6px 18px -12px rgba(16,19,33,.35)}
.orb-nodes{position:absolute;inset:0;z-index:3;pointer-events:none}
.onode{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  transform:translate(-50%,-50%);will-change:transform;
  background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 12px 7px 9px;
  font:500 12.5px var(--body);color:var(--ink);box-shadow:0 6px 18px -12px rgba(16,19,33,.35)}
.onode i{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;font-size:13px;
  color:var(--c,var(--accent-deep));background:#F3F4FA;background:color-mix(in srgb,var(--c,#7C5CFF) 12%,#fff)}
.onode.agent{border-radius:10px;padding:7px 12px 7px 10px}
.onode.agent i{background:transparent;width:auto;height:auto;font-size:15px;color:var(--ink)}



@media (max-width:1080px){
  .hero.split .hero-in{grid-template-columns:1fr;gap:20px;text-align:center}
  .hero.split .hero-copy{align-items:center}
  .hero.split .lede{margin:0 auto}
  .hero.split .hero-actions{justify-content:center}
  .hero.split .hero-badges{margin:0 auto 10px;text-align:center}
  .hero-visual{height:520px;max-width:640px;margin:0 auto;width:100%}
}
@media (max-width:720px){
  /* On a phone the headline is the hero; the diagram (and three.js) do not load. */
  .hero-visual{display:none}
}


/* ── hero map v5: crisp SVG connectors, tidy arc, no particles ────────────────
 * Three particle variants were rejected as clutter. This is the /mcp/ map's
 * language instead: solid curved strokes with a flowing dash, cards on a fixed
 * arc, one hub. main.js builds the SVG and positions the nodes. */
.hero-visual svg.hmap{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
.hmap .ln{fill:none;stroke:#C9BFFF;stroke-width:1.6;stroke-linecap:round}
.hmap .ln.in{stroke:#B3A3FF;stroke-dasharray:5 9;animation:hflow 2.6s linear infinite}
.hmap .ln.out{stroke:#D6CEFF;stroke-dasharray:4 10;animation:hflow 3.2s linear infinite reverse}

.hmap .drop{fill:none;stroke:#D6CEFF;stroke-width:1.6;stroke-dasharray:3 7;animation:hflow 2.4s linear infinite}
@keyframes hflow{to{stroke-dashoffset:-56}}
@media (prefers-reduced-motion:reduce){.hmap .ln,.hmap .arc,.hmap .drop{animation:none}}

.hub{position:absolute;left:0;top:0;transform:translate(-50%,-50%);z-index:2;display:flex;align-items:center;justify-content:center;
  width:96px;height:96px;border-radius:50%;
  background:radial-gradient(circle at 36% 30%, #fff 0%, #F1EDFF 45%, #DCD2FF 100%);
  border:1px solid #DDD3FF;
  box-shadow:0 0 0 12px rgba(124,92,255,.07), 0 0 0 26px rgba(124,92,255,.035), 0 20px 40px -22px rgba(91,61,245,.45)}
.hub img{width:34px;height:36px}
.hub-label{position:absolute;left:0;top:0;transform:translate(-50%,58px);z-index:2;transition:opacity .3s;
  font:600 10.5px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-deep)}
.onode{transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .4s,box-shadow .3s,border-color .3s}
.onode.lit{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.16),0 8px 18px -12px rgba(16,19,33,.35)}
/* the "your own app" slot: ghost → building (a real progress bar) → built, then back */
.onode.new{border-style:dashed;background:transparent;color:var(--accent-deep)}
.onode.new.building{border-style:solid;border-color:#D6CCFF;background:var(--card);color:var(--ink);overflow:hidden}
.onode.new.building::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;background:linear-gradient(90deg,var(--accent-deep),var(--accent));
  animation:hbuild 1.5s ease-in-out forwards}
@keyframes hbuild{to{width:100%}}
/* ⚠️ no `transform` in any keyframe on .onode: the node's position IS its inline transform,
   and an animation's transform overrides it — the built tile once snapped to the layer's
   origin, over the Claude chip, for the length of a pop animation. Glow only. */
.onode.new.added{border-style:solid;border-color:#D6CCFF;background:var(--card);color:var(--ink);
  animation:hglow 1.6s ease-out}
@keyframes hglow{0%{box-shadow:0 0 0 0 rgba(124,92,255,.0),0 6px 18px -12px rgba(16,19,33,.35)}
  25%{box-shadow:0 0 0 8px rgba(124,92,255,.22),0 14px 30px -14px rgba(91,61,245,.6)}
  100%{box-shadow:0 0 0 0 rgba(124,92,255,0),0 6px 18px -12px rgba(16,19,33,.35)}}
.onode.new.added i{color:var(--c,var(--accent-deep));background:color-mix(in srgb,var(--c,#7C5CFF) 12%,#fff)}

@media (prefers-reduced-motion:reduce){.onode.new.added,.onode.new.building::after,.hmap .grow,.hmap .introln{animation:none}.onode.new.building::after{width:100%}.onode{transition:none}}


/* ── v6: the story rides the connectors ───────────────────────────────────────
 * A message is a dot travelling tile → hub → tile on the existing connectors,
 * both of which go `.hot`; app creation draws a ring around the hub, then draws
 * the new tile's connector in. One story line under the slab narrates every beat. */
.hmap .ln.hot{stroke:var(--accent);stroke-width:2.2;opacity:1;animation-duration:1.4s}
.hmap .ln.ghost{opacity:0;transition:opacity .5s}
.hmap .ln.ghost.wired{opacity:1}
.hmap .dot{fill:var(--accent-deep);stroke:#fff;stroke-width:2;opacity:0;transition:opacity .2s}
.hmap .dot.on{opacity:1}


.hmap .grow{fill:none;stroke:#B3A3FF;stroke-width:1.8;stroke-linecap:round;opacity:0;stroke-dasharray:1;stroke-dashoffset:1;transition:opacity .6s}
.hmap .grow.on{opacity:1;animation:hdraw 1.1s cubic-bezier(.4,0,.2,1) forwards}
/* the intro: throwaway overlays draw in once (pathLength=1 lives on THEM, never on .ln) */
.hmap .introln{fill:none;stroke:#B3A3FF;stroke-width:1.6;stroke-linecap:round;opacity:0;stroke-dasharray:1;stroke-dashoffset:1}
.hmap .introln.on{opacity:1;animation:hdraw 1.4s cubic-bezier(.4,0,.2,1) forwards,hfade .6s 1.6s forwards}
@keyframes hfade{to{opacity:0}}
.hmap.focus .ln.ghost{opacity:0}
@keyframes hdraw{to{stroke-dashoffset:0}}
.hub{transition:box-shadow .5s}
.hub.building{box-shadow:0 0 0 12px rgba(124,92,255,.12), 0 0 0 26px rgba(124,92,255,.06), 0 20px 40px -22px rgba(91,61,245,.55)}
.onode.agent.lit{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.16)}

/* `.hstory`, not `.story` — the storybook section already owns `.story` / `#story`, and
 * sharing the name put its display type on this paragraph. */
.hstory{position:absolute;left:12px;right:12px;bottom:10px;margin:0;display:flex;align-items:center;justify-content:center;gap:8px;
  font:400 12.5px/1.4 var(--body);color:var(--muted);text-align:center;transition:opacity .25s}
.hstory.swap{opacity:0}
.hstory i{width:7px;height:7px;background:var(--accent);transform:rotate(45deg);border-radius:1px;flex-shrink:0}
.hstory b{color:var(--ink);font-weight:600;white-space:nowrap}
.hstory span::before{content:"·";margin:0 7px 0 0;color:#B9B6CC}


/* ── v7: the storyboard ───────────────────────────────────────────────────────
 * `.stage` holds the svg, hub and nodes and is what zooms toward a scene; the slab
 * and story line stay put. Focus = the scene's nodes stay lit, the rest dim. */
.stage{position:absolute;inset:0;transition:transform 1.1s cubic-bezier(.2,.8,.2,1);transform-origin:50% 50%;will-change:transform}
.orb-nodes.focus .onode:not(.lit){opacity:.32}
.hmap.focus .ln:not(.hot):not(.ghost){opacity:.28}
.hmap .ln{transition:opacity .5s}
.onode{transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .5s,box-shadow .3s,border-color .3s}

/* a status under the hub — "UniBrain · recalling…", "Building…", "Publishing…" — the
 * thing the ring failed to say */
.hub-label{transition:opacity .25s}
.hub-label.dim{opacity:0}
.hub-status{position:absolute;left:0;top:0;transform:translate(-50%,84px);z-index:3;z-index:2;display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px;border-radius:999px;background:var(--card);border:1px solid #D6CCFF;
  font:500 11.5px var(--body);color:var(--accent-deep);white-space:nowrap;opacity:0;transition:opacity .3s}
.hub-status.on{opacity:1}

.hub-status i{font-size:13px}
.hub-status.busy i{animation:spin 1.1s linear infinite}
.hub.busy{box-shadow:0 0 0 12px rgba(124,92,255,.11), 0 0 0 26px rgba(124,92,255,.05), 0 20px 40px -22px rgba(91,61,245,.5)}

/* chat bubbles between the drivers and the hub: the ask under its driver, the reply from the hub */
.bub{position:absolute;left:0;top:0;transform:translate(-50%,0);z-index:5;max-width:290px;padding:8px 12px;border-radius:12px;
  font:400 12.5px/1.45 var(--body);opacity:0;transition:opacity .3s;pointer-events:none}
.bub.on{opacity:1}
.bub.ask{background:linear-gradient(120deg,var(--accent-deep),var(--accent));color:#fff;border-radius:12px 12px 12px 4px}
/* the reply is a tooltip off the hub: same radius all round, a tail pointing at the orb */
.bub.reply{z-index:6;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 30px -16px rgba(16,19,33,.45)}
/* the tail sits at the bubble's middle, on the edge facing the orb it speaks for */
.bub.reply::after{content:"";position:absolute;top:50%;margin-top:-5px;width:9px;height:9px;background:var(--card);
  border:1px solid var(--line);transform:rotate(45deg)}
.bub.reply:not(.rt)::after{right:-5.5px;border-left:0;border-bottom:0}
.bub.reply.rt::after{left:-5.5px;border-right:0;border-top:0}
.bub.reply b{color:var(--accent-deep);font-weight:600}

/* a result chip above an app the scene touched */
.res{position:absolute;left:0;top:0;transform:translate(-50%,-50%);z-index:6;padding:3px 9px;border-radius:999px;white-space:nowrap;
  background:var(--card);color:var(--accent-deep);border:1px solid #D6CCFF;font:500 10.5px var(--mono);
  box-shadow:0 6px 16px -10px rgba(91,61,245,.45);opacity:0;transition:opacity .3s,transform .4s}
.res.on{opacity:1}
.res.ok{color:var(--good);border-color:#BFE3D0;background:var(--good-soft)}

.hub-label.hidden{opacity:0}

.hstory{bottom:6px}



/* rotating tiles crossfade between store apps; a proposed-and-built app glows like the slot's */
.onode.swap{opacity:0 !important;transition:opacity .35s}
.onode.app.added{border-color:#D6CCFF;animation:hglow 1.6s ease-out}


/* ── v10: the product demo — one scene model, three chromes ───────────────────
 * The Uniwork tab is the product as it renders today (sidebar #FAFAFA, briefing home,
 * full-view chat with the "N steps ›" trail, the artifact STAGE with UniAgent docked
 * in a dark 6px frame, the installed app's own shell, App Studio). The hosted tabs
 * gain a third column — Claude's inset Artifacts card, ChatGPT's flush canvas. One
 * `.art-host` body renders every artifact; each host only sets `--art-*`. Rules here
 * come AFTER the older demo block on purpose: they override it without deleting the
 * `.msg` / `.dd-*` / `.bwin*` rules the feature pages still use. */
:root{--uw-side:#FAFAFA;--uw-side-line:#E0E0E0;--uw-surface:#F5F5F5;--uw-bg:#FCFCF8;--uw-violet:#855ED9;
  --uw-violet-soft:#F1ECFC;--uw-red:#EF4444;--uw-muted:#71717A;--uw-line:#E5E5E5;--uw-dock-frame:#EAE7F3}

/* frame: sidebar | main | dock. The dock has width only while something is staged. */
.browser-body{display:grid;grid-template-columns:224px 1fr 0;height:620px;transition:grid-template-columns .35s ease;position:relative}
.browser-body[data-view="staged"],.browser-body[data-view="studio"],.browser-body.dock-open{grid-template-columns:224px 1fr 320px}
.d-side{background:var(--uw-side);border-right:1px solid var(--uw-side-line);padding:10px 8px}
.d-side i{font-style:normal}
.d-collapse{font-size:16px;color:#6B6E7B}
.d-nav{gap:12px;font-size:13px;padding:5px 9px}
.d-nav>i,.d-ws>i,.d-chatrow>i,.d-foot>i{font-size:16px;color:#6B6E7B;flex-shrink:0}
.d-badge{margin-left:auto;background:var(--uw-red);color:#fff;font:700 10px var(--body);border-radius:999px;min-width:0;height:auto;padding:1px 6px}
.d-sec{padding:12px 9px 4px}
.d-chatrow .d-more{margin-left:auto;opacity:0}.d-chatrow.on{background:#EDEDEA}.d-chatrow.on .d-more{opacity:1}
.d-tree{display:flex;flex-direction:column;gap:1px}
.d-app .d-draft{margin-left:auto;font:600 9px var(--mono);letter-spacing:.06em;color:var(--uw-muted);border:1px solid var(--uw-line);border-radius:4px;padding:1px 5px;background:#fff}
.d-app>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.d-app.doc>i,.d-app.auto>i{font-size:14px;color:var(--uw-muted);width:20px;text-align:center;flex-shrink:0}
.d-app.sub.doc>i,.d-app.sub.auto>i{width:17px;font-size:13px}
.d-ws.on{background:#EDEDEA;border-radius:8px}
.d-ws .d-more{margin-left:auto;opacity:0;font-size:14px}.d-ws.on .d-more{opacity:1}
.d-ws.org span:first-of-type{font:600 12px var(--body);text-transform:uppercase;letter-spacing:.04em}
.d-ws.org[hidden],.d-spaces[hidden]{display:none}
.d-folder>i{font-size:14px;color:#6B6E7B}.d-folder .chev{font-size:14px;width:auto;height:auto}
.d-fpeek{margin-left:auto;display:inline-flex;gap:3px;flex-shrink:0}
.d-fpeek .ai-tile{width:13px;height:13px;border-radius:4px;box-shadow:none}
.d-fpeek .ai-tile i{font-size:8px}
.d-space.open .d-fpeek{display:none}
/* tighter section chrome — this is what puts the org tree above the fold of a 620px rail */
.d-side .d-top{margin-bottom:10px}
.d-side .d-sec{padding:8px 9px 3px}
.d-side .d-ws.org{margin-top:4px}
.d-side .d-daygrp{margin:1px 0 2px 10px}
.d-space:not(.open)>.d-folder .chev{transform:rotate(-90deg)}
.d-foot{position:sticky;bottom:-10px;margin-top:auto;background:var(--uw-side);gap:18px;padding:10px 12px;margin-bottom:-10px;border-top:1px solid var(--uw-side-line)}
.ic-btn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;line-height:1}
.d-ava{position:relative;margin-left:auto;width:24px;height:24px;border-radius:50%;background:#C7B6F5;color:#3B2A6E;font:600 11px var(--body);display:inline-flex;align-items:center;justify-content:center;overflow:visible}
.d-ava b{position:absolute;bottom:-5px;right:-6px;background:var(--uw-violet);color:#fff;font:700 6px var(--mono);letter-spacing:.04em;border-radius:3px;padding:1px 3px;line-height:1}

/* main: scenes paint their own padding */
.d-main{background:var(--uw-surface);padding:0;overflow:hidden}
.d-scene[data-scene="home"]{padding:18px 20px;height:100%;overflow-y:auto}
.d-scene[data-scene="home"]::-webkit-scrollbar{width:6px}.d-scene[data-scene="home"]::-webkit-scrollbar-thumb{background:#DDDDD6;border-radius:3px}
.dh-typed.typed{color:#33353D}

/* full-view chat: one centred column, transcript top, composer bottom */
.d-scene[data-scene="chat"].on{display:flex;flex-direction:row;height:100%}
.uc-col{width:min(560px,92%);margin:0 auto;display:flex;flex-direction:column;height:100%;padding:16px 0 12px;min-height:0}
.uc-thread{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:14px;padding:4px 2px}
.uc-thread::-webkit-scrollbar{width:6px}.uc-thread::-webkit-scrollbar-thumb{background:#DDDDD6;border-radius:3px}
.uc-l{animation:scenein .3s ease}
.uc-you{align-self:flex-end;max-width:80%;background:rgba(245,245,245,.9);border:1px solid #ECECEC;border-radius:12px;padding:8px 14px;font-size:13.5px;line-height:1.5;color:var(--ink)}
.dd-body .uc-you{background:#F3F3F1}
.uc-turn{display:flex;flex-direction:column;animation:scenein .3s ease}
.uc-who{display:flex;align-items:center;gap:8px;font:600 13px var(--body);color:var(--ink)}.uc-who i{color:var(--uw-violet);font-size:16px}
.uc-steps{display:inline-flex;align-items:center;gap:6px;margin:10px 0 6px;font-size:12.5px;color:var(--uw-muted);cursor:default;align-self:flex-start}
.uc-steps .chev{transition:transform .2s}.uc-turn.open .uc-steps .chev{transform:rotate(90deg)}
.uc-steplist{display:none;flex-direction:column;gap:6px;margin:0 0 8px 6px;border-left:2px solid #E6E6E6;padding-left:12px}
.uc-turn.open .uc-steplist{display:flex}
.uc-step{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink);background:#fff;border:1px solid var(--uw-line);border-radius:10px;padding:7px 10px;animation:scenein .25s ease}
.uc-step>i{color:var(--uw-muted);font-size:14px}
.uc-step b{font:500 12px var(--mono);min-width:0}.uc-step .uc-res{margin-left:auto;font:500 11px var(--mono);color:var(--uw-muted);white-space:nowrap}
.uc-step.run .uc-res span{display:none}.uc-step.run .uc-res::before{content:"running…"}
.uc-step.run{background:linear-gradient(90deg,#fff,var(--uw-violet-soft),#fff);background-size:200% 100%;animation:shim 1.2s linear infinite}
.uc-step.ok,.uc-step.art{background:transparent;border:0;padding:2px 0}.uc-step.ok>i{color:#16A34A}.uc-step.art>i{color:var(--uw-violet)}
.uc-step.art b{font:500 12.5px var(--body)}
.uc-say{font-size:14px;line-height:1.55;margin:0 0 6px;color:var(--ink)}.uc-say a{color:var(--uw-violet)}
.uc-artcard{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid var(--uw-line);border-radius:12px;padding:12px 14px;cursor:pointer;margin:6px 0 8px;font-family:var(--body);color:var(--ink)}
.uc-artcard:hover{border-color:#CFC6F5}
.uc-arttile{width:36px;height:36px;border-radius:9px;background:var(--uw-violet-soft);color:var(--uw-violet);display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.uc-artcard b{display:block;font:600 13px var(--body)}.uc-artcard small{font-size:11.5px;color:var(--uw-muted)}
.uc-artinline{display:none;background:#fff;border:1px solid var(--uw-line);border-radius:12px;padding:14px;margin:0 0 8px}
.uc-turn.inline .uc-artinline{display:block}
.uc-acts{display:flex;align-items:center;gap:10px;color:var(--uw-muted);font-size:13px;margin-top:2px}.uc-acts time{font-size:11px;margin-left:4px}
.uc-composer{background:#fff;border:1px solid var(--uw-line);border-radius:12px;padding:10px 14px 0;margin-top:12px;flex-shrink:0}
.uc-ph{display:block;font-size:13.5px;color:#A1A1AA;min-height:20px;line-height:1.45}.uc-ph.typed{color:var(--ink)}
.uc-tools{display:flex;align-items:center;gap:10px;padding:8px 0 10px;color:var(--uw-muted);font-size:15px}
.uc-pill{display:inline-flex;align-items:center;gap:4px;font:500 12px var(--body);color:var(--ink)}.uc-pill i{font-size:12px}
.uc-send{width:26px;height:26px;border-radius:50%;background:#E4E4E7;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.uc-composer .dh-tools{margin:0 -14px;border-top:1px solid var(--uw-line);border-radius:0 0 12px 12px;padding:9px 14px}
.uc-composer.mini{margin:8px 14px 12px;padding:9px 12px 0}.uc-composer.mini .uc-tools{padding:6px 0 8px;font-size:14px}

/* artifact stage: header on --uw-bg, body is the artifact */
.d-scene[data-scene="stage"].on{display:flex;height:100%}
.uc-stage{flex:1;display:flex;flex-direction:column;background:var(--uw-bg);min-width:0;position:relative}
.uc-stage-h{display:flex;align-items:center;gap:10px;height:40px;padding:0 14px;border-bottom:1px solid var(--uw-line);font:600 13.5px var(--body);color:var(--ink);flex-shrink:0}
.uc-stage-h>i:first-child{color:var(--uw-violet)}.uc-stage-h .ri-more-2-fill,.uc-stage-h .ri-close-line{color:var(--uw-muted);cursor:pointer;font-size:16px}
.uc-stage-body{flex:1;overflow-y:auto;padding:22px 26px}
.uc-menu{position:absolute;top:42px;right:40px;background:#fff;border:1px solid var(--uw-line);border-radius:10px;box-shadow:0 12px 30px -12px rgba(0,0,0,.25);padding:4px;display:flex;flex-direction:column;z-index:3;animation:scenein .2s ease}
.uc-menu[hidden]{display:none}
.uc-menu span{display:flex;align-items:center;gap:10px;font-size:13px;padding:7px 10px;border-radius:7px;color:var(--ink);white-space:nowrap}.uc-menu span i{color:var(--uw-muted)}.uc-menu span.hot{background:var(--uw-violet-soft)}.uc-menu span.hot i{color:var(--uw-violet)}

/* the dock: dark 6px frame, white rounded card, the same thread node moved inside */
.d-dock{overflow:hidden;background:var(--uw-dock-frame);padding:7px;opacity:0;transition:opacity .25s;min-width:0}
.browser-body[data-view="staged"] .d-dock,.browser-body[data-view="studio"] .d-dock,.browser-body.dock-open .d-dock{opacity:1}
.d-dock .dd-panel{height:100%;min-width:268px;display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #E1DDEF;box-shadow:0 1px 3px rgba(60,40,160,.06)}
.d-dock .dd-head{display:flex;align-items:center;justify-content:space-between;padding:11px 14px 11px 18px;border-bottom:1px solid var(--uw-line)}
.d-dock .dd-title{font:600 13.5px var(--body)}.d-dock .dd-actions{display:inline-flex;gap:10px;color:var(--uw-muted);font-size:15px}.d-dock .dd-actions i,.d-dock .dd-actions .ic-btn{cursor:pointer;font-size:15px;color:var(--uw-muted)}
.d-dock .dd-body{flex:1;min-height:0;overflow:hidden;background:var(--uw-bg);padding:14px 16px;display:flex;flex-direction:column}
.dd-thread-slot{flex:1;min-height:0;display:flex;flex-direction:column}
.dd-thread-slot .uc-thread{flex:1;padding:0 2px}
.d-dock .uc-you{font-size:12.5px;padding:7px 12px}.d-dock .uc-say{font-size:12.5px}.d-dock .uc-who{font-size:12.5px}
.d-dock .uc-artcard{padding:10px 12px}.d-dock .uc-artcard b{font-size:12.5px}.d-dock .uc-artcard small{font-size:11px}
.d-dock .uc-arttile{width:32px;height:32px;font-size:14px}
.d-dock .uc-steps{font-size:12px;margin:8px 0 5px}
.d-dock .uc-steplist{margin-left:2px;padding-left:10px}
.d-dock .uc-step{flex-wrap:wrap;row-gap:4px;font-size:11.5px;padding:6px 9px}
.d-dock .uc-step b{font-size:10.5px;min-width:0;overflow-wrap:anywhere}
.d-dock .uc-step .uc-res{font-size:10px}
.d-dock .uc-acts{font-size:12px;gap:9px}.d-dock .uc-acts time{font-size:10.5px}
.d-dock .dd-empty{margin:auto 0;display:none;text-align:left}.d-dock.empty .dd-empty{display:block}.d-dock.empty .dd-thread-slot{display:none}
.d-dock .dd-empty h2{font:600 22px var(--display);color:var(--uw-violet);margin:0}.d-dock .dd-empty p{font:400 15px var(--body);color:var(--ink);margin:2px 0 14px}
.d-dock .dd-pills{display:block}.d-dock .dd-pills span{display:inline-block;background:#F3F3F1;border-radius:999px;padding:6px 12px;font:400 12.5px var(--body);color:var(--ink);margin:0 6px 8px 0}
.dd-ctx{display:inline-flex;align-items:center;gap:6px;margin:8px 14px -4px;border:1px solid var(--uw-line);border-radius:999px;padding:3px 9px;font:500 11.5px var(--body);color:var(--ink);align-self:flex-start;background:#fff}
.dd-ctx i{font-size:12px;color:var(--uw-muted)}.dd-ctx[hidden]{display:none}
/* the FAB is the product's: home + app only — never beside full-view chat or the dock */
.browser-body:not([data-view="home"]):not([data-view="app"]) .d-launch,.browser-body.dock-open .d-launch{display:none}

/* installed app: its own nav + header + KPIs, inside the frame */
.d-scene[data-scene="app"].on{display:flex;height:100%}
.ua{flex:1;display:grid;grid-template-columns:180px 1fr;background:#fff;min-height:0}
.ua-side{border-right:1px solid var(--uw-line);padding:10px 8px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}
.ua-navl{display:flex;flex-direction:column;gap:2px}
.ua-sub{margin-top:12px;padding-top:10px;border-top:1px solid var(--uw-line);display:flex;flex-direction:column;gap:2px}
.ua-sub[hidden]{display:none}
.ua-sub b{font:600 9.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--uw-muted);padding:0 10px 4px}
.ua-sub span{display:block;font-size:12.5px;padding:5px 10px;border-radius:8px;color:var(--uw-muted);justify-content:flex-start}
/* the list's column header — OUTSIDE #ua-list, so its row count stays the data's */
.ua-lcols{display:flex;align-items:center;gap:10px;padding:2px 0 4px;
  font:600 9.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--uw-muted)}
.ua-lcols span{flex-shrink:0}.ua-lcols span:first-child{flex:1;min-width:0}
.ua-side span{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:6px 10px;border-radius:8px;color:var(--ink)}.ua-side span.on{background:var(--uw-violet-soft);color:var(--uw-violet);font-weight:600}
.ua-side small{background:var(--uw-violet-soft);color:var(--uw-violet);border-radius:999px;padding:0 6px;font-size:10.5px}
.ua-main{min-width:0;overflow-y:auto}
.ua-h{display:flex;align-items:center;gap:10px;height:36px;padding:0 16px;border-bottom:1px solid var(--uw-line);font:600 13px var(--body);color:var(--ink)}.ua-h #ua-user{font-weight:400;color:var(--uw-muted);font-size:12.5px}.ua-h i{color:var(--uw-violet)}
.ua-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 16px 0}
.ua-kpi{border:1px solid var(--uw-line);border-radius:10px;padding:10px 12px;min-width:0}.ua-kpi span{font:600 9.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--uw-muted);display:block}.ua-kpi b{font:600 18px var(--display);color:var(--ink)}.ua-kpi i{display:block;font-size:11px;color:var(--uw-muted);font-style:normal}
.ua-card{margin:14px 16px;border:1px solid var(--uw-line);border-radius:12px;padding:12px 14px}.ua-card h4{margin:0 0 4px;font:600 13px var(--body);color:var(--ink)}
.ua-list div{display:flex;align-items:center;gap:10px;font-size:12.5px;padding:8px 0;border-top:1px solid #F0F0F0;color:var(--ink)}.ua-list div>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* App Studio */
.d-scene[data-scene="studio"].on{display:flex;flex-direction:row;height:100%}
.us{flex:1;display:flex;flex-direction:column;background:var(--uw-bg);min-width:0}
.us-h{display:flex;align-items:center;gap:10px;height:44px;padding:0 12px;border-bottom:1px solid var(--uw-line);background:#fff;font:600 13.5px var(--body);color:var(--ink);flex-shrink:0}
.us-h>i{color:var(--uw-muted)}
.us-h .studio-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.us-chip,.us-seg,.us-edit,.us-pub{flex-shrink:0}
.us-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--uw-line);border-radius:8px;padding:3px 8px;font:500 11.5px var(--mono);color:var(--ink)}.us-chip u{width:6px;height:6px;border-radius:50%;background:#F59E0B;text-decoration:none}
.us-seg{display:inline-flex;border:1px solid var(--uw-line);border-radius:9px;overflow:hidden}.us-seg span{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;font:500 12px var(--body);color:var(--uw-muted)}.us-seg span.on{background:var(--uw-violet-soft);color:var(--uw-violet)}
.us-edit{background:var(--uw-violet-soft);color:var(--uw-violet);border-radius:8px;padding:4px 10px;font:500 12px var(--body)}
.us-pub{background:var(--uw-violet);color:#fff;border-radius:8px;padding:5px 12px;font:600 12px var(--body)}
.us-tools{display:flex;align-items:center;gap:8px;margin:10px 12px 0;padding:6px 8px;border:1px solid var(--uw-line);border-radius:10px 10px 0 0;background:#fff;color:var(--uw-muted);font-size:13px;flex-shrink:0}
.us-sel,.us-url{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--uw-line);border-radius:8px;padding:4px 9px;font:500 12px var(--body);color:var(--ink);white-space:nowrap}.us-sel em{color:var(--uw-muted);font-style:normal}
.us-url{flex:1;font-family:var(--mono);font-size:11px;min-width:0;overflow:hidden}.us-url u{width:7px;height:7px;border-radius:50%;background:#D4D4D8;text-decoration:none;flex-shrink:0}.us-url b{background:#F0F0EC;border-radius:4px;padding:1px 6px;font-size:10px}
.us-px{font:500 11px var(--mono);background:#F4F4F1;border-radius:6px;padding:3px 7px}
.us-canvas{flex:1;min-height:0;margin:0 12px;border:1px solid var(--uw-line);border-top:0;background:#fff;display:flex;align-items:center;justify-content:center;overflow:auto;position:relative}
.us-compiling{text-align:center;color:var(--ink);padding:20px}.us-compiling b{font:600 14px var(--body)}.us-compiling p{font-size:12.5px;color:var(--uw-muted);margin:4px 0 10px}.us-compiling em{display:block;font:400 11px var(--mono);color:var(--uw-muted);margin-top:8px;font-style:normal}
.us-compiling[hidden]{display:none}
.us-spin{display:block;width:26px;height:26px;margin:0 auto 10px;border:3px solid var(--uw-violet-soft);border-top-color:var(--uw-violet);border-radius:50%;animation:spin 1s linear infinite}
.us-prog{display:inline-flex;gap:5px}.us-prog i{width:22px;height:4px;border-radius:2px;background:#E4E4E7;transition:background .3s}.us-prog i.on{background:var(--uw-violet)}
.us-built{position:absolute;inset:0;padding:18px 22px;overflow:auto;animation:scenein .4s ease}.us-built[hidden]{display:none}
.us-foot{display:flex;align-items:center;gap:6px;margin:0 12px 10px;padding:6px 10px;border:1px solid var(--uw-line);border-top:0;border-radius:0 0 10px 10px;background:#fff;font-size:11.5px;color:var(--uw-muted);flex-shrink:0}.us-foot .us-dot{width:7px;height:7px;border-radius:50%;background:#D4D4D8;text-decoration:none}

/* ── the artifact body — chrome-neutral; each host sets --art-* ── */
.art-host{--art-fg:#1F1F23;--art-muted:#71717A;--art-line:#E5E5E5;--art-accent:#855ED9;color:var(--art-fg);font-family:var(--body)}
.art-crumb{display:inline-flex;align-items:center;gap:6px;color:var(--art-accent);font-size:12px;margin-bottom:6px}
.art-doc h1{font:700 22px var(--display);letter-spacing:-.01em;margin:0 0 14px;color:var(--art-fg)}
.art-table{width:100%;border-collapse:collapse;font-size:12.5px}.art-table th{font:600 10px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--art-muted);text-align:left;padding:6px 8px;border-bottom:1px solid var(--art-line)}
.art-table td{padding:8px;border-bottom:1px solid var(--art-line);white-space:nowrap}.art-table td:first-child{white-space:normal}.art-table tr.hl td{background:#FFF7E8}
.art-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.art-kpi{border:1px solid var(--art-line);border-radius:10px;padding:10px 12px;min-width:0}
.art-kpi span{font:600 9.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--art-muted);display:block}.art-kpi b{font:600 18px var(--display)}.art-kpi i{display:block;font-style:normal;font-size:11px;color:var(--art-muted)}
.art-rows div{display:flex;align-items:center;gap:10px;font-size:12.5px;padding:8px 0;border-bottom:1px solid var(--art-line)}.art-rows div>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.art-rows div em{font-style:normal;font-size:11.5px;color:var(--art-muted)}
.art-rows.health div>span:first-child{flex:1}.art-rows.health em{margin-left:auto}
.art-dot{width:10px;height:10px;border-radius:50%;background:var(--c,#94A3B8);flex-shrink:0}
.art-check div{display:flex;align-items:center;gap:10px;font-size:13px;padding:9px 0;border-bottom:1px solid var(--art-line)}.art-check div>span:nth-child(2){flex:1}
.art-ck{width:18px;height:18px;border-radius:6px;border:1.5px solid #C8C9D4;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;flex-shrink:0}.art-ck.on{background:#16A34A;border-color:#16A34A}.art-ck:not(.on) i{opacity:0}
.art-form{display:flex;flex-direction:column;gap:8px}.art-form div{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--art-line);border-radius:10px;padding:10px 13px}
.art-form label{width:70px;flex-shrink:0;font:600 10px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--art-muted)}.art-form div>span{flex:1;font:500 12.5px var(--body)}
.art-submit{align-self:flex-start;background:var(--art-accent);color:#fff;border-radius:9px;padding:8px 14px;font:600 12.5px var(--body);margin-top:4px}
.art-lines p{font-size:13px;line-height:1.65;margin:0 0 10px;color:var(--art-fg)}
.art-lines h3{font:600 13px var(--body);margin:16px 0 6px;color:var(--art-fg)}
.art-lines ul{margin:0 0 10px 18px;padding:0;font-size:13px;line-height:1.65;color:var(--art-fg)}
.art-lines li{margin-bottom:4px}
.art-foot{margin-top:12px;font-size:12px;color:var(--art-muted)}

/* ── hosted chats: a third column while staged ── */
.webchat{grid-template-columns:212px 1fr 0;height:620px;min-height:0;transition:grid-template-columns .35s ease}
.webchat.staged{grid-template-columns:212px minmax(300px,42fr) 58fr}
.wc-side{overflow:hidden}
.wc-main{min-height:0}
.wc-body{overflow-y:auto;scrollbar-width:thin}
.wc-stage{min-width:0;display:flex;overflow:hidden}
.wc-art{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden;min-width:0}
.webchat[data-client="claude"] .wc-art{margin:8px 8px 8px 0;border:1px solid var(--wc-line);border-radius:12px;background:#fff}
.webchat[data-client="chatgpt"] .wc-art{border-left:1px solid var(--wc-line);background:#fff;border-radius:0}
.wc-art-h{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--wc-line);font:500 13px var(--body);color:var(--wc-fg);flex-shrink:0}
.wc-art-h>i{color:var(--wc-dim);font-size:15px}.wc-art-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wc-art-h .dh-spacer{display:none}
.wc-art-ic{display:inline-flex;gap:8px;color:var(--wc-dim);font-size:15px}
.wc-seg{display:inline-flex;border:1px solid var(--wc-line);border-radius:7px;overflow:hidden;flex-shrink:0}.wc-seg span{padding:3px 9px;font:500 11.5px var(--body);color:var(--wc-dim)}.wc-seg span.on{background:var(--wc-hover);color:var(--wc-fg)}
.wc-art-btn{border:1px solid var(--wc-line);border-radius:999px;padding:3px 11px;font:500 12px var(--body);color:var(--wc-fg);white-space:nowrap}
.wc-art-body{flex:1;overflow-y:auto;padding:20px 22px}
.webchat[data-client="claude"] .wc-art-body{--art-accent:#C6613F;--art-line:#E5E1D6;--art-muted:#7C7568}
.webchat[data-client="chatgpt"] .wc-art-body{--art-accent:#0D0D0D;--art-line:#ECECEC;--art-muted:#8F8F8F;padding:26px 32px}
.webchat[data-client="chatgpt"] .wc-art-body .art-doc h1{font-size:26px}
.wc-art-f{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px;border-top:1px solid var(--wc-line);font:500 11.5px var(--mono);color:var(--wc-dim);flex-shrink:0}
.wc-pencil{position:absolute;right:16px;bottom:16px;width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--wc-line);box-shadow:0 4px 12px rgba(0,0,0,.08);display:inline-flex;align-items:center;justify-content:center;color:var(--wc-fg)}
.wc-pencil[hidden]{display:none}
.wc-model{display:inline-flex;align-items:center;gap:4px;font:600 15px var(--body);color:var(--wc-fg)}.wc-model i{color:var(--wc-dim)}
.wc-more{color:var(--wc-dim);font-size:17px}
.webchat [hidden]{display:none!important}

/* the honest line — always on, in both hosted clients */
.wc-soon{display:flex;align-items:center;gap:8px;margin:10px 26px 0;padding:8px 12px;border:1px solid #F2DFBB;background:#FCF0DC;color:#92600A;border-radius:10px;font:500 12px var(--body);line-height:1.4}
.wc-soon i{flex-shrink:0}

/* tool rows: Claude = bare hairline row; ChatGPT = one muted "Used <app>" line */
.wc-tool{display:inline-flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px;align-self:flex-start;min-width:min(380px,100%);max-width:100%;border:1px solid var(--wc-line);border-radius:9px;padding:7px 11px;font-size:12.5px;color:var(--wc-dim);background:transparent}
.wc-tool>i:first-child{color:var(--wc-accent);font-size:14px}.wc-tool>i:last-child{margin-left:2px;font-size:14px}
/* one line at the staged width: the server label, the tool, its result chip */
.wc-tool{font-size:12px;gap:7px;padding:7px 10px}.wc-srv{font-size:12px}
.wc-srv{color:var(--wc-fg);font-weight:500;white-space:nowrap}.wc-tool code{font:500 11.5px var(--mono);color:var(--wc-fg);white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.wc-tool .wc-r{display:none}
.wc-tool.run{background:linear-gradient(90deg,transparent,var(--wc-hover),transparent);background-size:200% 100%;animation:shim 1.2s linear infinite}
.wc-tool.run code::after{content:"…"}
@keyframes shim{to{background-position:-200% 0}}
.webchat[data-client="chatgpt"] .wc-tool{border:0;padding:2px 0;min-width:0;background:none}
.webchat[data-client="chatgpt"] .wc-tool code{display:none}
.webchat[data-client="chatgpt"] .wc-srv{font-size:0}
.webchat[data-client="chatgpt"] .wc-srv::before{content:"Used " attr(data-app-name);font-size:12.5px;color:var(--wc-dim);font-weight:500}
.webchat[data-client="chatgpt"] .wc-tool.run .wc-srv::before{content:"Working on it…"}
.webchat[data-client="chatgpt"] .wc-tool>i:first-child{color:var(--wc-dim)}

/* the artifact card in the thread + the inline fallback */
.wc-artcard{display:flex;align-items:center;gap:12px;align-self:flex-start;width:min(380px,100%);border:1px solid var(--wc-line);border-radius:12px;padding:11px 13px;background:var(--wc-card);cursor:pointer;font-family:var(--body);text-align:left;color:var(--wc-fg)}
.wc-arttile{width:38px;height:38px;border-radius:9px;background:var(--wc-hover);display:inline-flex;align-items:center;justify-content:center;font-size:17px;color:var(--wc-fg);flex-shrink:0}
.wc-artcard b{display:block;font:500 13.5px var(--body);color:var(--wc-fg)}.wc-artcard small{font-size:11.5px;color:var(--wc-dim)}
.webchat[data-client="chatgpt"] .wc-artcard{border-radius:16px}
.wc-artinline{background:#fff;border:1px solid var(--wc-line);border-radius:12px;padding:14px;max-width:100%}
.wc-artinline .art-doc h1{font-size:17px;margin-bottom:8px}

/* composer: two rows — claude.ai's tall rectangle; ChatGPT keeps the pill radius */
.wc-composer{display:block;margin:0 26px;border:1px solid var(--wc-line);background:#fff;border-radius:18px;padding:12px 14px 10px;box-shadow:0 1px 2px rgba(16,19,33,.04);color:var(--wc-dim);font-size:13.5px;flex-shrink:0}
.webchat[data-client="chatgpt"] .wc-composer{border-radius:26px}
.wc-crow{min-height:20px;line-height:1.45}.wc-ph.typed{color:var(--wc-fg)}
.wc-ctrls{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:16px;color:var(--wc-fg)}
.wc-modelpick{font:500 12.5px var(--body);color:var(--wc-dim)}
.wc-think{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--wc-line);border-radius:999px;padding:4px 11px;font:500 12px var(--body);color:var(--wc-fg)}
.wc-send{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:15px}
.wc-send.claude{border-radius:8px;background:#C6613F}.wc-send.gpt{border-radius:50%;background:#0D0D0D}
.wc-foot{display:block;margin:10px 26px 14px;text-align:center;font-size:11.5px;color:var(--wc-dim);flex-shrink:0}
.wc-cta{margin-top:4px}

/* ── responsive ── */
@media (max-width:1100px){
  /* `display:none` would take the sidebar OUT of the grid, so auto-placement handed .wc-main
     the 0px column and the transcript collapsed to ~52px. Keep it placed; the column clips it. */
  .webchat.staged{grid-template-columns:0 minmax(260px,42fr) 58fr}
  .webchat.staged .wc-side{visibility:hidden;border-right:0;padding:0}
  .browser-body[data-view="staged"],.browser-body[data-view="studio"],.browser-body.dock-open{grid-template-columns:200px 1fr 290px}
  .d-dock .dd-panel{min-width:284px}
  .us-h .us-seg,.us-h .us-edit,.us-tools .us-px,.us-tools .ri-external-link-line{display:none}
  .wc-art-h .wc-art-ic,.wc-art-h .ri-file-copy-line,.wc-art-h .ri-download-2-line{display:none}
}
@media (max-width:960px){
  .browser-body,.browser-body[data-view],.browser-body.dock-open{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .d-dock,.d-launch{display:none}
  .d-side{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 10px}
  .d-side>*{display:none}.d-side>.d-top,.d-side>.d-tree,.d-side>.d-spaces{display:flex}
  .d-tree{flex-direction:row;flex-wrap:nowrap;gap:4px}.d-side>.d-spaces,.d-space{display:contents}
  .d-space>.d-folder{display:none}.d-space>.d-folder-apps{display:contents}
  /* one swipeable row instead of three wrapped ones; its own scroll container, so the
     page's width is untouched */
  .d-side{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .d-side::-webkit-scrollbar{display:none}
  .d-tree{flex-wrap:nowrap}
  .d-app{flex-shrink:0}
  .d-app,.d-space .d-app.sub{width:auto;margin-left:0;font-size:12px;padding:5px 9px}
  .d-app.doc,.d-app.auto,.d-app .d-draft{display:none}
  .uc-col{width:min(560px,94%)}
  .ua{grid-template-columns:1fr}.ua-side{display:none}.ua-kpis{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .webchat,.webchat.staged{grid-template-columns:1fr}
  .wc-stage{display:none!important}
  .wc-soon{margin-inline:14px}.wc-tool{min-width:0;width:100%}
}
@media (max-width:640px){
  .d-side{display:none}
  .browser-body,.browser-body[data-view],.browser-body.dock-open{grid-template-rows:minmax(0,1fr)}
  .art-table td{white-space:normal}.art-table td .st{white-space:nowrap}.uc-artinline,.wc-artinline{overflow-x:auto}
  .art-table th,.art-table td{padding:6px 4px}.art-table .st{padding:2px 5px;font-size:10px}
  /* a 5-column table in a 316px card: the last column (owner / last touch) goes, like the product's narrow table */
  .uc-artinline .art-table th:last-child,.uc-artinline .art-table td:last-child,.wc-artinline .art-table th:last-child,.wc-artinline .art-table td:last-child{display:none}
  .art-kpis{grid-template-columns:1fr 1fr}.ua-kpis{grid-template-columns:1fr 1fr}
  .art-table{font-size:11.5px}.art-table th,.art-table td{padding:6px}
}
@media (prefers-reduced-motion:reduce){.wc-tool.run,.uc-step.run,.us-spin{animation:none}}

/* ── the apps bento window = App Studio's own chrome (v10.5) ───────────────────
 * Same `.us-*` pieces the demo's studio scene uses, so the card cannot drift from
 * the product; plus `.us-more`, which spells out the ⋮ menu's destinations because
 * breadth is the card's whole point. */
.bwin.studio-ui{display:grid;grid-template-columns:1fr 296px;height:470px;border:1px solid var(--line);
  border-radius:14px;overflow:hidden;background:var(--uw-bg);box-shadow:0 20px 50px -34px rgba(60,40,160,.35)}
.bwin.studio-ui .us{min-width:0;position:relative}
.bwin.studio-ui .us-h{height:42px}
.bwin.studio-ui .us-h b{font:600 13.5px var(--body);white-space:nowrap}
/* the ⋮ menu, drawn open — a real menu, anchored under the button it belongs to */
.us-menu{display:none;position:absolute;top:40px;right:8px;z-index:4;width:214px;background:#fff;border:1px solid var(--uw-line);
  border-radius:10px;box-shadow:0 16px 40px -14px rgba(16,19,33,.28);padding:4px;flex-direction:column}
.us-menu>span{display:flex;align-items:center;gap:10px;padding:6px 9px;border-radius:7px;
  font:400 12.5px var(--body);color:var(--ink);white-space:nowrap}
.us-menu>span i{font-size:14px;color:var(--uw-muted);width:16px;text-align:center}
.us-menu>u{height:1px;background:var(--uw-line);margin:4px 6px;text-decoration:none}
.us-menu.open{display:flex;animation:scenein .18s ease}
.us-h>.ri-more-2-fill.on{color:var(--uw-violet)}
.bwin.studio-ui .us-h>.ri-more-2-fill{cursor:default}
.bwin.studio-ui .us-canvas{align-items:stretch;justify-content:stretch}
.us-prev{flex:1;min-width:0;overflow:auto;padding:12px 14px;
  background:radial-gradient(rgba(16,19,33,.05) 1px,transparent 1.4px) 0 0/16px 16px,#FBFBFE}
.us-prev .d-table{font-size:12px;background:#fff;border-radius:8px}
/* one build, three states: nothing → the data model → the running app */
.us-prev>.pv-empty,.us-prev>.pv-schema,.us-prev>.pv-app{display:none}
.us-prev[data-stage="empty"]>.pv-empty{display:flex}
.us-prev[data-stage="schema"]>.pv-schema{display:block;animation:scenein .35s ease}
.us-prev[data-stage="app"]>.pv-app{display:grid;animation:scenein .35s ease}
.pv-empty{flex-direction:column;align-items:center;justify-content:center;text-align:center;height:210px;gap:2px;color:var(--uw-muted)}
.pv-empty>i{font-size:24px;color:#C9BEF0}
.pv-empty b{font:600 13.5px var(--body);color:var(--ink)}
.pv-empty p{font-size:12px;max-width:42ch;margin:2px 0 0}

/* the data model App Studio just created */
.pv-shead{display:flex;align-items:center;gap:7px;font:600 12.5px var(--body);color:var(--ink);margin-bottom:10px}
.pv-shead>i{color:var(--uw-violet);font-size:15px}
.pv-shead em{font-style:normal;font-weight:400;font-size:11.5px;color:var(--uw-muted)}
.pv-tables{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:start}
.pv-table{background:#fff;border:1px solid var(--uw-line);border-radius:10px;padding:8px 10px 6px;min-width:0}
.pv-table h5{display:flex;align-items:center;gap:6px;margin:0 0 6px;font:600 11.5px var(--mono);color:var(--ink)}
.pv-table h5 i{color:var(--uw-violet);font-size:13px}
.pv-table span{display:flex;align-items:center;gap:6px;padding:3px 0;border-top:1px solid #F2F2F6;
  font:500 11px var(--mono);color:#4A4C58;overflow:hidden;white-space:nowrap}
.pv-table span i{margin-left:auto;font-style:normal;font:500 10px var(--mono);color:var(--uw-muted);
  background:#F5F4FA;border-radius:4px;padding:1px 5px}

/* the app, drawing its OWN shell — no repeat of the name the studio header already shows */
.pv-app{grid-template-columns:120px 1fr;gap:0;background:#fff;border:1px solid var(--uw-line);border-radius:10px;overflow:hidden}
.pv-nav{display:flex;flex-direction:column;gap:1px;padding:8px 6px;border-right:1px solid var(--uw-line);background:#FCFCFB}
.pv-nav span{display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:7px;font:500 11.5px var(--body);color:#4A4C58}
.pv-nav span i{font-size:13px;color:var(--uw-muted)}
.pv-nav span.on{background:var(--uw-violet-soft);color:var(--uw-violet)}.pv-nav span.on i{color:var(--uw-violet)}
.pv-main{min-width:0;padding:10px 12px 12px}
.pv-h{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;color:var(--ink)}
.pv-h b{font:600 13px var(--body)}.pv-h em{font-style:normal;font-size:11.5px;color:var(--uw-muted)}
.pv-tab{font:500 11.5px var(--body);color:var(--uw-muted);border:1px solid transparent;border-radius:7px;padding:3px 9px}
.pv-tab.on{background:var(--uw-violet-soft);color:var(--uw-violet);font-weight:600}
.pv-add{display:inline-flex;align-items:center;gap:4px;background:var(--uw-violet);color:#fff;border-radius:7px;
  padding:4px 10px;font:600 11.5px var(--body)}
.pv-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.pv-kpi{background:#fff;border:1px solid var(--uw-line);border-radius:10px;padding:8px 11px;min-width:0}
.pv-kpi span{display:block;font:600 9px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--uw-muted)}
.pv-kpi b{font:600 17px var(--display);color:var(--ink)}
.pv-kpi i{display:block;font-style:normal;font-size:10.5px;color:var(--uw-muted)}
.pv-board{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:start}
.pv-col{background:#F7F7FB;border:1px solid var(--uw-line);border-radius:10px;padding:8px;min-width:0}
.pv-colh{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.pv-colh em{margin-left:auto;font-style:normal;font:600 10.5px var(--mono);color:var(--uw-muted)}
.pv-card{background:#fff;border:1px solid var(--uw-line);border-radius:9px;padding:9px 10px;
  box-shadow:0 1px 2px rgba(16,19,33,.05)}
.pv-card b{display:block;font:600 12.5px var(--body);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pv-meta{display:flex;align-items:center;gap:6px;margin-top:5px;font:600 12px var(--display);color:var(--ink)}
.pv-ow{margin-left:auto;width:19px;height:19px;border-radius:50%;background:var(--c,#8B5CF6);color:#fff;
  font:600 9.5px var(--body);font-style:normal;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.us-agent{border-left:1px solid var(--uw-line);background:#fff;display:flex;flex-direction:column;min-width:0}
.us-agent .dd-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 14px;
  border-bottom:1px solid var(--uw-line)}
.us-agent .dd-title{font:600 13.5px var(--body)}
.us-agent .dd-actions{display:inline-flex;gap:10px;color:var(--uw-muted);font-size:15px}
.us-chat{flex:1;min-height:0;overflow-y:auto;background:var(--uw-bg);padding:12px 14px;
  display:flex;flex-direction:column;gap:12px}
.us-chat .uc-you{font-size:12.5px}.us-chat .uc-say{font-size:12.5px;margin-bottom:0}
.us-chat .uc-who{font-size:12.5px}
.us-agent .uc-composer.mini{margin:8px 12px 12px}
.us-agent .bwin-ph{white-space:normal}
@media (max-width:820px){
  .bwin.studio-ui{grid-template-columns:1fr;grid-template-rows:1fr auto;height:auto}
  .us-agent{border-left:0;border-top:1px solid var(--uw-line);max-height:260px}
  .bwin.studio-ui .us-h .us-seg,.bwin.studio-ui .us-h .us-edit,.us-tools .us-px,.us-tools .ri-external-link-line{display:none}
}
@media (max-width:640px){
  /* a 342px card: keep the name, the state and Publish; the strip wraps as far as it needs */
  .bwin.studio-ui .us-h .us-chip,.bwin.studio-ui .us-h>.ri-more-2-fill,.bwin.studio-ui .us-url{display:none}
  .bwin.studio-ui .us-h b{min-width:0;overflow:hidden;text-overflow:ellipsis}
  /* a menu is transient chrome; on a 342px card it would cover the app it belongs to */
  .us-menu{display:none}
  .us-prev .d-table th:last-child,.us-prev .d-table td:last-child{display:none}
  .pv-kpis{grid-template-columns:1fr 1fr}.pv-kpi:last-child{display:none}
  .pv-board{grid-template-columns:1fr}.pv-h .pv-tab,.pv-h em{display:none}
  .us-prev[data-stage="app"]>.pv-app{grid-template-columns:1fr}.pv-nav{display:none}
  .pv-tables{grid-template-columns:1fr}.pv-table:last-child{display:none}
  .us-agent{max-height:220px}
}
