.assistant-workspace{max-width:850px;margin:0 auto;color:#283c36}.assistant-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.assistant-heading h1{font-size:clamp(1.8rem,4vw,2.6rem);margin:8px 0}.assistant-heading img{flex:0 0 60px;border-radius:50%;box-shadow:0 8px 30px #6941a622}.assistant-heading p{line-height:1.5}.assistant-tools,.assistant-answer-actions,.assistant-compose-actions,.assistant-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.assistant-history{margin:20px 0;border-bottom:1px solid #d9e3dd;padding-bottom:16px}.assistant-history summary,.assistant-limits summary{cursor:pointer;font-weight:650;padding:10px 0}.assistant-history>div{display:grid;max-height:260px;overflow:auto}.assistant-history button{text-align:left;display:flex;gap:16px;justify-content:space-between;overflow-wrap:anywhere}.assistant-history small{flex-shrink:0}.assistant-history [aria-current]{background:#eee8fa;border-radius:12px}.assistant-welcome{background:linear-gradient(125deg,#f1e9ff,#eef8f0);border-radius:24px;padding:24px;margin:24px 0}.assistant-welcome>img{float:right;object-fit:cover;border-radius:18px;width:140px;height:115px;margin:0 0 12px 18px}.assistant-welcome p{line-height:1.65}.assistant-examples{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px}.assistant-examples button{background:#fff;border:1px solid #d7cbe7;border-radius:14px;color:#4d3271;text-align:left;padding:14px;line-height:1.4}.assistant-context,.assistant-notice{background:#f0edf7;border-radius:14px;padding:14px;line-height:1.5}.assistant-transcript{overflow-wrap:anywhere}.assistant-turn{margin:28px 0 36px}.assistant-question{background:#e9e0f8;margin-left:12%;padding:16px 20px;border-radius:20px 20px 4px 20px;color:#412965}.assistant-question p{white-space:pre-wrap;margin:6px 0;line-height:1.6}.assistant-answer{padding:24px 4px 0}.assistant-answer>strong{color:#684294}.assistant-answer p{line-height:1.75;margin:12px 0;white-space:pre-wrap}.assistant-answer h3{margin:22px 0 8px;font-size:1.15rem}.assistant-answer code{font-family:ui-monospace,monospace;background:#edeaf2;border-radius:4px;padding:2px 4px}.assistant-answer pre{background:#242636;color:#f5f3ff;border-radius:16px;padding:18px;overflow-x:auto;max-width:100%;white-space:pre;line-height:1.6}.assistant-answer pre code{background:transparent;color:inherit;padding:0}.assistant-table{overflow-x:auto;max-width:100%}.assistant-table table{border-collapse:collapse;min-width:100%}.assistant-table td{border:1px solid #d9e3dd;padding:12px;min-width:100px;vertical-align:top}.assistant-table tr:first-child{background:#eeebf7;font-weight:600}.assistant-answer-actions{border-top:1px solid #e1e6e0;margin-top:18px;padding-top:8px}.assistant-composer{background:#fff;border:1px solid #d9c9ed;box-shadow:0 6px 24px #67409c12;border-radius:22px;padding:18px;margin:28px 0 20px}.assistant-composer textarea{width:100%;min-height:100px;resize:vertical;font-size:16px;box-sizing:border-box}.assistant-compose-actions{justify-content:space-between;margin-top:10px}.assistant-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.assistant-files>span{display:flex;gap:8px;align-items:center;background:#f1eef7;border-radius:12px;padding:4px 10px;max-width:100%;overflow-wrap:anywhere}.assistant-files img{width:40px;height:40px;object-fit:cover;border-radius:8px}.assistant-limits{font-size:.9rem;line-height:1.65;color:#50645b}.assistant-composer .hint{font-size:.8rem;line-height:1.5;margin-bottom:0}.assistant-footer{justify-content:space-between;margin:18px 0}.assistant-tools button,.assistant-answer-actions button,.assistant-footer button{min-height:44px}.assistant-workspace button:focus-visible{outline:3px solid #8460b5;outline-offset:3px}@media(max-width:540px){.assistant-examples{grid-template-columns:1fr}.assistant-welcome{padding:18px}.assistant-welcome>img{width:100px;height:100px}.assistant-heading img{width:44px;height:44px;flex-basis:44px}.assistant-tools{gap:4px}.assistant-question{margin-left:5%}.assistant-composer{padding:14px}.assistant-answer-actions{gap:4px 14px}.assistant-history button{display:block}.assistant-history small{display:block}.assistant-heading .kicker{font-size:.65rem}}
/* A single, stable voice row shared with Inicio and Buscar. */
.assistant-compose-actions .assistant-talk{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:#f1e8ff;color:#603d93;border:0}
.assistant-talk svg{flex:none}.assistant-talk:disabled{opacity:.6}.assistant-talk[hidden]{display:none!important}
.compact-voice{margin:8px 0 0;padding:0!important;background:none!important;border:0;border-radius:0!important;min-width:0;display:block}
.compact-voice[hidden],.compact-voice [hidden]{display:none!important}
.compact-voice-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.compact-voice-row{display:flex;align-items:center;gap:9px;min-height:56px;min-width:0;position:relative}
.compact-voice-wave{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0;flex:1 1 auto;height:44px;overflow:hidden;padding:5px 0}
.compact-voice-wave i{display:block;flex:0 0 3px;width:3px;height:9px;border-radius:4px;background:#9672ba;transform-origin:center}
.compact-voice-wave i:nth-child(3n+1){height:18px}.compact-voice-wave i:nth-child(3n+2){height:28px}.compact-voice-wave i:nth-child(5n){height:34px}
.compact-voice[data-phase=listening] .compact-voice-wave i,.compact-voice[data-phase=speaking] .compact-voice-wave i{animation:compact-voice-wave .85s ease-in-out infinite alternate}
.compact-voice-wave i:nth-child(2n){animation-delay:-.3s!important}.compact-voice-wave i:nth-child(3n){animation-delay:-.65s!important}.compact-voice-wave i:nth-child(5n){animation-delay:-.15s!important}
.compact-voice[data-phase=waiting] .compact-voice-wave i,.compact-voice[data-phase=preparing] .compact-voice-wave i,.compact-voice[data-phase=finishing] .compact-voice-wave i{height:5px;animation:compact-voice-wait 1.2s ease-in-out infinite alternate}
.compact-voice[data-phase=paused] .compact-voice-wave i,.compact-voice[data-phase=idle] .compact-voice-wave i{height:4px;opacity:.35}
.compact-voice-row button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;cursor:pointer}
.compact-voice-primary{background:#7243a4;color:white;box-shadow:0 3px 10px #7243a419}
.compact-voice-close{background:transparent;color:#887791}
.compact-voice-row button:disabled{opacity:.45;cursor:wait}.compact-voice-row button:focus-visible{outline:3px solid #ad87cc;outline-offset:3px}
.compact-voice-kind{position:absolute;left:0;bottom:-2px;width:calc(100% - 100px);text-align:center;font-size:9px;color:#8a7895;pointer-events:none}
.compact-voice-notice{margin:7px 0 3px;font-size:12px;line-height:1.5;color:#79566c;overflow-wrap:anywhere}
#assistant-form[data-voice-active=true] .assistant-compose-actions,#assistant-form[data-voice-active=true]>textarea{display:none}
#assistant-form[data-voice-active=true] .compact-voice{margin:0}
.assistant-web-answer{margin-top:15px;min-width:0}.assistant-web-answer .grounded-text{font-size:15px}.assistant-web-answer .grounded-suggestions{max-width:100%}
@keyframes compact-voice-wave{from{transform:scaleY(.3);opacity:.6}to{transform:scaleY(1);opacity:1}}
@keyframes compact-voice-wait{from{opacity:.25}to{opacity:.8}}
@media(prefers-reduced-motion:reduce){.compact-voice-wave i{animation:none!important}}
