/*
Theme Name: LumioAI Cortex
Author: EditGuru
Description: Cortex-inspired lightweight AI chat theme connected directly to LumioAI OpenRouter plugin.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: lumioai-cortex
*/
:root{--bg:#eeeaf8;--panel:#fff;--text:#17151d;--muted:#88828f;--line:#ece8f2;--purple:#9b78ee;--purple2:#c6adff;--shadow:0 18px 55px rgba(53,38,83,.10)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text)}body{background:radial-gradient(circle at 50% -10%,#fff 0,#f4f1fa 34%,#eeeaf8 75%)}a{color:inherit;text-decoration:none}button,textarea{font:inherit}
.lumio-shell{min-height:100vh;display:flex;padding:22px;gap:18px}.lumio-sidebar{width:235px;flex:0 0 235px;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.95);border-radius:18px;padding:18px 14px;box-shadow:0 12px 40px rgba(57,45,85,.07);display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:10px;padding:5px 8px 22px;font-weight:800;font-size:20px}.brand-mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#b99cff,#8c62e9);display:grid;place-items:center;color:#fff;box-shadow:0 7px 18px rgba(139,98,233,.25)}
.new-chat{display:block;background:#111;color:#fff;border-radius:11px;padding:12px 14px;font-weight:650;margin-bottom:16px;cursor:pointer}.new-chat span{font-size:20px;margin-right:6px}
.side-nav{display:grid;gap:3px}.side-link{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:9px;color:#57525e;font-size:14px}.side-link:hover,.side-link.active{background:#f0edf6;color:#19161f}.side-ico{width:20px;text-align:center;color:#716b78}.side-title{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#aaa4b1;margin:22px 10px 6px}.side-bottom{margin-top:auto;padding:10px 8px 0;border-top:1px solid var(--line);font-size:12px;color:#8c8692}
.lumio-main{min-width:0;flex:1;background:rgba(255,255,255,.95);border:1px solid rgba(255,255,255,.95);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}.topbar{height:70px;flex:0 0 70px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #f1eef5}.model{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px}.model-dot{width:9px;height:9px;border-radius:50%;background:#a67ef1;box-shadow:0 0 0 5px #f1eaff}.top-actions{display:flex;gap:8px}.icon-btn{width:38px;height:38px;border:1px solid #eeeaf3;background:#fff;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:#55505b}.icon-btn:hover{background:#f7f4fb}.mobile-menu{display:none}
.hero-wrap{width:min(850px,calc(100% - 48px));margin:0 auto;padding:52px 0 50px;flex:1}.greeting{text-align:center;margin-bottom:28px}.greeting .orb{width:92px;height:92px;margin:0 auto 22px;border-radius:50%;background:radial-gradient(circle at 38% 30%,#fff 0,#d9c6ff 23%,#ad91f4 52%,#8b6de4 100%);box-shadow:0 0 45px rgba(157,117,239,.35),inset 0 0 20px rgba(255,255,255,.55);position:relative}.greeting .orb:after{content:"";position:absolute;inset:14px;border:2px solid rgba(255,255,255,.42);border-radius:50%;transform:rotate(24deg)}.greeting h1{font-size:31px;line-height:1.1;margin:0 0 7px;letter-spacing:-.04em}.greeting p{margin:0;color:#a19ba7;font-size:19px}
.chat-stream{display:none;margin-bottom:16px;max-height:440px;overflow:auto;padding:3px}.chat-stream.show{display:block}.msg{display:flex;margin:9px 0}.msg.user{justify-content:flex-end}.bubble{max-width:78%;padding:11px 14px;border-radius:15px;background:#f4f1f8;color:#45404d;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.msg.user .bubble{background:#9d79ed;color:#fff}.model-note{font-size:10px;color:#aaa3b0;margin:3px 4px 0}
.prompt-box{background:#fff;border:1px solid #f0ebf5;border-radius:22px;box-shadow:0 10px 32px rgba(63,45,91,.08);padding:16px 18px 11px}.prompt-box.research{border-color:#cdb6f7;box-shadow:0 0 0 3px #f3edff,0 10px 32px rgba(63,45,91,.08)}.prompt-input{width:100%;border:0;outline:0;resize:none;min-height:68px;max-height:180px;font-size:16px;color:var(--text);background:transparent}.prompt-input::placeholder{color:#aaa5af}.prompt-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.prompt-tools{display:flex;align-items:center;gap:7px}.tool-pill{border:1px solid #e8e2f1;background:#fff;border-radius:9px;padding:8px 11px;color:#8c72bb;font-size:12px;font-weight:650;cursor:pointer}.tool-pill:hover,.tool-pill.active{background:#f0e8ff;border-color:#cbb3f3}.tool-icon{border:0;background:transparent;color:#716b77;width:32px;height:32px;border-radius:8px;cursor:pointer}.tool-icon:hover{background:#f5f2f9}.send-btn{width:38px;height:38px;border:0;border-radius:11px;background:#9d79ed;color:#fff;cursor:pointer;box-shadow:0 7px 18px rgba(157,121,237,.25);font-weight:700}.send-btn:disabled{opacity:.55;cursor:wait}
.suggestion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.suggestion{background:#fff;border:1px solid #f0edf4;border-radius:18px;padding:20px;min-height:126px;transition:.18s ease;cursor:pointer}.suggestion:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(65,48,92,.08);border-color:#e2d9f0}.suggestion-icon{font-size:20px;margin-bottom:15px}.suggestion h3{font-size:14px;margin:0 0 6px}.suggestion p{font-size:12px;line-height:1.5;color:#9a949f;margin:0}
.notice{display:none;margin:0 auto 12px;width:min(850px,calc(100% - 48px));padding:11px 14px;border-radius:12px;background:#fff3f3;border:1px solid #f0d6d6;color:#9b4f4f;font-size:12px}.notice.show{display:block}
.content-area{width:min(1000px,calc(100% - 48px));margin:0 auto;padding:40px 0 70px}.post-card{background:#fff;border:1px solid #eeeaf3;border-radius:18px;padding:22px;margin:12px 0}.post-card h1,.post-card h2{margin:0 0 10px}.post-card p{color:#77727f;line-height:1.7}.post-meta{font-size:12px;color:#a09aa5;margin-bottom:8px}.entry-content{font-size:16px;line-height:1.8;color:#4d4853}.entry-content img{max-width:100%;height:auto;border-radius:16px}.site-footer{padding:18px 28px;border-top:1px solid #f1eef5;color:#99939f;font-size:12px;text-align:center}
@media(max-width:820px){.lumio-shell{padding:10px}.lumio-sidebar{display:none}.lumio-main{margin-left:0}.mobile-menu{display:grid}.hero-wrap{width:calc(100% - 28px);padding-top:40px}.suggestion-grid{grid-template-columns:1fr}.topbar{padding:0 15px}.greeting h1{font-size:27px}.greeting p{font-size:16px}.content-area{width:calc(100% - 28px)}.prompt-tools{gap:2px}.tool-pill{padding:8px}.bubble{max-width:88%}.notice{width:calc(100% - 28px)}}
