/* LL AI v66.37 — focused visual polish: Temporary Chat, Settings and Plugins. */
:root{--ll37-bg:#000;--ll37-panel:#171717;--ll37-panel2:#202020;--ll37-line:rgba(255,255,255,.105);--ll37-text:#f5f5f5;--ll37-muted:#9a9a9a;--ll37-hover:#252525;--ll37-press:#2c2c2c}
#uiRoot{isolation:isolate}
#welcome>p.muted[data-ll37-hide]{display:none!important}
.welcome h1{margin-bottom:0!important}

/* top-right temporary/commands button: round bubble, neutral until active */
#ll6631TopCluster.ll6635TopCluster{gap:8px!important}
#ll6631TopPrimary.ll37TopPrimary,#ll6631TopCluster.ll6635TopCluster>#ll6631TopPrimary{
 width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;border-radius:50%!important;
 border:1px solid var(--ll37-line)!important;background:#202020!important;color:#f6f6f6!important;box-shadow:0 1px 0 rgba(255,255,255,.025) inset!important;
 transition:background .16s ease,border-color .16s ease,transform .13s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease!important
}
#ll6631TopPrimary.ll37TopPrimary:hover{background:#292929!important;border-color:rgba(255,255,255,.16)!important}
#ll6631TopPrimary.ll37TopPrimary:active{transform:scale(.93)!important;background:#303030!important}
#ll6631TopPrimary.ll37TopPrimary.isTemp{background:#242424!important;color:#fff!important;border-color:rgba(255,255,255,.20)!important;box-shadow:0 0 0 1px rgba(255,255,255,.025) inset!important}
#ll6631TopPrimary.ll37TopPrimary svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#ll6631TopPrimary.ll37TapLock{pointer-events:none!important}

/* feature pages */
#ll6637Settings,#ll6637Plugins{position:fixed;inset:0;z-index:1800;background:#000;color:var(--ll37-text);opacity:0;transform:translateY(5px);transition:opacity .16s ease,transform .18s cubic-bezier(.2,.8,.2,1);overflow:hidden}
#ll6637Settings[hidden],#ll6637Plugins[hidden]{display:none!important}
#ll6637Settings.isOpen,#ll6637Plugins.isOpen{opacity:1;transform:none}
.ll37PageHeader{height:112px;display:grid;grid-template-columns:56px 1fr 56px;align-items:start;padding:49px 18px 10px;box-sizing:border-box;background:#000;position:relative;z-index:3}
.ll37PageHeader h1{margin:9px 0 0;text-align:center;font-size:21px;line-height:1;font-weight:680;letter-spacing:-.02em}
.ll37PageHeader button{width:52px;height:52px;border:1px solid var(--ll37-line);border-radius:50%;background:#242424;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .14s ease,transform .11s ease,border-color .14s ease}
.ll37PageHeader button:hover{background:#303030;border-color:rgba(255,255,255,.17)}.ll37PageHeader button:active{transform:scale(.94)}
.ll37PageHeader svg,.ll37SettingsRow svg,.ll37PluginRow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* settings: clean grouped list like ChatGPT, but only real LL controls */
.ll37SettingsScroll,.ll37PluginScroll{height:calc(100dvh - 112px);overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 18px 64px;box-sizing:border-box}
.ll37SettingsScroll::-webkit-scrollbar,.ll37PluginScroll::-webkit-scrollbar{width:0;height:0}
.ll37SettingsStack,.ll37PluginList{width:min(710px,100%);margin:0 auto}
.ll37SettingsGroup{margin:0 0 26px}.ll37SettingsGroup>h2,.ll37PluginList>h2{margin:0 0 10px;padding:0 18px;color:#aaa;font-size:15px;font-weight:520}
.ll37SettingsGroup{border-radius:25px;overflow:hidden;background:#464646}
.ll37SettingsGroup>h2{background:#000;padding:14px 18px 10px;margin:0}
.ll37SettingsRow{width:100%;min-height:68px;border:0;border-bottom:1px solid rgba(0,0,0,.55);background:#444;color:#f5f5f5;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;text-align:left;padding:10px 18px;gap:4px;cursor:pointer;transition:background .14s ease,transform .10s ease}
.ll37SettingsRow:last-child{border-bottom:0}.ll37SettingsRow:hover{background:#4b4b4b}.ll37SettingsRow:active{background:#505050;transform:scale(.995)}
.ll37RowIcon{width:32px;height:32px;display:grid;place-items:center}.ll37RowIcon svg{width:24px;height:24px}.ll37RowText{display:flex;flex-direction:column;gap:3px;min-width:0}.ll37RowText b{font-size:17px;font-weight:520}.ll37RowText small{font-size:14px;color:#c0c0c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll37Chevron{font-size:25px;color:#d5d5d5;padding-left:12px}.ll37Value{font-size:15px;color:#d2d2d2;padding-left:12px}

/* Plugins: light list, not dashboard cards */
.ll37PluginList{padding-top:8px}.ll37PluginList>h2{padding-left:0;color:#e8e8e8;font-size:16px;font-weight:650;margin-bottom:8px}
.ll37PluginRow{width:100%;min-height:78px;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;color:#f3f3f3;display:grid;grid-template-columns:54px minmax(0,1fr) 48px;align-items:center;gap:10px;padding:8px 4px;text-align:left;cursor:pointer;transition:background .14s ease,transform .1s ease}
.ll37PluginRow:hover{background:#0d0d0d}.ll37PluginRow:active{transform:scale(.995);background:#121212}.ll37PluginIcon{width:46px;height:46px;border-radius:12px;background:#171717;border:1px solid rgba(255,255,255,.075);display:grid;place-items:center}.ll37PluginIcon svg{width:24px;height:24px}.ll37PluginCopy{display:flex;flex-direction:column;gap:4px;min-width:0}.ll37PluginCopy b{font-size:16px;font-weight:570}.ll37PluginCopy small{font-size:14px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll37PluginToggle{justify-self:end;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#eee}.ll37PluginToggle svg{width:23px;height:23px}.ll37PluginRow.on .ll37PluginToggle{background:#242424}.ll37PluginNote{color:#777;font-size:13px;line-height:1.5;margin:22px 0 0;padding-bottom:22px}

/* About sheet */
#ll6637About{position:fixed;inset:0;z-index:2100;background:rgba(0,0,0,.62);display:grid;place-items:center;padding:20px}
#ll6637About[hidden]{display:none!important}#ll6637About>section{width:min(390px,100%);border:1px solid var(--ll37-line);border-radius:24px;background:#171717;color:#fff;padding:28px;box-shadow:0 28px 100px rgba(0,0,0,.55);text-align:center;position:relative}#ll6637About button{position:absolute;right:13px;top:13px;width:36px;height:36px;border:0;border-radius:50%;background:#282828;color:#fff;font-size:24px}.ll37AboutMark{width:58px;height:58px;border-radius:18px;background:#252525;display:grid;place-items:center;margin:2px auto 15px;font-weight:750}.ll37About h2{margin:0}.ll37About p{color:#aaa}.ll37About small{color:#888;line-height:1.5}

/* Keep old settings/plugin pages underneath if one flashes during handoff. */
body.ll37FeatureOpen>.ll6624Page{visibility:hidden!important;pointer-events:none!important}

@media(max-width:700px){.ll37PageHeader{height:94px;padding:29px 12px 8px}.ll37PageHeader button{width:46px;height:46px}.ll37SettingsScroll,.ll37PluginScroll{height:calc(100dvh - 94px);padding-inline:12px}.ll37SettingsGroup{border-radius:20px}.ll37SettingsRow{min-height:64px;padding-inline:14px}.ll37RowText b{font-size:16px}.ll37PluginRow{grid-template-columns:50px minmax(0,1fr) 44px}.ll37PluginCopy small{font-size:13px}#ll6631TopPrimary.ll37TopPrimary{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}}
@media(prefers-reduced-motion:reduce){#ll6637Settings,#ll6637Plugins,#ll6631TopPrimary.ll37TopPrimary,.ll37PageHeader button,.ll37SettingsRow,.ll37PluginRow{transition:none!important}}
