/* LL AI v66.32 — performance-first ChatGPT-style shell.
   One final visual layer. No backdrop-filter, no animated layout transforms,
   no polling-dependent styling. */
:root{
  --ll30-side:360px;
  --ll30-read:860px;
  --ll30-composer:780px;
  --ll30-bg:#000;
  --ll30-panel:#151515;
  --ll30-panel-2:#1d1d1d;
  --ll30-hover:#171717;
  --ll30-active:#202020;
  --ll30-line:rgba(255,255,255,.11);
  --ll30-muted:#9b9b9b;
  --ll30-text:#f3f3f3;
  --side-width:var(--ll30-side)!important;
  color-scheme:dark;
}
html,body{background:var(--ll30-bg)!important;color:var(--ll30-text)!important}
body{overflow:hidden!important}
*{scrollbar-color:rgba(255,255,255,.18) transparent}
button,input,textarea,select{font:inherit}
button{color:inherit}

/* Remove expensive shell blur/glow effects from the hot path. */
.main,.topbar,.composer,.side,.attachMenu,.chatContextMenu,.ll6623Overlay,.ll6624Page,
.llAccountModal,.commandPalette,.freeImageSetup,.ownerGate{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.main::before,.main::after{display:none!important}
.welcomeMark{animation:none!important}
.chip::after{display:none!important}

/* ---------- application shell ---------- */
.app{height:100dvh!important;grid-template-columns:var(--ll30-side) minmax(0,1fr)!important;background:#000!important}
.main{height:100dvh!important;background:#000!important;overflow:hidden!important;min-width:0!important;position:relative!important}
.side{
  width:var(--ll30-side)!important;min-width:var(--ll30-side)!important;height:100dvh!important;
  box-sizing:border-box!important;padding:14px 10px 10px!important;background:#000!important;border:0!important;
  display:flex!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;contain:layout style!important;
}
.side::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.app.sidebarCollapsed{grid-template-columns:0 minmax(0,1fr)!important}
.app.sidebarCollapsed .side{transform:translateX(-100%)!important;opacity:0!important;pointer-events:none!important}
.sidebarScrim{background:rgba(0,0,0,.55)!important;backdrop-filter:none!important}

/* ---------- sidebar header ---------- */
.brandRow{height:48px!important;min-height:48px!important;padding:0 8px 6px!important;gap:6px!important;display:flex!important;align-items:center!important;position:relative!important;background:#000!important;z-index:3!important}
.brand{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1!important;font-size:20px!important;font-weight:700!important;letter-spacing:-.02em!important}
.brandMark{width:32px!important;height:32px!important;display:grid!important;place-items:center!important}
.brandMark svg{width:32px!important;height:32px!important}
.brandName{font-size:19px!important;white-space:nowrap!important}
.buildPill{font-size:10px!important;font-weight:700!important;padding:4px 7px!important;border-radius:999px!important;background:#151515!important;border:1px solid var(--ll30-line)!important;color:#aaa!important}
#closeSide.sideCloseBtn{width:38px!important;height:38px!important;background:transparent!important;border:0!important;color:#d9d9d9!important;flex:0 0 auto!important}
#closeSide.sideCloseBtn:hover{background:var(--ll30-hover)!important}
.ll6631SideAction{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#eee;flex:0 0 auto;cursor:pointer}
.ll6631SideAction:hover{background:var(--ll30-hover)}
.ll6631SideAction svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#newChat{display:none!important}
.chatSearchWrap{display:none!important}

/* ---------- primary navigation ---------- */
#ll6631PrimaryNav{display:flex;flex-direction:column;gap:2px;margin:10px 0 8px}
.side .navItem,
#ll6631PrimaryNav .navItem,
.ll6624Nav,
.ll6631MoreButton{
  width:100%!important;min-height:46px!important;padding:8px 11px!important;border:0!important;border-radius:10px!important;
  background:transparent!important;color:#f0f0f0!important;display:flex!important;align-items:center!important;gap:12px!important;
  text-align:left!important;font-size:15.5px!important;font-weight:600!important;box-shadow:none!important;cursor:pointer!important;
}
.side .navItem:hover,#ll6631PrimaryNav .navItem:hover,.ll6631MoreButton:hover{background:var(--ll30-hover)!important}
.side .navItem.active,#ll6631PrimaryNav .navItem.active{background:var(--ll30-active)!important}
.side .navItem>span,#ll6631PrimaryNav .navItem>span{width:27px!important;min-width:27px!important;height:27px!important;display:grid!important;place-items:center!important;font-size:19px!important;color:#e9e9e9!important}
.side .navItem>b,#ll6631PrimaryNav .navItem>b{font-size:15.5px!important;font-weight:600!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.side .navBadge,.side .appearanceBadge,.side .memoryCount{margin-left:auto!important;background:transparent!important;border:0!important;color:#8f8f8f!important;font-size:12px!important;font-style:normal!important}
#openFlashcards,#openCanvas,#ll6624AssistantsNav{display:none!important}
.ll6631MoreButton{justify-content:flex-start!important}
.ll6631MoreButton .ll6631Chevron{margin-left:auto;color:#777;font-size:18px;transition:transform .12s ease}
.ll6631MoreButton[aria-expanded="true"] .ll6631Chevron{transform:rotate(90deg)}

/* Projects use a real section but visually read as a first-class nav area. */
#ll6623Projects{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.ll6623ProjectsHead{min-height:46px!important;padding:8px 11px!important;margin:0!important;border-radius:10px!important;display:flex!important;align-items:center!important;color:#f0f0f0!important}
.ll6623ProjectsHead:hover{background:var(--ll30-hover)!important}
.ll6623ProjectsHead>span{font-size:15.5px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
.ll6623ProjectsHead>span::before{content:"□";display:inline-grid;place-items:center;width:27px;margin-right:12px;font-size:20px;font-weight:400;color:#eee}
.ll6623ProjectsHead button{margin-left:auto!important;width:30px!important;height:30px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#aaa!important;font-size:21px!important}
.ll6623ProjectsHead button:hover{background:#222!important;color:#fff!important}
.ll6623ProjectList{display:grid!important;gap:2px!important;margin:1px 0 4px 39px!important;padding:0!important}
.ll6623ProjectNav{min-height:36px!important;border:0!important;border-radius:8px!important;background:transparent!important;padding:6px 8px!important;color:#bbb!important;display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important}
.ll6623ProjectNav:hover{background:#141414!important;color:#fff!important}
.ll6623FolderIcon{display:none!important}.ll6623ProjectNav b{font-size:13.5px!important;font-weight:500!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ll6623ProjectNav em{margin-left:auto!important;color:#666!important;font-style:normal!important;font-size:11px!important}

/* ---------- chat history ---------- */
#chatHistory{display:flex!important;flex-direction:column!important;gap:1px!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:4px 0 12px!important;margin:4px 0 0!important;contain:layout style!important}
#chatHistory:empty::after{content:"No chats yet"!important;text-align:left!important;padding:9px 13px!important;color:#666!important;font-size:13px!important}
.chatGroupLabel,.ll6623DateGroupLabel{padding:17px 12px 7px!important;color:#d7d7d7!important;font-size:13px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important}
.chatItem{min-height:42px!important;padding:8px 12px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#d7d7d7!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:8px!important}
.chatItem:hover{background:#141414!important;color:#fff!important}.chatItem.active{background:#1b1b1b!important;color:#fff!important;box-shadow:none!important}
.chatItemMain{min-width:0!important;display:block!important}.chatItemTitle{font-size:14px!important;font-weight:500!important;line-height:1.25!important}.chatItemMeta{display:none!important}
.chatActions{margin-left:auto!important}.chatAction,.chatDelete{background:transparent!important;color:#8a8a8a!important;border-radius:7px!important}.chatAction:hover,.chatDelete:hover{background:#2a2a2a!important;color:#fff!important}

/* ---------- account + settings footer ---------- */
#llAccountRail{order:90!important;margin-top:auto!important;min-height:52px!important;padding:7px 9px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#eee!important;box-shadow:none!important}
#llAccountRail:hover{background:var(--ll30-hover)!important}
#llAccountRail .llAccountAvatar{width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important;font-size:13px!important}
#llAccountRail .llAccountRailCopy b{font-size:13.5px!important}.llAccountRailCopy small{font-size:11px!important;color:#858585!important}.llAccountRailChevron{color:#666!important}
.sideTools{display:none!important}
#ll6631SettingsSide{order:95;margin-top:2px;width:100%;min-height:44px;padding:7px 11px;border:0;border-radius:10px;background:transparent;color:#ddd;display:flex;align-items:center;gap:12px;font-weight:600;cursor:pointer}
#ll6631SettingsSide:hover{background:var(--ll30-hover)}
#ll6631SettingsSide svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- topbar ---------- */
.topbar{height:58px!important;min-height:58px!important;padding:8px 16px!important;background:#000!important;border:0!important;box-shadow:none!important;gap:8px!important;position:relative!important;z-index:12!important}
#currentChatName{display:none!important}
#openSide{width:40px!important;height:40px!important;background:transparent!important;border:0!important;color:#ddd!important}
#openSide:hover{background:var(--ll30-hover)!important}
.app:not(.sidebarCollapsed) #openSide{visibility:hidden!important;pointer-events:none!important;width:0!important;margin:0!important;padding:0!important}
.topActions{margin-left:auto!important;display:flex!important;gap:6px!important;align-items:center!important}
#topCommands{display:none!important}
#tempChatBtn{width:42px!important;height:42px!important;background:#171717!important;border:1px solid var(--ll30-line)!important;color:#eee!important;box-shadow:none!important}
#tempChatBtn:hover{background:#202020!important}
#status{display:none!important}
.ll6631TopButton{height:42px;min-width:42px;padding:0 12px;border:1px solid var(--ll30-line);border-radius:22px;background:#171717;color:#eee;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}
.ll6631TopButton.iconOnly{width:42px;padding:0;border-radius:50%}.ll6631TopButton:hover{background:#202020}.ll6631TopButton svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---------- conversation ---------- */
.chat{
  flex:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding-top:22px!important;padding-bottom:150px!important;
  padding-left:max(22px,calc((100% - var(--ll30-read))/2))!important;
  padding-right:max(22px,calc((100% - var(--ll30-read))/2))!important;
  display:flex!important;flex-direction:column!important;gap:24px!important;scrollbar-gutter:auto!important;
  background:#000!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;
}
.msgrow{width:100%!important;max-width:var(--ll30-read)!important;margin:0 auto!important;align-self:center!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;box-sizing:border-box!important}
.msg.ai{width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#f2f2f2!important;font-size:16px!important;line-height:1.68!important;white-space:normal!important;text-align:left!important}
.assistantTextBody,.aiMsgBody{width:100%!important;max-width:none!important;text-align:left!important;overflow-wrap:anywhere!important}
.assistantTextBody p{margin:0 0 14px!important}.assistantTextBody p:last-child{margin-bottom:0!important}.assistantTextBody h1,.assistantTextBody h2,.assistantTextBody h3{letter-spacing:-.02em!important}.assistantTextBody pre{border-radius:12px!important;border:1px solid var(--ll30-line)!important;background:#111!important}
.msg.user{max-width:min(620px,82%)!important;width:fit-content!important;align-self:flex-end!important;margin:0!important;padding:10px 15px!important;border-radius:20px 20px 6px 20px!important;background:#1d1d1d!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:none!important;color:#f2f2f2!important;font-size:15.5px!important;line-height:1.5!important}
.msgActions{display:flex!important;align-items:center!important;gap:2px!important;min-height:34px!important;margin:0!important;padding:0!important;opacity:1!important}
.msgActions .btn,.msgActions button{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#9d9d9d!important;box-shadow:none!important;display:grid!important;place-items:center!important;opacity:1!important}
.msgActions .btn:hover,.msgActions button:hover{background:#181818!important;color:#eee!important}.msgActions svg{width:18px!important;height:18px!important}
.scope{color:#777!important;font-size:10px!important;margin-bottom:5px!important}

/* Welcome state: calm, not a dashboard. */
.welcome{width:100%!important;max-width:var(--ll30-read)!important;margin:auto!important;padding:0 0 115px!important;text-align:center!important}
.welcomeMark,.welcome .chips{display:none!important}
.welcome h1{font-size:clamp(30px,3.2vw,42px)!important;line-height:1.12!important;letter-spacing:-.04em!important;margin:0 0 12px!important;font-weight:650!important;color:#f4f4f4!important}
.welcome p{font-size:15px!important;color:#777!important;margin:0!important}

/* ---------- composer ---------- */
.composer{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:10!important;padding:22px 18px calc(12px + env(safe-area-inset-bottom))!important;background:linear-gradient(to bottom,transparent 0,#000 28%,#000 100%)!important;box-shadow:none!important}
.composebox{width:min(var(--ll30-composer),calc(100% - 28px))!important;max-width:var(--ll30-composer)!important;margin:0 auto!important;min-height:56px!important;padding:7px 8px!important;gap:5px!important;border-radius:28px!important;background:#202020!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;align-items:flex-end!important}
.composebox:focus-within{border-color:rgba(255,255,255,.2)!important}
.composebox textarea{min-height:42px!important;max-height:190px!important;padding:10px 8px!important;border:0!important;background:transparent!important;color:#f4f4f4!important;font-size:15.5px!important;line-height:1.45!important;resize:none!important;box-shadow:none!important}
.composebox textarea::placeholder{color:#858585!important}
#attach,#voice{width:42px!important;height:42px!important;background:transparent!important;border:0!important;color:#d8d8d8!important;box-shadow:none!important}
#attach:hover,#voice:hover{background:#2b2b2b!important}
#send.composerPrimary{width:42px!important;height:42px!important;border-radius:50%!important;border:0!important;box-shadow:none!important;background:var(--accent)!important;color:var(--accent-contrast,#fff)!important}
#send.composerPrimary:hover{filter:brightness(1.05)!important}
.disclaimer{font-size:10.5px!important;color:#666!important;margin-top:7px!important}
.composerHint{width:min(var(--ll30-composer),calc(100% - 28px))!important;margin:0 auto!important}

/* The add menu should be useful, compact, and not visually loud. */
.attachMenu{left:50%!important;bottom:92px!important;transform:translateX(calc(-1 * min(var(--ll30-composer),calc(100vw - var(--ll30-side) - 28px))/2 + 28px))!important;width:286px!important;max-height:min(440px,62dvh)!important;overflow:auto!important;padding:7px!important;border-radius:16px!important;background:#202020!important;border:1px solid var(--ll30-line)!important;box-shadow:0 16px 50px rgba(0,0,0,.45)!important}
.attachMenuMain{display:grid!important;gap:2px!important}.attachMenuMain>button{min-height:42px!important;padding:9px 10px!important;border-radius:10px!important;background:transparent!important;color:#eee!important;font-size:14px!important;font-weight:500!important}.attachMenuMain>button:hover{background:#2a2a2a!important}
.ll6623QuickTool{display:none!important}
.pluginPanel{max-height:390px!important;overflow:auto!important}.pluginRow{min-height:54px!important;border-radius:10px!important}.pluginPanelFoot{color:#777!important}

/* ---------- More popover ---------- */
#ll6631MoreMenu{position:fixed;z-index:180;width:270px;padding:7px;border-radius:14px;background:#202020;border:1px solid var(--ll30-line);box-shadow:0 18px 52px rgba(0,0,0,.48)}
#ll6631MoreMenu[hidden]{display:none!important}
#ll6631MoreMenu button{width:100%;min-height:43px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#eee;display:flex;align-items:center;gap:11px;text-align:left;font-size:14px;cursor:pointer}
#ll6631MoreMenu button:hover{background:#2a2a2a}#ll6631MoreMenu svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#aaa}
#ll6631MoreMenu .sep{height:1px;background:var(--ll30-line);margin:5px}

/* ---------- search overlay ---------- */
#ll6631Search{position:fixed;inset:0;z-index:260;display:grid;place-items:start center;padding-top:min(12vh,110px);background:rgba(0,0,0,.62)}
#ll6631Search[hidden]{display:none!important}
.ll6631SearchCard{width:min(680px,calc(100% - 28px));max-height:min(720px,78dvh);display:flex;flex-direction:column;border:1px solid var(--ll30-line);border-radius:18px;background:#171717;box-shadow:0 30px 90px rgba(0,0,0,.58);overflow:hidden}
.ll6631SearchHead{height:58px;display:flex;align-items:center;gap:10px;padding:0 15px;border-bottom:1px solid var(--ll30-line)}
.ll6631SearchHead svg{width:21px;height:21px;fill:none;stroke:#aaa;stroke-width:1.8}.ll6631SearchHead input{flex:1;border:0;background:transparent;color:#fff;outline:0;font-size:16px}.ll6631SearchHead button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#aaa;font-size:20px}.ll6631SearchHead button:hover{background:#252525;color:#fff}
.ll6631SearchResults{padding:7px;overflow:auto;display:grid;gap:2px}.ll6631SearchResult{width:100%;min-height:54px;padding:9px 11px;border:0;border-radius:10px;background:transparent;color:#eee;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left}.ll6631SearchResult:hover,.ll6631SearchResult.active{background:#252525}.ll6631SearchResult .ico{color:#999;font-size:18px}.ll6631SearchResult b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6631SearchResult small{display:block;margin-top:2px;color:#888;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6631SearchResult em{font-style:normal;color:#666;font-size:11px}.ll6631Empty{padding:38px 20px;text-align:center;color:#777}
.ll6631SearchScope{padding:8px 14px 0;color:#737373;font-size:11.5px}
.ll6631Hit{animation:ll30Hit .9s ease}@keyframes ll30Hit{0%{background:rgba(var(--accent-rgb),.3)}100%{background:transparent}}

/* ---------- top chat menu ---------- */
#ll6631ChatMenu{position:fixed;z-index:200;width:220px;padding:7px;border:1px solid var(--ll30-line);border-radius:14px;background:#202020;box-shadow:0 18px 50px rgba(0,0,0,.48)}
#ll6631ChatMenu[hidden]{display:none!important}#ll6631ChatMenu button{width:100%;min-height:41px;border:0;border-radius:9px;background:transparent;color:#eee;padding:8px 10px;display:flex;align-items:center;gap:10px;text-align:left}#ll6631ChatMenu button:hover{background:#2a2a2a}#ll6631ChatMenu .danger{color:#ff8b8b}#ll6631ChatMenu .sep{height:1px;background:var(--ll30-line);margin:5px}

/* ---------- parity feature pages ---------- */
.ll6624Page{left:var(--ll30-side)!important;background:#000!important;transition:none!important;transform:none!important}
.ll6624Page.open{opacity:1!important}.app.sidebarCollapsed .ll6624Page{left:0!important}
.ll6624PageInner{width:min(980px,calc(100% - 42px))!important;padding:20px 0 70px!important}.ll6624PageTop{padding:12px 0!important;margin-bottom:18px!important;background:#000!important;border-bottom:1px solid transparent!important}.ll6624PageTop h1{font-size:28px!important;letter-spacing:-.03em!important}.ll6624PageTop p{font-size:13px!important;color:#7e7e7e!important}.ll6624Close,.ll6624Btn,.ll6624TaskActions button{border-color:var(--ll30-line)!important;background:#181818!important;box-shadow:none!important}.ll6624Close:hover,.ll6624Btn:hover,.ll6624TaskActions button:hover{background:#222!important}.ll6624Btn.primary{background:#f1f1f1!important;color:#111!important;border-color:#f1f1f1!important}.ll6624Notice{border:1px solid var(--ll30-line)!important;background:#111!important;color:#aaa!important;border-radius:13px!important}.ll6624Grid{gap:10px!important}.ll6624Card,.ll6624Task,.ll6624AssistantHero,.ll6624Plugin,.ll6624MemoryItem{background:#101010!important;border:1px solid var(--ll30-line)!important;border-radius:14px!important;box-shadow:none!important}.ll6624Plugin{padding:12px!important}.ll6624PluginIcon{background:#1c1c1c!important}.ll6624Switch{background:#333!important}.ll6624Switch.on{background:var(--accent)!important}.ll6624SettingsNav{grid-template-columns:200px minmax(0,1fr)!important;gap:28px!important}.ll6624SettingsTabs button{min-height:42px!important}.ll6624SettingsTabs button.active{background:#1b1b1b!important}.ll6624Field input,.ll6624Field textarea,.ll6624Field select{background:#151515!important;border:1px solid var(--ll30-line)!important;border-radius:11px!important}.ll6624SettingBlock{border-color:var(--ll30-line)!important}

/* Projects/search overlays from the parity layer. */
.ll6623Overlay{background:rgba(0,0,0,.62)!important;backdrop-filter:none!important}.ll6623OverlayCard{background:#171717!important;border:1px solid var(--ll30-line)!important;box-shadow:0 26px 80px rgba(0,0,0,.55)!important}.ll6623Field input,.ll6623Field textarea{background:#111!important;border:1px solid var(--ll30-line)!important}.ll6623ProjectChats button,.ll6623PickerList button{background:#111!important;border-color:var(--ll30-line)!important}.ll6623ProjectChats button:hover,.ll6623PickerList button:hover{background:#1b1b1b!important}

/* ---------- mobile/tablet ---------- */
@media(max-width:900px){
  :root{--ll30-side:min(360px,88vw);--ll30-read:760px;--ll30-composer:720px}
  .app{grid-template-columns:0 minmax(0,1fr)!important}.side{position:fixed!important;left:0;top:0;bottom:0;z-index:70;transform:translateX(-102%);transition:transform .16s ease,opacity .16s ease!important;box-shadow:18px 0 60px rgba(0,0,0,.42)!important}.app:not(.sidebarCollapsed) .side{transform:none!important;opacity:1!important;pointer-events:auto!important}.app:not(.sidebarCollapsed) .sidebarScrim{display:block!important;opacity:1!important;pointer-events:auto!important}.app.sidebarCollapsed .side{transform:translateX(-102%)!important}.app:not(.sidebarCollapsed) #openSide{visibility:visible!important;width:40px!important;pointer-events:auto!important}
  .ll6624Page{left:0!important;z-index:80!important}.chat{padding-left:20px!important;padding-right:20px!important}.msg.user{max-width:86%!important}.topbar{padding-inline:10px!important}.composer{padding-inline:10px!important}.composebox{width:100%!important}.attachMenu{left:14px!important;transform:none!important;bottom:92px!important}
}
@media(max-width:600px){
  :root{--ll30-read:100%;--ll30-composer:100%}.chat{padding:14px 14px 142px!important;gap:20px!important}.msg.ai{font-size:15.5px!important}.msg.user{max-width:90%!important;font-size:15px!important}.welcome{padding-bottom:95px!important}.welcome h1{font-size:30px!important}.ll6631TopButton .label{display:none}.ll6631TopButton{width:42px;min-width:42px;padding:0;border-radius:50%}.ll6624PageInner{width:calc(100% - 24px)!important}.ll6624SettingsNav{grid-template-columns:1fr!important}.ll6624SettingsTabs{display:flex!important;flex-direction:row!important;overflow:auto!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

.sidebarQuickActions{display:none!important}
.chat > .msgrow:not(.typing),.chat > .msg.user{content-visibility:auto;contain-intrinsic-size:auto 92px}
html.ll6631LowPower .voiceOrb::before,html.ll6631LowPower .voiceOrb::after,html.ll6631LowPower .orbGlass,html.ll6631LowPower .orbSpecular{animation-duration:40s!important}

/* v66.31 Projects: files are first-class context, not decorative attachments. */
.projectFilesTitle{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.projectFilesTitle button{border:0!important;background:transparent!important;color:#b9b9b9!important;border-radius:8px!important;padding:6px 9px!important;font-size:12px!important}
.projectFilesTitle button:hover{background:#1d1d1d!important;color:#fff!important}
.ll6623ProjectFiles{display:grid!important;gap:6px!important;margin:6px 0 20px!important}
.ll6623ProjectFile{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;padding:9px 10px 9px 12px!important;border:1px solid var(--ll30-line)!important;border-radius:12px!important;background:#101010!important}
.ll6623ProjectFile>span{min-width:0!important;flex:1!important}.ll6623ProjectFile b{display:block!important;color:#ececec!important;font-size:13.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ll6623ProjectFile small{display:block!important;margin-top:2px!important;color:#777!important;font-size:11px!important}
.ll6623ProjectFile>button{width:30px!important;height:30px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#777!important;font-size:18px!important}.ll6623ProjectFile>button:hover{background:#202020!important;color:#fff!important}
.ll6623ProjectFilePicker{display:grid!important;gap:6px!important;max-height:54dvh!important;overflow:auto!important;padding-right:2px!important}
.ll6623ProjectFileChoice{display:flex!important;align-items:flex-start!important;gap:11px!important;padding:10px 12px!important;border:1px solid var(--ll30-line)!important;border-radius:12px!important;background:#101010!important;cursor:pointer!important}.ll6623ProjectFileChoice:hover{background:#171717!important}.ll6623ProjectFileChoice input{margin-top:3px!important;accent-color:var(--accent)!important}.ll6623ProjectFileChoice span{min-width:0!important}.ll6623ProjectFileChoice b{display:block!important;color:#eee!important;font-size:13px!important}.ll6623ProjectFileChoice small{display:block!important;color:#727272!important;font-size:11px!important;line-height:1.35!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:650px!important}
.ll6623Empty.compact{padding:16px!important;text-align:left!important;border:1px dashed var(--ll30-line)!important;border-radius:11px!important}

/* ========================================================================== */
/* v66.32 FINAL VISUAL PASS — ChatGPT-like hierarchy + native feature surfaces */
/* ========================================================================== */
:root{
  --ll31-side:360px;
  --ll31-read:820px;
  --ll31-composer:820px;
  --ll31-surface:#000;
  --ll31-panel:#171717;
  --ll31-panel2:#202020;
  --ll31-hover:#1b1b1b;
  --ll31-line:rgba(255,255,255,.13);
  --ll31-line-soft:rgba(255,255,255,.08);
  --ll31-muted:#8b8b8b;
  --ll31-text:#f4f4f4;
  --ll30-side:var(--ll31-side);
  --ll30-read:var(--ll31-read);
  --ll30-composer:var(--ll31-composer);
}

/* Shell proportions and typography */
.side{padding:12px 10px 10px!important}
.brandRow{height:54px!important;min-height:54px!important;padding:0 8px 8px!important}
.brand{gap:9px!important}.brandName{font-size:18px!important}.buildPill{font-size:9.5px!important;padding:3px 7px!important}
#ll6631PrimaryNav{margin:8px 0 10px!important;gap:1px!important}
#ll6631PrimaryNav .navItem,.ll6631MoreButton{min-height:45px!important;padding:8px 10px!important;border-radius:11px!important}
#ll6631PrimaryNav .navItem>b{font-size:15px!important;font-weight:590!important}
.ll6631MoreButton .ll6631MoreIcon{width:27px;height:27px;display:grid;place-items:center}.ll6631MoreButton .ll6631MoreIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
#chatHistory{margin-top:8px!important;padding-bottom:18px!important}.chatGroupLabel,.ll6623DateGroupLabel{padding:17px 12px 6px!important;font-size:12.5px!important;color:#d6d6d6!important}
.chatItem{min-height:39px!important;padding:7px 11px!important;border-radius:9px!important}.chatItemTitle{font-size:13.8px!important}.chatItem.active{background:#191919!important}
#llAccountRail{margin-top:auto!important}.side #ll6631SettingsSide{min-height:42px!important}

/* Main chat column */
.topbar{height:62px!important;min-height:62px!important;padding:10px 18px!important}
.chat{max-width:none!important;width:100%!important;padding:24px max(24px,calc((100% - var(--ll31-read))/2)) 154px!important;gap:25px!important;scroll-padding-bottom:160px!important}
.msgrow{width:100%!important;max-width:var(--ll31-read)!important;margin-inline:auto!important;box-sizing:border-box!important}
.msg.ai{font-size:16px!important;line-height:1.66!important;text-align:left!important}.assistantTextBody,.mdContent{max-width:100%!important;text-align:left!important}
.msg.user{max-width:min(620px,78%)!important;padding:10px 15px!important;border-radius:22px 22px 7px 22px!important;background:#202020!important;border-color:rgba(255,255,255,.06)!important}
.msgActions{gap:4px!important;margin-top:8px!important}.msgActions>button,.msgActions .ll625MoreBtn{width:35px!important;height:35px!important;border-radius:9px!important;background:transparent!important;border:1px solid transparent!important}.msgActions>button:hover,.msgActions .ll625MoreBtn:hover{background:#171717!important;border-color:var(--ll31-line-soft)!important}

/* Welcome — restore the useful starter buttons, with better centering. */
.welcome{max-width:820px!important;padding:0 0 112px!important}
.welcomeMark{display:none!important}.welcome h1{font-size:clamp(32px,3vw,44px)!important;font-weight:650!important;letter-spacing:-.045em!important;margin-bottom:10px!important}.welcome p{font-size:15px!important;color:#797979!important;margin-bottom:30px!important}
.welcome .chips{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:min(800px,100%)!important;margin:0 auto!important;align-items:stretch!important}
.welcome .chip{position:relative!important;min-height:72px!important;border:1px solid var(--ll31-line)!important;border-radius:17px!important;background:#0f0f0f!important;color:#ededed!important;box-shadow:none!important;padding:12px 50px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:14px!important;font-weight:650!important;line-height:1.25!important;transition:background .12s ease,border-color .12s ease!important}
.welcome .chip:hover{background:#171717!important;border-color:rgba(255,255,255,.18)!important;transform:none!important}
.welcome .chip::before{position:absolute;left:17px;top:50%;transform:translateY(-50%);width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:rgba(var(--accent-rgb),.16);color:var(--accent);font-size:16px;font-weight:750}
.welcome .chip:nth-child(1)::before{content:'◫'}.welcome .chip:nth-child(2)::before{content:'?'}.welcome .chip:nth-child(3)::before{content:'≡'}.welcome .chip:nth-child(4)::before{content:'▧'}.welcome .chip:nth-child(5)::before{content:'▤'}
.welcome .chip:nth-child(5){grid-column:1/-1!important;width:50%!important;justify-self:center!important}
.llTemporaryWelcome .chips{display:none!important}.llTemporaryWelcome{padding-bottom:100px!important}

/* Composer */
.composer{padding:0 14px 14px!important}.composebox{min-height:60px!important;width:min(var(--ll31-composer),calc(100% - 28px))!important;max-width:var(--ll31-composer)!important;padding:7px 8px!important;border-radius:30px!important;background:#1f1f1f!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 10px 34px rgba(0,0,0,.20)!important}.composebox:focus-within{border-color:rgba(255,255,255,.22)!important}.composebox textarea{font-size:16px!important;padding:10px 8px!important}.composerPlus,.composerDictation,.composerPrimary{width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important}
.disclaimer{font-size:10.5px!important;color:#5f5f5f!important;margin-top:7px!important}

/* Contextual top control: a single two-button pill, as requested. */
.topActions{gap:8px!important}
#tempChatBtn,#topCommands,#ll6630TopSearch,#ll6630TopSettings,#ll6630TopMore{display:none!important}
#ll6631TopCluster{height:44px;display:flex;align-items:stretch;border:1px solid var(--ll31-line);border-radius:24px;background:#171717;overflow:hidden;box-shadow:none}
#ll6631TopCluster button{height:42px;border:0;background:transparent;color:#eaeaea;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;font-size:13px;font-weight:620;cursor:pointer}
#ll6631TopCluster button:hover{background:#212121}#ll6631TopCluster button+button{border-left:1px solid var(--ll31-line-soft)}
#ll6631TopCluster svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#ll6631TopPrimary.isTemp{color:#f2f2f2;background:rgba(var(--accent-rgb),.10)}
#ll6631TopPrimary:disabled{opacity:.55;cursor:default}
#ll6631TopMore{width:44px;height:44px;border:1px solid var(--ll31-line);border-radius:50%;background:#171717;color:#eee;display:grid;place-items:center;cursor:pointer}
#ll6631TopMore:hover{background:#212121}#ll6631TopMore svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Chat menu — taller/wider and viewport-safe. */
#ll6631ChatMenu{width:250px!important;padding:8px!important;border-radius:16px!important;background:#222!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 22px 64px rgba(0,0,0,.55)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important}
#ll6631ChatMenu button{min-height:46px!important;padding:9px 11px!important;border-radius:10px!important;gap:12px!important;font-size:14px!important;font-weight:580!important}
#ll6631ChatMenu button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;color:#d7d7d7}
#ll6631ChatMenu button i{margin-left:auto;color:#888;font-style:normal;font-size:18px}#ll6631ChatMenu .danger{color:#ff8e8e!important}#ll6631ChatMenu .danger svg{color:#ff8e8e!important}

/* More popup */
#ll6631MoreMenu{background:#212121!important;border-color:rgba(255,255,255,.12)!important;border-radius:16px!important;padding:7px!important;box-shadow:0 22px 64px rgba(0,0,0,.52)!important}
#ll6631MoreMenu button{min-height:45px!important;border-radius:10px!important;font-size:14px!important}

/* + menu — clean attachment-only hierarchy. Add from Library is always first. */
.attachMenu{width:330px!important;max-height:min(470px,66dvh)!important;border-radius:18px!important;background:#202020!important;padding:8px!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 22px 70px rgba(0,0,0,.50)!important}
.attachMenuMain{gap:3px!important}.attachMenuMain>button{min-height:48px!important;padding:10px 12px!important;border-radius:11px!important;font-size:14.5px!important;font-weight:580!important;text-align:left!important}
#ll6624AddLibrary,[data-add-library]{order:-20!important;font-weight:650!important}
#cameraPick{display:flex!important}
.ll6623QuickTool{display:none!important}

/* Fix every legacy feature page so sidebar state can never shove it sideways. */
.ll6624Page{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;z-index:410!important;background:#000!important;transform:none!important;transition:opacity .12s ease!important}
.app:not(.sidebarCollapsed) .ll6624Page,.app.sidebarCollapsed .ll6624Page{left:0!important;right:0!important}
.ll6624PageInner{width:min(1080px,calc(100% - 40px))!important;margin:0 auto!important;padding:22px 0 80px!important}
.ll6624PageTop{position:sticky!important;top:0!important;z-index:2!important;background:#000!important;padding:12px 0 16px!important;margin:0 0 20px!important}
.ll6624Close{border-radius:50%!important;width:44px!important;height:44px!important;padding:0!important}
.ll6624SettingsNav{grid-template-columns:220px minmax(0,1fr)!important;gap:32px!important}

/* -------------------------------------------------------------------------- */
/* Native Library surface — All / Images / Files only. No chats. No Canvas.    */
/* -------------------------------------------------------------------------- */
.ll6631Surface{position:fixed;inset:0;z-index:520;background:#000;color:#f4f4f4;overflow:hidden;contain:layout style}
.ll6631Surface[hidden]{display:none!important}
.ll6631SurfaceHeader{height:116px;display:grid;grid-template-columns:56px 1fr 56px;align-items:start;padding:48px 18px 12px;box-sizing:border-box;background:#000;position:relative;z-index:4}
.ll6631SurfaceHeader h1{margin:10px 0 0;text-align:center;font-size:21px;line-height:1;font-weight:680;letter-spacing:-.02em}.ll6631Round{width:52px;height:52px;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:#242424;color:#fff;display:grid;place-items:center;cursor:pointer}.ll6631Round:hover{background:#303030}.ll6631Round svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ll6631Tabs{height:66px;display:flex;align-items:center;gap:10px;padding:0 18px;background:#000;position:relative;z-index:3}.ll6631Tabs button{height:52px;padding:0 20px;border:0;border-radius:26px;background:transparent;color:#a8a8a8;font-size:17px;font-weight:590;cursor:pointer}.ll6631Tabs button:hover{background:#1d1d1d;color:#fff}.ll6631Tabs button.active{background:#3b3b3b;color:#fff}
.ll6631LibraryGrid{height:calc(100dvh - 116px - 66px - 92px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:12px 18px 28px;display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));grid-auto-rows:max-content;align-content:start;gap:14px}.ll6631LibraryGrid::-webkit-scrollbar{display:none}
.ll6631LibCard{position:relative;min-width:0;aspect-ratio:1/1.12;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:#080808;color:#f6f6f6;overflow:hidden;cursor:pointer;text-align:left;box-shadow:none;transition:border-color .12s ease,transform .12s ease}.ll6631LibCard:hover{border-color:rgba(255,255,255,.30);transform:translateY(-1px)}
.ll6631LibCard.image{background:#111}.ll6631LibCard.image img{width:100%;height:100%;object-fit:cover;display:block}.ll6631LibCard.image>span{position:absolute;left:0;right:0;bottom:0;padding:28px 11px 10px;background:linear-gradient(transparent,rgba(0,0,0,.82));font-size:12px;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ll6631LibCard.file{padding:18px 16px 14px;display:flex;flex-direction:column}.ll6631LibCard.file strong{font-size:15px;line-height:1.22;font-weight:680;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.ll6631LibCard.file small{margin-top:8px;font-size:10.5px;color:#777;text-transform:none}.ll6631FileGlyph{margin-top:auto;width:34px;height:34px;display:grid;place-items:center;color:#f2f2f2}.ll6631FileGlyph svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7}.ll6631LibCard .pickMark{position:absolute;right:9px;bottom:9px;width:30px;height:30px;border-radius:50%;background:#f3f3f3;color:#111;display:grid;place-items:center;font-size:19px;font-style:normal;font-weight:500}
.ll6631LibraryLoading,.ll6631LibraryEmpty{grid-column:1/-1;min-height:300px;display:grid;place-items:center;text-align:center;color:#737373}.ll6631LibraryEmpty{align-content:center;gap:6px}.ll6631LibraryEmpty b{color:#ddd;font-size:17px}.ll6631LibraryEmpty span{font-size:13px}
.ll6631LibraryFooter{height:92px;position:absolute;left:0;right:0;bottom:0;padding:10px 16px 18px;display:flex;gap:10px;align-items:center;background:linear-gradient(transparent,#000 24%,#000);box-sizing:border-box;z-index:5}.ll6631LibrarySearch{height:58px;flex:1;display:flex;align-items:center;gap:11px;padding:0 17px;border:1px solid rgba(255,255,255,.15);border-radius:30px;background:#292929}.ll6631LibrarySearch>svg{width:22px;height:22px;fill:none;stroke:#c3c3c3;stroke-width:1.8}.ll6631LibrarySearch input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:16px}.ll6631LibrarySearch input::placeholder{color:#c1c1c1}.ll6631LibrarySearch button{width:30px;height:30px;border:0;border-radius:50%;background:#404040;color:#ddd;font-size:19px}.ll6631LibrarySearch button[hidden]{display:none}.ll6631LibraryAdd{width:58px;height:58px;flex:0 0 58px;border:1px solid rgba(255,255,255,.15);border-radius:50%;background:#292929;color:#fff;display:grid;place-items:center;cursor:pointer}.ll6631LibraryAdd:hover{background:#343434}.ll6631LibraryAdd svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}
#ll6631LibraryMenu,#ll6631TaskFilterMenu{position:fixed;z-index:610;padding:7px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#272727;box-shadow:0 22px 60px rgba(0,0,0,.55)}#ll6631LibraryMenu[hidden],#ll6631TaskFilterMenu[hidden]{display:none!important}#ll6631LibraryMenu button,#ll6631TaskFilterMenu button{width:100%;min-height:46px;padding:9px 11px;border:0;border-radius:10px;background:transparent;color:#fff;display:flex;align-items:center;gap:11px;text-align:left;font-size:14px;font-weight:590}#ll6631LibraryMenu button:hover,#ll6631TaskFilterMenu button:hover{background:#343434}#ll6631LibraryMenu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
#ll6631LibrarySheet{position:fixed;inset:0;z-index:630;display:grid;place-items:end center;padding:18px;background:rgba(0,0,0,.60)}#ll6631LibrarySheet[hidden]{display:none!important}#ll6631LibrarySheet>section{width:min(560px,100%);padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:#222;box-shadow:0 28px 90px rgba(0,0,0,.6)}#ll6631LibrarySheet [data-ls-preview]{width:100%;max-height:340px;border-radius:15px;overflow:hidden;background:#101010;display:grid;place-items:center}#ll6631LibrarySheet [data-ls-preview] img{width:100%;max-height:340px;object-fit:contain;display:block}.ll6631SheetFile{height:160px;display:grid;place-items:center}.ll6631SheetFile svg{width:58px;height:58px;fill:none;stroke:#ddd;stroke-width:1.5}#ll6631LibrarySheet h2{margin:16px 2px 5px;font-size:18px}#ll6631LibrarySheet p{margin:0 2px 14px;color:#888;font-size:12px}.ll6631SheetActions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ll6631SheetActions button,.ll6631SheetClose{min-height:46px;border:0;border-radius:12px;background:#303030;color:#fff;font-weight:650}.ll6631SheetActions button:hover,.ll6631SheetClose:hover{background:#3a3a3a}.ll6631SheetActions .danger{color:#ff9a9a}.ll6631SheetClose{width:100%;margin-top:8px;background:#181818}

/* -------------------------------------------------------------------------- */
/* Tasks surface — ChatGPT-like filtering, cards and bottom task composer.     */
/* -------------------------------------------------------------------------- */
.ll6631TasksTitle{text-align:center;margin-top:2px}.ll6631TasksTitle h1{margin:5px 0 5px!important;font-size:21px!important}.ll6631TasksTitle span{color:#888;font-size:12px}
.ll6631TaskList{height:calc(100dvh - 116px - 94px);overflow:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:18px 20px 28px;display:grid;align-content:start;gap:18px}.ll6631TaskList::-webkit-scrollbar{display:none}
.ll6631TaskCard{border:1px dashed rgba(255,255,255,.18);border-radius:28px;background:#030303;overflow:hidden}.ll6631TaskCard.paused{opacity:.74}.ll6631TaskCard.completed{opacity:.66}.ll6631TaskMain{min-height:108px;display:grid;grid-template-columns:40px minmax(0,1fr) 44px;gap:4px 2px;align-items:start;padding:22px 22px 18px}.ll6631TaskEmoji{font-size:24px;line-height:1.1;padding-top:1px}.ll6631TaskMain h3{margin:0 0 7px;font-size:17px;line-height:1.2;font-weight:680;color:#f4f4f4}.ll6631TaskMain p{margin:0;color:#aaa;font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ll6631TaskMain small{display:block;margin-top:9px;color:#6f6f6f;font-size:11px}.ll6631TaskMain>[data-task-expand]{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#aaa;font-size:24px;display:grid;place-items:center;cursor:pointer;transition:transform .12s ease}.ll6631TaskMain>[data-task-expand]:hover{background:#181818;color:#fff}.ll6631TaskCard.expanded [data-task-expand]{transform:rotate(45deg)}.ll6631TaskActions{display:none;padding:0 18px 18px;gap:7px;grid-template-columns:repeat(4,1fr)}.ll6631TaskCard.expanded .ll6631TaskActions{display:grid}.ll6631TaskActions button{min-height:42px;border:1px solid rgba(255,255,255,.11);border-radius:11px;background:#191919;color:#eee;font-size:12.5px;font-weight:620}.ll6631TaskActions button:hover{background:#242424}.ll6631TaskActions .danger{color:#ff9494}.ll6631TasksEmpty{min-height:340px;display:grid;place-items:center;align-content:center;gap:6px;color:#747474;text-align:center}.ll6631TasksEmpty b{color:#ddd;font-size:17px}.ll6631TasksEmpty span{font-size:13px}
.ll6631TaskComposer{height:94px;position:absolute;left:0;right:0;bottom:0;padding:10px 18px 18px;display:flex;gap:8px;align-items:center;background:linear-gradient(transparent,#000 22%,#000);box-sizing:border-box}.ll6631TaskComposer input{height:54px;flex:1;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:#292929;color:#fff;padding:0 18px;font-size:15.5px;outline:0}.ll6631TaskComposer input::placeholder{color:#bdbdbd}.ll6631TaskComposer input:focus{border-color:rgba(255,255,255,.24)}.ll6631TaskComposer button{width:54px;height:54px;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:#292929;color:#fff;display:grid;place-items:center}.ll6631TaskComposer button:hover{background:#343434}.ll6631TaskComposer button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9}
#ll6631TaskFilterMenu button{justify-content:space-between;font-size:15px}#ll6631TaskFilterMenu button i{width:22px;height:22px;display:grid;place-items:center}#ll6631TaskFilterMenu button i svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2}

/* Search overlay tighter and calmer */
#ll6631Search{background:rgba(0,0,0,.68)!important}.ll6631SearchCard{border-radius:20px!important;background:#202020!important}.ll6631SearchHead{height:62px!important}.ll6631SearchResult{min-height:58px!important;border-radius:11px!important}.ll6631SearchResult:hover,.ll6631SearchResult.active{background:#2b2b2b!important}

@media(max-width:900px){
  :root{--ll31-side:min(360px,88vw);--ll31-read:760px;--ll31-composer:720px}
  .chat{padding-left:20px!important;padding-right:20px!important}.ll6631SurfaceHeader{padding-top:28px;height:96px}.ll6631LibraryGrid{height:calc(100dvh - 96px - 66px - 88px);grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.ll6631LibraryFooter{height:88px}.ll6631TaskList{height:calc(100dvh - 96px - 90px)}.ll6631TaskComposer{height:90px}.ll6624PageInner{width:calc(100% - 28px)!important}
}
@media(max-width:650px){
  #ll6631TopCluster button{padding:0 11px}#ll6631TopCluster button span{display:none}#ll6631TopCluster button{width:43px;padding:0}.welcome .chips{grid-template-columns:1fr!important}.welcome .chip:nth-child(5){grid-column:auto!important;width:100%!important}.welcome{padding-inline:4px!important}.welcome h1{font-size:31px!important}.chat{padding:18px 14px 145px!important}.msg.user{max-width:88%!important}.ll6631LibraryGrid{padding-inline:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ll6631Tabs{padding-inline:12px}.ll6631Tabs button{height:46px;padding:0 15px;font-size:15px}.ll6631SurfaceHeader{padding-inline:12px}.ll6631Round{width:46px;height:46px}.ll6631TaskList{padding-inline:12px}.ll6631TaskMain{padding:18px 16px 15px;grid-template-columns:36px minmax(0,1fr) 38px}.ll6631TaskMain p{font-size:14px}.ll6631TaskActions{grid-template-columns:repeat(2,1fr)}.ll6631SheetActions{grid-template-columns:1fr}.ll6624SettingsNav{grid-template-columns:1fr!important;gap:16px!important}.ll6624SettingsTabs{display:flex!important;overflow:auto!important;gap:6px!important}
}


/* ========================================================================== */
/* v66.32 — interaction + feature parity polish                               */
/* ========================================================================== */
:root{
  --ll32-surface:#000;
  --ll32-elev:#1d1d1d;
  --ll32-elev2:#252525;
  --ll32-line:rgba(255,255,255,.13);
  --ll32-soft:rgba(255,255,255,.07);
  --ll32-muted:#969696;
}

/* Main top-right controls: compact, joined, icon-only. */
#topCommands,#tempChatBtn,#ll6630TopSearch,#ll6630TopSettings,#ll6630TopMore{display:none!important}
.topActions{gap:8px!important;align-items:center!important}
#ll6631TopCluster{
  display:flex!important;align-items:center!important;gap:0!important;height:48px!important;
  padding:3px!important;border:1px solid var(--ll32-line)!important;border-radius:25px!important;
  background:#1f1f1f!important;box-shadow:none!important;overflow:hidden!important;
}
#ll6631TopCluster .ll6632TopIcon{
  width:42px!important;height:40px!important;min-width:42px!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:20px!important;background:transparent!important;color:#eee!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;position:relative!important;
  transition:background-color .12s ease,color .12s ease!important;
}
#ll6631TopCluster .ll6632TopIcon:hover{background:#303030!important;color:#fff!important}
#ll6631TopCluster .ll6632TopIcon:active{background:#383838!important}
#ll6631TopCluster .ll6632TopIcon+ .ll6632TopIcon::before{
  content:"";position:absolute;left:-1px;top:9px;bottom:9px;width:1px;background:rgba(255,255,255,.08)
}
#ll6631TopCluster svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#ll6631TopPrimary.isTemp{background:#f1f1f1!important;color:#111!important}
#ll6631TopPrimary.isTemp:hover{background:#fff!important;color:#111!important}
#ll6631TopPrimary[disabled]{opacity:.55!important;pointer-events:none!important}

/* Sidebar: closer to ChatGPT abstraction. */
#ll6631PrimaryNav{margin-top:4px!important}
#ll6631PrimaryNav .navItem,.ll6631MoreButton{font-weight:560!important}
#ll6623Projects .ll6623ProjectsHead{cursor:pointer!important}
#ll6623Projects .ll6623ProjectsHead>span::before{content:""!important;width:27px!important;height:27px!important;margin-right:12px!important;background:no-repeat center/21px 21px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ededed' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h7l2 2h9v10H3z'/%3E%3C/svg%3E")!important}
.ll6623ProjectList{margin-left:43px!important}
#ll6631SettingsSide svg{width:20px!important;height:20px!important}

/* Welcome actions — still the requested old layout, but much cleaner. */
.welcome{width:min(760px,calc(100% - 32px))!important}
.welcome .chips{gap:9px!important;max-width:760px!important;margin-top:26px!important}
.welcome .chip{min-height:64px!important;border-radius:18px!important;background:#111!important;border:1px solid rgba(255,255,255,.12)!important;justify-content:center!important;text-align:center!important;padding:13px 18px!important;font-weight:600!important;box-shadow:none!important}
.welcome .chip:hover{background:#171717!important;border-color:rgba(255,255,255,.20)!important;transform:none!important}
.welcome .chip>span,.welcome .chip::before{flex:0 0 auto!important}

/* Chat menu and response menus: compact, viewport-safe, no giant boxes. */
#ll6631ChatMenu,#ll6632ProjectMenu{
  position:fixed!important;z-index:760!important;width:238px!important;padding:6px!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:16px!important;background:#242424!important;
  box-shadow:0 20px 58px rgba(0,0,0,.55)!important;overflow:hidden!important;
}
#ll6631ChatMenu[hidden],#ll6632ProjectMenu[hidden]{display:none!important}
#ll6631ChatMenu button,#ll6632ProjectMenu button{min-height:44px!important;padding:8px 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#f0f0f0!important;display:flex!important;align-items:center!important;gap:11px!important;font-size:14px!important;font-weight:560!important;text-align:left!important;width:100%!important}
#ll6631ChatMenu button:hover,#ll6632ProjectMenu button:hover{background:#333!important}
#ll6631ChatMenu button svg,#ll6632ProjectMenu button svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
#ll6631ChatMenu .sep,#ll6632ProjectMenu .sep{height:1px!important;background:rgba(255,255,255,.09)!important;margin:5px 8px!important}
#ll6631ChatMenu .danger,#ll6632ProjectMenu .danger{color:#ff9c9c!important}
.ll625ResponseMenu.ll6484Portal{width:246px!important;padding:6px!important;border-radius:16px!important;background:#242424!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 20px 58px rgba(0,0,0,.54)!important}
.ll625ResponseMenu.ll6484Portal button{min-height:45px!important;padding:7px 10px!important;border-radius:10px!important;gap:11px!important;font-size:14px!important;font-weight:560!important}
.ll625ResponseMenu.ll6484Portal .ll625ActionIcon{width:21px!important;height:21px!important;min-width:21px!important}
.ll625ResponseMenu.ll6484Portal .ll625ActionIcon svg{width:19px!important;height:19px!important}
.ll625ResponseMenu.ll6484Portal .ll625MenuDivider{margin:4px 8px!important}

/* Commands palette — search actions, not chats. */
.commandPalette{padding:72px 14px 20px!important;background:rgba(0,0,0,.62)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.commandCard{width:min(620px,calc(100vw - 28px))!important;max-height:min(620px,78dvh)!important;border-radius:20px!important;background:#202020!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 24px 74px rgba(0,0,0,.58)!important;animation:none!important}
.commandSearchRow{height:62px!important;padding:0 17px!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
.commandSearch{font-size:16px!important}.commandList{padding:7px!important;scrollbar-width:none!important}.commandList::-webkit-scrollbar{display:none!important}
.commandGroup{font-size:11px!important;text-transform:none!important;letter-spacing:0!important;font-weight:650!important;padding:13px 10px 6px!important;color:#aaa!important}
.commandItem{min-height:52px!important;border-radius:11px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:10px!important;padding:7px 9px!important}
.commandItem:hover,.commandItem.active{background:#303030!important}.commandIcon{width:32px!important;height:32px!important;border-radius:9px!important;background:#292929!important;color:#eee!important}.commandText b{font-size:13.5px!important}.commandText small{font-size:11.5px!important}

/* Full-screen feature surfaces share one layout contract. */
.ll6632FeatureHeader .ll6632FeatureActions{display:flex!important;align-items:center!important;gap:8px!important}
.ll6632ProjectsBody,.ll6632AssistantsBody{height:calc(100dvh - 106px);overflow:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:22px max(18px,calc((100vw - 1080px)/2)) 72px;box-sizing:border-box}
.ll6632ProjectsBody::-webkit-scrollbar,.ll6632AssistantsBody::-webkit-scrollbar{display:none}
.ll6632ProjectsIntro,.ll6632AssistantTop{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:2px 0 24px}
.ll6632ProjectsIntro h2,.ll6632AssistantTop h2{margin:0 0 6px;font-size:28px;letter-spacing:-.035em}
.ll6632ProjectsIntro p,.ll6632AssistantTop p{margin:0;color:#8d8d8d;font-size:14px;line-height:1.45}
.ll6632ProjectsIntro>button,.ll6632AssistantTop>button,.ll6632ProjectActions button,.ll6632AssistantActions button,.ll6632FeatureEmpty button,.ll6632EditorFooter button,.ll6632DialogPrimary{min-height:44px;border:1px solid var(--ll32-line);border-radius:12px;background:#191919;color:#eee;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:620;cursor:pointer}
.ll6632ProjectsIntro>button:hover,.ll6632AssistantTop>button:hover,.ll6632ProjectActions button:hover,.ll6632AssistantActions button:hover{background:#242424}
.ll6632ProjectsIntro>button svg,.ll6632AssistantTop>button svg,.ll6632ProjectActions svg,.ll6632AssistantActions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.ll6632ProjectsIntro>button,.ll6632ProjectActions .primary,.ll6632AssistantActions .primary,.ll6632EditorFooter .primary,.ll6632DialogPrimary{background:#f1f1f1!important;color:#111!important;border-color:#f1f1f1!important}
.ll6632ProjectGrid,.ll6632AssistantGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.ll6632ProjectCard,.ll6632AssistantCard{min-height:88px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:#0d0d0d;color:#eee;padding:14px;display:grid;grid-template-columns:44px minmax(0,1fr) 22px;gap:12px;align-items:center;text-align:left;cursor:pointer}
.ll6632ProjectCard:hover,.ll6632AssistantCard:hover{background:#141414;border-color:rgba(255,255,255,.17)}
.ll6632ProjectIcon,.ll6632AssistantAvatar{width:44px;height:44px;border-radius:13px;background:#202020;display:grid;place-items:center;color:#fff;font-size:21px}
.ll6632ProjectIcon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}
.ll6632ProjectCopy,.ll6632AssistantCard>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.ll6632ProjectCopy b,.ll6632AssistantCard b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6632ProjectCopy small,.ll6632AssistantCard small{color:#929292;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6632AssistantCard em{color:#686868;font-size:10.5px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6632ProjectCard>i,.ll6632AssistantCard>i{font-style:normal;color:#6f6f6f;font-size:20px}
.ll6632FeatureEmpty{grid-column:1/-1;min-height:340px;display:grid;place-items:center;align-content:center;text-align:center;gap:9px;color:#8c8c8c}.ll6632FeatureEmpty.compact{min-height:180px}.ll6632FeatureEmpty b{color:#eee;font-size:17px}.ll6632FeatureEmpty p{margin:0;max-width:420px;font-size:13px;line-height:1.45}.ll6632EmptyIcon{width:54px;height:54px;border-radius:16px;background:#171717;display:grid;place-items:center;color:#ddd;margin-bottom:4px}.ll6632EmptyIcon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6}

/* Project detail */
.ll6632ProjectHero,.ll6632AssistantHero{display:grid;grid-template-columns:68px minmax(0,1fr);gap:18px;align-items:start;padding:16px 0 20px}
.ll6632ProjectBigIcon,.ll6632AssistantAvatar.big{width:64px;height:64px;border-radius:18px;background:#1c1c1c;display:grid;place-items:center;font-size:29px}.ll6632ProjectBigIcon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.6}
.ll6632ProjectHero h2,.ll6632AssistantHero h2{margin:3px 0 7px;font-size:29px;letter-spacing:-.035em}.ll6632ProjectHero p,.ll6632AssistantHero p{margin:0;color:#9a9a9a;font-size:14px;line-height:1.55;max-width:780px}
.ll6632MetaPills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.ll6632MetaPills span{padding:5px 8px;border-radius:999px;background:#151515;border:1px solid rgba(255,255,255,.08);color:#a7a7a7;font-size:11px}
.ll6632ProjectActions,.ll6632AssistantActions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 30px}
.ll6632AssistantActions .dangerText{color:#ff9c9c!important}
.ll6632FeatureSection{padding:22px 0;border-top:1px solid rgba(255,255,255,.09)}
.ll6632SectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.ll6632SectionHead h3{margin:0;font-size:15px}.ll6632SectionHead>button{border:0;background:transparent;color:#aaa;border-radius:8px;padding:6px 8px}.ll6632SectionHead>button:hover{background:#181818;color:#fff}.ll6632SectionHead>span{color:#747474;font-size:11px}
.ll6632List{display:grid;gap:4px}.ll6632List>button,.ll6632FileRow{min-height:54px;border:0;border-radius:11px;background:transparent;color:#eee;padding:8px 9px;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;gap:10px;align-items:center;text-align:left}.ll6632List>button:hover{background:#141414}.ll6632ListIcon{width:32px;height:32px;border-radius:9px;background:#171717;display:grid;place-items:center;color:#ccc}.ll6632ListIcon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.ll6632List>button>span:nth-child(2),.ll6632FileRow>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}.ll6632List b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6632List small{color:#747474;font-size:11px}.ll6632List>button>i{font-style:normal;color:#666}.ll6632FileRow>button{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#777;font-size:18px}.ll6632FileRow>button:hover{background:#222;color:#fff}.ll6632InlineEmpty{padding:18px 10px;color:#777;font-size:13px}

/* Assistants */
.ll6632AssistantSearch{height:48px;max-width:560px;margin:0 0 20px;border:1px solid var(--ll32-line);border-radius:14px;background:#111;display:flex;align-items:center;gap:10px;padding:0 13px}.ll6632AssistantSearch svg{width:19px;height:19px;fill:none;stroke:#aaa;stroke-width:1.8}.ll6632AssistantSearch input{flex:1;min-width:0;border:0;background:transparent;outline:0;color:#fff;font-size:14px}
.ll6632Starters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ll6632Starters button{min-height:52px;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:#111;color:#eee;padding:10px 12px;text-align:left;font-size:13px}.ll6632Starters button:hover{background:#181818}.ll6632ReadBox{padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#0d0d0d;color:#aaa;white-space:pre-wrap;line-height:1.55;font-size:13px}
.ll6632AssistantEditor{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:24px;align-items:start}.ll6632AssistantEditor section,.ll6632AssistantEditor aside{display:grid;gap:15px}.ll6632AssistantEditor aside{position:sticky;top:0;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:#0d0d0d}.ll6632AssistantEditor label:not(.ll6632ToggleRow){display:grid;gap:7px}.ll6632AssistantEditor label>span,.ll6632DialogField>span{font-size:12px;font-weight:650;color:#ddd}.ll6632AssistantEditor input[type="text"],.ll6632AssistantEditor input:not([type]),.ll6632AssistantEditor textarea,.ll6632IconField input,.ll6632DialogField textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#131313;color:#fff;padding:11px 12px;outline:0}.ll6632AssistantEditor input:focus,.ll6632AssistantEditor textarea:focus,.ll6632DialogField textarea:focus{border-color:rgba(255,255,255,.28)}.ll6632EditorIdentity{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}.ll6632IconField input{text-align:center;font-size:22px;height:47px}.ll6632AssistantEditor textarea{resize:vertical;line-height:1.5}.ll6632ToggleRow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.07)}.ll6632ToggleRow>span{display:grid;gap:3px}.ll6632ToggleRow b{font-size:13px}.ll6632ToggleRow small{font-size:11px;color:#777;line-height:1.35}.ll6632ToggleRow input{width:20px;height:20px;accent-color:#fff}.ll6632EditorKnowledge{margin-top:8px}.ll6632KnowledgePicker{max-height:260px;overflow:auto;display:grid;gap:4px;scrollbar-width:none}.ll6632KnowledgePicker::-webkit-scrollbar{display:none}.ll6632KnowledgePicker label{display:flex!important;align-items:center;gap:9px;padding:8px;border-radius:9px;background:#121212}.ll6632KnowledgePicker label:hover{background:#181818}.ll6632KnowledgePicker input{accent-color:#fff}.ll6632KnowledgePicker span{font-size:12px!important;font-weight:500!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll6632EditorFooter{position:sticky;bottom:0;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:16px 0;background:linear-gradient(transparent,#000 18%,#000)}.ll6632EditorFooter .dangerText{color:#ff9c9c}

/* Mini dialog */
#ll6632MiniDialog{position:fixed;inset:0;z-index:950;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.66);opacity:0;transition:opacity .1s ease}#ll6632MiniDialog[hidden]{display:none!important}#ll6632MiniDialog.open{opacity:1}#ll6632MiniDialog>section{width:min(620px,calc(100vw - 28px));max-height:min(720px,88dvh);overflow:auto;scrollbar-width:none;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:#202020;box-shadow:0 26px 80px rgba(0,0,0,.6)}#ll6632MiniDialog>section::-webkit-scrollbar{display:none}#ll6632MiniDialog header{display:flex;align-items:flex-start;gap:14px;padding:17px 18px 12px}#ll6632MiniDialog header>div{flex:1}#ll6632MiniDialog h2{margin:0 0 4px;font-size:18px}#ll6632MiniDialog p{margin:0;color:#888;font-size:12px}#ll6632MiniDialog header>button{width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#aaa;font-size:23px}#ll6632MiniDialog header>button:hover{background:#303030;color:#fff}#ll6632MiniDialog [data-mini-body]{padding:8px 18px 18px;display:grid;gap:14px}.ll6632PickerList{max-height:420px;overflow:auto;display:grid;gap:5px;scrollbar-width:none}.ll6632PickerList::-webkit-scrollbar{display:none}.ll6632PickerList label{display:flex;align-items:flex-start;gap:10px;padding:10px;border-radius:11px;background:#171717}.ll6632PickerList label:hover{background:#1d1d1d}.ll6632PickerList input{margin-top:3px;accent-color:#fff}.ll6632PickerList label>span{min-width:0;display:grid;gap:3px}.ll6632PickerList b{font-size:13px}.ll6632PickerList small{font-size:11px;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Library/Tasks minor refinement. */
#ll6631LibrarySurface .ll6631SurfaceHeader,#ll6631TasksSurface .ll6631SurfaceHeader{height:102px!important}
.ll6631LibraryGrid{gap:11px!important}.ll6631LibCard{border-radius:16px!important;background:#0d0d0d!important;border-color:rgba(255,255,255,.11)!important}.ll6631LibCard:hover{border-color:rgba(255,255,255,.20)!important;transform:none!important}.ll6631LibrarySearch{height:54px!important;background:#242424!important;border-color:rgba(255,255,255,.13)!important}.ll6631LibraryAdd{width:54px!important;height:54px!important;flex-basis:54px!important;background:#242424!important}.ll6631TaskCard{border-style:solid!important;border-color:rgba(255,255,255,.10)!important;border-radius:20px!important;background:#080808!important}.ll6631TaskMain{min-height:92px!important;padding:18px!important}.ll6631TaskMain h3{font-size:15.5px!important}.ll6631TaskMain p{font-size:13.5px!important}

/* Feature pages from the older parity layer cannot slide under the sidebar. */
.ll6624Page{left:0!important;z-index:820!important}.ll6624PageInner{width:min(980px,calc(100% - 32px))!important}

@media(max-width:900px){
  #ll6631TopCluster{height:46px!important}.ll6632ProjectsBody,.ll6632AssistantsBody{height:calc(100dvh - 96px);padding:18px 18px 72px}.ll6632AssistantEditor{grid-template-columns:1fr}.ll6632AssistantEditor aside{position:static}.ll6632ProjectGrid,.ll6632AssistantGrid{grid-template-columns:1fr}.ll6632Starters{grid-template-columns:1fr}
}
@media(max-width:650px){
  #ll6631TopCluster .ll6632TopIcon{width:40px!important;min-width:40px!important}.ll6632ProjectsBody,.ll6632AssistantsBody{padding-inline:12px}.ll6632ProjectsIntro,.ll6632AssistantTop{align-items:flex-start;flex-direction:column}.ll6632ProjectsIntro>button,.ll6632AssistantTop>button{width:100%}.ll6632ProjectHero,.ll6632AssistantHero{grid-template-columns:52px minmax(0,1fr);gap:12px}.ll6632ProjectBigIcon,.ll6632AssistantAvatar.big{width:50px;height:50px;border-radius:14px}.ll6632ProjectHero h2,.ll6632AssistantHero h2{font-size:24px}.ll6632ProjectActions,.ll6632AssistantActions{display:grid;grid-template-columns:1fr 1fr}.ll6632ProjectActions .primary,.ll6632AssistantActions .primary{grid-column:1/-1}.ll6632EditorIdentity{grid-template-columns:72px minmax(0,1fr)}#ll6632MiniDialog{align-items:end;padding:10px}#ll6632MiniDialog>section{width:100%;max-height:84dvh;border-radius:20px 20px 14px 14px}
}

/* v66.32 dialog form controls */
.ll6632DialogField input,
.ll6632DialogField textarea {
  width:100%; box-sizing:border-box; border:1px solid rgba(255,255,255,.12);
  background:#151515; color:#f5f5f5; border-radius:12px; padding:12px 13px;
  font:inherit; outline:none;
}
.ll6632DialogField input:focus,
.ll6632DialogField textarea:focus { border-color:rgba(255,255,255,.28); box-shadow:0 0 0 2px rgba(255,255,255,.04); }

.ll6632DialogConfirm{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}
.ll6632DialogConfirm button{min-width:92px;height:42px;border-radius:12px;border:1px solid var(--ll32-line);background:#191919;color:#eee;font-weight:620;cursor:pointer}
.ll6632DialogConfirm button:hover{background:#242424}
.ll6632DialogConfirm button.danger{background:#3a171b;color:#ff9aa4;border-color:rgba(255,110,125,.18)}
.ll6632DialogConfirm button.danger:hover{background:#491b21}

/* ========================================================================== */
/* LL AI v66.33 — final interaction/polish pass                                */
/* ========================================================================== */
:root{
  --ll33-bg:#000;
  --ll33-panel:#1f1f1f;
  --ll33-panel-hover:#292929;
  --ll33-line:rgba(255,255,255,.11);
  --ll33-line-strong:rgba(255,255,255,.17);
  --ll33-text:#f4f4f4;
  --ll33-muted:#969696;
}

/* v66.33 is the one and only owner of top-right chat controls. */
.topActions>*:not(#ll6631TopCluster){display:none!important}
#ll6631TopCluster{
  height:48px!important;padding:3px!important;gap:0!important;
  border:1px solid var(--ll33-line)!important;border-radius:24px!important;
  background:#202020!important;box-shadow:0 2px 12px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
}
#ll6631TopCluster .ll6632TopIcon{
  width:44px!important;min-width:44px!important;height:40px!important;
  border-radius:20px!important;background:transparent!important;color:#f0f0f0!important;
  transition:background-color .12s ease,transform .08s ease,color .12s ease!important;
}
#ll6631TopCluster .ll6632TopIcon:hover{background:#2d2d2d!important}
#ll6631TopCluster .ll6632TopIcon:active{background:#343434!important;transform:scale(.96)!important}
#ll6631TopCluster .ll6632TopIcon+ .ll6632TopIcon::before{top:10px!important;bottom:10px!important;background:rgba(255,255,255,.07)!important}
#ll6631TopPrimary.isTemp{
  background:#2c2c2c!important;color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)!important;
}
#ll6631TopPrimary.isTemp:hover{background:#333!important;color:#fff!important}
#ll6631TopCluster svg{width:21px!important;height:21px!important;stroke-width:1.85!important}

/* Main header is quiet; no floating duplicate controls. */
.topbar{background:#000!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:0!important}
.topbar .topActions{margin-left:auto!important}

/* Sidebar: ChatGPT-like line icons, no little boxed icon tiles. */
.side{background:#000!important;border-right:0!important}
#ll6631PrimaryNav{gap:1px!important;margin:8px 8px 10px!important}
#ll6631PrimaryNav .navItem,.ll6631MoreButton,#ll6631SettingsSide{
  min-height:44px!important;height:44px!important;padding:0 9px!important;margin:0!important;
  border:0!important;border-radius:10px!important;background:transparent!important;color:#ededed!important;
  box-shadow:none!important;transition:background-color .11s ease!important;
}
#ll6631PrimaryNav .navItem:hover,.ll6631MoreButton:hover,#ll6631SettingsSide:hover{background:#171717!important}
#ll6631PrimaryNav .navItem.active{background:#1c1c1c!important}
#ll6631PrimaryNav .navItem>span,#ll6631SettingsSide>svg,.ll6631MoreButton .ll6631MoreIcon{
  width:31px!important;min-width:31px!important;height:31px!important;margin:0 8px 0 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#f0f0f0!important;display:grid!important;place-items:center!important;
}
#ll6631PrimaryNav .navItem>span svg,#ll6631SettingsSide>svg,.ll6631MoreButton svg{width:21px!important;height:21px!important;stroke-width:1.75!important}
#ll6631PrimaryNav .navItem>b,.ll6631MoreButton>b,#ll6631SettingsSide>span{font-size:15.5px!important;font-weight:570!important}
#ll6631PrimaryNav .navBadge,#ll6631PrimaryNav .navItem>i{background:transparent!important;border:0!important;color:#8d8d8d!important;font-size:12px!important}

/* Projects heading behaves like a normal sidebar row. */
#ll6623Projects{margin:0 8px!important}
#ll6623Projects .ll6623ProjectsHead{
  height:44px!important;display:flex!important;align-items:center!important;padding:0 9px!important;
  border-radius:10px!important;background:transparent!important;color:#ededed!important;
}
#ll6623Projects .ll6623ProjectsHead:hover{background:#171717!important}
#ll6623Projects .ll6623ProjectsHead>span{display:flex!important;align-items:center!important;font-size:15.5px!important;font-weight:570!important;min-width:0!important;flex:1!important}
#ll6623Projects .ll6623ProjectsHead>span::before{
  width:31px!important;height:31px!important;min-width:31px!important;margin:0 8px 0 0!important;
  background-size:21px 21px!important;background-position:center!important;
}
#ll6623Projects .ll6623ProjectsHead>button{
  width:32px!important;height:32px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#ccc!important;font-size:22px!important;display:grid!important;place-items:center!important;
}
#ll6623Projects .ll6623ProjectsHead>button:hover{background:#252525!important;color:#fff!important}
.ll6623ProjectList{margin:1px 0 4px 40px!important}
.ll6623ProjectNav{min-height:38px!important;border-radius:9px!important;background:transparent!important;border:0!important}
.ll6623ProjectNav:hover{background:#151515!important}

/* Header buttons and feature buttons use the same tactile language as voice/mic. */
.ll6631Round{
  width:48px!important;height:48px!important;border:1px solid var(--ll33-line)!important;border-radius:50%!important;
  background:#222!important;color:#f3f3f3!important;box-shadow:none!important;
  transition:background-color .11s ease,transform .08s ease,border-color .11s ease!important;
}
.ll6631Round:hover{background:#2c2c2c!important;border-color:var(--ll33-line-strong)!important}
.ll6631Round:active{transform:scale(.96)!important}

/* One surface at a time. Menus/dialogs always sit above feature surfaces. */
.ll6631Surface{z-index:1200!important;background:#000!important}
#ll6631MoreMenu,#ll6631ChatMenu,#ll6632ProjectMenu,#ll6631TaskFilterMenu,#ll6631LibraryMenu,.ll625ResponseMenu.ll6484Portal{z-index:1700!important}
#ll6631LibrarySheet,#ll6632MiniDialog,.ll6624Modal,.commandPalette{z-index:1900!important}
#ll6632MiniDialog{isolation:isolate!important}

/* Full-width, calmer feature surfaces. */
.ll6632ProjectsBody,.ll6632AssistantsBody{
  height:calc(100dvh - 106px)!important;
  padding:24px clamp(20px,4vw,64px) 88px!important;
  width:100%!important;max-width:none!important;margin:0!important;
}
.ll6632ProjectsIntro,.ll6632AssistantTop{margin:0 0 24px!important;align-items:flex-start!important}
.ll6632ProjectsIntro h2,.ll6632AssistantTop h2{font-size:30px!important;line-height:1.1!important;margin-bottom:8px!important}
.ll6632ProjectsIntro p,.ll6632AssistantTop p{max-width:980px!important;font-size:14px!important;line-height:1.55!important;color:#929292!important}

/* Remove the "button factory" look: one create control lives in the page header. */
.ll6632ProjectsIntro>button,.ll6632AssistantTop>button,.ll6632FeatureEmpty>button{display:none!important}
.ll6632FeatureEmpty{min-height:360px!important;display:grid!important;place-items:center!important;align-content:center!important;text-align:center!important;gap:8px!important;color:#999!important}
.ll6632FeatureEmpty b{color:#f1f1f1!important;font-size:17px!important}
.ll6632FeatureEmpty p{max-width:560px!important;margin:0!important;line-height:1.5!important}

/* Assistants: use the available screen width; editor fields are long, not cramped. */
.ll6632AssistantSearch{width:100%!important;max-width:none!important;height:50px!important;border-radius:15px!important;margin:0 0 22px!important;background:#101010!important}
.ll6632AssistantGrid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))!important;gap:12px!important}
.ll6632AssistantCard{min-height:96px!important;border-radius:17px!important;background:#0b0b0b!important;padding:15px 16px!important}
.ll6632AssistantCard:hover{background:#141414!important}
.ll6632AssistantCard small{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.ll6632AssistantEditor{grid-template-columns:1fr!important;gap:22px!important;width:100%!important}
.ll6632AssistantEditor>section{width:100%!important;display:grid!important;gap:16px!important}
.ll6632AssistantEditor>aside{
  width:100%!important;position:static!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 24px!important;
  padding:20px!important;background:#0c0c0c!important;border-radius:18px!important;
}
.ll6632AssistantEditor>aside>h3,.ll6632EditorKnowledge{grid-column:1/-1!important}
.ll6632AssistantEditor textarea{min-height:130px!important;width:100%!important;resize:vertical!important}
.ll6632AssistantEditor [data-ae-inst]{min-height:260px!important}
.ll6632AssistantEditor input,.ll6632AssistantEditor textarea{font-size:14.5px!important;border-radius:14px!important;background:#111!important}
.ll6632EditorFooter{padding:18px 0 8px!important}
.ll6632EditorFooter button,.ll6632AssistantActions button,.ll6632ProjectActions button,.ll6632DialogPrimary{
  min-height:44px!important;border-radius:22px!important;padding:0 17px!important;
}

/* Projects: cleaner cards and action hierarchy. */
.ll6632ProjectGrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;gap:12px!important}
.ll6632ProjectCard{min-height:94px!important;border-radius:17px!important;background:#0b0b0b!important;padding:15px 16px!important}
.ll6632ProjectCard:hover{background:#141414!important}
.ll6632ProjectActions{gap:9px!important}
.ll6632FeatureSection{border-top:1px solid rgba(255,255,255,.08)!important;padding-top:22px!important}

/* Library remains exactly All / Images / Files, with uncluttered cards. */
#ll6631LibrarySurface .ll6631Tabs{gap:7px!important}
#ll6631LibrarySurface .ll6631Tabs button{border-radius:22px!important}
.ll6631LibraryCard{border-radius:16px!important;border-color:rgba(255,255,255,.10)!important;background:#090909!important}
.ll6631LibraryCard:hover{background:#111!important;border-color:rgba(255,255,255,.17)!important}
.ll6631LibrarySearch{border-radius:24px!important;background:#202020!important;border-color:rgba(255,255,255,.10)!important}
.ll6631LibraryAdd{border-radius:50%!important;background:#262626!important;border-color:rgba(255,255,255,.10)!important}

/* Tasks: less dashed-dashboard, more native list/card feel. */
.ll6631TaskCard{border:1px solid rgba(255,255,255,.10)!important;border-radius:18px!important;background:#090909!important;margin-bottom:12px!important}
.ll6631TaskCard:hover{background:#101010!important;border-color:rgba(255,255,255,.16)!important}
.ll6631TaskMain{padding:18px 18px!important}
.ll6631TaskMain [data-task-expand]{width:38px!important;height:38px!important;border-radius:50%!important;background:transparent!important}
.ll6631TaskMain [data-task-expand]:hover{background:#222!important}
.ll6631TaskActions button{border-radius:20px!important;background:#1b1b1b!important}
.ll6631TaskComposer{background:#000!important}
.ll6631TaskComposer>input{height:50px!important;border-radius:25px!important;background:#202020!important;border:1px solid rgba(255,255,255,.10)!important}
.ll6631TaskComposer>button{width:48px!important;height:48px!important;border-radius:50%!important;background:#262626!important}

/* Settings/Plugins/legacy feature pages receive the same visual system. */
.ll6624Page{background:#000!important}
.ll6624PageInner{width:min(1180px,calc(100% - 40px))!important}
.ll6624Card,.ll6624Plugin,.ll6624SettingBlock,.ll6624MemoryItem{border-radius:16px!important;background:#0d0d0d!important;border-color:rgba(255,255,255,.10)!important}
.ll6624Btn,.ll6624TaskActions button{border-radius:22px!important;min-height:42px!important}

/* Menus: compact and never crop offscreen. */
#ll6631ChatMenu,#ll6632ProjectMenu,.ll625ResponseMenu.ll6484Portal{
  max-height:min(520px,calc(100dvh - 20px))!important;overflow:auto!important;scrollbar-width:none!important;
}
#ll6631ChatMenu::-webkit-scrollbar,#ll6632ProjectMenu::-webkit-scrollbar,.ll625ResponseMenu.ll6484Portal::-webkit-scrollbar{display:none!important}
#ll6631ChatMenu button,#ll6632ProjectMenu button,.ll625ResponseMenu.ll6484Portal button{border-radius:11px!important}

/* Avoid expensive glass effects that made older builds lag on tablets. */
.ll6631Surface,.ll6632AssistantsBody,.ll6632ProjectsBody,#ll6631TopCluster,.ll6631Round{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

@media(max-width:760px){
  #ll6631TopCluster{height:46px!important}
  #ll6631TopCluster .ll6632TopIcon{width:40px!important;min-width:40px!important;height:38px!important}
  .ll6632ProjectsBody,.ll6632AssistantsBody{padding:18px 13px 80px!important}
  .ll6632AssistantGrid,.ll6632ProjectGrid{grid-template-columns:1fr!important}
  .ll6632AssistantEditor>aside{grid-template-columns:1fr!important}
  .ll6632AssistantEditor>aside>h3,.ll6632EditorKnowledge{grid-column:1!important}
}

/* Sidebar chat menu — compact, tactile, viewport-safe. */
#chatContextMenu.chatContextMenu{
  width:264px!important;max-width:calc(100vw - 20px)!important;
  padding:7px!important;border-radius:16px!important;
  background:#242424!important;border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 58px rgba(0,0,0,.46)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  max-height:calc(100dvh - 20px)!important;overflow:auto!important;
  scrollbar-width:none!important;z-index:1750!important;
}
#chatContextMenu.chatContextMenu::-webkit-scrollbar{display:none!important}
#chatContextMenu.chatContextMenu button{
  min-height:44px!important;padding:6px 9px!important;border-radius:10px!important;
  gap:10px!important;font-size:14.5px!important;font-weight:560!important;
  background:transparent!important;color:#f0f0f0!important;transform:none!important;
}
#chatContextMenu.chatContextMenu button:hover,#chatContextMenu.chatContextMenu button:focus-visible{background:#333!important;transform:none!important}
#chatContextMenu.chatContextMenu .chatMenuIcon,#chatContextMenu.chatContextMenu .llMenuIcon{
  width:30px!important;height:30px!important;flex:0 0 30px!important;border:0!important;
  border-radius:9px!important;background:transparent!important;color:#e9e9e9!important;
}
#chatContextMenu.chatContextMenu button.danger{color:#ff8b8f!important}
#chatContextMenu.chatContextMenu button.danger:hover{background:rgba(255,76,82,.10)!important}
#chatContextMenu.chatContextMenu .chatMenuDivider{margin:5px 7px!important;background:rgba(255,255,255,.09)!important}


/* ========================================================================== */
/* LL AI v66.34 — sidebar + button-system refinement                           */
/* ========================================================================== */
:root{
  --ll34-hover:#171717;
  --ll34-active:#202020;
  --ll34-pressed:#292929;
  --ll34-line:rgba(255,255,255,.105);
  --ll34-line-strong:rgba(255,255,255,.18);
  --ll34-muted:#929292;
  --ll34-text:#f3f3f3;
}

/* Consistent focus/press language across the app. */
button:focus-visible,[role="button"]:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid rgba(255,255,255,.78)!important;outline-offset:2px!important;
}
.ll6631Round,.ll6631SideAction,#ll6631TopCluster button,.composerPlus,.composerDictation,.composerPrimary,
.ll6632EditorFooter button,.ll6632AssistantActions button,.ll6632ProjectActions button,.ll6632DialogPrimary,
.ll6624Btn,.ll6631TaskActions button,.ll6632DialogConfirm button{
  -webkit-tap-highlight-color:transparent!important;
}
.ll6631Round:active,.ll6631SideAction:active,#ll6631TopCluster button:active,.composerPlus:active,.composerDictation:active,.composerPrimary:active{
  transform:scale(.96)!important;
}

/* Sidebar header — compact, premium, and visually balanced. */
.side{padding:10px 9px 10px!important}
.brandRow{height:56px!important;min-height:56px!important;padding:2px 7px 8px!important;gap:4px!important}
.brand{gap:8px!important}.brandMark,.brandMark svg{width:30px!important;height:30px!important}.brandName{font-size:18px!important;font-weight:680!important;letter-spacing:-.025em!important}
.buildPill{font-size:9px!important;font-weight:650!important;padding:3px 6px!important;background:#111!important;border-color:rgba(255,255,255,.075)!important;color:#858585!important}
.ll6631SideAction,#closeSide.sideCloseBtn{width:40px!important;height:40px!important;min-width:40px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#e7e7e7!important;display:grid!important;place-items:center!important;transition:background-color .11s ease,transform .08s ease!important}
.ll6631SideAction:hover,#closeSide.sideCloseBtn:hover{background:#1b1b1b!important}
.ll6631SideAction svg,#closeSide.sideCloseBtn svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Primary sidebar rows: no boxed glyphs, no random symbol fonts, one visual grammar. */
#ll6631PrimaryNav{margin:7px 4px 8px!important;gap:2px!important}
#ll6631PrimaryNav>.navItem,.ll6631MoreButton,#ll6631SettingsSide,#ll6623Projects .ll6623ProjectsHead{
  min-height:46px!important;height:46px!important;padding:0 11px!important;border:0!important;border-radius:12px!important;
  background:transparent!important;color:var(--ll34-text)!important;box-shadow:none!important;
  transition:background-color .11s ease,color .11s ease!important;
}
#ll6631PrimaryNav>.navItem:hover,.ll6631MoreButton:hover,#ll6631SettingsSide:hover,#ll6623Projects .ll6623ProjectsHead:hover{background:var(--ll34-hover)!important}
#ll6631PrimaryNav>.navItem:active,.ll6631MoreButton:active,#ll6631SettingsSide:active,#ll6623Projects .ll6623ProjectsHead:active{background:var(--ll34-pressed)!important}
#ll6631PrimaryNav>.navItem.active{background:var(--ll34-active)!important}
#ll6631PrimaryNav>.navItem>span,.ll6631MoreButton .ll6631MoreIcon,#ll6631SettingsSide>svg{
  width:26px!important;min-width:26px!important;height:26px!important;margin:0 10px 0 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#ededed!important;display:grid!important;place-items:center!important;box-shadow:none!important;
}
#ll6631PrimaryNav>.navItem>span svg,.ll6631MoreButton .ll6631MoreIcon svg,#ll6631SettingsSide>svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#ll6631PrimaryNav>.navItem>b,.ll6631MoreButton>b,#ll6631SettingsSide>span{font-size:15px!important;font-weight:560!important;letter-spacing:-.006em!important}
#ll6631PrimaryNav .navBadge{margin-left:auto!important;color:#818181!important;font-size:11.5px!important;font-weight:500!important}

/* Projects is a true sidebar row, including its + action. */
#ll6623Projects{margin:0!important;padding:0!important}
#ll6623Projects .ll6623ProjectsHead>span::before{display:none!important;content:none!important}
#ll6623Projects .ll6623ProjectsHead>span{display:flex!important;align-items:center!important;min-width:0!important;flex:1!important;font-size:inherit!important}
#ll6623Projects .ll6634ProjectIcon{width:26px!important;min-width:26px!important;height:26px!important;margin-right:10px!important;display:grid!important;place-items:center!important;color:#ededed!important}
#ll6623Projects .ll6634ProjectIcon svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#ll6623Projects .ll6623ProjectsHead>span>b{font-size:15px!important;font-weight:560!important;letter-spacing:-.006em!important}
#ll6623Projects .ll6623ProjectsHead>button{width:30px!important;height:30px!important;min-width:30px!important;margin-left:auto!important;border-radius:50%!important;color:#bdbdbd!important;background:transparent!important;font-size:20px!important}
#ll6623Projects .ll6623ProjectsHead>button:hover{background:#292929!important;color:#fff!important}
.ll6623ProjectList{margin:2px 0 5px 36px!important;gap:1px!important}
.ll6623ProjectNav{min-height:36px!important;padding:6px 9px!important;border-radius:9px!important;color:#a9a9a9!important;font-size:13.5px!important}
.ll6623ProjectNav:hover{background:#141414!important;color:#eee!important}

/* Surface-aware active states without any new polling/observers. */
body:has(#ll6631LibrarySurface:not([hidden])) #ll6624LibraryNav,
body:has(#ll6631TasksSurface:not([hidden])) #ll6624ScheduledNav,
body:has(#ll6632AssistantsSurface:not([hidden])) #ll6631MoreButton{background:var(--ll34-active)!important}
body:has(#ll6632ProjectsSurface:not([hidden])) #ll6623Projects .ll6623ProjectsHead{background:var(--ll34-active)!important}

/* More button has a quiet, useful affordance instead of looking like a dropdown field. */
.ll6631MoreButton .ll6631Chevron{width:24px!important;height:24px!important;margin-left:auto!important;border-radius:50%!important;display:grid!important;place-items:center!important;color:#777!important;font-size:17px!important}
.ll6631MoreButton:hover .ll6631Chevron{color:#bbb!important;background:#242424!important}

/* Chat history — lower visual noise, closer to the reference sidebar. */
#chatHistory{margin:6px 4px 0!important;padding:0 0 16px!important;gap:1px!important}
.chatGroupLabel,.ll6623DateGroupLabel{padding:17px 10px 7px!important;color:#d8d8d8!important;font-size:12.5px!important;font-weight:650!important}
.chatItem{min-height:40px!important;padding:0 8px 0 10px!important;border-radius:10px!important;gap:0!important;background:transparent!important;color:#cfcfcf!important;box-shadow:none!important}
.chatItem:hover{background:#141414!important;color:#fff!important}.chatItem.active{background:#1d1d1d!important;color:#fff!important;box-shadow:none!important}
.chatItemIcon,.chatItemTime,.chatItemMeta,.chat624Meta{display:none!important}
.chatItemMain{display:block!important;min-width:0!important;flex:1!important}.chatItemTop{display:flex!important;align-items:center!important;min-width:0!important}.chatItemTitle{font-size:14px!important;font-weight:485!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.chatActions{margin-left:auto!important;opacity:0!important}.chatItem:hover .chatActions,.chatItem.active .chatActions,.chatItem:focus-within .chatActions{opacity:1!important}
.chatAction{width:30px!important;height:30px!important;border-radius:50%!important;color:#888!important}.chatAction:hover{background:#292929!important;color:#fff!important}
.chatItem.pinned .chatItemTitle::before{content:'•'!important;display:inline!important;color:#8e8e8e!important;font-size:15px!important;margin-right:8px!important;vertical-align:1px!important}

/* Account + Settings footer: same row language as navigation. */
#llAccountRail{min-height:48px!important;padding:6px 10px!important;margin:4px 4px 0!important;border-radius:12px!important;background:transparent!important}
#llAccountRail:hover{background:var(--ll34-hover)!important}
#llAccountRail .llAccountAvatar{width:32px!important;height:32px!important;min-width:32px!important}
#ll6631SettingsSide{margin:2px 4px 0!important;width:calc(100% - 8px)!important}

/* Top-right and round icon controls share the same precise tactile shape. */
#ll6631TopCluster{height:46px!important;padding:3px!important;border-radius:24px!important;background:#1e1e1e!important;border-color:rgba(255,255,255,.095)!important;box-shadow:none!important}
#ll6631TopCluster .ll6632TopIcon{width:42px!important;min-width:42px!important;height:38px!important;border-radius:20px!important;color:#eeeeee!important}
#ll6631TopCluster .ll6632TopIcon:hover{background:#2a2a2a!important}
#ll6631TopPrimary.isTemp{background:#2c2c2c!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}
.ll6631Round{width:46px!important;height:46px!important;border-radius:50%!important;background:#222!important;border-color:rgba(255,255,255,.10)!important;color:#f2f2f2!important}
.ll6631Round:hover{background:#2c2c2c!important;border-color:rgba(255,255,255,.16)!important}

/* Welcome starter cards — cleaner spacing and more intentional button anatomy. */
.welcome{max-width:800px!important}.welcome h1{font-size:clamp(32px,3vw,42px)!important;font-weight:640!important}.welcome p{margin-bottom:26px!important}
.welcome .chips{gap:10px!important;width:min(760px,100%)!important}
.welcome .chip{min-height:68px!important;border-radius:16px!important;background:#0d0d0d!important;border-color:rgba(255,255,255,.105)!important;padding:10px 50px!important;font-size:14px!important;font-weight:590!important}
.welcome .chip:hover{background:#151515!important;border-color:rgba(255,255,255,.17)!important}
.welcome .chip::before{width:34px!important;height:34px!important;left:16px!important;background:#1d1d1d!important;color:#d7d7d7!important;border:1px solid rgba(255,255,255,.08)!important}

/* Text action buttons: pill-like, quiet, predictable. */
.ll6632EditorFooter button,.ll6632AssistantActions button,.ll6632ProjectActions button,.ll6632DialogPrimary,
.ll6624Btn,.ll6631TaskActions button,.ll6632DialogConfirm button{
  min-height:42px!important;border-radius:21px!important;padding:0 16px!important;background:#202020!important;border:1px solid rgba(255,255,255,.095)!important;color:#f0f0f0!important;font-weight:590!important;box-shadow:none!important;transition:background-color .11s ease,border-color .11s ease,transform .08s ease!important;
}
.ll6632EditorFooter button:hover,.ll6632AssistantActions button:hover,.ll6632ProjectActions button:hover,.ll6632DialogPrimary:hover,
.ll6624Btn:hover,.ll6631TaskActions button:hover,.ll6632DialogConfirm button:hover{background:#292929!important;border-color:rgba(255,255,255,.15)!important}
.ll6632EditorFooter button:active,.ll6632AssistantActions button:active,.ll6632ProjectActions button:active,.ll6632DialogPrimary:active,
.ll6624Btn:active,.ll6631TaskActions button:active,.ll6632DialogConfirm button:active{transform:scale(.985)!important}
.ll6624Btn.primary,.ll6632DialogPrimary.primary,.ll6632EditorFooter .primary,.ll6632AssistantActions .primary,.ll6632ProjectActions .primary{background:#ededed!important;color:#111!important;border-color:#ededed!important}.ll6624Btn.primary:hover,.ll6632DialogPrimary.primary:hover,.ll6632EditorFooter .primary:hover,.ll6632AssistantActions .primary:hover,.ll6632ProjectActions .primary:hover{background:#fff!important}

/* Menus/popovers use one compact density. */
#ll6631MoreMenu,#ll6631ChatMenu,#ll6632ProjectMenu,#ll6631TaskFilterMenu,#ll6631LibraryMenu,#chatContextMenu.chatContextMenu,.ll625ResponseMenu.ll6484Portal{
  border-radius:16px!important;background:#222!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 18px 54px rgba(0,0,0,.48)!important;padding:7px!important;
}
#ll6631MoreMenu button,#ll6631ChatMenu button,#ll6632ProjectMenu button,#ll6631TaskFilterMenu button,#ll6631LibraryMenu button,#chatContextMenu.chatContextMenu button,.ll625ResponseMenu.ll6484Portal button{
  min-height:43px!important;border-radius:10px!important;background:transparent!important;font-size:14px!important;font-weight:550!important;
}
#ll6631MoreMenu button:hover,#ll6631ChatMenu button:hover,#ll6632ProjectMenu button:hover,#ll6631TaskFilterMenu button:hover,#ll6631LibraryMenu button:hover,#chatContextMenu.chatContextMenu button:hover,.ll625ResponseMenu.ll6484Portal button:hover{background:#303030!important}

/* Composer stays the strongest tactile element, without excess glow. */
.composebox{background:#1f1f1f!important;border-color:rgba(255,255,255,.105)!important;box-shadow:0 8px 26px rgba(0,0,0,.18)!important}
.composebox:focus-within{border-color:rgba(255,255,255,.18)!important}
.composerPlus,.composerDictation{background:transparent!important;color:#ededed!important}.composerPlus:hover,.composerDictation:hover{background:#2b2b2b!important}

/* Feature cards share one surface language. */
.ll6632AssistantCard,.ll6632ProjectCard,.ll6631TaskCard,.ll6624Card,.ll6624Plugin,.ll6624MemoryItem{
  background:#0b0b0b!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:16px!important;box-shadow:none!important;
}
.ll6632AssistantCard:hover,.ll6632ProjectCard:hover,.ll6631TaskCard:hover,.ll6624Card:hover,.ll6624Plugin:hover{background:#121212!important;border-color:rgba(255,255,255,.14)!important}

@media(max-width:900px){
  .side{padding-inline:8px!important}
  #ll6631PrimaryNav{margin-inline:3px!important}
  #chatHistory{margin-inline:3px!important}
}
@media(max-width:600px){
  .brandRow{padding-inline:5px!important}
  #ll6631PrimaryNav>.navItem,.ll6631MoreButton,#ll6631SettingsSide,#ll6623Projects .ll6623ProjectsHead{height:44px!important;min-height:44px!important}
  .welcome .chip{padding-inline:46px!important}
}
