/* BWA Comandos IA v2: identidade pastel e categorias */
:root{--sidebar-w:258px}
html[data-theme="light"]{--bg:#faf8fd;--panel:#fff;--panel2:#f7f3fd;--panel3:#f0e8fa;--line:#e9e0f1;--text:#332a40;--muted:#766d82;--soft:#4d445a;--accent:#cbb1e8;--accent-strong:#7652aa;--accent-soft:#f2e9fc;--accent-line:#dbcaed;--accent-ink:#3b2b4f;--shadow:0 14px 34px rgba(113,85,150,.08)}
html[data-theme="light"][data-ai="gemini"]{--accent:#c6d8ff;--accent-strong:#4873c7;--accent-soft:#eaf1ff;--accent-line:#c6d8ff;--accent-ink:#234880}
html[data-theme="light"][data-ai="claude"]{--accent:#ffd9c6;--accent-strong:#bc6b54;--accent-soft:#fff0e8;--accent-line:#f5d3c4;--accent-ink:#864d40}
html[data-theme="dark"]{--bg:#252331;--panel:#302d3d;--panel2:#393445;--panel3:#453d54;--line:#50465e;--text:#f5f0fb;--muted:#c3b8cc;--soft:#e6ddeb;--accent:#bfa4de;--accent-strong:#ead7fa;--accent-soft:rgba(190,160,229,.15);--accent-line:#76628a;--accent-ink:#2b2036}
html[data-theme="dark"][data-ai="chatgpt"],html[data-theme="dark"][data-ai="gemini"],html[data-theme="dark"][data-ai="claude"]{--accent:#bfa4de;--accent-strong:#ead7fa;--accent-soft:rgba(190,160,229,.15);--accent-line:#76628a;--accent-ink:#2b2036}
.sidebar{background:#f7f1fc}.sidebar-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding-bottom:16px}.sidebar-brand img{width:86px!important;height:90px!important;max-height:90px!important;max-width:86px!important;object-fit:contain!important}.sidebar-brand strong{font-size:18px}.sidebar-brand small{font-size:11px;color:var(--muted)}.side-categories{display:flex;flex-direction:column;gap:5px;overflow-y:auto;min-height:0;padding-right:3px}.side-cat{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;border:0;border-radius:11px;text-align:left;background:transparent;color:#645474;cursor:pointer;font-size:13px;font-weight:600}.side-cat:hover{background:#eee4f7}.side-cat.active{background:#e5d7f4;color:#634391;font-weight:800}.cat-total{font-size:11px;background:#ffffffa6;border-radius:20px;padding:3px 7px;color:#836c9f}.sidebar-bottom{padding-top:14px}.sidebar-bottom .btn{font-size:12px}.topbar{height:auto;min-height:84px;gap:14px;flex-wrap:wrap}.top-ai-tabs{display:flex;gap:7px;align-items:center}.top-ai-tabs .ai-tab{display:flex!important;align-items:center;gap:7px;border:1px solid var(--line);border-radius:13px;background:var(--panel);padding:7px 12px!important;min-height:51px;grid-template-columns:none!important;transform:none!important}.top-ai-tabs .ai-tab.active{background:var(--accent-soft);border-color:var(--accent)}.top-ai-tabs img{width:36px;height:36px;object-fit:contain}.top-ai-tabs span{font-size:13px;font-weight:800}.top-actions{gap:6px}.top-actions .btn{font-size:12px;padding:9px}.hero-note{background:#f2ecfb}.smart-panel{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:18px;margin-top:18px}.smart-panel>div:first-child{display:flex;gap:8px;flex-direction:column}.smart-panel b{font-size:16px}.smart-panel small{font-size:12px;color:var(--muted)}.smart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.smart-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.smart-grid input{width:100%;min-width:0;border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:11px;border-radius:10px}.favorite{font-size:20px;color:#c783a6}.newtag{background:#d9f4e8;color:#327d5e;border:1px solid #bce9d3}.footer img{width:60px!important;height:65px!important;max-width:60px!important;max-height:65px!important}.sidebar .theme-toggle{background:#fff}.modal details{margin:12px 0;padding:13px;border:1px solid var(--line);border-radius:12px}.modal details summary{cursor:pointer;margin-bottom:10px}
html[data-theme="dark"] .sidebar{background:#30283d}html[data-theme="dark"] .side-cat{color:#e3d2f4}html[data-theme="dark"] .side-cat:hover,html[data-theme="dark"] .side-cat.active{background:#4a3a5c;color:#fff}html[data-theme="dark"] .hero-note{background:var(--panel2)}html[data-theme="dark"] .sidebar .theme-toggle{background:var(--panel2)}
@media(min-width:761px){.app-shell{grid-template-columns:258px minmax(0,1fr)!important}.sidebar{padding:16px 12px!important}.side-categories{max-height:calc(100vh - 312px)}}
@media(max-width:1150px){.topbar{justify-content:center}.topbar-title{width:100%;text-align:center}.smart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions{justify-content:center}}
@media(max-width:760px){.sidebar{position:relative;display:flex;flex-direction:column;gap:8px}.sidebar-brand{flex-direction:row;gap:8px;border:0;padding:0;margin:0}.sidebar-brand img{height:42px!important;width:42px!important}.sidebar-brand small,.sidebar-label,.sidebar-bottom .theme-toggle,.sidebar-site{display:none}.side-categories{display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap;padding-bottom:8px}.side-cat{flex-shrink:0;padding:10px}.sidebar-bottom{position:absolute;right:8px;top:6px;padding:0}.sidebar-bottom .btn{font-size:11px}.topbar{top:0}.top-ai-tabs{width:100%;justify-content:center}.top-ai-tabs .ai-tab{padding:5px 7px!important}.top-ai-tabs img{width:25px;height:25px}.top-ai-tabs span{font-size:11px}.smart-grid{grid-template-columns:1fr}.hero h1{font-size:32px}.command-grid{grid-template-columns:1fr}}

.sidebar-brand img{background:#8b73ac;border-radius:24px;padding:9px;box-shadow:0 8px 20px #775d9c33}.footer img{background:#8b73ac;border-radius:14px;padding:5px}
