/* LL AI v66.38 — final Temporary Chat, Working UI and plugin switch polish. */
:root{--ll38-surface:#202020;--ll38-hover:#292929;--ll38-line:rgba(255,255,255,.115);--ll38-muted:#a7a7a7;--ll38-ease:cubic-bezier(.2,.8,.2,1)}

/* Normal empty-chat subtitle is intentionally gone; Temporary chat keeps its privacy subtitle. */
#welcome:not(.llTemporaryWelcome)>p.muted{display:none!important}
#welcome:not(.llTemporaryWelcome)>h1{margin-bottom:0!important}

/* ---------- one immutable top-right primary button ---------- */
#ll6638TopPrimary{
  position:relative!important;width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;
  padding:0!important;border:1px solid var(--ll38-line)!important;border-radius:50%!important;background:var(--ll38-surface)!important;color:#f7f7f7!important;
  display:grid!important;place-items:center!important;overflow:hidden!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
  transition:background-color .16s ease,border-color .16s ease,scale .13s var(--ll38-ease),translate .13s var(--ll38-ease)!important
}
#ll6638TopPrimary>*{display:none!important}
#ll6638TopPrimary::before{content:"";width:27px;height:27px;display:block;background-position:center;background-repeat:no-repeat;background-size:27px 27px;opacity:.96;transition:opacity .14s ease,scale .16s var(--ll38-ease)!important}
/* clean chat-bubble glyph */
#ll6638TopPrimary[data-mode="temporary-off"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f7f7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 11.7a7.65 7.65 0 0 1-10.95 6.9L4.7 19.7l1.08-3.52A7.65 7.65 0 1 1 19.6 11.7Z'/%3E%3C/svg%3E")}
/* active Temporary Chat: same bubble, one small centered check — no overlapping legacy SVGs */
#ll6638TopPrimary[data-mode="temporary"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.72' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 11.7a7.65 7.65 0 0 1-10.95 6.9L4.7 19.7l1.08-3.52A7.65 7.65 0 1 1 19.6 11.7Z'/%3E%3Cpath d='m8.25 11.85 2.15 2.1 5.15-5.15' stroke-width='1.9'/%3E%3C/svg%3E")}
/* once a normal chat has started, this slot becomes Search & Commands */
#ll6638TopPrimary[data-mode="commands"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f7f7' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='10.2' cy='10.2' r='5.35'/%3E%3Cpath d='m14.3 14.3 4.6 4.6M8 10.2h4.4M10.2 8v4.4'/%3E%3C/svg%3E")}
#ll6638TopPrimary:hover{background:var(--ll38-hover)!important;border-color:rgba(255,255,255,.18)!important;translate:0 -1px}
#ll6638TopPrimary:active{scale:.92!important;translate:0 0}
#ll6638TopPrimary[aria-pressed="true"]{background:#242424!important;border-color:rgba(255,255,255,.19)!important}
#ll6638TopPrimary:disabled{opacity:.72!important;pointer-events:none!important}

/* ---------- Working / Worked for ---------- */
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace{width:min(860px,100%)!important;margin:4px auto 9px!important;color:#d6d6d6!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace>.thinkingSummary{
  min-height:31px!important;padding:2px 2px!important;gap:6px!important;border-radius:7px!important;background:transparent!important;
  color:#cfcfcf!important;font-size:14.5px!important;font-weight:520!important;letter-spacing:-.006em!important
}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace>.thinkingSummary:hover{background:transparent!important;color:#f2f2f2!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .thinkingPulse{
  width:13px!important;height:13px!important;flex:0 0 13px!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;
  border:1.7px solid rgba(255,255,255,.24)!important;border-top-color:#d8d8d8!important;animation:ll38WorkingSpin .82s linear infinite!important
}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace.complete .thinkingPulse,.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .thinkingPulse.complete{display:none!important}
@keyframes ll38WorkingSpin{to{transform:rotate(360deg)}}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .thinkingChevron{width:13px!important;height:13px!important;opacity:.62!important;transition:rotate .16s var(--ll38-ease)!important;transform:none!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace.panelOpen .thinkingChevron{rotate:90deg!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkPanel{
  width:min(820px,calc(100% - 2px))!important;margin:1px 0 4px!important;padding:2px 0 3px 9px!important;border:0!important;border-left:1px solid rgba(255,255,255,.09)!important;background:transparent!important
}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkStep{grid-template-columns:24px minmax(0,1fr) auto!important;gap:0 7px!important;padding:7px 7px 7px 11px!important;border-radius:8px!important;background:transparent!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkStep.active{background:rgba(255,255,255,.025)!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkIcon{width:20px!important;height:20px!important;color:#9b9b9b!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkIcon svg{width:14px!important;height:14px!important;stroke-width:1.55!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkCopyText strong{font-size:13.5px!important;font-weight:570!important;color:#dedede!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkCopyText small{font-size:12px!important;line-height:1.43!important;color:#8f8f8f!important;max-width:76ch!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkLive{font-size:11px!important;color:#8c8c8c!important;opacity:1!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkExpand{width:26px!important;height:26px!important;border-radius:7px!important}
.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkCode,.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .llThinkOutput{border-color:rgba(255,255,255,.08)!important;background:#101010!important}

/* ---------- Plugins: actual on/off switches instead of meaningless + glyphs ---------- */
#ll6637Plugins .ll37PluginRow{grid-template-columns:54px minmax(0,1fr) 48px!important;cursor:pointer!important}
#ll6637Plugins .ll37PluginToggle{position:relative!important;width:40px!important;height:24px!important;border-radius:999px!important;background:#343434!important;border:1px solid rgba(255,255,255,.08)!important;padding:0!important;display:block!important;transition:background .16s ease,border-color .16s ease!important}
#ll6637Plugins .ll37PluginToggle>svg{display:none!important}
#ll6637Plugins .ll37PluginToggle::after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#d6d6d6;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:translate .17s var(--ll38-ease),background .16s ease!important}
#ll6637Plugins .ll37PluginRow.on .ll37PluginToggle{background:#ededed!important;border-color:#ededed!important}
#ll6637Plugins .ll37PluginRow.on .ll6638SwitchKnob{translate:16px 0;background:#171717}
#ll6637Plugins .ll37PluginNote{max-width:640px!important;color:#777!important}

@media(max-width:700px){#ll6638TopPrimary{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}#ll6638TopPrimary::before{width:25px;height:25px;background-size:25px 25px}.thinkingTrace.ll6535Thinking.ll6638WorkingTrace>.thinkingSummary{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){#ll6638TopPrimary,.thinkingTrace.ll6535Thinking.ll6638WorkingTrace .thinkingPulse,#ll6637Plugins .ll37PluginToggle::after{transition:none!important;animation:none!important}}
