/* Cotijuba Soluções — Jubinha IA v25.1.0 */
:root{--jub-blue:#075bbb;--jub-blue-2:#0788e9;--jub-cyan:#10c8e6;--jub-ice:#f4f9fd;--jub-line:#dbe8f1;--jub-text:#173b57;--jub-muted:#6f8799;--jub-shadow:0 26px 64px rgba(7,55,104,.24),0 7px 22px rgba(7,55,104,.09)}
.jubinha-root{position:fixed;right:22px;bottom:20px;z-index:2147482000;display:none;font-family:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--jub-text)}
.jubinha-root.jubinha-visible{display:block}.jubinha-root *{box-sizing:border-box}.jubinha-root button,.jubinha-root textarea{font:inherit}
.jubinha-panel{position:absolute;right:0;bottom:90px;width:min(430px,calc(100vw - 34px));height:min(660px,calc(100dvh - 160px));min-height:460px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(206,224,237,.96);border-radius:25px;background:#fff;box-shadow:var(--jub-shadow);transform-origin:bottom right;animation:jubOpen .18s ease-out}
.jubinha-panel[hidden]{display:none!important}@keyframes jubOpen{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.jubinha-head{display:grid;grid-template-columns:38px 44px minmax(0,1fr) 38px;gap:9px;align-items:center;min-height:72px;padding:10px 12px;background:radial-gradient(circle at 88% -20%,rgba(49,235,255,.35),transparent 42%),linear-gradient(135deg,#0752b8 0%,#0788ea 52%,#12bfd9 100%);color:#fff}
.jubinha-head-btn{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:11px;background:rgba(255,255,255,.10);color:#fff;cursor:pointer;transition:.15s ease}.jubinha-head-btn:hover,.jubinha-head-btn:focus-visible{background:rgba(255,255,255,.2);outline:2px solid rgba(255,255,255,.34);outline-offset:1px}.jubinha-head-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.jubinha-head-avatar{width:44px;height:44px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:#fff;box-shadow:0 5px 13px rgba(0,51,111,.18)}.jubinha-head-avatar img{width:48px;height:48px;object-fit:contain;transform:translateY(3px)}
.jubinha-head-copy{min-width:0}.jubinha-head-copy>div{display:flex;align-items:center;gap:7px}.jubinha-head h2{margin:0;font-size:17px;font-weight:950;line-height:1}.jubinha-head p{margin:4px 0 0;color:rgba(255,255,255,.88);font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jubinha-status-dot{width:8px;height:8px;border-radius:50%;background:#b9c7d0;box-shadow:0 0 0 3px rgba(255,255,255,.14)}.jubinha-status-dot.ready{background:#41e47f}.jubinha-status-dot.active{background:#54f0ff;box-shadow:0 0 0 4px rgba(84,240,255,.16)}.jubinha-status-dot.processing{background:#ffc85b}.jubinha-status-dot.error{background:#ff6f73}
.jubinha-context{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:8px 14px;border-bottom:1px solid var(--jub-line);background:#f8fbfe;color:#70889b;font-size:10.5px;font-weight:850}.jubinha-context b{color:#3a607b}.jubinha-context span:last-child{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.jubinha-menu{position:absolute;z-index:8;top:64px;left:9px;width:245px;padding:7px;border:1px solid #dfe9f0;border-radius:14px;background:#fff;box-shadow:0 16px 32px rgba(17,57,90,.18);animation:jubMenu .14s ease-out}.jubinha-menu[hidden]{display:none!important}@keyframes jubMenu{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.jubinha-menu button{width:100%;min-height:43px;display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 9px;border:0;border-radius:9px;background:#fff;color:#355b76;text-align:left;cursor:pointer}.jubinha-menu button:hover,.jubinha-menu button:focus-visible{background:#f3f8fc;outline:none}.jubinha-menu button:disabled{opacity:.45;cursor:not-allowed}.jubinha-menu svg{width:18px;height:18px;fill:none;stroke:#5a7890;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.jubinha-menu span{font-size:11.5px;font-weight:900}.jubinha-menu em{padding:3px 6px;border-radius:999px;background:#e8f4fb;color:#2c6d98;font-size:8px;font-style:normal;font-weight:950}.jubinha-menu button>svg:last-child{width:15px;height:15px;opacity:.55}.jubinha-menu-divider{height:1px;margin:5px 6px;background:#edf2f6}.jubinha-menu>small{display:block;padding:7px 9px 4px;color:#91a1ad;font-size:8.5px;line-height:1.35;font-weight:750}
.jubinha-main{position:relative;min-height:0;background:#fff}.jubinha-view{height:100%;min-height:0}.jubinha-view[hidden]{display:none!important}.jubinha-messages{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:16px 15px 22px;background:radial-gradient(circle at 100% 0%,rgba(22,197,228,.055),transparent 28%),#fff;scroll-behavior:smooth}
.jubinha-welcome{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 28px 34px}.jubinha-welcome img{width:185px;height:185px;object-fit:contain;filter:drop-shadow(0 9px 16px rgba(16,101,178,.11))}.jubinha-welcome h3{margin:8px 0 3px;color:#102f54;font-size:24px;line-height:1.08;font-weight:950;letter-spacing:-.025em}.jubinha-welcome p{margin:0;color:#7f92a4;font-size:12px;font-weight:750}
.jubinha-message{display:flex;width:100%;margin:10px 0}.jubinha-message.user{justify-content:flex-end}.jubinha-message.assistant{justify-content:flex-start}.jubinha-message>div{max-width:78%;padding:9px 12px;border:1px solid #dceaf2;border-radius:17px 17px 17px 5px;background:#f1f7fb;color:#244d69;box-shadow:0 2px 6px rgba(22,64,96,.035)}.jubinha-message.user>div{border-color:#0b7fd7;border-radius:17px 17px 5px 17px;background:linear-gradient(145deg,#0877d9,#0799d2);color:#fff}.jubinha-message p{margin:0;font-size:15px;line-height:1.42;white-space:pre-wrap;overflow-wrap:anywhere}.jubinha-message small{display:block;margin-top:5px;color:#7f95a5;font-size:8.5px;font-weight:800}.jubinha-message.user small{color:rgba(255,255,255,.72)}.jubinha-message-live>div{outline:2px solid rgba(15,185,222,.08)}
.jubinha-thinking>div{display:flex;gap:4px;width:auto;padding:12px 14px}.jubinha-thinking span{width:6px;height:6px;border-radius:50%;background:#72a0bf;animation:jubDots .85s ease-in-out infinite alternate}.jubinha-thinking span:nth-child(2){animation-delay:.15s}.jubinha-thinking span:nth-child(3){animation-delay:.3s}@keyframes jubDots{from{opacity:.25;transform:translateY(1px)}to{opacity:1;transform:translateY(-1px)}}
.jubinha-secondary-view{overflow:auto;padding:0 14px 18px;background:#fff}.jubinha-subhead{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:9px;padding:13px 0 10px;background:rgba(255,255,255,.97);border-bottom:1px solid #edf2f6}.jubinha-subhead>button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dce8ef;border-radius:10px;background:#f8fbfd;color:#4c6d84;cursor:pointer}.jubinha-subhead svg,.jubinha-inline-back svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.jubinha-subhead div{display:grid;gap:1px}.jubinha-subhead strong{font-size:13px;color:#214b69}.jubinha-subhead small{font-size:9px;color:#8698a6;font-weight:750}
.jubinha-history-scopes{display:flex;gap:6px;margin:11px 0}.jubinha-history-scopes[hidden]{display:none!important}.jubinha-history-scopes button{padding:7px 10px;border:1px solid #dce8ef;border-radius:999px;background:#fff;color:#668096;font-size:9px;font-weight:900;cursor:pointer}.jubinha-history-scopes button.active{border-color:#0b86d7;background:#eaf6fd;color:#0a6ba9}.jubinha-history-list{display:grid;gap:7px}.jubinha-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;padding:10px;border:1px solid #e0e9ef;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.jubinha-history-item:hover{background:#f9fcfe}.jubinha-history-item>span{display:grid;gap:2px;min-width:0}.jubinha-history-item strong{color:#315874;font-size:11px}.jubinha-history-item small{color:#91a0ac;font-size:8.5px;font-weight:750}.jubinha-history-item em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f8798;font-size:9px;font-style:normal}.jubinha-history-item>b{align-self:start;padding:3px 6px;border-radius:999px;background:#eef4f7;color:#6f8493;font-size:8px}.jubinha-history-item>b.open{background:#e7f7ee;color:#2f8057}.jubinha-empty{padding:22px 10px;text-align:center;color:#8b9ba8;font-size:10px;font-weight:800}.jubinha-empty.compact{padding:10px}
.jubinha-inline-back{display:inline-flex;align-items:center;gap:4px;margin:10px 0;padding:6px 8px;border:0;background:transparent;color:#4f7894;font-size:9px;font-weight:900;cursor:pointer}.jubinha-history-detail-head{display:grid;gap:2px;padding:9px 10px;border-radius:11px;background:#f5f9fc}.jubinha-history-detail-head strong{font-size:11px}.jubinha-history-detail-head small{color:#8498a7;font-size:8.5px}.jubinha-history-detail-messages{display:grid;gap:8px;padding-top:10px}.jubinha-history-detail-messages article{max-width:84%;padding:8px 10px;border-radius:12px;background:#f0f6fa}.jubinha-history-detail-messages article.user{justify-self:end;background:#0b84d5;color:#fff}.jubinha-history-detail-messages p{margin:0;font-size:11px;line-height:1.4}.jubinha-history-detail-messages small{display:block;margin-top:4px;font-size:8px;opacity:.7}
.jubinha-mode-cards{display:grid;gap:8px;padding:13px 0}.jubinha-mode-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #dce8ef;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:.15s ease}.jubinha-mode-card:hover{border-color:#9ccae5;background:#fbfdff}.jubinha-mode-card.active{border-color:#0a8ad6;background:#f3faff;box-shadow:0 0 0 2px rgba(10,138,214,.08)}.jubinha-mode-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eef7fc;color:#137dbd}.jubinha-mode-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.jubinha-mode-card>span:nth-child(2){display:grid;gap:2px}.jubinha-mode-card strong{color:#24516f;font-size:12px}.jubinha-mode-card small{color:#8094a4;font-size:9px;font-weight:750}.jubinha-mode-card>i{display:none;place-items:center;width:22px;height:22px;border-radius:50%;background:#0a8bd7;color:#fff}.jubinha-mode-card.active>i{display:grid}.jubinha-mode-card>i svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4}
.jubinha-mode-details{padding:12px;border:1px solid #e1eaf0;border-radius:14px;background:#f8fbfd}.jubinha-mode-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.jubinha-mode-detail-head strong{color:#204d6a;font-size:12px}.jubinha-mode-detail-head span{padding:3px 6px;border-radius:999px;background:#e6f4fb;color:#35779e;font-size:8px;font-weight:950}.jubinha-mode-details>p{margin:6px 0 0;color:#6e8799;font-size:9.5px;line-height:1.4}.jubinha-mode-details details{margin-top:10px;border-top:1px solid #e4edf2;padding-top:8px}.jubinha-mode-details summary{color:#55758b;font-size:9px;font-weight:900;cursor:pointer}.jubinha-mode-details dl{display:grid;gap:5px;margin:8px 0 0}.jubinha-mode-details dl div{display:flex;justify-content:space-between;gap:12px}.jubinha-mode-details dt,.jubinha-mode-details dd{margin:0;font-size:8.5px}.jubinha-mode-details dt{color:#8799a7}.jubinha-mode-details dd{color:#4a6a80;font-weight:900;text-align:right}.jubinha-ultra-models{display:grid;gap:7px;margin-top:10px}.jubinha-ultra-model{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:8px;width:100%;padding:9px;border:1px solid #dce7ee;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.jubinha-ultra-model.active{border-color:#0a89d4;background:#f4fbff}.jubinha-ultra-model:disabled{opacity:.55;cursor:not-allowed}.jubinha-ultra-model>span{display:grid;gap:2px}.jubinha-ultra-model strong{font-size:10.5px;color:#27516d}.jubinha-ultra-model small{font-size:8.5px;line-height:1.3;color:#7d92a1}.jubinha-ultra-model em{margin-top:2px;color:#4a7894;font-size:8px;font-style:normal;font-weight:850}.jubinha-ultra-model>i{display:none;place-items:center;width:22px;height:22px;border-radius:50%;background:#0a8bd7;color:#fff}.jubinha-ultra-model.active>i{display:grid}.jubinha-ultra-model svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.3}
.jubinha-composer-wrap{padding:10px 11px max(11px,env(safe-area-inset-bottom));border-top:1px solid var(--jub-line);background:#fff}.jubinha-composer-wrap[hidden]{display:none!important}.jubinha-alert{display:grid;gap:5px;margin:0 0 8px;padding:8px 10px;border:1px solid #ffe0a3;border-radius:10px;background:#fff9eb;color:#7b6227;font-size:9.5px;font-weight:800}.jubinha-alert.error{border-color:#ffc8c8;background:#fff2f2;color:#9a4747}.jubinha-alert[hidden]{display:none!important}.jubinha-alert details{font-size:8px;font-weight:750}.jubinha-alert summary{cursor:pointer}.jubinha-alert code{display:block;max-height:80px;overflow:auto;margin-top:4px;padding:5px;border-radius:6px;background:rgba(0,0,0,.04);white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,monospace}
.jubinha-composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:end}.jubinha-composer[hidden]{display:none!important}.jubinha-composer textarea{width:100%;min-height:48px;max-height:112px;resize:none;padding:13px 14px;border:1px solid #d6e4ed;border-radius:16px;outline:0;background:#fbfdff;color:#244c68;font-size:13px;line-height:1.35;font-weight:750;overflow-y:auto}.jubinha-composer textarea:focus{border-color:#76bee8;box-shadow:0 0 0 3px rgba(28,150,218,.09)}.jubinha-composer textarea::placeholder{color:#9aacb8}
.jubinha-hybrid{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:linear-gradient(145deg,#0876df,#08a7d1);color:#fff;box-shadow:0 7px 16px rgba(7,113,193,.23);cursor:pointer;transition:.15s ease}.jubinha-hybrid:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 19px rgba(7,113,193,.28)}.jubinha-hybrid:focus-visible{outline:3px solid rgba(11,147,216,.2);outline-offset:2px}.jubinha-hybrid:disabled{opacity:.46;cursor:not-allowed;box-shadow:none}.jubinha-hybrid.idle{background:#dce6ed;color:#90a2af}.jubinha-hybrid.live{background:linear-gradient(145deg,#08a0bf,#10c5d8);animation:jubLivePulse 1.5s ease-in-out infinite}.jubinha-hybrid svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@keyframes jubLivePulse{50%{box-shadow:0 0 0 8px rgba(16,197,216,.11),0 7px 16px rgba(7,113,193,.2)}}
.jubinha-footer-status{display:flex;justify-content:space-between;gap:10px;margin-top:7px;padding:0 3px;color:#8a9aa8;font-size:8.5px;font-weight:850}.jubinha-footer-status span:last-child{text-align:right}.jubinha-recording{padding:9px 10px;border:1px solid #dce8ef;border-radius:14px;background:#f9fcfe}.jubinha-recording[hidden]{display:none!important}.jubinha-recording-top{display:flex;justify-content:space-between;align-items:center;color:#5f7e92;font-size:10px;font-weight:900}.jubinha-recording-top span{display:flex;align-items:center;gap:6px;color:#d74b52}.jubinha-recording-top i{width:7px;height:7px;border-radius:50%;background:#ef4f57;animation:jubRec 1s ease-in-out infinite}@keyframes jubRec{50%{opacity:.35}}.jubinha-wave{display:flex;align-items:center;justify-content:center;gap:3px;height:34px;margin:5px 0}.jubinha-wave i{width:3px;height:10px;border-radius:999px;background:#28a8d7;animation:jubWave .75s ease-in-out infinite alternate}.jubinha-wave i:nth-child(3n){animation-delay:.12s;height:22px}.jubinha-wave i:nth-child(4n){animation-delay:.24s;height:16px}.jubinha-wave i:nth-child(5n){animation-delay:.35s;height:27px}@keyframes jubWave{to{transform:scaleY(.45);opacity:.45}}.jubinha-recording-actions{display:flex;justify-content:flex-end;gap:7px}.jubinha-recording-actions button{min-height:32px;padding:6px 10px;border:1px solid #dbe7ee;border-radius:9px;background:#fff;color:#668095;font-size:9px;font-weight:900;cursor:pointer}.jubinha-recording-actions .primary{border-color:#0b86d5;background:#0b86d5;color:#fff}
.jubinha-fab{position:relative;width:82px;height:82px;display:grid;place-items:center;padding:0;overflow:visible;border:4px solid #fff;border-radius:27px;background:linear-gradient(145deg,#e9f8ff,#fff);box-shadow:0 16px 36px rgba(5,70,144,.28),0 6px 15px rgba(0,0,0,.10);cursor:pointer;transition:.16s ease}.jubinha-fab:hover{transform:translateY(-2px)}.jubinha-fab img{width:74px;height:74px;object-fit:contain;transform:translateY(4px)}.jubinha-fab-listening::before,.jubinha-fab-listening::after{content:"";position:absolute;inset:-7px;border:2px solid rgba(18,202,232,.5);border-radius:31px;animation:jubFabPulse 1.5s ease-out infinite}.jubinha-fab-listening::after{animation-delay:.7s}@keyframes jubFabPulse{from{opacity:.7;transform:scale(.93)}to{opacity:0;transform:scale(1.17)}}
html.jubinha-admin-visible .cs-diag-host{right:126px!important}
@media(max-width:900px){.jubinha-root{right:13px;bottom:18px}.jubinha-panel{position:fixed;left:10px;right:10px;bottom:78px;width:auto;height:min(78dvh,700px);min-height:460px;border-radius:22px;transform-origin:bottom center}.jubinha-fab{width:72px;height:72px;border-radius:24px}.jubinha-fab img{width:66px;height:66px;transform:translateY(3px)}.jubinha-welcome img{width:165px;height:165px}.jubinha-welcome h3{font-size:22px}html.jubinha-admin-visible .cs-diag-host{right:92px!important}}
@media(max-width:560px){.jubinha-root{right:9px;bottom:14px}.jubinha-panel{left:5px;right:5px;bottom:70px;height:calc(100dvh - 78px);min-height:0;border-radius:19px}.jubinha-head{grid-template-columns:36px 40px minmax(0,1fr) 36px;gap:7px;min-height:67px;padding:8px}.jubinha-head-btn{width:36px;height:36px}.jubinha-head-avatar{width:40px;height:40px}.jubinha-head-avatar img{width:44px;height:44px}.jubinha-context{padding-inline:11px}.jubinha-messages{padding-inline:10px}.jubinha-message>div{max-width:86%}.jubinha-message p{font-size:14px}.jubinha-welcome{padding-inline:18px}.jubinha-welcome img{width:150px;height:150px}.jubinha-welcome h3{font-size:21px}.jubinha-composer-wrap{padding-inline:8px}.jubinha-composer{grid-template-columns:minmax(0,1fr) 50px}.jubinha-hybrid{width:50px;height:50px}.jubinha-menu{left:6px;top:60px;width:min(250px,calc(100vw - 22px))}html.jubinha-admin-visible .cs-diag-host{right:84px!important}}
@media(prefers-reduced-motion:reduce){.jubinha-panel,.jubinha-menu,.jubinha-hybrid,.jubinha-fab,.jubinha-fab-listening::before,.jubinha-fab-listening::after,.jubinha-wave i,.jubinha-recording-top i{animation:none!important;transition:none!important}}

/* v25.9.0 — Memória estruturada da Jubinha */
.jubinha-memory-note{margin:12px 0;padding:11px 12px;border:1px solid #dce9f1;border-radius:13px;background:linear-gradient(145deg,#f8fcff,#f3f9fd)}
.jubinha-memory-note strong{display:block;color:#24526f;font-size:11px;font-weight:950}.jubinha-memory-note p{margin:4px 0 0;color:#70899a;font-size:9.5px;line-height:1.45;font-weight:750}
.jubinha-memory-content{display:grid;gap:10px}.jubinha-memory-setup{display:grid;gap:8px;padding:15px;border:1px dashed #a9cfe5;border-radius:14px;background:#f7fbfe;text-align:center}.jubinha-memory-setup strong{color:#24526f;font-size:12px}.jubinha-memory-setup p{margin:0;color:#7890a0;font-size:9.5px;line-height:1.45}.jubinha-memory-setup button{justify-self:center;padding:8px 12px;border:0;border-radius:10px;background:#087fd0;color:#fff;font-size:9.5px;font-weight:950;cursor:pointer}
.jubinha-memory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.jubinha-memory-stats span{display:grid;gap:1px;padding:8px;border:1px solid #e0eaf0;border-radius:11px;background:#fff;color:#8296a5;font-size:8px;font-weight:850;text-align:center}.jubinha-memory-stats b{color:#2d5975;font-size:15px;font-weight:950}
.jubinha-memory-policy{padding:9px 10px;border-radius:11px;background:#eef8ff;color:#55758a;font-size:8.8px;line-height:1.4}.jubinha-memory-policy b{color:#21658f}.jubinha-memory-list{display:grid;gap:7px;padding-bottom:8px}
.jubinha-memory-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0e9ef;border-radius:12px;background:#fff}.jubinha-memory-item.pending{border-color:#f0d69b;background:#fffdf7}.jubinha-memory-item.disabled{opacity:.65}.jubinha-memory-item-main{display:grid;gap:3px;min-width:0}.jubinha-memory-item-main strong{color:#315873;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere}.jubinha-memory-item-main small{color:#8a9ba8;font-size:8px;line-height:1.35}.jubinha-memory-status{justify-self:start;padding:2px 6px;border-radius:999px;background:#eaf5fb;color:#2d6d96;font-size:7.5px;font-weight:950}.jubinha-memory-item.pending .jubinha-memory-status{background:#fff2d7;color:#9b6b12}.jubinha-memory-item.disabled .jubinha-memory-status{background:#eef1f3;color:#7a8994}
.jubinha-memory-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.jubinha-memory-actions button{padding:6px 8px;border:1px solid #d7e5ed;border-radius:8px;background:#fff;color:#607d90;font-size:8px;font-weight:950;cursor:pointer}.jubinha-memory-actions button.primary{border-color:#0a82d1;background:#0a82d1;color:#fff}
@media(max-width:560px){.jubinha-memory-item{grid-template-columns:1fr}.jubinha-memory-actions{justify-content:flex-start}.jubinha-memory-stats{gap:5px}.jubinha-memory-stats b{font-size:13px}}


/* v25.9.1 — restaura somente os estilos visuais removidos nas atualizações recentes */
.jubinha-quick-actions{width:min(100%,320px);display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
.jubinha-quick-action{min-width:0;min-height:54px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:8px 10px;border:1px solid #dbe9f2;border-radius:13px;background:linear-gradient(145deg,#fff,#f6fbfe);color:#28536f;text-align:left;box-shadow:0 5px 14px rgba(21,78,119,.06);cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
.jubinha-quick-action.pix{grid-column:1/-1}.jubinha-quick-action:hover,.jubinha-quick-action:focus-visible{transform:translateY(-1px);border-color:#8dcce9;background:#f4fbff;box-shadow:0 8px 18px rgba(14,105,164,.12);outline:none}.jubinha-quick-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf6fd;color:#087bc3}.jubinha-quick-action.report .jubinha-quick-icon{background:#eef2ff;color:#5355c9}.jubinha-quick-action.pix .jubinha-quick-icon{background:#eafbf8;color:#078b82}.jubinha-quick-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.jubinha-quick-action>span:last-child{display:grid;gap:1px;min-width:0}.jubinha-quick-action strong{font-size:10.5px;line-height:1.15;font-weight:950;color:#234e6b}.jubinha-quick-action small{font-size:8px;line-height:1.2;font-weight:800;color:#8297a6}
.jubinha-ultra-stage{position:fixed;left:50%;bottom:14px;z-index:2147482500;display:grid;justify-items:center;gap:0;width:min(760px,calc(100vw - 24px));transform:translateX(-50%);pointer-events:none;--jub-ultra-scale:1;--jub-ultra-level:0;--jub-ultra-glow:.34}.jubinha-ultra-stage[hidden]{display:none!important}.jubinha-ultra-mascot-shell{position:relative;display:grid;place-items:end center;width:min(320px,58vw);margin:0 auto -42px;transform:scale(var(--jub-ultra-scale));transform-origin:50% 100%;filter:drop-shadow(0 16px 28px rgba(8,84,160,.22));pointer-events:none}.jubinha-ultra-halo{position:absolute;left:50%;bottom:34px;width:72%;height:28px;border-radius:50%;background:radial-gradient(circle at center,rgba(17,212,231,.32),rgba(17,212,231,0));transform:translateX(-50%) scale(1.05);filter:blur(7px);opacity:calc(.6 + var(--jub-ultra-level) * .35)}.jubinha-ultra-mascot{display:block;width:100%;max-width:320px;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}.jubinha-ultra-card{width:100%;display:grid;gap:12px;padding:22px 24px 16px;border:1px solid rgba(15,130,212,.18);border-radius:34px;background:linear-gradient(180deg,rgba(5,72,142,.98) 0%,rgba(7,43,105,.98) 100%);box-shadow:0 28px 62px rgba(4,45,90,.34),0 0 0 1px rgba(100,210,255,.06),0 0 38px rgba(24,195,235,var(--jub-ultra-glow));pointer-events:auto;overflow:hidden}.jubinha-ultra-main{display:grid;grid-template-columns:58px minmax(0,1fr) 150px;align-items:center;gap:16px}.jubinha-ultra-audio{display:flex;align-items:center;justify-content:center;gap:4px;width:54px;height:54px;padding:0;border-radius:18px;background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);overflow:hidden}.jubinha-ultra-audio i{display:block;width:4px;height:24px;border-radius:999px;background:linear-gradient(180deg,#b8faff,#24d7f4 65%,#0da9ea);transform-origin:50% 50%;box-shadow:0 0 8px rgba(53,225,244,.28)}.jubinha-ultra-copy{display:grid;gap:4px;min-width:0}.jubinha-ultra-copy strong{font-size:21px;line-height:1.05;font-weight:950;color:#fff;letter-spacing:-.02em}.jubinha-ultra-copy span{font-size:13px;line-height:1.35;color:rgba(232,246,255,.9);font-weight:800}.jubinha-ultra-controls{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;width:150px}.jubinha-ultra-control{position:relative;width:68px;height:68px;min-width:68px;padding:0;border:0;background:transparent;color:#f6fbff;cursor:pointer;transition:transform .15s ease,opacity .15s ease;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.jubinha-ultra-control:hover,.jubinha-ultra-control:focus-visible{transform:translateY(-1px);opacity:1;outline:none}.jubinha-ultra-control svg{position:absolute;top:14px;left:50%;z-index:2;width:20px;height:20px;transform:translateX(-50%);fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.jubinha-ultra-control>small{position:absolute;left:50%;bottom:0;transform:translateX(-50%);margin:0;font-size:9.5px;line-height:1;font-weight:900;color:rgba(237,246,255,.96);white-space:nowrap}.jubinha-ultra-control::before{content:"";position:absolute;top:0;left:50%;display:block;width:48px;height:48px;transform:translateX(-50%);border-radius:50%;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 8px 16px rgba(0,0,0,.14)}.jubinha-ultra-control.end::before{background:radial-gradient(circle at 35% 30%,#ff8e8e,#ff4c67 72%,#da2f4f 100%)}.jubinha-ultra-control.retry::before{background:radial-gradient(circle at 35% 30%,#8ceeff,#11b9ef 72%,#0a88d4 100%)}.jubinha-ultra-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 4px;color:#e8f7ff;font-size:12px;font-weight:850}.jubinha-ultra-footer span{display:flex;align-items:center;gap:8px;min-width:0}.jubinha-ultra-footer span:first-child i{width:11px;height:11px;border-radius:50%;background:#27e577;box-shadow:0 0 0 4px rgba(39,229,119,.15)}.jubinha-ultra-footer b{font-size:13px;color:#fff;white-space:nowrap}.jubinha-ultra-footer [data-jubinha-ultra-connection]{color:rgba(227,242,252,.88);text-align:right}.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-card{box-shadow:0 28px 62px rgba(4,45,90,.34),0 0 42px rgba(27,182,255,.28)}.jubinha-ultra-stage[data-state="listening"] .jubinha-ultra-card{box-shadow:0 28px 62px rgba(4,45,90,.34),0 0 46px rgba(20,214,214,.38)}.jubinha-ultra-stage[data-state="speaking"] .jubinha-ultra-card{box-shadow:0 28px 62px rgba(4,45,90,.34),0 0 46px rgba(53,150,255,.32)}.jubinha-ultra-stage[data-state="error"] .jubinha-ultra-card{background:linear-gradient(180deg,rgba(93,25,47,.98) 0%,rgba(68,20,39,.98) 100%);box-shadow:0 28px 62px rgba(60,18,34,.36),0 0 42px rgba(255,97,127,.22)}.jubinha-fab-live-badge{position:absolute;right:-4px;bottom:-5px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:linear-gradient(145deg,#08a0bf,#10c5d8);color:#fff;font-size:11px;font-weight:950;box-shadow:0 6px 14px rgba(8,151,190,.28)}.jubinha-fab-live-badge[hidden]{display:none!important}
/* memória: mesmos cartões, botões e proporções da interface principal */
.jubinha-memory-note{border-color:#dce8ef;background:#f8fbfd}.jubinha-memory-setup{border:1px solid #dce8ef;border-radius:13px;background:#fff;text-align:left}.jubinha-memory-setup button{justify-self:start;min-height:36px;padding:7px 11px;border-radius:10px;background:linear-gradient(145deg,#0876df,#08a7d1);box-shadow:0 6px 14px rgba(7,113,193,.16)}.jubinha-memory-stats span{padding:9px;border-radius:12px;background:#f8fbfd}.jubinha-memory-item{border-radius:13px;box-shadow:0 3px 10px rgba(21,78,119,.035)}.jubinha-memory-actions button{min-height:31px;padding:6px 9px;border-radius:9px}.jubinha-memory-actions button.primary{background:linear-gradient(145deg,#0876df,#08a7d1);border-color:#087fd0}
@media(max-width:900px){.jubinha-ultra-stage{width:min(720px,calc(100vw - 20px));bottom:12px}.jubinha-ultra-mascot-shell{width:min(290px,62vw);margin-bottom:-38px}.jubinha-ultra-card{padding:20px 20px 14px;border-radius:30px}.jubinha-ultra-main{grid-template-columns:54px minmax(0,1fr) 138px;gap:12px}.jubinha-ultra-copy strong{font-size:19px}.jubinha-ultra-copy span{font-size:12px}.jubinha-ultra-controls{width:138px;gap:6px}.jubinha-ultra-control{width:64px;height:66px;min-width:64px}.jubinha-ultra-control::before{width:46px;height:46px}.jubinha-ultra-control svg{top:13px}}
@media(max-width:560px){.jubinha-quick-actions{width:min(100%,300px);gap:7px}.jubinha-quick-action{min-height:50px;padding:7px 8px;grid-template-columns:31px minmax(0,1fr)}.jubinha-quick-icon{width:31px;height:31px}.jubinha-quick-action strong{font-size:10px}.jubinha-quick-action small{font-size:7.5px}.jubinha-memory-item{grid-template-columns:1fr}.jubinha-memory-actions{justify-content:flex-start}.jubinha-memory-stats{gap:5px}.jubinha-memory-stats b{font-size:13px}}
@media(max-width:640px){.jubinha-ultra-stage{width:calc(100vw - 14px);bottom:max(8px,env(safe-area-inset-bottom))}.jubinha-ultra-mascot-shell{width:min(230px,52vw);margin-bottom:-26px}.jubinha-ultra-card{gap:10px;padding:14px 14px 12px;border-radius:24px}.jubinha-ultra-main{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px}.jubinha-ultra-audio{order:2;width:54px;height:54px}.jubinha-ultra-copy{order:1}.jubinha-ultra-copy strong{font-size:16px}.jubinha-ultra-copy span{font-size:11px}.jubinha-ultra-controls{order:3;justify-content:center;gap:10px;width:100%}.jubinha-ultra-control{width:64px;height:66px;min-width:64px}.jubinha-ultra-control::before{width:46px;height:46px}.jubinha-ultra-control svg{top:13px}.jubinha-ultra-control>small{font-size:9px}.jubinha-ultra-footer{flex-direction:column;gap:5px;font-size:10px;text-align:center}.jubinha-ultra-footer span{justify-content:center}.jubinha-ultra-footer b{font-size:12px}}

/* v25.9.5 — controles Ultra consolidados; sem sobreposição de regras antigas */
.jubinha-ultra-control[hidden]{display:none!important}
.jubinha-ultra-control:hover,.jubinha-ultra-control:focus-visible{transform:translateY(-1px);opacity:1;outline:none}

/* v25.9.8 — transição suave painel -> Ultra e ativação responsiva */
.jubinha-panel{will-change:transform,opacity,border-radius;transition:transform .34s cubic-bezier(.22,.9,.28,1),opacity .24s ease,border-radius .34s ease,filter .3s ease}
.jubinha-panel.jubinha-panel-morphing{pointer-events:none;transform:translate(var(--jub-morph-x,0),var(--jub-morph-y,0)) scale(.74);opacity:0;border-radius:34px;filter:blur(2px)}
.jubinha-ultra-stage.jubinha-ultra-stage-launching{pointer-events:none}
.jubinha-ultra-stage.jubinha-ultra-stage-launching .jubinha-ultra-card{animation:jubUltraCardArrive .42s cubic-bezier(.18,.9,.25,1) both}
.jubinha-ultra-stage.jubinha-ultra-stage-launching .jubinha-ultra-mascot-shell{animation:jubUltraMascotArrive .46s cubic-bezier(.18,.9,.25,1) both}
.jubinha-ultra-stage.jubinha-ultra-stage-ready .jubinha-ultra-card{animation:jubUltraReadyPulse .34s ease-out both}
.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i{animation:jubUltraConnectingWave .72s ease-in-out infinite alternate}
.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i:nth-child(2){animation-delay:.08s}.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i:nth-child(3){animation-delay:.16s}.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i:nth-child(4){animation-delay:.24s}.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i:nth-child(5){animation-delay:.32s}
@keyframes jubUltraCardArrive{from{opacity:0;transform:translateY(28px) scale(.86)}60%{opacity:1}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes jubUltraMascotArrive{from{opacity:0;transform:translateY(30px) scale(.76)}to{opacity:1;transform:translateY(0) scale(var(--jub-ultra-scale))}}
@keyframes jubUltraReadyPulse{0%{transform:scale(.985)}100%{transform:scale(1)}}
@keyframes jubUltraConnectingWave{from{transform:scaleY(.32);opacity:.5}to{transform:scaleY(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.jubinha-panel.jubinha-panel-morphing,.jubinha-ultra-stage.jubinha-ultra-stage-launching .jubinha-ultra-card,.jubinha-ultra-stage.jubinha-ultra-stage-launching .jubinha-ultra-mascot-shell,.jubinha-ultra-stage.jubinha-ultra-stage-ready .jubinha-ultra-card,.jubinha-ultra-stage[data-state="connecting"] .jubinha-ultra-audio i{animation:none!important;transition:none!important}}

/* v25.10.0 — Médio: conversa por áudio contínua */
.jubinha-composer.with-plus{grid-template-columns:40px minmax(0,1fr) 48px}
.jubinha-compose-plus{display:grid;place-items:center;width:40px;height:40px;margin-bottom:4px;padding:0;border:1px solid #d8e6ef;border-radius:13px;background:#f7fbfe;color:#4f7690;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}
.jubinha-compose-plus[hidden]{display:none!important}.jubinha-compose-plus:hover,.jubinha-compose-plus:focus-visible{transform:translateY(-1px);border-color:#91cbe8;background:#eef9ff;color:#087fca;outline:none}.jubinha-compose-plus.active{border-color:#13a9d2;background:linear-gradient(145deg,#e8fbff,#f4fdff);color:#078ab7;box-shadow:0 0 0 3px rgba(15,177,214,.09)}.jubinha-compose-plus svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.jubinha-medium-conversation{--jub-medium-level:0;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 9px;padding:9px 10px;border:1px solid #cfe8f2;border-radius:15px;background:linear-gradient(145deg,#f7fcff,#eef9fd);box-shadow:0 6px 16px rgba(17,91,131,.06)}
.jubinha-medium-conversation[hidden]{display:none!important}.jubinha-medium-conversation-indicator{display:flex;align-items:center;justify-content:center;gap:3px;width:48px;height:38px;border-radius:12px;background:#e3f7fc;color:#0e9bc1}.jubinha-medium-conversation-indicator i{display:block;width:3px;height:9px;border-radius:999px;background:currentColor;transform:scaleY(calc(.45 + var(--jub-medium-level) * .8));transition:transform .08s linear}.jubinha-medium-conversation-indicator i:nth-child(2){height:19px}.jubinha-medium-conversation-indicator i:nth-child(3){height:14px}.jubinha-medium-conversation-indicator i:nth-child(4){height:22px}.jubinha-medium-conversation[data-state="speaking"] .jubinha-medium-conversation-indicator{background:#dff8f5;color:#078f82}.jubinha-medium-conversation[data-state="processing"] .jubinha-medium-conversation-indicator{background:#fff3d7;color:#bc861d}.jubinha-medium-conversation[data-state="processing"] .jubinha-medium-conversation-indicator i{animation:jubMediumWait .75s ease-in-out infinite alternate}.jubinha-medium-conversation[data-state="processing"] .jubinha-medium-conversation-indicator i:nth-child(2){animation-delay:.12s}.jubinha-medium-conversation[data-state="processing"] .jubinha-medium-conversation-indicator i:nth-child(3){animation-delay:.24s}@keyframes jubMediumWait{to{transform:scaleY(.35);opacity:.45}}
.jubinha-medium-conversation-copy{display:grid;gap:2px;min-width:0}.jubinha-medium-conversation-copy strong{color:#25516c;font-size:11px;font-weight:950}.jubinha-medium-conversation-copy small{color:#708b9c;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jubinha-medium-conversation>button{min-height:34px;padding:7px 10px;border:1px solid #d5e3eb;border-radius:10px;background:#fff;color:#527289;font-size:9px;font-weight:950;cursor:pointer}.jubinha-medium-conversation>button:hover,.jubinha-medium-conversation>button:focus-visible{border-color:#efaaaa;background:#fff7f7;color:#af4e55;outline:none}
@media(max-width:560px){.jubinha-composer.with-plus{grid-template-columns:38px minmax(0,1fr) 50px;gap:7px}.jubinha-compose-plus{width:38px;height:38px;border-radius:12px;margin-bottom:6px}.jubinha-medium-conversation{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:8px}.jubinha-medium-conversation-indicator{width:42px;height:36px}.jubinha-medium-conversation>button{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.jubinha-compose-plus,.jubinha-medium-conversation-indicator i{animation:none!important;transition:none!important}}


/* v25.10.1 — acesso visível à Conversa por áudio no Médio */
.jubinha-composer.with-plus{grid-template-columns:128px minmax(0,1fr) 48px;align-items:end}
.jubinha-compose-plus{width:128px;height:40px;display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:4px;padding:0 10px;border:1px solid #cfe2ee;border-radius:13px;background:linear-gradient(145deg,#f7fbfe,#eef8fd);color:#356b8b;box-shadow:0 4px 12px rgba(20,83,122,.06)}
.jubinha-compose-plus-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:8px;background:#e1f3fb;color:#087fca}
.jubinha-compose-plus-icon svg{width:14px;height:14px}
.jubinha-compose-plus-label{display:block;min-width:0;white-space:nowrap;font-size:9.5px;line-height:1;font-weight:950}
.jubinha-compose-plus:hover,.jubinha-compose-plus:focus-visible{border-color:#82c8e8;background:#f0faff;color:#0b79ba;box-shadow:0 6px 15px rgba(10,111,169,.11);outline:none}
.jubinha-compose-plus.active{border-color:#13a9d2;background:linear-gradient(145deg,#e7fbff,#effcff);color:#067caa;box-shadow:0 0 0 3px rgba(15,177,214,.09)}
.jubinha-compose-plus.active .jubinha-compose-plus-icon{background:#0aa8d0;color:#fff}
@media(max-width:560px){.jubinha-composer.with-plus{grid-template-columns:40px minmax(0,1fr) 50px;gap:7px}.jubinha-compose-plus{width:40px;height:40px;padding:0;border-radius:12px}.jubinha-compose-plus-label{display:none}.jubinha-compose-plus-icon{width:24px;height:24px;background:transparent}.jubinha-compose-plus-icon svg{width:18px;height:18px}}
