/* FROZEN GLASS CHAT (2026-10-19, user: "copy this exact chatbot style design where it's frozen glass", over Creative, Venture Studio
   and the Commercial Exchange). The JungleMind prompt card, value for value: white glass at .42 with an 18px blur, a hairline,
   radius 20, the field on top and a bar under it (+ on the left; microphone and a dark square send on the right).
   Loaded LAST on every page that has Ask Humo, so it wins over the older chat passes. Type stays the site's own. */
:root{--gc-ink:#111111;--gc-muted:#5c5c5c;--gc-ease:cubic-bezier(0.16,1,0.3,1)}

/* ---------- the card ---------- */
.humo-p,
#chat .askbox,
.chat .gbar{
  background:rgba(255,255,255,0.42)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.15)!important;backdrop-filter:blur(18px) saturate(1.15)!important;
  border:1px solid rgba(0,0,0,0.06)!important;border-radius:20px!important;
  box-shadow:0 18px 44px -26px rgba(0,0,0,0.28)!important;
  color:var(--gc-ink);text-align:left}
.chat .gbar::before,.chat .gbar::after,#chat .askbox::before,#chat .askbox::after{display:none!important}

.gc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- the field ---------- */
.gc-in,
#chat #ask,
.chat .gbar textarea{
  width:100%;border:0;outline:0;resize:none;background:transparent!important;font-family:inherit;
  font-size:16.5px!important;line-height:1.5!important;color:var(--gc-ink)!important;-webkit-text-fill-color:var(--gc-ink);
  min-height:clamp(56px,11vh,108px)!important;padding:2px 4px!important;margin:0;box-shadow:none!important}
.gc-in::placeholder,#chat #ask::placeholder,.chat .gbar textarea::placeholder{color:#3d3d3d!important;opacity:.72;-webkit-text-fill-color:#3d3d3d}

/* ---------- the bar and its buttons ---------- */
.gc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.gc-r{display:flex;align-items:center;gap:12px}
.gc-btn{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(0,0,0,0.1);background:#fff;color:#1a1a1a;cursor:pointer;padding:0;transition:background .18s ease}
.gc-btn:hover{background:#f1f1ef}
.gc-btn.bare{border:0;background:transparent;width:34px}
.gc-btn.bare:hover{background:rgba(0,0,0,0.05)}
.gc-btn.send{background:#141414;border-color:#141414;color:#fff;width:46px;height:46px;border-radius:12px}
.gc-btn.send:hover{background:#000}
.gc-btn svg{width:19px;height:19px}
.gc-btn.send svg{width:21px;height:21px}
.gc-btn[hidden]{display:none!important}
.gc-btn.on{background:#141414;color:#fff;animation:gcPulse 1.4s var(--gc-ease) infinite}
@keyframes gcPulse{0%{box-shadow:0 0 0 0 rgba(20,20,20,.35)}100%{box-shadow:0 0 0 12px rgba(20,20,20,0)}}

/* ---------- what sits above the field: header, your question, the answer, suggestions ---------- */
.humo-p header,#chat .ab-head{color:var(--gc-muted)!important}
.humo-p header b,#chat .ab-head b{color:var(--gc-ink)!important}
.humo-p header button,#chat .ab-min{color:var(--gc-ink)!important;background:transparent!important;border-radius:50%}
.humo-p header button:hover,#chat .ab-min:hover{background:rgba(0,0,0,0.05)!important}
.humo-p .a,#chat .ab-top .msg{color:var(--gc-ink)!important}
.humo-p .a a,#chat .ab-top .msg a{color:var(--gc-ink)!important;text-decoration:underline;text-underline-offset:2px}
/* your question reads as a badge pill, right aligned */
.humo-p .you,#chat .ab-you{display:block;width:fit-content;max-width:80%;margin:12px 0 0 auto!important;padding:7px 16px!important;border-radius:999px!important;
  background:rgba(255,255,255,0.94)!important;border:1px solid rgba(0,0,0,0.07)!important;box-shadow:none!important;font-size:13.5px!important;line-height:1.45;color:#4a4a4a!important}
.humo-p .you[hidden],#chat .ab-you[hidden]{display:none!important}
/* suggestions are the badge tags */
.humo-p .c button,#chat .ab-acts button,.chat .gchips .ui-btn:not(.go){
  background:rgba(255,255,255,0.94)!important;border:1px solid rgba(0,0,0,0.07)!important;border-radius:999px!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:7px 16px!important;font-size:13.5px!important;color:#111!important;text-shadow:none!important;
  transition:background .18s ease!important}
.humo-p .c button:hover,.humo-p .c button:focus-visible,#chat .ab-acts button:hover,#chat .ab-acts button:focus-visible{background:#f1f1ef!important}
#chat .ab-acts button.go,#chat .ab-acts button.sel{background:#141414!important;border-color:#141414!important;color:#fff!important}
.humo-p .c[hidden],#chat .ab-acts[hidden]{display:none!important}
#chat .ab-acts::before{color:var(--gc-muted)!important}
#chat .ab-acts::after{display:none!important}

/* =========================================================================================
   VENTURE STUDIO and THE EXCHANGE (shared/one.js Humo): the whole panel is the card
   ========================================================================================= */
.humo-p{width:min(790px,100% - 32px)!important;padding:22px 20px 16px!important;
  clip-path:inset(100% 40% 0 40% round 20px);transition:clip-path .75s var(--gc-ease),opacity .3s,visibility 0s linear .75s}
.humo-p.on{clip-path:inset(0 0 0 0 round 20px);transition:clip-path .75s var(--gc-ease),opacity .3s,visibility 0s}
.humo-p header{font-size:12px;padding:0 4px}
.humo-p .a{margin:10px 4px 14px;font-size:15.5px;line-height:1.55;min-height:0}
.humo-p .c{padding:0 2px 14px;gap:8px}
.humo-p .gc-f{margin:0}

/* =========================================================================================
   THE HOME PAGE (journey/index.html #chat): the guide is the card, the form is its field and bar
   ========================================================================================= */
#chat .askbox{padding:22px 20px 16px!important}
@media (min-width:701px){ #chat .askbox{width:min(790px,100% - 32px)!important} }
#chat{width:min(790px,calc(100vw - 24px))}
#chat .ab-main,#chat .ab-main:focus-within{display:block!important;min-height:0!important;padding:0!important;margin:10px 0 0!important;border-radius:0!important;
  background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;overflow:visible!important}
#chat .ab-main::before,#chat .ab-kbd{display:none!important}
#chat .ab-main .gc-bar .send,#chat .ab-main .gc-bar .mic{border-radius:12px!important;aspect-ratio:auto!important}
#chat .ab-main .gc-bar .mic{border-radius:50%!important;background:transparent!important;color:#1a1a1a!important;box-shadow:none!important}
#chat .ab-main .gc-bar .mic:hover{background:rgba(0,0,0,0.05)!important}
#chat .ab-main .gc-bar .mic.on{background:#141414!important;color:#fff!important}
#chat .ab-main .gc-bar .send,#chat .ab-main.typing .gc-bar .send{width:46px!important;height:46px!important;background:#141414!important;color:#fff!important;box-shadow:none!important;animation:none!important;transform:none}
#chat .ab-main .gc-bar .send:hover{background:#000!important}
#chat .ab-main .gc-bar .ms{font-size:21px}
#chat .ab-acts{padding:0 0 14px!important;gap:8px!important}
#chat .ab-top{padding:4px 4px 6px!important}
#chat .ab-head{padding:0 0 4px 4px!important}

/* =========================================================================================
   CREATIVE STUDIO (creative/index.html #chat .gbar): the bar becomes the card
   ========================================================================================= */
.chat .gbar{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:0!important;min-height:0!important;padding:22px 20px 16px!important;height:auto!important}
.chat .gbar textarea{flex:1 1 100%!important;max-height:40vh}
.chat .gbar .gplace{left:24px!important;top:24px!important;transform:none!important;max-width:calc(100% - 48px)!important;
  background:none!important;-webkit-text-fill-color:#3d3d3d!important;color:#3d3d3d!important;opacity:.72;font-family:inherit!important;font-size:16.5px!important;font-weight:400!important}
.chat .gbar .gplace.out{opacity:0}
.chat .gbar .cbtns{display:flex!important;align-items:center!important;gap:12px!important;flex:1 1 100%;margin-top:10px;align-self:auto!important}
.chat .gbar .cbtns > #gattach{margin-right:auto}
.chat .gbar .ui-btn.icon{width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid rgba(0,0,0,0.1)!important;background:#fff!important;color:#1a1a1a!important;
  box-shadow:none!important;filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transition:background .18s ease!important}
.chat .gbar .ui-btn.icon::before,.chat .gbar .ui-btn.icon::after{display:none!important}
.chat .gbar .ui-btn.icon:hover{background:#f1f1ef!important}
.chat .gbar #gmic{border:0!important;background:transparent!important;width:34px!important}
.chat .gbar #gmic:hover{background:rgba(0,0,0,0.05)!important}
.chat .gbar #gmic.on{background:#141414!important;color:#fff!important;width:42px!important}
.chat .gbar #gsend{width:46px!important;height:46px!important;border-radius:12px!important;background:#141414!important;border-color:#141414!important;color:#fff!important}
.chat .gbar #gsend:hover{background:#000!important}
.chat .gbar #gsend:disabled{background:#141414!important;opacity:1}
.chat .gbar .ui-btn.icon svg{width:19px!important;height:19px!important;transform:none!important}
.chat .gbar #gsend svg{width:21px!important;height:21px!important}

/* ---------- phones ---------- */
@media (max-width:640px){
  .humo-p,#chat .askbox,.chat .gbar{border-radius:17px!important;padding:16px 14px 12px!important}
  .gc-in,#chat #ask,.chat .gbar textarea{font-size:16px!important;min-height:62px!important}
  .chat .gbar .gplace{left:18px!important;top:18px!important;font-size:16px!important}
  .gc-btn,.chat .gbar .ui-btn.icon{width:38px!important;height:38px!important}
  .gc-btn.bare,.chat .gbar #gmic{width:32px!important}
  .gc-btn.send,#chat .ab-main .gc-bar .send,.chat .gbar #gsend{width:42px!important;height:42px!important;border-radius:11px!important}
}
/* the home page's full-screen guide on phones keeps its sheet, in the same glass */
@media (max-width:760px){
  #chat.open .askbox{border-radius:0!important;border:0!important}
  #chat .ab-main{order:4;margin:0 14px calc(14px + env(safe-area-inset-bottom,0px))!important;padding:16px 14px 12px!important;border-radius:17px!important;
    background:rgba(255,255,255,0.6)!important;border:1px solid rgba(0,0,0,0.06)!important}
  #chat .ab-head{padding:env(safe-area-inset-top,0px) 12px 0 20px!important}
  #chat .ab-acts{padding:8px 14px!important}
}
@media (max-height:560px) and (orientation:landscape){ .gc-in,#chat #ask,.chat .gbar textarea{min-height:48px!important} }
@media (prefers-reduced-motion:reduce){ .gc-btn.on{animation:none} }
.chat .gchips{gap:8px!important}
.chat .gchips .ui-btn:not(.go)::after{display:none!important}
/* chat chips: one height everywhere; the next step is the dark one, the quiet ones are bare */
.humo-p .c button{min-height:0!important;height:auto!important;line-height:1.4!important}
.humo-p .c button.go{background:#141414!important;border-color:#141414!important;color:#fff!important}
.humo-p .c button.go:hover{background:#000!important}
.humo-p .c button.sel{background:#141414!important;border-color:#141414!important;color:#fff!important}
.humo-p .c button.alt{background:transparent!important;border-color:rgba(0,0,0,.14)!important;color:#3d3d3d!important}
.humo-p .a b{font-weight:500}
.humo-p .gc-n{display:block;margin-top:6px;font-size:13.5px;color:var(--gc-muted)}
.humo-p .gc-sum{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px;font-size:14px}
.humo-p .gc-sum li{display:grid;grid-template-columns:minmax(110px,30%) 1fr;gap:12px;padding-top:6px;border-top:1px solid rgba(0,0,0,.08)}
.humo-p .gc-sum li span{color:var(--gc-muted)}
@media (min-width:761px){ .humo-p{max-height:calc(100svh - 40px);overflow-y:auto} }

/* =========================================================================================
   ASK HUMO, DARK BAR (user, 2026-10-19: "this is now the default chat bar for Ask Humo", with the Exchange footer bar).
   Venture Studio and the Exchange (shared/one.js Humo): dark frosted glass, a hairline, radius 20; the tags sit in the bar next
   to the plus, as rounded rectangles; send is the pathway's light colour. Creative and the home page keep the white card.
   ========================================================================================= */
.humo-p{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 30px 80px -40px #000!important;color:var(--paper)}
.humo-p header{color:var(--mute)!important} .humo-p header b{color:var(--paper)!important}
.humo-p header button{color:var(--paper)!important} .humo-p header button:hover{background:rgba(255,255,255,.08)!important}
.humo-p .a,.humo-p .a a{color:var(--paper)!important}
.humo-p .gc-n,.humo-p .gc-sum li span{color:var(--mute)}
.humo-p .gc-sum li{border-top-color:rgba(255,255,255,.1)}
.humo-p .you{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.14)!important;color:var(--paper)!important;border-radius:10px!important}
.humo-p .gc-in{color:var(--paper)!important;-webkit-text-fill-color:var(--paper)}
.humo-p .gc-in::placeholder{color:var(--mute)!important;-webkit-text-fill-color:var(--mute);opacity:1}
.humo-p .gc-bar{align-items:center}
.humo-p .gc-btn{background:transparent;border-color:rgba(255,255,255,.3);color:var(--paper)}
.humo-p .gc-btn:hover{background:rgba(255,255,255,.08)}
.humo-p .gc-btn.bare{color:var(--paper)} .humo-p .gc-btn.bare:hover{background:rgba(255,255,255,.08)}
.humo-p .gc-btn.on{background:var(--hi);color:rgb(var(--ground))}
.humo-p .gc-btn.send{background:var(--hi);border-color:var(--hi);color:rgb(var(--ground))}
.humo-p .gc-btn.send:hover{background:#fff}
.humo-p .gc-btn[data-k="more"]{align-self:flex-start}
/* the tags, inside the bar */
.humo-p .gc-bar .c{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0!important;margin:0}
.humo-p .gc-bar .c[hidden]{display:none!important}
.humo-p .c button{background:rgba(255,255,255,.06)!important;border:0!important;box-shadow:inset 0 0 0 .5px rgba(var(--b),.28)!important;border-radius:10px!important;
  padding:8px 13px!important;font-size:13.5px!important;color:var(--paper)!important}
.humo-p .c button:hover,.humo-p .c button:focus-visible{background:rgba(var(--a),.14)!important;box-shadow:inset 0 0 0 .5px rgba(var(--b),.7)!important}
.humo-p .c button.go,.humo-p .c button.sel{background:var(--hi)!important;color:rgb(var(--ground))!important;box-shadow:none!important}
.humo-p .c button.go:hover{background:#fff!important}
.humo-p .c button.alt{background:transparent!important;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.22)!important;color:var(--mute)!important}
.humo-p .gc-r{align-self:flex-end}
@media (max-width:640px){
  .humo-p .gc-bar,.p-close .pb-bar{gap:8px}
  .humo-p .gc-bar .c,.p-close .pb-bar .pb-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-mask:linear-gradient(90deg,#000 88%,transparent);mask:linear-gradient(90deg,#000 88%,transparent)}
  .humo-p .gc-bar .c::-webkit-scrollbar,.p-close .pb-bar .pb-chips::-webkit-scrollbar{display:none}
  .humo-p .c button,.p-close .pb-bar .pb-chips button{flex:none;white-space:nowrap}
  .humo-p .gc-btn[data-k="more"]{align-self:center}
}

/* =========================================================================================
   ASK HUMO AS A PAGE (user, 2026-10-19: "it should be able to transition from that into a whole chat page, glass", "just like the
   Humanate Creative"). Venture Studio and the Exchange: the panel covers the window in dark frosted glass and grows out of the bar
   (or pill) that opened it, by clip-path from that element's box (--ct --cr --cb --cl, set in one.js). The thread fills the page;
   the bar is the "Something on your mind?" bar at the foot, with three tags next to the plus.
   ========================================================================================= */
.humo-p{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;height:auto!important;max-height:none!important;
  margin:0!important;padding:0!important;transform:none!important;translate:none!important;border:0!important;border-radius:0!important;z-index:200;
  display:flex!important;flex-direction:column;overflow:hidden!important;
  background:rgba(12,10,7,.62)!important;-webkit-backdrop-filter:blur(30px) saturate(1.2)!important;backdrop-filter:blur(30px) saturate(1.2)!important;box-shadow:none!important;
  clip-path:inset(var(--ct,90vh) var(--cr,40vw) var(--cb,2vh) var(--cl,40vw) round 20px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none;
  transition:clip-path .85s cubic-bezier(.76,0,.24,1),opacity .45s ease .25s,visibility 0s linear .85s!important}
.humo-p.on{clip-path:inset(0 0 0 0 round 0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto;transition:clip-path .85s cubic-bezier(.76,0,.24,1),opacity .25s ease,visibility 0s!important}
.humo-p.pre{transition:none!important}
html.humo-full .humo,html.humo-full .hx-island,html.humo-full .bar{opacity:0;pointer-events:none}
.humo-p header{flex:none;display:flex;align-items:center;gap:10px;width:min(820px,100% - 32px);margin:0 auto;padding:max(22px,env(safe-area-inset-top)) 0 14px!important;font-size:12.5px;letter-spacing:.04em}
.humo-p header b{font-family:var(--title);font-weight:200;font-size:20px;letter-spacing:-.01em}
.humo-p header button{margin-left:auto;width:40px;height:40px;display:grid;place-items:center;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.25)}
.humo-p header button svg{rotate:180deg}
.humo-p .th{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent;
  -webkit-mask:linear-gradient(180deg,transparent,#000 40px,#000 calc(100% - 24px),transparent);mask:linear-gradient(180deg,transparent,#000 40px,#000 calc(100% - 24px),transparent)}
.humo-p .th-in{display:flex;flex-direction:column;justify-content:flex-end;gap:16px;min-height:100%;width:min(820px,100% - 32px);margin:0 auto;padding:48px 0 28px;box-sizing:border-box}
.humo-p .m{max-width:min(640px,88%);font-size:16.5px;line-height:1.6;color:var(--paper);opacity:0;translate:0 12px;transition:opacity .5s ease,translate .6s cubic-bezier(.16,1,.3,1)}
.humo-p .m.in{opacity:1;translate:0 0}
.humo-p .m.it{align-self:flex-start}
.humo-p .m.it b{font-weight:500}
.humo-p .m.it a{color:var(--hi);text-decoration:underline;text-underline-offset:3px}
.humo-p .m.me{align-self:flex-end;padding:10px 15px;border-radius:12px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.16);font-size:15px}
.humo-p .gc-f{flex:none;width:min(820px,100% - 32px);margin:0 auto max(22px,env(safe-area-inset-bottom))!important;padding:18px 18px 14px 22px;box-sizing:border-box;border:1px solid rgba(255,255,255,.18);border-radius:20px;
  background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 30px 80px -40px #000}
.humo-p .gc-in{min-height:56px!important}
.humo-p.on .gc-f{animation:gcRise .8s cubic-bezier(.16,1,.3,1) .25s both}
@keyframes gcRise{from{opacity:0;translate:0 18px}}
@media (max-width:640px){ .humo-p .gc-f{padding:14px 12px 10px 14px;border-radius:17px} .humo-p .m{font-size:15.5px} }
@media (prefers-reduced-motion:reduce){ .humo-p,.humo-p.on{transition:opacity .2s!important;clip-path:none!important} .humo-p .m{transition:none} .humo-p.on .gc-f{animation:none} }
/* attached files in the chat (2026-10-25) */
.humo-p .gc-files{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.humo-p .gc-files li{display:flex;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:2px;font-size:13.5px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);overflow:hidden}
.humo-p .gc-files li span{flex:none;color:var(--mute,rgba(255,255,255,.55));font-size:12px}
