/* FabQAI full-screen view, v2.18.0.
   ONE Claude-style design for phones and computers (light or dark, like the visitor's device).
   Computers (740px and wider): left sidebar + one centred column.
   Phones: the same look in one column; the sidebar becomes a menu drawer you open with the menu button
   or by swiping right, and close by swiping left or tapping outside.
   Sits under the top bar, same width rules as the swipe feeds. */
html.fz-lock{overflow:hidden}
.fz{--z-bg:#faf9f5;--z-side:#f3f0e7;--z-line:#e6e1d3;--z-fg:#2b2a27;--z-mute:#6f6b61;--z-card:#fff;--z-hover:rgba(60,50,30,.07);--z-on:rgba(60,50,30,.11);--z-shadow:0 2px 12px rgba(60,50,30,.08);--z-scrim:rgba(30,26,18,.42);--z-ac:#10a37f;--z-gut:24px;--z-serif:ui-serif,"Iowan Old Style","Palatino Linotype",Georgia,serif;--z-sans:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	position:fixed;left:0;right:0;bottom:0;top:calc(var(--fth-off,0px) + var(--fth-bar,48px));z-index:100000;display:flex;flex-direction:column;visibility:hidden;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .2s,transform .2s,visibility 0s .2s;background:var(--z-bg);color:var(--z-fg);font-family:var(--z-sans);-webkit-tap-highlight-color:transparent;overscroll-behavior:contain}
.fz.is-open{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:opacity .2s,transform .2s}
.fz *{box-sizing:border-box}
@media (prefers-color-scheme:dark){
.fz{--z-bg:#1f1e1d;--z-side:#262624;--z-line:#3a3935;--z-fg:#ece9e1;--z-mute:#a8a49a;--z-card:#2b2a28;--z-hover:rgba(255,255,255,.07);--z-on:rgba(255,255,255,.11);--z-shadow:0 2px 14px rgba(0,0,0,.35);--z-scrim:rgba(0,0,0,.55)}
}
@media (prefers-reduced-motion:reduce){.fz,.fz.is-open,.fz-side,.fz-scrim{transition:none!important}}

/* the chat inside: full screen, no boxed look, colours pinned to this view whatever theme the assistant has */
.fz .fabai-mount,.fz .fabai,.fz .fabai-panel{height:100% !important}
.fz .fabai-panel{max-width:none !important;border:0 !important;border-radius:0 !important;background:transparent !important;position:relative !important;inset:auto !important;z-index:auto !important}
.fz .fabai-head{display:none !important}
.fz .fabai{--fa-bg:transparent;--fa-fg:var(--z-fg);--fa-mute:var(--z-mute);--fa-line:var(--z-line);--fa-in-bg:var(--z-card);--fa-user-bg:var(--z-on);--fa-user-fg:var(--z-fg);--fa-bot-fg:var(--z-fg);--fa-bot-bg:transparent;--fa-head-bg:transparent;--fa-head-fg:var(--z-fg);--fa-accent:var(--z-ac);color-scheme:light}
@media (prefers-color-scheme:dark){.fz .fabai{color-scheme:dark}}

/* top bar (phones only) */
.fz-top,.fz-scrim,.fz-tg{display:none}
.fz-side{display:contents}

/* ---------- sidebar parts (the desktop sidebar and the phone drawer share these) ---------- */
.fz-head{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:16px 14px 8px}
.fz-mark{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#00c2a8,#7a6bff);font-size:18px}
.fz-ttl{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.15}
.fz-ttl b{font-family:var(--z-serif);font-weight:600;font-size:20px;letter-spacing:-.01em;color:var(--z-fg)}
.fz-sub{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;color:var(--z-mute)}
.fz-x{order:3;flex:none;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:42px;padding:0 12px;border:1px solid var(--z-line);border-radius:10px;background:var(--z-card);color:var(--z-fg);font:600 14.5px/1 var(--z-sans);cursor:pointer;transition:border-color .12s}
.fz-x:hover{border-color:var(--z-ac)}
.fz-x[hidden]{display:none}
.fz-x svg{width:18px;height:18px}
.fz-x:focus-visible,.fz-chip:focus-visible,.fz-tool:focus-visible,.fz-th-b:focus-visible,.fz-th-d:focus-visible,.fz-tg:focus-visible,.fz-top-b:focus-visible{outline:3px solid var(--z-ac);outline-offset:2px}

.fz-chips{flex:none;display:flex;flex-direction:column;gap:2px;overflow-x:hidden;overflow-y:auto;max-height:30vh;padding:6px 10px 10px;scrollbar-width:thin}
.fz-chips::before{content:'Assistants';display:block;flex:none;padding:6px 8px 4px;font-size:12px;font-weight:650;letter-spacing:.02em;color:var(--z-mute)}
.fz-chip{flex:none;display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--z-fg);font:500 14.5px/1 var(--z-sans);text-align:left;white-space:nowrap;cursor:pointer;transition:background .12s}
.fz-chip>span:last-child{overflow:hidden;text-overflow:ellipsis}
.fz-chip:hover{background:var(--z-hover)}
.fz-chip.is-on{background:var(--z-on);font-weight:650;box-shadow:inset 3px 0 0 var(--z-ac)}
.fz-chip-i{font-size:17px}

.fz-hist{flex:1;display:flex;flex-direction:column;min-height:0;margin:0 10px;padding:8px 0 6px;border-top:1px solid var(--z-line)}
.fz-hist[hidden]{display:none}
.fz-hist-h{flex:none;padding:2px 8px 6px;font-size:12px;font-weight:650;letter-spacing:.02em;color:var(--z-mute)}
.fz-hist-l{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--z-line) transparent;-webkit-overflow-scrolling:touch}
.fz-hist-day{padding:10px 8px 4px;font-size:11.5px;font-weight:650;color:var(--z-mute)}
.fz-hist-empty{padding:6px 8px;font-size:13.5px;color:var(--z-mute)}
.fz-th{position:relative;display:flex;align-items:center;border-radius:10px}
.fz-th:hover{background:var(--z-hover)}
.fz-th.is-on{background:var(--z-on)}
.fz-th-b{flex:1;min-width:0;height:38px;padding:0 34px 0 10px;border:0;background:transparent;color:var(--z-fg);font:500 14px/1 var(--z-sans);text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fz-th.is-on .fz-th-b{font-weight:600}
.fz-th-d{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--z-mute);font-size:18px;line-height:1;cursor:pointer;opacity:0;transition:opacity .12s}
.fz-th:hover .fz-th-d,.fz-th-d:focus-visible{opacity:1}
.fz-th-d:hover{background:var(--z-on);color:var(--z-fg)}
@media (hover:none){.fz-th-d{opacity:.6}}

.fz-strip{flex:none;display:flex;flex-direction:column;min-height:0;max-height:30vh;padding:8px 0 10px;margin:0 10px;border-top:1px solid var(--z-line)}
.fz-strip[hidden]{display:none}
.fz-strip-h{padding:4px 4px 6px;font-size:13px;font-weight:650;color:var(--z-mute)}
.fz-strip-l{flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.fz-tool{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;align-items:center;text-align:left;padding:6px;border:0;border-radius:10px;background:transparent;color:var(--z-fg);cursor:pointer}
.fz-tool:hover{background:var(--z-hover)}
.fz-tool img{grid-row:1/3;width:30px;height:30px;border-radius:8px;border:1px solid var(--z-line);object-fit:contain;background:#fff}
.fz-tool-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px/1.25 var(--z-sans)}
.fz-tool-c{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--z-mute)}

/* ---------- the conversation (phones and computers) ---------- */
.fz-stage{position:relative;flex:1;min-height:0}
.fz-pane{position:absolute;inset:0;display:none}
.fz-pane.is-on{display:block}
.fz .fabai-log{padding:18px 16px 12px;gap:16px}
.fz .fabai-msg{font-size:16px;line-height:1.7}
.fz .fabai-assistant .fabai-msg{font-family:var(--z-serif);font-size:17px;padding-left:0;padding-right:0;max-width:100%}
.fz .fabai-user .fabai-msg{font-family:var(--z-sans);font-size:15.5px;line-height:1.55;border-radius:18px;border-bottom-right-radius:6px;padding:10px 16px;max-width:85%}
.fz .fabai-sugg,.fz .fabai-att,.fz .fabai-hint{width:min(760px,calc(100% - 2 * var(--z-gut)));margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.fz .fabai-form{width:min(760px,calc(100% - 2 * var(--z-gut)));margin:0 auto 8px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:4px 6px;padding:10px 12px 10px 16px;border-radius:24px;border:1px solid var(--z-line);background:var(--z-card);box-shadow:var(--z-shadow)}
.fz .fabai-form.has-clip{padding-left:16px}
.fz .fabai-form:focus-within{border-color:var(--z-ac)}
.fz .fabai-input{grid-column:1/-1;grid-row:1;min-height:52px;max-height:220px;padding:6px 2px 4px;font-size:16px}
.fz .fabai-clip{grid-column:1;grid-row:2;margin-left:-8px}
.fz .fabai-mic{grid-column:3;grid-row:2}
.fz .fabai-send{grid-column:4;grid-row:2}
.fz .fabai-foot{padding:0 var(--z-gut) 12px;font-size:12.5px}
.fz .fabai-next-b,.fz .fabai-sg{font-family:var(--z-sans)}

/* empty chat: greeting and message box in the middle of the screen, the box moves to the bottom after the first message */
.fz:not(.fz-chatting) .fabai-body{justify-content:center;padding-bottom:7vh}
.fz:not(.fz-chatting) .fabai-log{flex:none;overflow:visible;padding:0 var(--z-gut) 22px;align-items:center}
.fz:not(.fz-chatting) .fabai-row{align-items:center}
.fz:not(.fz-chatting) .fabai-assistant .fabai-msg{font-size:clamp(28px,3.2vw,40px);line-height:1.2;font-weight:400;text-align:center;letter-spacing:-.01em}
.fz:not(.fz-chatting) .fabai-att,.fz:not(.fz-chatting) .fabai-hint{order:2}
.fz:not(.fz-chatting) .fabai-form{order:3}
.fz:not(.fz-chatting) .fabai-sugg{order:4;justify-content:center;margin-top:14px;margin-bottom:0}
.fz:not(.fz-chatting) .fabai-sg{background:transparent;color:var(--z-mute);border-color:var(--z-line)}
.fz:not(.fz-chatting) .fabai-sg:hover{color:var(--z-fg);border-color:var(--z-ac);background:var(--z-card)}
.fz:not(.fz-chatting) .fabai-foot{position:absolute;left:0;right:0;bottom:0}

/* =====================================================================
   PHONES (under 740px): same look, one column. The sidebar is a drawer.
   ===================================================================== */
@media (max-width:739.98px){
.fz{--z-gut:12px}

.fz-top{flex:none;display:flex;align-items:center;gap:4px;height:54px;padding:0 6px;background:var(--z-bg)}
.fz-top-b{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--z-fg);cursor:pointer;transition:background .12s}
.fz-top-b:active{background:var(--z-on)}
.fz-top-b[hidden]{display:flex;visibility:hidden}
.fz-top-b svg{display:block}
.fz-top-t{flex:1;min-width:0;padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font:600 17px/1.2 var(--z-serif);letter-spacing:-.005em;color:var(--z-fg)}

.fz-stage{touch-action:pan-y;padding-bottom:env(safe-area-inset-bottom,0px)}
.fz pre,.fz .fabai-tablewrap,.fz .fabai-prev-frame{touch-action:pan-x pan-y}

/* the drawer */
.fz-side{position:absolute;z-index:6;top:0;bottom:0;left:0;width:min(86vw,320px);display:flex;flex-direction:column;overflow:hidden;background:var(--z-side);border-right:1px solid var(--z-line);box-shadow:10px 0 36px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom,0px);transform:translateX(-104%);visibility:hidden;transition:transform .27s cubic-bezier(.2,.8,.2,1),visibility 0s .27s;will-change:transform;overscroll-behavior:contain}
.fz-scrim{display:block;position:absolute;inset:0;z-index:5;background:var(--z-scrim);opacity:0;visibility:hidden;transition:opacity .27s,visibility 0s .27s}
.fz-side-open .fz-side{transform:none;visibility:visible;transition:transform .27s cubic-bezier(.2,.8,.2,1)}
.fz-side-open .fz-scrim{opacity:1;visibility:visible;transition:opacity .27s}
.fz-dragging .fz-side,.fz-dragging .fz-scrim{transition:none !important;visibility:visible !important}
.fz-head{padding:14px 14px 8px}
.fz-th-b,.fz-chip{height:44px}
.fz-tool{padding:8px 6px}
.fz-strip{max-height:34vh}

/* conversation sizes for a phone */
.fz .fabai-log{padding:6px 16px 12px;gap:18px}
.fz .fabai-form{margin-bottom:6px;padding:8px 10px 8px 14px;border-radius:22px}
.fz .fabai-input{min-height:48px;max-height:30vh}
.fz:not(.fz-chatting) .fabai-body{padding-bottom:4vh;overflow-y:auto}
.fz:not(.fz-chatting) .fabai-assistant .fabai-msg{font-size:clamp(26px,8vw,34px)}
.fz:not(.fz-chatting) .fabai-sugg{gap:8px;margin-top:12px}
.fz:not(.fz-chatting) .fabai-foot{position:static}
.fz .fabai-assistant .fabai-msg{font-size:16.5px}
}

/* =====================================================================
   COMPUTERS (740px and wider): a Claude-style workspace.
   Left: New chat, assistants, recents, fresh AI tools. Right: one centred column.
   ===================================================================== */
@media (min-width:740px){
.fz{display:grid;grid-template-columns:272px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;
	background:linear-gradient(90deg,var(--z-side) 0 271px,var(--z-line) 271px 272px,var(--z-bg) 272px)}
.fz-head{grid-column:1;grid-row:1;padding-right:58px}
.fz-chips{grid-column:1;grid-row:2}
.fz-hist{grid-column:1;grid-row:3}
.fz-strip{grid-column:1;grid-row:4}
.fz-stage{grid-column:2;grid-row:1/-1}
.fz .fabai-log{padding:28px max(24px,calc((100% - 760px)/2)) 12px;gap:18px}
.fz .fabai-input{font-size:16.5px}
.fz .fabai-foot{padding:0 24px 14px}
.fz:not(.fz-chatting) .fabai-log{padding:0 24px 22px}

.fz-tg{position:absolute;top:16px;left:222px;z-index:3;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--z-mute);cursor:pointer;transition:background .12s,color .12s}
.fz-tg:hover{background:var(--z-hover);color:var(--z-fg)}
/* sidebar hidden */
.fz-collapsed{grid-template-columns:0 minmax(0,1fr);background:var(--z-bg)}
.fz-collapsed .fz-head,.fz-collapsed .fz-chips,.fz-collapsed .fz-hist,.fz-collapsed .fz-strip{display:none}
.fz-collapsed .fz-tg{left:14px}
.fz-collapsed .fabai-log{padding-top:60px}
}
/* v2.22.4: the FabQAI icon (Q Orbit) */
.fabqai-mark{display:block;flex:none}
.fz-mark.is-logo{background:none;width:40px;height:40px;border-radius:12px;box-shadow:0 6px 18px rgba(109,93,252,.45)}
.fz-chip-i.is-logo{display:inline-flex;align-items:center}
.fz-chip-i .fabqai-mark{width:20px;height:20px}

/* =====================================================================
   v2.46.0 PHONE REDESIGN: FabQAI full screen on phones.
   The old cream + serif "Claude" look is gone. Phones now get the FabQAI night look
   (deep indigo, violet + teal glow, sans type), a slim top bar, and the free
   version starts right at the top of the screen. Computers are unchanged.
   ===================================================================== */
@media (max-width:739.98px){
.fz{--z-bg:#0a0f26;--z-side:#0f1636;--z-line:rgba(255,255,255,.13);--z-fg:#eef1ff;--z-mute:#9fabdb;--z-card:rgba(255,255,255,.07);--z-hover:rgba(255,255,255,.07);--z-on:rgba(143,123,255,.24);--z-shadow:0 8px 28px rgba(0,0,0,.4);--z-scrim:rgba(3,5,18,.66);--z-ac:#19d3b8;--z-serif:var(--z-sans);
	background:radial-gradient(130% 46% at 0% 0%,rgba(109,94,252,.42),transparent 62%),radial-gradient(100% 38% at 100% 6%,rgba(0,194,168,.24),transparent 60%),#0a0f26}
.fz .fabai{color-scheme:dark}

/* slim top bar with the FabQAI mark */
.fz-top{height:50px;padding:0 6px;background:rgba(10,15,38,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.fz-top-t{font:800 17px/1.2 var(--z-sans);letter-spacing:-.01em;background:linear-gradient(90deg,#fff,#b9acff 55%,#7ff3e1);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.fz-top-b{color:#eef1ff}
.fz-side{background:#0f1636;border-right:1px solid rgba(255,255,255,.1)}
.fz-chip.is-on{box-shadow:inset 3px 0 0 #19d3b8}

/* chat look: no serif, glass message box, soft bubbles */
.fz .fabai-assistant .fabai-msg{font-family:var(--z-sans)}
.fz .fabai-user .fabai-msg{background:linear-gradient(135deg,rgba(109,94,252,.55),rgba(0,194,168,.35));color:#fff}
.fz .fabai-form{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fz:not(.fz-chatting) .fabai-assistant .fabai-msg{font-weight:800;letter-spacing:-.02em;background:linear-gradient(90deg,#fff,#c7bcff 60%,#8ff7e8);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

/* FREE version: no top bar, everything moves up */
.fz-free{padding:14px 14px calc(34px + env(safe-area-inset-bottom,0px));scrollbar-width:none}
.fz-free::-webkit-scrollbar{display:none}
.fz-free .ftt-box.ftt-inline{max-width:none;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#eef1ff}

.fz-free .ftt-head{gap:12px;margin:0 0 14px;padding:0}
.fz-free .ftt-mark.is-logo{width:50px;height:50px;border-radius:16px;box-shadow:0 8px 26px rgba(109,94,252,.6),0 0 0 1px rgba(255,255,255,.12) inset}
.fz-free .ftt-mark.is-logo .fabqai-mark{width:50px;height:50px}
.fz-free .ftt-ht h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:25px;font-weight:850;letter-spacing:-.03em;background:linear-gradient(90deg,#fff 20%,#c7bcff);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.fz-free .ftt-pill{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:999px;color:#04201b;background:linear-gradient(135deg,#19d3b8,#8ff7e8);-webkit-text-fill-color:#04201b;box-shadow:0 4px 14px rgba(25,211,184,.45)}
.fz-free .ftt-ht p{margin-top:4px;font-size:14px;line-height:1.4;color:#aeb9e6}

/* the prompt box: glass, glowing when focused, the button joins it */
.fz-free .ftt-form{gap:10px;margin-bottom:12px;padding:10px;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.16);box-shadow:0 14px 36px rgba(2,4,20,.5),0 0 0 1px rgba(255,255,255,.03) inset;transition:border-color .2s,box-shadow .2s}
.fz-free .ftt-form:focus-within{border-color:rgba(143,123,255,.8);box-shadow:0 14px 36px rgba(2,4,20,.5),0 0 0 4px rgba(109,94,252,.28)}
.fz-free .ftt-in{min-height:92px;padding:8px 8px 4px;border:0;border-radius:12px;background:transparent;font-size:16.5px;line-height:1.45;color:#fff;resize:none}
.fz-free .ftt-in:focus{outline:0}
.fz-free .ftt-in::placeholder{color:#8896c9}
.fz-free .ftt-find{align-self:stretch;width:100%;height:50px;font-size:16.5px;border-radius:15px;color:#fff;background:linear-gradient(135deg,#7a6bff,#19d3b8);box-shadow:0 10px 26px rgba(109,94,252,.55)}
.fz-free .ftt-find::before{content:"\2726";margin-right:8px;font-size:15px}
.fz-free .ftt-find:active{transform:scale(.98)}

/* quick ideas: one swipeable row instead of a tall wrapped block */
.fz-free .ftt-chips{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 -14px 16px;padding:2px 14px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.fz-free .ftt-chips::-webkit-scrollbar{display:none}
.fz-free .ftt-chip{flex:none;padding:9px 15px;font-size:14px;border-radius:999px;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);white-space:nowrap}
.fz-free .ftt-chip:active{background:rgba(143,123,255,.35)}

/* results and account card */
.fz-free .ftt-sh{margin:6px 2px 10px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9fabdb}
.fz-free .ftt-tool{padding:13px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.04));border-color:rgba(255,255,255,.12);box-shadow:0 6px 20px rgba(2,4,20,.3)}
.fz-free .ftt-logo{width:48px;height:48px;border-radius:14px}
.fz-free .ftt-choice{margin-top:4px;border-radius:24px}
.fz-free .ftt-tk{margin-top:0}
}

/* =====================================================================
   v2.47.0: Free Tokens + Fab Tokens in FabQAI.
   Phones: chips in the top bar. Computers: chips float top right + the full wallet card in the sidebar.
   The free version (guests and Creators) shows its own card inside the page, so the extra ones hide there.
   ===================================================================== */
@media (max-width:739.98px){
.ftw-float{display:none !important}
.fz-top .ftw-top{margin-left:2px}
.fz-top .fz-top-t{text-align:left;padding-left:8px}
.fz-side .ftw-side{margin:4px 14px 10px}
}
@media (min-width:740px){
.ftw-top{display:none !important}
.fz-collapsed .ftw-side{display:none}
/* the wallet card gets its own row in the sidebar grid: head, assistants, wallet, recents (grows), fresh tools */
.fz{grid-template-rows:auto auto auto minmax(0,1fr) auto}
.fz-hist{grid-row:4}
.fz-strip{grid-row:5}
.fz-side .ftw-side{grid-column:1;grid-row:3;margin:2px 14px 8px}
.ftw-float .ftw-l{display:inline}
.ftw-float .ftw-chip{box-shadow:0 6px 20px rgba(60,50,30,.28),inset 0 1px 0 rgba(255,255,255,.14)}
}

/* =====================================================================
   v2.48.0: PHONE MODE on computers (same idea as Swipe mode on the AI Tools page).
   A teal pill at the bottom right of the full-screen FabQAI view. It opens the real phone version in a
   phone-sized window over a dimmed screen; Desktop mode (or Esc) goes back. Phones never see these buttons.
   ===================================================================== */
.fz-ph{display:none}
@media (min-width:740px){
.fz-ph{position:absolute;right:18px;bottom:18px;z-index:4;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font:800 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 0 3px rgba(0,194,168,.25);-webkit-tap-highlight-color:transparent;transition:transform .15s,background .2s}
.fz-ph:hover{background:#19d8bd}
.fz-ph:active{transform:scale(.96)}
.fz-ph:focus-visible{outline:3px solid #fff;outline-offset:2px}
.fz-ph svg{flex:none}
.fz-is-free .fz-ph{bottom:18px}

.fz-pm{position:fixed;inset:0;z-index:100020;display:flex;align-items:center;justify-content:center;padding:20px 20px 20px;background:rgba(5,8,20,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:fzPmIn .22s ease both}
.fz-pm-dev{position:relative;flex:none;width:min(420px,100%);height:min(880px,100%);border-radius:34px;padding:10px;background:#05070f;box-shadow:0 0 0 2px rgba(255,255,255,.14),0 30px 90px rgba(0,0,0,.65),0 0 80px rgba(109,94,252,.25)}
.fz-pm-frame{display:block;width:100%;height:100%;border:0;border-radius:25px;background:linear-gradient(160deg,#141a3d,#0a0f26)}
.fz-pm .fz-ph{position:fixed;right:18px;bottom:18px;z-index:2}
@keyframes fzPmIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.fz-pm{animation:none}.fz-ph{transition:none}}
/* narrow computer windows and tablets: icon-only buttons so they never cover the message box */
@media (max-width:1100px){
.fz-ph{width:48px;padding:0;justify-content:center}
.fz-ph .fz-ph-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (max-height:760px){.fz-pm{padding:10px}.fz-pm-dev{border-radius:28px;padding:8px}.fz-pm-frame{border-radius:21px}}
}

/* =====================================================================
   v2.55.0: COMPUTERS GET THE SAME FABQAI NIGHT LOOK AS PHONES.
   One design on every screen: deep indigo, violet + teal glow, sans type, glass message box, gradient bubbles, and the
   same FabQAI Free page (it used to be a dark card on a cream page). Phones: a small Free | Pro switch now sits in the
   top bar, so you never have to open the menu to change plan.
   ===================================================================== */
@media (min-width:740px){
.fz{--z-bg:#0a0f26;--z-side:#0f1636;--z-line:rgba(255,255,255,.13);--z-fg:#eef1ff;--z-mute:#9fabdb;--z-card:rgba(255,255,255,.07);--z-hover:rgba(255,255,255,.07);--z-on:rgba(143,123,255,.24);--z-shadow:0 8px 28px rgba(0,0,0,.4);--z-scrim:rgba(3,5,18,.66);--z-ac:#19d3b8;--z-serif:var(--z-sans);
	background:radial-gradient(130% 46% at 0% 0%,rgba(109,94,252,.42),transparent 62%),radial-gradient(100% 38% at 100% 6%,rgba(0,194,168,.24),transparent 60%),#0a0f26}
.fz .fabai{color-scheme:dark}

.fz-chip.is-on{box-shadow:inset 3px 0 0 #19d3b8}

/* chat look: no serif, glass message box, soft bubbles */
.fz .fabai-assistant .fabai-msg{font-family:var(--z-sans)}
.fz .fabai-user .fabai-msg{background:linear-gradient(135deg,rgba(109,94,252,.55),rgba(0,194,168,.35));color:#fff}
.fz .fabai-form{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.fz:not(.fz-chatting) .fabai-assistant .fabai-msg{font-weight:800;letter-spacing:-.02em;background:linear-gradient(90deg,#fff,#c7bcff 60%,#8ff7e8);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* FREE version: no top bar, everything moves up */
.fz-free{padding:14px 14px calc(34px + env(safe-area-inset-bottom,0px));scrollbar-width:none}
.fz-free::-webkit-scrollbar{display:none}
.fz-free .ftt-box.ftt-inline{max-width:none;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#eef1ff}

.fz-free .ftt-head{gap:12px;margin:0 0 14px;padding:0}
.fz-free .ftt-mark.is-logo{width:50px;height:50px;border-radius:16px;box-shadow:0 8px 26px rgba(109,94,252,.6),0 0 0 1px rgba(255,255,255,.12) inset}
.fz-free .ftt-mark.is-logo .fabqai-mark{width:50px;height:50px}
.fz-free .ftt-ht h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:25px;font-weight:850;letter-spacing:-.03em;background:linear-gradient(90deg,#fff 20%,#c7bcff);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.fz-free .ftt-pill{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:999px;color:#04201b;background:linear-gradient(135deg,#19d3b8,#8ff7e8);-webkit-text-fill-color:#04201b;box-shadow:0 4px 14px rgba(25,211,184,.45)}
.fz-free .ftt-ht p{margin-top:4px;font-size:14px;line-height:1.4;color:#aeb9e6}

/* the prompt box: glass, glowing when focused, the button joins it */
.fz-free .ftt-form{gap:10px;margin-bottom:12px;padding:10px;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.16);box-shadow:0 14px 36px rgba(2,4,20,.5),0 0 0 1px rgba(255,255,255,.03) inset;transition:border-color .2s,box-shadow .2s}
.fz-free .ftt-form:focus-within{border-color:rgba(143,123,255,.8);box-shadow:0 14px 36px rgba(2,4,20,.5),0 0 0 4px rgba(109,94,252,.28)}
.fz-free .ftt-in{min-height:92px;padding:8px 8px 4px;border:0;border-radius:12px;background:transparent;font-size:16.5px;line-height:1.45;color:#fff;resize:none}
.fz-free .ftt-in:focus{outline:0}
.fz-free .ftt-in::placeholder{color:#8896c9}
.fz-free .ftt-find{align-self:stretch;width:100%;height:50px;font-size:16.5px;border-radius:15px;color:#fff;background:linear-gradient(135deg,#7a6bff,#19d3b8);box-shadow:0 10px 26px rgba(109,94,252,.55)}
.fz-free .ftt-find::before{content:"\2726";margin-right:8px;font-size:15px}
.fz-free .ftt-find:active{transform:scale(.98)}

/* quick ideas: one swipeable row instead of a tall wrapped block */
.fz-free .ftt-chips{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 -14px 16px;padding:2px 14px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.fz-free .ftt-chips::-webkit-scrollbar{display:none}
.fz-free .ftt-chip{flex:none;padding:9px 15px;font-size:14px;border-radius:999px;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);white-space:nowrap}
.fz-free .ftt-chip:active{background:rgba(143,123,255,.35)}

/* results and account card */
.fz-free .ftt-sh{margin:6px 2px 10px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9fabdb}
.fz-free .ftt-tool{padding:13px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.04));border-color:rgba(255,255,255,.12);box-shadow:0 6px 20px rgba(2,4,20,.3)}
.fz-free .ftt-logo{width:48px;height:48px;border-radius:14px}
.fz-free .ftt-choice{margin-top:4px;border-radius:24px}
.fz-free .ftt-tk{margin-top:0}
/* the sidebar and the page share one night background */
.fz{background:linear-gradient(90deg,#0f1636 0 271px,rgba(255,255,255,.1) 271px 272px,transparent 272px),radial-gradient(90% 46% at 72% 0%,rgba(109,94,252,.34),transparent 62%),radial-gradient(70% 40% at 100% 0%,rgba(0,194,168,.2),transparent 60%),#0a0f26}
.fz-collapsed{background:radial-gradient(90% 46% at 50% 0%,rgba(109,94,252,.34),transparent 62%),radial-gradient(70% 40% at 100% 0%,rgba(0,194,168,.2),transparent 60%),#0a0f26}
.fz-ttl b{color:#fff;font-family:var(--z-sans);font-weight:800;letter-spacing:-.02em}
.fz-x{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.fz-tg{color:#9fabdb}
/* the Free page: one centred column, not a phone sheet */
.fz-free{padding:28px max(24px,calc((100% - 720px)/2)) 60px}
.fz-free .ftt-chips{flex-wrap:wrap;overflow:visible;margin:0 0 18px;padding:2px 0 4px}
.fz-free .ftt-find{align-self:flex-start;width:auto;min-width:190px;padding:0 28px}
.fz-free .ftt-ht h2{font-size:30px}
.fz-free .ftt-pill{font-size:11px}
/* chips that float top right, on the night page */
.ftw-float .ftw-chip{box-shadow:0 6px 20px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.14)}
.ftw-float{display:flex;align-items:center;gap:8px}
}
@media (max-width:739.98px){
.fz-top .ftw-top{gap:4px;margin-left:auto}
.fz-top .ftw-top .ftw-sw-in{display:inline-grid !important;margin-left:2px}
.fz-top .ftw-top .ftw-sw-b{padding:0 9px;min-height:28px}
.fz-top .ftw-top .ftw-sw-t{display:none}
.fz-top .ftw-top .ftw-sw-b.is-locked .ftw-sw-lock{display:inline}
.fz-top .fz-top-t{padding-left:6px}
}
@media (max-width:399.98px){.fz-top .fz-top-t{display:none}}

/* =====================================================================
   v2.56.0: FABQAI ALWAYS OPENS THE PRO LOOK.
   Free and Pro are now the same window: same top bar, same menu / sidebar, same night page. The token chips and the
   Free | Pro switch sit in the top bar (phones and computers) and the member picks the plan there. The Free plan simply
   fills the page with FabQAI Free (find AI tools) where Pro shows the chat. The extra token card inside the Free page is
   gone (the top bar already shows the tokens and the switch).
   ===================================================================== */
.fz-free .ftt-tk,.fz-free .ftw-inpane{display:none !important}
.fz-free{scrollbar-width:thin}
@media (max-width:739.98px){
.fz-free{padding-top:10px}
.fz-top .ftw-top{display:flex !important}
}
