/* chat.getsaywork.com — design mock, round 2. Built on ../mock/mock.css (same tokens and primitives:
   btn, ibtn, chip, card, bubble, fcard, appr, notch, meter, plan, tag, pop, switch).
   Everything new is prefixed w- (laptop) or p- (phone). Dark mode = html[data-theme="dark"]. */

/* ============================================================ theme == */
:root{--tabs-bg:#DEE1DB;--cloud-tint:#E6EEF6;--cloud-ink:#2B5C8A;--glow:69,215,162}
html[data-theme="dark"]{
  color-scheme:dark;
  --graphite:#EEF0EA; --graphite-2:#D6DBD2; --chalk:#2A2E32; --paper:#1D2023;
  --stone:#A3AAA5; --line:#3B4045; --mint-tint:#1D3A2F; --green:#45D7A2;
  --bubble-them:#2A2E32; --bubble-me:#1D3A2F; --bubble-me-ink:#EEF0EA;
  --s1:0 1px 2px rgba(0,0,0,.35),0 4px 14px rgba(0,0,0,.18);
  --s2:0 6px 20px rgba(0,0,0,.4); --s3:0 18px 48px rgba(0,0,0,.55);
  --tabs-bg:#111315; --cloud-tint:#22303D; --cloud-ink:#9CC3EA;
  --danger:#E8735E; --warning:#E2A84B;
}
html[data-theme="dark"] body{background:#0E1011}
html[data-theme="dark"] .mockbar{background:rgba(20,22,24,.92)}
html[data-theme="dark"] .row:hover,html[data-theme="dark"] .w-acct:hover{background:rgba(255,255,255,.05)}
html[data-theme="dark"] .w-side .row.on{background:#34393E;box-shadow:none}
html[data-theme="dark"] .lgo.inv{filter:invert(1)}
/* the bar on top of other sites stays graphite in both themes */
.notch,.w-ovl{--graphite:#1D2023;--graphite-2:#2A2E32;--chalk:#EEF0EA;--paper:#FAFBF8;--stone:#5E6561}

/* Scrollbars: invisible until you hover the thing that scrolls (phone: never). */
.w-browser,.w-browser *{scrollbar-width:thin;scrollbar-color:transparent transparent}
.w-browser *:hover{scrollbar-color:color-mix(in srgb,var(--graphite) 20%,transparent) transparent}
.phone,.phone *{scrollbar-width:none}
.phone ::-webkit-scrollbar{display:none}

/* brand logos (official files from site/img; Google's never under 20 px) */
.lgo{width:20px;height:20px;object-fit:contain;flex:none;display:block}
.lgo.s{width:16px;height:16px}
.lgo.l{width:28px;height:28px}
.lgo.xl{width:36px;height:36px}

/* ============================================================ viewer == */
.mockbar .grp{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--stone)}
.mockbar .tabs{flex-basis:100%}
.w-stage{display:flex;justify-content:center;padding:18px 20px 8px;overflow:hidden}
.w-scale{transform-origin:top center}
.w-note{max-width:1100px;margin:6px auto 48px;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.w-note .card{padding:16px 18px}
.w-note h3{font:600 16px var(--display);margin-bottom:4px}
.w-note p{font-size:14px;color:var(--stone);line-height:1.5}
.w-note p b{color:var(--graphite);font-weight:600}
[data-device="phone"] #lapView,[data-device="laptop"] #phoneView{display:none}
[data-device="phone"] #lapTabs,[data-device="laptop"] #phoneTabs{display:none}

/* ====================================================== browser frame == */
.w-browser{position:relative;width:1440px;height:860px;border-radius:14px;background:var(--paper);box-shadow:var(--s3);overflow:hidden;display:flex;flex-direction:column}
.w-tabs{flex:none;height:38px;background:var(--tabs-bg);display:flex;align-items:flex-end;padding-inline:10px;gap:2px}
.w-tab{display:flex;align-items:center;gap:8px;height:32px;width:200px;padding-inline:12px 8px;border-radius:10px 10px 0 0;font-size:12px;color:var(--stone);position:relative}
.w-tab.on{background:var(--paper);color:var(--graphite)}
.w-tab svg.mk{width:15px;height:14px;flex:none}
.w-tab span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-tab .x{width:14px;height:14px;color:var(--stone)}
.w-tab .fav{width:14px;height:14px;border-radius:4px;background:var(--line);flex:none}
.w-tab .fav.p{background:linear-gradient(135deg,var(--pink),#FFB3CC)}
.w-tab .fav.n{background:#1E3A5F}
.w-tab.g::after{content:"";position:absolute;inset-inline:6px;bottom:0;height:2px;border-radius:2px;background:var(--graphite)}
.w-tab.g{width:170px}
.w-tgroup{align-self:center;display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 4px;padding-inline:4px 9px;border-radius:var(--r-pill);background:var(--graphite);color:var(--paper);font-size:12px;font-weight:600;margin-inline:6px 2px;white-space:nowrap}
.w-winctl{margin-inline-start:auto;display:flex;align-self:stretch;align-items:center;gap:22px;padding-inline:14px;color:var(--stone);font-size:13px}
.w-tool{flex:none;height:46px;display:flex;align-items:center;gap:6px;padding-inline:10px;background:var(--paper)}
.w-tool .ibtn{width:32px;height:32px}
.w-url{flex:1;display:flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:var(--r-pill);background:var(--chalk);font-size:14px;color:var(--graphite);margin-inline:6px}
.w-url svg.i{width:15px;height:15px;color:var(--stone)}
.w-url small{color:var(--stone);font-size:14px}
.w-ext{position:relative;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--graphite)}
.w-ext svg.mk{width:19px;height:17px}
.w-ext .d{position:absolute;bottom:5px;inset-inline-end:5px;width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 2px var(--paper)}
.w-ext.live .d{animation:breathe 1.6s ease-in-out infinite}
.w-ext.off{color:var(--line)}
.w-ext.off .d{display:none}
.w-me{width:26px;height:26px;border-radius:50%;background:var(--graphite);color:var(--paper);display:grid;place-items:center;font:600 12px var(--ui);margin-inline:4px 6px;flex:none}
.w-view{position:relative;flex:1;min-height:0;overflow:hidden}
.w-screen{position:absolute;inset:0;display:none}
.w-screen.on{display:block;animation:fadein var(--t-slow) var(--ease)}

/* =========================================================== app grid == */
.w-app{height:100%;display:grid;grid-template-columns:268px 1fr;min-height:0}
.w-app.with-view{grid-template-columns:268px 1fr 520px}
.w-main{position:relative;min-width:0;min-height:0;overflow:hidden}

/* sidebar */
.w-side{padding:8px 0 8px 8px;padding-inline:8px 0;min-height:0}
.w-side-in{height:100%;background:var(--chalk);border-radius:var(--r-lg);display:flex;flex-direction:column;padding:12px 10px 10px;min-height:0}
.w-brand{display:flex;align-items:center;gap:8px;padding:2px 6px 10px;font:800 20px var(--display);letter-spacing:-.03em}
.w-brand svg.mk{width:24px;height:22px}
.w-brand .ibtn{margin-inline-start:auto}
.w-nav{display:flex;flex-direction:column;gap:1px}
.w-nav .row{font-weight:500;min-height:34px}
.w-nav .row svg.i{width:18px;height:18px;color:var(--stone)}
.w-nav .row.on svg.i{color:var(--graphite)}
.w-nav .row.new{font-weight:600}
.w-nav .row kbd{margin-inline-start:auto;font-size:11px;padding:0 5px;opacity:.8;background:transparent}
.w-nav .row .cnt{margin-inline-start:auto;font-size:12px;color:var(--stone);font-variant-numeric:tabular-nums}
.w-scrollside{flex:1;min-height:0;overflow-y:auto;margin-top:2px;display:flex;flex-direction:column;gap:1px}
.w-scrollside .sec{padding-top:12px}
.w-scrollside .row .mascot{margin-inline-start:-2px}
.w-scrollside .tag{height:20px;font-size:11px;padding:0 7px;background:var(--paper)}
.w-scrollside .row .fic svg.i{width:17px;height:17px}
.w-foot{flex:none;display:flex;flex-direction:column;gap:6px;padding-top:8px}
.w-acct{display:flex;align-items:center;gap:10px;padding:6px;border-radius:var(--r-sm);flex:1;min-width:0;text-align:start}
.w-acct .w-me{margin:0;width:30px;height:30px;font-size:13px}
.w-acct .n{flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.2}
.w-acct .n small{display:block;font-size:12px;font-weight:500;color:var(--stone)}
.w-acctrow{display:flex;align-items:center;gap:2px}
.w-acctrow .ibtn{width:32px;height:32px}

/* the usage ring: click opens Usage, hover shows the two limits */
.w-ringbtn{position:relative;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.w-ringbtn:hover{background:var(--paper)}
.w-ring{width:22px;height:22px}
.w-ring circle{fill:none;stroke-width:3}
.w-ring .bg{stroke:var(--line)}
.w-ring .fg{stroke:var(--warning);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center}
.w-ringtip{position:absolute;z-index:35;bottom:calc(100% + 8px);inset-inline-start:-150px;width:290px;padding:14px;background:var(--paper);border-radius:var(--r-md);box-shadow:var(--s3);text-align:start;opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity var(--t-quick),transform var(--t-base) var(--ease)}
.w-ringbtn:hover .w-ringtip{opacity:1;transform:none}
.w-ringtip b{font-size:14px;font-weight:600}
.w-ringtip .lim{margin-top:10px}
.w-ringtip .lim .t{display:flex;justify-content:space-between;font-size:12px;color:var(--stone);margin-bottom:5px}
.w-ringtip .lim .t span:first-child{color:var(--graphite);font-weight:600}
.w-ringtip .more{display:block;margin-top:12px;font-size:12px;font-weight:600;color:var(--graphite)}

/* The app slot: always there, cannot be closed, changes with what you have. */
.w-slot{display:none;background:var(--paper);border-radius:var(--r-md);box-shadow:var(--s1);padding:12px;gap:10px;flex-direction:column;text-align:start}
html[data-slot="none"] .w-slot.s-none,html[data-slot="app"] .w-slot.s-app,html[data-slot="synced"] .w-slot.s-synced{display:flex}
.w-slot .h{display:flex;align-items:center;gap:10px}
.w-slot .h b{font-size:14px;font-weight:600;line-height:1.25;display:block}
.w-slot .h small{font-size:12px;color:var(--stone);line-height:1.35;display:block}
.w-slot .pcic{width:36px;height:36px;border-radius:var(--r-sm);background:var(--chalk);display:grid;place-items:center;flex:none}
.w-slot .pcic svg.i{width:22px;height:22px;color:var(--stone)}
.w-slot .btn{width:100%}
.w-slot.s-synced{flex-direction:row;align-items:center;padding:10px 12px}
.w-slot.s-synced .tx{flex:1;font-size:12px;color:var(--stone);line-height:1.35}
.w-slot.s-synced .tx b{display:block;font-size:14px;font-weight:600;color:var(--graphite)}
.w-slot .sync-ic{width:30px;height:30px;border-radius:50%;background:var(--mint-tint);color:var(--green);display:grid;place-items:center;flex:none}
.w-slot .sync-ic svg.i{width:16px;height:16px}

/* top bar of the main area: agent picker left, gift right */
.w-top{position:absolute;z-index:12;top:0;inset-inline:0;height:60px;display:flex;align-items:center;gap:8px;padding-inline:16px 16px;pointer-events:none}
.w-top>*{pointer-events:auto}
.w-top .grow{flex:1;pointer-events:none}
.w-agentbtn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 6px;padding-inline:6px 10px;border-radius:var(--r-pill);font:600 16px var(--display);transition:background var(--t-quick)}
.w-agentbtn:hover{background:var(--chalk)}
.w-agentbtn svg.chv{width:16px;height:16px;color:var(--stone)}
.w-gift{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:var(--r-pill);background:var(--chalk);font-size:14px;font-weight:600}
.w-gift svg.i{width:16px;height:16px}

/* ========================================================= composer == */
/* like Manus: where + project sit on a strip above the box; inside: +, apps, approval, mic, send */
.w-cw{position:relative;width:100%}
.w-strip2{display:flex;align-items:center;gap:2px;padding:0 12px 6px}
.w-strip2 .w-pill{height:28px;background:transparent;color:var(--stone);font-weight:500;font-size:13px;padding-inline:8px 9px}
.w-strip2 .w-pill:hover{background:var(--chalk);color:var(--graphite)}
.w-strip2 .w-pill.set{color:var(--graphite);font-weight:600}
.w-strip2 .sep{width:1px;height:14px;background:var(--line);margin-inline:4px}
.w-comp{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--s2);padding:12px 10px 10px;transition:box-shadow var(--t-base)}
.w-comp:focus-within{box-shadow:var(--s2),0 0 0 3px color-mix(in srgb,var(--graphite) 7%,transparent)}
.w-comp textarea{display:block;width:100%;border:0;outline:0;background:transparent;resize:none;font-size:16px;line-height:24px;padding:4px 8px;height:56px;color:var(--graphite)}
.w-comp textarea::placeholder{color:var(--stone);opacity:.85}
.w-comp.short textarea{height:32px}
.w-comp .tools{display:flex;align-items:center;gap:4px;margin-top:6px}
.w-comp .tools .grow{flex:1}
.w-comp .cbtn{width:36px;height:36px}
.w-comp .cbtn svg.i{width:19px;height:19px}
.w-comp .cbtn.apps{position:relative}
.w-comp .cbtn.apps .n{position:absolute;top:3px;inset-inline-end:2px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:var(--graphite);color:var(--paper);font-size:9.5px;font-weight:700;display:grid;place-items:center}
.w-comp .typed{padding:4px 8px;font-size:16px;line-height:24px;min-height:56px;color:var(--graphite)}
.w-comp.short .typed{min-height:32px}
.w-comp .typed .caret{display:inline-block;width:2px;height:18px;background:var(--graphite);vertical-align:-3px;animation:blinkc 1s steps(1) infinite}
.w-comp .typed .tok{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px 0 4px;padding-inline:4px 8px;border-radius:6px;background:var(--chalk);font-weight:600;vertical-align:-1px}
.w-comp .typed .tok svg.i{width:14px;height:14px}
.w-comp .typed .q{color:var(--stone)}
.w-pill{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 9px;padding-inline:9px 10px;border-radius:var(--r-pill);background:var(--chalk);font-size:14px;font-weight:600;color:var(--graphite);white-space:nowrap;transition:background var(--t-quick)}
.w-pill svg.i{width:16px;height:16px}
.w-pill svg.chv{width:14px;height:14px;color:var(--stone)}
.w-pill .lgo{width:16px;height:16px}
.w-pill.ghost{background:transparent;color:var(--stone);font-weight:500}
.w-pill.ghost:hover{background:var(--chalk);color:var(--graphite)}
.pop.place,.pop.fold{min-width:370px}
.pop.place button,.pop.fold button{align-items:flex-start}
.pop.place button>.lgo,.pop.place button>svg.i:first-child,.pop.fold button>svg.i:first-child{margin-top:2px}
.pop button.off{opacity:.55}
.pop .phead{padding:10px 10px 4px;font-size:12px;font-weight:700;color:var(--stone);text-transform:uppercase;letter-spacing:.04em}
.pop .pfoot{padding:8px 10px 4px;font-size:12px;color:var(--stone);box-shadow:inset 0 1px 0 var(--chalk);margin-top:4px}
.pop .st{margin-inline-start:6px;font-size:12px;font-weight:600;color:var(--green)}
.pop .st.off{color:var(--stone)}
.pop .add{color:var(--stone)}
.pop .sw{margin-inline-start:auto;transform:scale(.85)}
.pop .sw .track{pointer-events:none}
.pop.apps{min-width:330px}
.pop.apps button{align-items:center}
.pop.apps .switch{padding:0}
.pop.big{min-width:420px;max-height:440px;overflow-y:auto}
.pop.big kbd{margin-inline-start:auto}
.pop.big button.on{background:var(--chalk)}
.pop.big .mascot{flex:none}
.pop .ic2{width:28px;height:28px;border-radius:var(--r-xs);background:var(--chalk);display:grid;place-items:center;flex:none;color:var(--stone)}
.pop button.on .ic2{background:var(--paper)}
.pop .ic2 svg.i{width:16px;height:16px}
.pop.left{inset-inline-start:0}

/* ============================================================== home == */
.w-home{height:100%;overflow-y:auto;display:flex;flex-direction:column;align-items:center;padding:0 32px}
.w-hero{width:100%;max-width:780px;margin-top:150px;display:flex;flex-direction:column;align-items:center}
.w-hero h1{font:800 40px/1.05 var(--display);letter-spacing:-.035em;margin:14px 0 24px;text-align:center}
.w-starts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}
.w-starts .chip{height:36px;padding:0 14px;font-weight:500;background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--graphite);transition:background var(--t-quick)}
.w-starts .chip:hover{background:var(--chalk);box-shadow:none}
.w-starts .chip svg.i{width:16px;height:16px;color:var(--stone)}
.w-under{margin-top:10px;font-size:12px;color:var(--stone);text-align:center}
.w-setup{width:100%;padding:16px 18px;display:flex;gap:14px;align-items:center;margin-bottom:14px}
.w-setup .tx{flex:1}
.w-setup b{font-weight:600;display:block}
.w-setup small{font-size:14px;color:var(--stone);display:block}
.w-setup .acts{display:flex;gap:8px;align-items:center}
.w-steps3{display:flex;gap:18px;margin-top:10px;font-size:12px;color:var(--stone)}
.w-steps3 span{display:flex;align-items:center;gap:6px}
.w-steps3 i{width:18px;height:18px;border-radius:50%;background:var(--chalk);display:grid;place-items:center;font:700 11px var(--ui);font-style:normal;color:var(--graphite)}

/* ========================================================== the task == */
.w-run{height:100%;display:flex;flex-direction:column;min-height:0}
.w-rhead{flex:none;height:64px;display:flex;align-items:center;gap:12px;padding-inline:20px 16px}
.w-rhead .who{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.w-rhead b{font:600 20px/1.15 var(--display);letter-spacing:-.01em;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-rhead small{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--stone);white-space:nowrap}
.w-rhead .end{display:flex;gap:6px;align-items:center}
.w-rscroll{flex:1;min-height:0;overflow-y:auto;padding:4px 28px 24px}
.w-rscroll .col{max-width:700px}
.w-rdock{flex:none;padding:0 28px 14px}
.w-rdock .w-cw{max-width:700px;margin:0 auto}
.btn.stop svg.i{width:14px;height:14px;fill:currentColor;stroke:none}
.w-where{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:var(--r-pill);background:var(--chalk);font-size:12px;font-weight:600;color:var(--graphite);vertical-align:middle;white-space:nowrap}
.w-where svg.i{width:13px;height:13px}
.w-where .lgo{width:13px;height:13px}
.w-where.cloud{background:var(--cloud-tint);color:var(--cloud-ink)}
.w-where.pc{background:var(--mint-tint);color:var(--green)}

/* The steps, the way the good chat apps show them: a quiet line of what happened,
   the live step in shimmering text, sources as small chips, no circles to read. */
.tl{max-width:560px;width:100%}
.tl-h{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--stone);font-weight:500;padding:2px 0;width:100%;text-align:start}
.tl-h:hover{color:var(--graphite)}
.tl-h svg.i{width:16px;height:16px;transition:transform var(--t-base) var(--ease)}
.tl[data-open="true"] .tl-h .chev{transform:rotate(90deg)}
[dir="rtl"] .tl-h .chev{transform:scaleX(-1)}
.tl ol{display:none;flex-direction:column;margin-top:10px}
.tl[data-open="true"] ol{display:flex;animation:fadein var(--t-base) var(--ease)}
.tl li{position:relative;display:grid;grid-template-columns:22px 1fr auto;column-gap:12px;padding-bottom:14px}
.tl li::before{content:"";position:absolute;inset-inline-start:10.5px;top:24px;bottom:2px;width:1px;background:var(--line)}
.tl li:last-child::before{display:none}
.tl li:last-child{padding-bottom:2px}
.tl-ic{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:var(--stone);position:relative}
.tl-ic svg.i{width:15px;height:15px}
.tl li .tx{min-width:0;font-size:14px;line-height:22px;color:var(--graphite)}
.tl li .tx small{display:block;font-size:12px;line-height:1.4;color:var(--stone)}
.tl li time{font-size:12px;line-height:22px;color:var(--stone);font-variant-numeric:tabular-nums}
.tl li.part{grid-template-columns:1fr;padding:6px 0 10px}
.tl li.part::before{display:none}
.tl li.part .tx{font-weight:600}
.tl li.next .tx{color:var(--stone)}
.tl li.next .tl-ic{opacity:.5}
.tl li.now .tl-ic::after{content:"";position:absolute;inset:1px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--graphite);animation:spin 1s linear infinite}
.tl li.now .tl-ic svg{display:none}
.tl li.ask .tl-ic{color:var(--warning)}
@keyframes spin{to{transform:rotate(360deg)}}
.shimmer{background:linear-gradient(90deg,var(--stone) 0%,var(--stone) 35%,var(--graphite) 50%,var(--stone) 65%,var(--stone) 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shim 2s linear infinite}
@keyframes shim{from{background-position:100% 0}to{background-position:-150% 0}}
.srcs2{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.src2{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px 0 5px;padding-inline:5px 8px;border-radius:var(--r-pill);background:var(--chalk);font-size:12px;color:var(--stone);white-space:nowrap}
.src2 i{width:12px;height:12px;border-radius:3px;background:linear-gradient(135deg,var(--pink),#FFB3CC)}
.src2 i.m{background:linear-gradient(135deg,var(--mint),#BDEFD9)}
.src2 i.b{background:#1E3A5F}
.src2 .lgo{width:12px;height:12px}
.shots{display:flex;gap:6px;margin-top:6px}
.shots i{width:72px;height:46px;border-radius:var(--r-xs);background:#EEF0EA;position:relative;overflow:hidden}
.shots i::before{content:"";position:absolute;inset:7px 8px auto;height:4px;border-radius:2px;background:#D6DBD2;box-shadow:0 8px 0 #D6DBD2,0 16px 0 #D6DBD2,0 24px 0 #E3E6DF}
.shots i.av::after{content:"";position:absolute;top:7px;inset-inline-start:8px;width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,var(--pink),#FFB3CC)}
.shots i.av::before{inset-inline-start:28px}

/* handoff and fallback cards */
.w-hand{padding:14px 16px;max-width:520px}
.w-hand .flow{display:flex;align-items:center;gap:8px;margin:2px 0 10px;font-size:12px;color:var(--stone)}
.w-hand .flow svg.i{width:16px;height:16px}
.w-hand h4{font:600 16px/1.3 var(--ui)}
.w-hand p{font-size:14px;color:var(--stone);margin-top:2px}
.w-hand .acts{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.w-hand .done{display:none;align-items:center;gap:8px;margin-top:10px;font-size:14px;font-weight:600;color:var(--green)}
.w-hand.moved .acts{display:none}.w-hand.moved .done{display:flex}
.w-hand .thumb{height:120px;border-radius:var(--r-sm);overflow:hidden;position:relative;background:#F4F5F7;margin-top:10px}
.w-hand .thumb .cap-box{transform:translate(-50%,-50%) scale(.42)}

/* Kit's tabs: a quiet preview of the tabs Kit opened in your own Chrome */
.w-kview{padding:8px 8px 8px 0;padding-inline:0 8px;min-height:0}
.w-kview-in{height:100%;background:var(--chalk);border-radius:var(--r-lg);display:flex;flex-direction:column;padding:12px;gap:10px;min-height:0}
.w-kv-h{display:flex;align-items:center;gap:8px;padding:2px 4px}
.w-kv-h b{font:600 16px var(--display)}
.w-kv-h .cap{flex:1}
.w-ktabs{display:flex;gap:4px;overflow-x:auto}
.ktab{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 9px;padding-inline:9px 12px;border-radius:var(--r-pill);font-size:12px;font-weight:600;color:var(--stone);white-space:nowrap;flex:none}
.ktab i{width:13px;height:13px;border-radius:3px;background:linear-gradient(135deg,var(--pink),#FFB3CC)}
.ktab i.n{background:#1E3A5F}
.ktab i.g{background:var(--line)}
.ktab svg.i{width:13px;height:13px}
.ktab.on{background:var(--paper);color:var(--graphite);box-shadow:var(--s1)}
.ktab .dot{width:7px;height:7px}
.w-kv-seg{display:flex;gap:2px;background:var(--paper);border-radius:var(--r-pill);padding:3px;box-shadow:var(--s1);align-self:flex-start}
.w-kv-seg button{height:28px;padding:0 10px;border-radius:var(--r-pill);font-size:12px;font-weight:600;color:var(--stone);display:inline-flex;align-items:center;gap:5px}
.w-kv-seg button svg.i,.w-kv-seg button .lgo{width:14px;height:14px}
.w-kv-seg button[aria-pressed="true"]{background:var(--chalk);color:var(--graphite)}
.w-shot{position:relative;flex:1;min-height:0;background:#FAFBF8;color:#1D2023;border-radius:var(--r-md);box-shadow:var(--s1);overflow:hidden;display:flex;flex-direction:column}
.w-shot[hidden]{display:none}
.w-shot .sbar{height:34px;flex:none;display:flex;align-items:center;gap:8px;padding:0 10px;box-shadow:inset 0 -1px 0 #EEF0EA;font-size:12px;color:#5E6561}
.w-shot .sbar .u{flex:1;height:22px;border-radius:var(--r-pill);background:#EEF0EA;display:flex;align-items:center;padding:0 10px;white-space:nowrap;overflow:hidden}
.w-shot .sbar .tag{height:22px;background:#EEF0EA;color:#1D2023}
.w-shot .sbar .tag.warn{color:#B7791F}
.w-shot .pg{flex:1;min-height:0;position:relative;overflow:hidden}
.w-kv-foot{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--paper);border-radius:var(--r-md);box-shadow:var(--s1);font-size:12px;color:var(--stone)}
.w-kv-foot span{flex:1;line-height:1.4}
.w-kv-foot b{display:block;font-size:14px;font-weight:600;color:var(--graphite)}

/* believable pages, drawn with shapes. Screenshots of websites stay light in dark mode. */
.pf{padding:18px 22px;color:#1D2023}
.pf-top{display:flex;gap:18px;align-items:center}
.pf-av{width:76px;height:76px;border-radius:50%;background:linear-gradient(135deg,var(--pink),#FFB3CC);flex:none}
.pf-name{font:700 17px var(--ui)}
.pf-stats{display:flex;gap:18px;font-size:13px;color:#5E6561;margin-top:4px}
.pf-stats b{color:#1D2023}
.pf-bio{font-size:13px;color:#5E6561;margin-top:6px;line-height:1.4}
.pf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:16px}
.pf-grid i{aspect-ratio:1;border-radius:6px;background:#D6DBD2}
.pf-grid i:nth-child(1){background:#BDEFD9}.pf-grid i:nth-child(3){background:#FFC9DB}.pf-grid i:nth-child(5){background:#E3E6DF}.pf-grid i:nth-child(6){background:#C9EBDC}.pf-grid i:nth-child(8){background:#FFE0EA}
.ring-kit{position:absolute;border-radius:10px;box-shadow:0 0 0 2px #1D2023,0 0 0 6px rgba(29,32,35,.08);pointer-events:none}
.ring-kit.you{box-shadow:0 0 0 2px #B7791F,0 0 0 6px rgba(183,121,31,.14)}
/* Kit's cursor: a pointer with its name, like a second person on the page */
.k-cur{position:absolute;z-index:6;pointer-events:none;display:flex;align-items:flex-start;gap:2px}
.k-cur::before{content:"";width:16px;height:18px;background:#1D2023;clip-path:polygon(0 0,100% 62%,55% 64%,38% 100%);filter:drop-shadow(0 1px 1px rgba(0,0,0,.2));flex:none}
.k-cur em{margin-top:14px;display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 3px;padding-inline:3px 8px;border-radius:var(--r-pill);background:#1D2023;color:#EEF0EA;font:600 12px var(--ui);font-style:normal;white-space:nowrap}
.k-cur.move{animation:kmove 4s var(--ease) infinite}
@keyframes kmove{0%,100%{transform:translate(0,0)}40%{transform:translate(-26px,-10px)}70%{transform:translate(8px,6px)}}

/* a captcha, generic (no one's logo) */
.cap-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:300px;background:#fff;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.18);overflow:hidden;font-family:system-ui,sans-serif;color:#111827}
.cap-box .hd{background:#4A6FA5;color:#fff;padding:12px 14px;font-size:13px;line-height:1.35}
.cap-box .hd b{display:block;font-size:18px}
.cap-box .gr{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px}
.cap-box .gr i{aspect-ratio:1;background:#C9CFC6;position:relative}
.cap-box .gr i:nth-child(2n){background:#B8C2B5}.cap-box .gr i:nth-child(3n){background:#D8DDD3}
.cap-box .gr i.b::after{content:"";position:absolute;left:22%;right:22%;bottom:28%;height:30%;border:3px solid #374151;border-radius:50% 50% 4px 4px}
.cap-box .gr i.sel{outline:3px solid #4A6FA5;outline-offset:-3px}
.cap-box .gr i.sel::before{content:"✓";position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:#4A6FA5;color:#fff;font-size:12px;display:grid;place-items:center}
.cap-box .ft{display:flex;justify-content:flex-end;padding:8px 10px;border-top:1px solid #E5E7EB}
.cap-box .ft span{height:30px;padding:0 16px;border-radius:4px;background:#4A6FA5;color:#fff;font-size:13px;font-weight:600;display:inline-flex;align-items:center}

/* a cloud desktop */
.cdesk{height:100%;background:linear-gradient(160deg,#DCE0D8,#C9CFC6);position:relative;padding:16px}
.cdesk .win{position:absolute;inset:16px 16px 44px;background:#FAFBF8;border-radius:10px;box-shadow:0 6px 20px rgba(29,32,35,.08);overflow:hidden}
.cdesk .win .wb{height:26px;background:#EEF0EA;display:flex;align-items:center;padding:0 10px;font-size:11px;color:#5E6561;gap:6px}
.cdesk .tb{position:absolute;inset-inline:0;bottom:0;height:34px;background:rgba(250,251,248,.7);display:flex;justify-content:center;align-items:center;gap:8px}
.cdesk .tb i{width:20px;height:20px;border-radius:6px;background:#D6DBD2}
.cdesk .tb i.on{background:#1D2023}
.tbl{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;font-size:11px;color:#1D2023}
.tbl span{height:24px;padding:4px 8px;box-shadow:inset -1px -1px 0 #EEF0EA;white-space:nowrap;overflow:hidden}
.tbl span.h{background:#EEF0EA;font-weight:600;color:#5E6561}
.tbl span.new{background:#E1F6EC}

/* ================================================= a normal web page == */
.site{height:100%;overflow:hidden;background:#F4F5F7;position:relative;color-scheme:light}
.site-nav{height:56px;background:#fff;display:flex;align-items:center;gap:24px;padding:0 40px;box-shadow:0 1px 0 #E5E7EB;font:600 14px system-ui,sans-serif;color:#374151}
.site-nav .lg{display:flex;align-items:center;gap:8px;font:800 18px system-ui,sans-serif;color:#1E3A5F}
.site-nav .lg i{width:22px;height:22px;border-radius:6px;background:#1E3A5F}
.site-nav span{color:#6B7280;font-weight:500}
.site-body{max-width:760px;margin:36px auto 0;background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.08);padding:28px 36px;font-family:system-ui,sans-serif;color:#111827}
.site-body h2{font:700 22px system-ui,sans-serif;margin-bottom:4px}
.site-body .sub{font-size:14px;color:#6B7280;margin-bottom:20px}
.site-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.fld{display:flex;flex-direction:column;gap:5px;position:relative}
.fld.full{grid-column:1/-1}
.fld label{font-size:13px;font-weight:600;color:#374151}
.fld .in{height:38px;border:1px solid #D1D5DB;border-radius:6px;padding:0 10px;display:flex;align-items:center;font-size:14px;color:#111827;background:#fff}
.fld .in.empty{color:#9CA3AF}
.fld .in.typing::after{content:"";width:1.5px;height:16px;background:#111827;margin-inline-start:1px;animation:blinkc 1s steps(1) infinite}
.fld .in.filled{background:#F7FDF9}
.site-body .sbtn{margin-top:22px;height:40px;padding:0 20px;border-radius:6px;background:#1E3A5F;color:#fff;font:600 14px system-ui,sans-serif;display:inline-flex;align-items:center}
.site .notchwrap{top:14px;z-index:8}
.site .notch{width:480px}
.notch .line .stopb{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--r-pill);background:rgba(238,240,234,.1);color:var(--chalk);font-size:14px;font-weight:600}
.notch .line .stopb svg.i{width:12px;height:12px;fill:currentColor;stroke:none}
.notch .prog2{height:3px;margin:0 14px 12px;border-radius:2px;background:rgba(238,240,234,.12);overflow:hidden}
.notch .prog2 i{display:block;height:100%;width:62%;background:var(--mint);border-radius:inherit}
.notch .where{font-size:12px;color:rgba(238,240,234,.6);padding:0 14px 10px;margin-top:-6px}
/* =============================================================== pages == */
.w-page{height:100%;overflow-y:auto;padding:28px 40px 48px}
.w-page .page-in{max-width:1000px}
.w-seg{display:inline-flex;gap:2px;background:var(--chalk);border-radius:var(--r-pill);padding:3px}
.w-seg button{height:30px;padding:0 14px;border-radius:var(--r-pill);font-size:14px;font-weight:600;color:var(--stone)}
.w-seg button[aria-pressed="true"]{background:var(--paper);color:var(--graphite);box-shadow:var(--s1)}
.w-folders{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.w-folder{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--r-md);background:var(--chalk);font-size:14px;font-weight:600;text-align:start}
.w-folder svg.i{color:var(--stone)}
.w-folder small{display:block;font-size:12px;font-weight:500;color:var(--stone)}
.w-files{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.w-files .fcard{width:auto}
.fmeta .n small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ftype.pdf{background:#FDE7E1;color:#C0442F}
.ftype.img{background:#FFE6EF;color:#B02A5C}
.ftype.doc{background:#E6EEF6;color:#2B5C8A}
.ftype.mp4{background:#EDE6F8;color:#6B4BB0}
.fthumb{background:#EEF0EA}
.fthumb .pg,.fthumb .grid{background:#FAFBF8}
.fthumb .pg i,.fthumb .grid i{background:#EEF0EA}
.fthumb .pg b{background:#1D2023}
.fthumb .grid i.h{background:#C9EBDC}
.w-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.w-appc{overflow:hidden}
.w-appc .shot{height:150px;background:#F4F5F7;position:relative;overflow:hidden;padding:14px 16px}
.w-appc .shot b{display:block;height:12px;width:40%;border-radius:4px;background:#1D2023;opacity:.8}
.w-appc .shot i{display:block;height:7px;border-radius:4px;background:#D6DBD2;margin-top:8px;width:50%}
.w-appc .shot .hero{position:absolute;inset-inline-end:16px;top:16px;width:120px;height:100px;border-radius:10px;background:linear-gradient(135deg,#FFC9DB,#BDEFD9)}
.w-appc .shot .btnf{display:inline-block;margin-top:14px;height:18px;width:70px;border-radius:9px;background:#1D2023}
.w-appc .meta{display:flex;align-items:center;gap:10px;padding:12px 14px}
.w-appc .meta .n{flex:1;min-width:0}
.w-appc .meta b{display:block;font-size:14px;font-weight:600}
.w-appc .meta small{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--stone)}
.w-appc .stats{display:flex;gap:18px;padding:0 14px 12px;font-size:12px;color:var(--stone)}
.w-appc .stats b{display:block;font:800 18px var(--display);color:var(--graphite)}
.w-store{display:flex;align-items:center;gap:16px;padding:14px 16px}
.w-store .tx{flex:1;font-size:14px;color:var(--stone)}
.w-store .tx b{color:var(--graphite);font-weight:600}
.w-store .meter{margin:8px 0 4px}
.w-list{display:flex;flex-direction:column}
.w-li{display:flex;align-items:center;gap:14px;padding:14px 6px}
.w-li+.w-li{box-shadow:inset 0 1px 0 var(--chalk)}
.w-li .tx{flex:1;min-width:0}
.w-li .tx b{display:block;font-size:16px;font-weight:600}
.w-li .tx small{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px;color:var(--stone)}
.w-sec{font:600 20px var(--display);letter-spacing:-.01em;margin:30px 0 10px;display:flex;align-items:baseline;gap:12px}
.w-sec small{font:500 14px var(--ui);color:var(--stone)}
.w-sec .end{margin-inline-start:auto}

/* integrations */
.w-ints{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.w-int{display:flex;align-items:center;gap:12px;padding:14px;text-align:start}
.w-int .lg{width:44px;height:44px;border-radius:var(--r-sm);background:#fff;display:grid;place-items:center;flex:none;box-shadow:inset 0 0 0 1px #E3E6DF}
.w-int .tx{flex:1;min-width:0}
.w-int .tx b{display:block;font-size:14px;font-weight:600}
.w-int .tx small{display:block;font-size:12px;color:var(--stone);line-height:1.35}
.w-int .btn{flex:none}
.w-int .ok{color:var(--green);font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.w-int .ok svg.i{width:14px;height:14px}
.w-gacct{display:flex;align-items:center;gap:14px;padding:16px 18px}
.w-gacct .tx{flex:1}
.w-gacct .tx b{display:block;font-weight:600}
.w-gacct .tx small{font-size:14px;color:var(--stone)}
.w-gacct .gl{display:flex;gap:10px}
.w-logos{display:flex;flex-wrap:wrap;gap:8px}
.w-logos span{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 10px;padding-inline:10px 14px;border-radius:var(--r-pill);background:var(--chalk);font-size:14px;font-weight:600}
.w-logos span .lgo{width:20px;height:20px;background:#fff;border-radius:5px;padding:2px}

/* agents */
.w-agents{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.w-agc{padding:16px;display:flex;flex-direction:column;gap:10px}
.w-agc .h{display:flex;align-items:center;gap:12px}
.w-agc .h b{font:600 16px var(--display);display:block}
.w-agc .h small{font-size:12px;color:var(--stone)}
.w-agc .h .ibtn{margin-inline-start:auto}
.w-agc .now{display:flex;align-items:center;gap:8px;font-size:14px;min-height:22px}
.w-agc .now span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-agc .meta{display:flex;flex-wrap:wrap;gap:6px}
.w-agc .acts{display:flex;gap:6px}
.w-agc .acts .btn{flex:1}
.w-agc.new{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);align-items:center;justify-content:center;text-align:center;color:var(--stone);gap:6px;min-height:178px}
.w-agc.new b{color:var(--graphite);font:600 16px var(--display)}
.w-tmpls{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.w-tmpl{padding:14px;display:flex;flex-direction:column;gap:8px}
.w-tmpl .art{height:110px;border-radius:var(--r-md);display:grid;place-items:center;margin-bottom:4px;position:relative}
.w-tmpl .art::after{content:"";position:absolute;bottom:14px;width:70px;height:10px;border-radius:50%;background:rgba(29,32,35,.1)}
.w-tmpl .art .mascot{position:relative;z-index:1}
.w-tmpl b{font:600 16px var(--display)}
.w-tmpl p{font-size:14px;color:var(--stone);flex:1;line-height:1.4}
.w-tmpl .row3{display:flex;align-items:center;justify-content:space-between;gap:8px}
.w-tmpl small{font-size:12px;color:var(--stone)}

/* meetings */
.w-meet{padding:16px 18px;display:flex;gap:16px}
.w-meet+.w-meet{margin-top:12px}
.w-meet .dt{width:56px;flex:none;text-align:center;padding-top:2px}
.w-meet .dt b{display:block;font:800 24px/1 var(--display)}
.w-meet .dt small{font-size:12px;color:var(--stone);text-transform:uppercase;font-weight:700}
.w-meet .tx{flex:1;min-width:0}
.w-meet .tx h4{font:600 16px var(--ui)}
.w-meet .tx .m{font-size:12px;color:var(--stone);display:flex;gap:6px;align-items:center;margin:2px 0 8px}
.w-meet .tx p{font-size:14px;line-height:1.5}
.w-meet .acts{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.w-empty{max-width:600px;margin:60px auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.w-empty h2{font:800 28px/1.1 var(--display);letter-spacing:-.03em;margin-top:6px}
.w-empty p{font-size:16px;color:var(--stone)}
.w-empty .steps2{display:flex;gap:10px;margin:10px 0 6px}
.w-empty .steps2 span{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:var(--r-md);background:var(--chalk);font-size:14px;font-weight:600}
.w-empty .steps2 i{width:20px;height:20px;border-radius:50%;background:var(--paper);display:grid;place-items:center;font:700 11px var(--ui);font-style:normal}

/* devices */
.w-devs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.w-dev{padding:16px;display:flex;flex-direction:column;gap:10px}
.w-dev .h{display:flex;align-items:center;gap:12px}
.w-dev .h .ic{width:42px;height:42px;border-radius:var(--r-sm);background:var(--chalk);display:grid;place-items:center;flex:none}
.w-dev .h .ic svg.i{width:21px;height:21px}
.w-dev .h b{font:600 16px var(--display);display:block}
.w-dev .h small{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--stone)}
.w-dev .h .tag{margin-inline-start:auto}
.w-dev p{font-size:14px;color:var(--stone);flex:1;line-height:1.45}
.w-dev .acts{display:flex;gap:8px}
.w-dev.def{box-shadow:var(--s1),inset 0 0 0 2px var(--graphite)}
.w-dev.off{opacity:.7}
.w-dev.addnew{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);justify-content:center}
.dot.off{background:var(--line)}
.w-rowcard{display:flex;align-items:center;gap:14px;padding:16px 18px}
.w-rowcard .tx{flex:1}
.w-rowcard .tx b{display:block;font-weight:600}
.w-rowcard .tx small{font-size:14px;color:var(--stone)}
.w-what{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.w-what .chip{height:26px;font-size:12px;font-weight:500}

/* usage, the way Claude shows it: a label, when it resets, a bar, the percent */
.w-use{padding:6px 20px}
.w-use .r{display:grid;grid-template-columns:220px 1fr 80px;gap:20px;align-items:center;padding:16px 0}
.w-use .r+.r{box-shadow:inset 0 1px 0 var(--chalk)}
.w-use .r b{display:block;font-size:14px;font-weight:600}
.w-use .r small{font-size:12px;color:var(--stone)}
.w-use .r .pc{font-size:14px;color:var(--stone);text-align:end;font-variant-numeric:tabular-nums}
.w-use .meter{height:8px}
.w-planhead{display:flex;align-items:center;gap:14px;padding:18px 20px}
.w-planhead .tx{flex:1}
.w-planhead b{font:600 20px var(--display)}
.w-planhead small{display:block;font-size:14px;color:var(--stone)}

/* ============================================================ modals == */
.w-scrim{position:absolute;inset:0;z-index:40;background:rgba(29,32,35,.24);display:grid;place-items:center}
html[data-theme="dark"] .w-scrim{background:rgba(0,0,0,.5)}
.w-scrim.top{place-items:start center;padding-top:80px}
.w-modal{position:relative;width:560px;background:var(--paper);border-radius:var(--r-xl);box-shadow:var(--s3);padding:28px;display:flex;flex-direction:column;gap:14px;max-height:calc(100% - 40px);overflow-y:auto}
.w-modal.wide{width:860px}
.w-modal h2{font:800 28px/1.1 var(--display);letter-spacing:-.03em}
.w-modal p{font-size:14px;color:var(--stone)}
.w-modal .acts{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.w-modal .x{position:absolute;top:16px;inset-inline-end:16px}
.w-flowpic{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px;background:var(--chalk);border-radius:var(--r-lg)}
.w-flowpic .n{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600;text-align:center}
.w-flowpic .n i{width:56px;height:56px;border-radius:var(--r-md);background:var(--paper);box-shadow:var(--s1);display:grid;place-items:center;font-style:normal}
.w-flowpic .n i svg.i{width:26px;height:26px}
.w-flowpic .arrows{color:var(--stone)}
.w-flowpic .arrows svg.i{width:22px;height:22px}
.w-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.w-checks label{display:flex;align-items:center;gap:10px;font-size:14px;padding:4px 0}
.w-checks input{accent-color:var(--graphite);width:16px;height:16px}
.w-checks small{color:var(--stone);margin-inline-start:auto;font-size:12px;font-variant-numeric:tabular-nums}
/* sync progress: one thin line, and a list that ticks off one by one */
.w-sprog{display:none;flex-direction:column;gap:2px}
.w-modal.running .w-sprog{display:flex}
.w-modal.running .w-checks,.w-modal.running .acts,.w-modal.running .fine{display:none}
.w-sline{height:3px;border-radius:2px;background:var(--chalk);overflow:hidden;margin-bottom:8px}
.w-sline i{display:block;height:100%;width:0;background:var(--graphite);border-radius:inherit;transition:width 2.4s var(--ease)}
.w-modal.running .w-sline i{width:100%}
.w-sprog .r{display:flex;align-items:center;gap:10px;font-size:14px;padding:6px 0;color:var(--stone)}
.w-sprog .r small{margin-inline-start:auto;font-size:12px;font-variant-numeric:tabular-nums}
.w-sprog .r .st2{width:20px;height:20px;border-radius:50%;position:relative;flex:none;display:grid;place-items:center}
.w-sprog .r .st2::after{content:"";position:absolute;inset:2px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--graphite);animation:spin 1s linear infinite}
.w-sprog .r.ok{color:var(--graphite)}
.w-sprog .r.ok .st2{background:var(--mint-tint)}
.w-sprog .r.ok .st2::after{content:"✓";position:static;border:0;animation:none;color:var(--green);font-size:12px;font-weight:700}
.w-modal .okline{display:none;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--green)}
.w-modal.finished .okline{display:flex}

/* agent picker */
.w-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.w-pick button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px 14px;border-radius:var(--r-lg);background:var(--chalk);text-align:center;position:relative;transition:transform var(--t-quick) var(--ease)}
.w-pick button:hover{transform:translateY(-2px)}
.w-pick button b{font:600 16px var(--display)}
.w-pick button small{font-size:12px;color:var(--stone);line-height:1.35}
.w-pick button.sel{background:var(--paper);box-shadow:var(--s1),inset 0 0 0 2px var(--graphite)}
.w-pick button.sel::after{content:"✓";position:absolute;top:10px;inset-inline-end:10px;width:20px;height:20px;border-radius:50%;background:var(--graphite);color:var(--paper);font-size:11px;font-weight:700;display:grid;place-items:center}
.w-pick button.new{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);justify-content:center}
.w-pick .plusc{width:48px;height:48px;border-radius:50%;background:var(--chalk);display:grid;place-items:center}

/* search */
.w-palette{width:680px;background:var(--paper);border-radius:var(--r-xl);box-shadow:var(--s3);overflow:hidden}
.w-palette .in{display:flex;align-items:center;gap:10px;height:60px;padding:0 18px;box-shadow:inset 0 -1px 0 var(--chalk)}
.w-palette .in svg.i{color:var(--stone)}
.w-palette .in input{flex:1;border:0;outline:0;background:transparent;font-size:18px;color:var(--graphite)}
.w-palette .chips2{display:flex;gap:6px;padding:12px 16px 4px;flex-wrap:wrap}
.w-palette .chips2 .chip{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--stone);height:30px}
.w-palette .chips2 .chip.on{background:var(--chalk);box-shadow:none;color:var(--graphite)}
.w-palette .res{max-height:520px;overflow-y:auto;padding:4px 8px 8px}
.w-palette .grp{font-size:12px;font-weight:700;color:var(--stone);text-transform:uppercase;letter-spacing:.04em;padding:12px 10px 4px}
.w-palette .it{display:flex;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:var(--r-sm);text-align:start;font-size:14px}
.w-palette .it:hover,.w-palette .it.on{background:var(--chalk)}
.w-palette .it .ic{width:30px;height:30px;border-radius:var(--r-xs);background:var(--chalk);display:grid;place-items:center;flex:none;color:var(--stone)}
.w-palette .it.on .ic{background:var(--paper)}
.w-palette .it .ic svg.i{width:16px;height:16px}
.w-palette .it .t{flex:1;min-width:0}
.w-palette .it .t small{display:block;font-size:12px;color:var(--stone);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-palette .it mark{background:var(--mint-tint);color:inherit;border-radius:3px;padding:0 1px}
.w-palette .it time{font-size:12px;color:var(--stone)}
.w-palette .ft{display:flex;gap:16px;padding:10px 18px;font-size:12px;color:var(--stone);box-shadow:inset 0 1px 0 var(--chalk)}

/* all pages */
.w-allp{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 18px}
.w-allp h3{font-size:12px;font-weight:700;color:var(--stone);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.w-allp button{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:var(--r-sm);text-align:start;font-size:14px;font-weight:600}
.w-allp button:hover{background:var(--chalk)}
.w-allp button>svg.i{color:var(--stone)}
.w-allp button span{flex:1;min-width:0}
.w-allp button small{display:block;font-size:12px;color:var(--stone);font-weight:500;line-height:1.3}
.w-allp .tag{height:20px;font-size:11px;flex:none}

/* invite */
.w-gifthero{height:150px;border-radius:var(--r-lg);background:var(--chalk);display:grid;place-items:center;position:relative;overflow:hidden}
.w-gifthero .box{position:absolute;bottom:26px;inset-inline-start:calc(50% + 24px);width:70px;height:54px;border-radius:10px;background:var(--pink)}
.w-gifthero .box::before{content:"";position:absolute;left:50%;top:-14px;bottom:0;width:12px;margin-left:-6px;background:var(--mint);z-index:1}
.w-gifthero .box::after{content:"";position:absolute;left:-6px;right:-6px;top:-14px;height:18px;border-radius:7px;background:#FF6F9F}
.w-gifthero .mascot{position:absolute;bottom:20px;inset-inline-end:calc(50% + 6px)}
.w-link{display:flex;align-items:center;gap:8px;height:48px;padding:0 6px 0 16px;padding-inline:16px 6px;border-radius:var(--r-pill);background:var(--chalk);font-size:16px}
.w-link span{flex:1}
.w-shares{display:flex;gap:8px}
.w-shares .btn{flex:1}
.w-shares .lgo{width:16px;height:16px}
.w-invites{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--stone)}
.w-invites .av{width:30px;height:30px;border-radius:50%;background:var(--mint-tint);color:var(--green);display:grid;place-items:center;font-size:12px;font-weight:700}

/* ============================================================ overview == */
.w-ov{height:100%;overflow-y:auto;padding:36px 48px 48px;background:var(--paper)}
.w-ov h1{font:800 40px/1 var(--display);letter-spacing:-.035em}
.w-ov .lead2{font-size:16px;color:var(--stone);margin:10px 0 24px;max-width:84ch}
.w-ovg{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:14px}
.w-ovc{padding:20px;display:flex;flex-direction:column;gap:10px}
.w-ovc h3{font:600 20px var(--display);letter-spacing:-.01em;display:flex;align-items:center;gap:8px}
.w-ovc h3 svg.i{width:20px;height:20px;color:var(--stone)}
.w-ovc ul{display:flex;flex-direction:column;gap:7px}
.w-ovc li{display:flex;gap:10px;font-size:14px;line-height:1.4}
.w-ovc li b{font-weight:600}
.w-ovc li svg.i{width:18px;height:18px;color:var(--stone);margin-top:1px}
.w-ovc li span small{display:block;color:var(--stone)}
.w-ovc.app{background:var(--chalk);box-shadow:none}
.w-rules{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.w-rules .card{padding:16px}
.w-rules b{display:block;font:600 16px var(--display);margin-bottom:4px}
.w-rules p{font-size:14px;color:var(--stone);line-height:1.45}

/* shows by app-slot state: no app, app but not synced, synced */
.only-none,.only-app,.only-synced{display:none}
html[data-slot="none"] .only-none,html[data-slot="app"] .only-app,html[data-slot="synced"] .only-synced{display:revert}
html[data-slot="none"] .only-none.fx,html[data-slot="app"] .only-app.fx,html[data-slot="synced"] .only-synced.fx{display:flex}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition-duration:1ms!important}}

/* ======================================================= round 2b ==
   Sidebar without history (sessions live on Agents), a light app pill on Home,
   the Agents page with folders, and the phone in glass (modern iPhone). */
.w-side-in .w-nav{flex:1;min-height:0;overflow-y:auto}
.w-nav .row .badge3{margin-inline-start:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--paper);font-size:11px;font-weight:700;display:grid;place-items:center;color:var(--graphite)}
.w-nav .sep2{height:1px;background:var(--line);margin:8px 8px;opacity:.7}
/* app slot: one light line, not a block */
.w-slot{padding:8px 8px 8px 10px;padding-inline:10px 8px;flex-direction:row!important;align-items:center;gap:10px;box-shadow:none;background:color-mix(in srgb,var(--paper) 70%,transparent)}
.w-slot .pcic{width:30px;height:30px;border-radius:var(--r-xs);background:var(--chalk)}
.w-slot .pcic svg.i{width:17px;height:17px}
.w-slot .tx{flex:1;min-width:0;font-size:12px;color:var(--stone);line-height:1.3}
.w-slot .tx b{display:block;font-size:13px;font-weight:600;color:var(--graphite)}
.w-slot .btn{width:auto;height:28px;padding:0 10px;font-size:12px}
.w-slot .btn svg.i{width:14px;height:14px}
/* the same line on Home, above the question (Manus puts its plan pill there) */
.w-apppill{display:none;align-items:center;gap:8px;height:34px;padding:0 4px 0 12px;padding-inline:12px 4px;border-radius:var(--r-pill);background:var(--chalk);font-size:13px;color:var(--stone);margin-bottom:18px}
.w-apppill svg.i{width:15px;height:15px}
.w-apppill b{color:var(--graphite);font-weight:600}
.w-apppill .sep{width:1px;height:14px;background:var(--line)}
.w-apppill a,.w-apppill button{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:var(--r-pill);background:var(--paper);color:var(--graphite);font-weight:600;font-size:13px;text-decoration:none;box-shadow:var(--s1)}
.w-apppill .ok{color:var(--green)}
html[data-slot="none"] .w-apppill.s-none,html[data-slot="app"] .w-apppill.s-app,html[data-slot="synced"] .w-apppill.s-synced{display:inline-flex}
.w-hero .mascot+h1{margin-top:12px}
.w-rhead .back{margin-inline-end:-4px}

/* Agents: folders on the left, every session on the right */
.w-ag{height:100%;display:grid;grid-template-columns:264px 1fr;min-height:0}
.w-folds{padding:8px 0 8px 8px;padding-inline:8px 0;min-height:0}
.w-folds-in{height:100%;background:var(--chalk);border-radius:var(--r-lg);padding:12px 10px;display:flex;flex-direction:column;gap:1px;overflow-y:auto}
.w-folds-in .search{margin-bottom:8px}
.w-folds-in .row .n2{margin-inline-start:auto;font-size:12px;color:var(--stone);font-variant-numeric:tabular-nums}
.w-folds-in .row .fic svg.i{width:17px;height:17px}
.w-folds-in .row.add{color:var(--stone)}
.w-sess{min-width:0;min-height:0;overflow-y:auto;padding:24px 32px 40px}
.w-sess .ph{margin-bottom:10px}
.w-strip3{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.w-agchip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 6px;padding-inline:6px 14px;border-radius:var(--r-pill);background:var(--chalk);font-size:14px;font-weight:600}
.w-agchip.on{background:var(--paper);box-shadow:var(--s1),inset 0 0 0 1.5px var(--graphite)}
.w-agchip small{font-weight:500;color:var(--stone);font-size:12px}
.w-sgrp{font-size:12px;font-weight:700;color:var(--stone);text-transform:uppercase;letter-spacing:.04em;padding:18px 8px 6px}
.w-srow{display:flex;align-items:center;gap:14px;padding:12px 10px;border-radius:var(--r-md);width:100%;text-align:start;transition:background var(--t-quick)}
.w-srow:hover{background:var(--chalk)}
.w-srow .tx{flex:1;min-width:0}
.w-srow .tx b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-srow .tx small{display:block;font-size:13px;color:var(--stone);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-srow .meta{display:flex;align-items:center;gap:6px;flex:none}
.w-srow time{font-size:12px;color:var(--stone);width:44px;text-align:end;font-variant-numeric:tabular-nums}
.w-where.fold{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--stone)}
