/* Reference: localhost:8080. Conversation-only presentation; native handlers remain intact. */
@layer auraChatReference {
body.admin-bar .chat-shell:has(.au-reference-chat){top:var(--wp-admin--admin-bar--height,32px)!important;height:calc(100dvh - var(--wp-admin--admin-bar--height,32px))!important}
body.admin-bar .chat-shell .chat-panel.au-chat.au-reference-chat{height:min(850px,calc(100dvh - var(--wp-admin--admin-bar--height,32px) - 32px))!important;max-height:calc(100dvh - var(--wp-admin--admin-bar--height,32px) - 32px)!important}
body:has(.chat-shell:not([hidden]) .au-reference-chat) :is(.floating-aura,.ieta-aura-conversations-launcher,.ieta-aura-public-launcher,.aura-g-entry[data-floating="true"],.ieta-aura-fab,[data-aura-backend-launcher]){visibility:hidden!important;pointer-events:none!important}
@media(max-width:782px){body.admin-bar{--wp-admin--admin-bar--height:46px}}
body .aura-chat-card.au-legacy-workspace-chat{display:flex!important;flex-direction:column!important;width:min(440px,100%)!important;height:min(850px,calc(100dvh - 120px))!important;min-height:500px!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(var(--au-rgb),.2)!important;border-radius:20px!important;background:var(--au-card)!important;box-shadow:0 20px 50px #0008!important;color:#fff!important}
body .au-legacy-workspace-chat .aura-chat-stream{flex:1!important;min-height:60px!important;overflow:auto!important;padding:var(--au-space)!important;background:transparent!important}
body .au-legacy-workspace-chat .aura-chat-message{padding:15px!important;margin:0 0 16px!important;border:1px solid var(--au-line)!important;border-radius:12px!important;background:#ffffff08!important;color:#fff!important;font-size:14px!important;line-height:1.5!important}
body .au-legacy-workspace-chat .aura-chat-suggestions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0 20px 12px!important}
body .au-legacy-workspace-chat .aura-chat-suggestions button{border:1px solid var(--au-line)!important;border-radius:20px!important;background:transparent!important;color:var(--au-muted)!important;padding:6px 12px!important;font-size:11px!important}
body .au-legacy-workspace-chat .aura-chat-compose{display:flex!important;gap:8px!important;margin:0 20px 20px!important;padding:6px!important;border:1px solid rgba(var(--au-rgb),.2)!important;border-radius:24px!important;background:#0000004d!important}
body .au-legacy-workspace-chat .aura-chat-compose textarea{flex:1!important;min-width:0!important;min-height:36px!important;max-height:100px!important;padding:8px 10px!important;border:0!important;background:transparent!important;color:#fff!important;font-size:16px!important}
body .au-legacy-workspace-chat .aura-chat-compose button{width:36px!important;height:36px!important;min-height:36px!important;align-self:center!important;border-radius:50%!important;background:var(--au-accent)!important;color:#000!important}
body .au-legacy-workspace-chat>.au-appearance{display:none!important;overflow:auto!important}
body .au-legacy-workspace-chat.au-settings-open>.au-appearance{display:block!important;order:2!important;flex:1!important;min-height:0!important}
body .au-legacy-workspace-chat.au-settings-open :is(.aura-chat-stream,.aura-chat-suggestions,.aura-chat-compose){display:none!important}
}
@layer auraChatReference {
body .au-reference-chat{--au-accent:#00e5ff;--au-rgb:0,229,255;--au-card:rgba(13,18,28,.95);--au-muted:#8b9bb4;--au-line:#ffffff0f;--au-space:20px;font-family:AuraInter,Inter,sans-serif!important}
body .au-reference-chat[data-accent="purple"]{--au-accent:#bb86fc;--au-rgb:187,134,252}
body .au-reference-chat[data-accent="gold"]{--au-accent:#ffd700;--au-rgb:255,215,0}
body .au-reference-chat[data-accent="green"]{--au-accent:#00fa9a;--au-rgb:0,250,154}
body .au-reference-chat[data-design="solid"]{--au-card:#090c14}
body .au-reference-chat[data-density="compact"]{--au-space:12px}
body .chat-shell .chat-panel.au-chat.au-reference-chat,body .ieta-aura-v2-panel.au-workspace-chat.au-reference-chat{width:min(440px,calc(100vw - 32px))!important;height:min(850px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;border:1px solid rgba(var(--au-rgb),.2)!important;border-radius:20px!important;background:var(--au-card)!important;box-shadow:0 20px 50px #0008,0 0 30px rgba(var(--au-rgb),.05)!important;backdrop-filter:blur(15px)!important}
body .ieta-aura-v2-panel.au-workspace-chat.au-reference-chat{top:auto!important;bottom:16px!important}
body .chat-shell .au-reference-chat[data-design="solid"],body .ieta-aura-v2-panel.au-reference-chat[data-design="solid"]{backdrop-filter:none!important}
body .au-reference-chat:before,body .au-reference-chat:after{display:none!important}
body .au-reference-chat>header,body .au-reference-chat>.ieta-aura-v2-header{height:76px!important;min-height:76px!important;padding:20px!important;background:transparent!important;border-bottom:1px solid var(--au-line)!important}
body .au-reference-chat>header strong,body .au-reference-chat .ieta-aura-v2-brand strong{font-size:14px!important;font-weight:700!important;letter-spacing:.3px!important}
body .au-reference-chat>header small,body .au-reference-chat .ieta-aura-v2-context{font-size:9px!important;line-height:1.5!important;color:var(--au-muted)!important;letter-spacing:.5px!important;white-space:normal!important}
body .au-reference-chat>header img,body .au-reference-chat .au-workspace-logo{width:24px!important;height:24px!important}
body .au-reference-chat .au-history-toggle,body .au-reference-chat .ieta-aura-v2-close,body .au-reference-chat>header button{min-height:30px!important;height:30px!important;border:1px solid var(--au-line)!important;background:transparent!important;color:var(--au-muted)!important;border-radius:8px!important;font-size:11px!important}
body .au-reference-chat .au-history-toggle{padding:0 9px!important}
body .au-reference-chat .au-history-toggle img{width:14px!important;height:14px!important}
body .au-reference-chat .ieta-aura-v2-close{width:30px!important;font-size:22px!important}
body .au-reference-chat>.au-companion{background:transparent!important;border:0!important}
body .au-reference-chat .au-intro{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:30px var(--au-space)!important;gap:0!important}
body .au-reference-chat .au-portrait{width:80px!important;height:80px!important;flex-basis:80px!important;margin:0 auto 20px!important;border:3px solid rgba(var(--au-rgb),.3)!important;border-radius:50%!important;overflow:hidden!important;animation:none!important;box-shadow:none!important}
body .au-reference-chat .au-holo-orbit,body .au-reference-chat .au-smile{display:none!important}
body .au-reference-chat .au-portrait img{transform:none!important;object-position:78% 15%!important}
body .au-reference-chat .au-greeting h2{font-size:24px!important;font-weight:600!important;line-height:1.25!important;margin:0 0 4px!important;color:#fff!important}
body .au-reference-chat .au-greeting p{font-size:13px!important;line-height:1.5!important;color:var(--au-muted)!important;margin:0 0 15px!important}
body .au-reference-chat .au-wave{height:30px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:4px!important;margin:0 0 15px!important;opacity:1!important;animation:none!important}
body .au-reference-chat .au-wave img{width:26px!important;height:26px!important}
body .au-reference-chat .au-wave i{background:var(--au-accent)!important;box-shadow:none!important;width:3px!important;border-radius:3px!important}
body .au-reference-chat .au-ready{font-size:11px!important;line-height:1.5!important;color:var(--au-accent)!important}
body .au-reference-chat .au-tabs{height:44px!important;margin:0!important;padding:0 20px!important;gap:0!important;border-bottom:1px solid var(--au-line)!important}
body .au-reference-chat .au-tabs button{height:44px!important;font-size:13px!important;padding:12px 20px!important}
body .au-reference-chat .au-tabs .au-tab[aria-current="page"]{border-bottom-color:#fff!important}
body .au-reference-chat .au-tabs .au-settings{padding:12px 10px!important}
body .au-reference-chat .au-settings img{width:16px!important;height:16px!important}
body .au-reference-chat :is(.chat-conversation,.chat-panel__stream,.ieta-aura-v2-body,.ieta-aura-v2-main,.ieta-aura-v2-stream){background:transparent!important}
body .au-reference-chat :is(.chat-panel__stream,.ieta-aura-v2-stream){padding:var(--au-space)!important;scrollbar-color:#ffffff26 transparent!important}
body .au-reference-chat .message{width:auto!important;max-width:100%!important;margin:0 0 20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:14px!important;line-height:1.5!important}
body .au-reference-chat .message>p,body .au-reference-chat .ieta-aura-v2-message-content{padding:15px!important;background:#ffffff08!important;border:1px solid var(--au-line)!important;border-radius:12px!important;font-size:14px!important;line-height:1.5!important;color:#fff!important}
body .au-reference-chat .message--you{margin-left:auto!important;max-width:88%!important}
body .au-reference-chat .message--you>p,body .au-reference-chat .ieta-aura-v2-message.is-user .ieta-aura-v2-message-content{background:rgba(var(--au-rgb),.08)!important}
body .au-reference-chat :is(.chat-message-actions,.ieta-aura-v2-response-actions){display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:10px!important}
body .au-reference-chat :is(.chat-message-actions,.ieta-aura-v2-response-actions) button{border:1px solid var(--au-line)!important;background:transparent!important;color:var(--au-muted)!important;border-radius:20px!important;padding:6px 12px!important;font-size:10px!important;min-height:28px!important}
body .au-reference-chat :is(.chat-composer,.ieta-aura-v2-compose){margin:0 20px!important;padding:6px!important;min-height:50px!important;border:1px solid rgba(var(--au-rgb),.2)!important;background:#0000004d!important;border-radius:24px!important;box-shadow:none!important}
body .au-reference-chat :is(.chat-composer input,.ieta-aura-v2-compose textarea){font-family:AuraInter,Inter,sans-serif!important;font-size:14px!important;color:#fff!important}
body .au-reference-chat :is(.chat-composer button,.ieta-aura-v2-mic,.ieta-aura-v2-send){background:transparent!important;box-shadow:none!important;color:var(--au-muted)!important}
body .au-reference-chat :is(.chat-composer button,.ieta-aura-v2-mic,.ieta-aura-v2-send):hover{color:var(--au-accent)!important}
body .au-reference-chat :is(.chat-panel__note,.ieta-aura-v2-disclaimer){padding:15px 20px!important;background:transparent!important;color:var(--au-muted)!important;font-size:9px!important;letter-spacing:.5px!important}
body .au-reference-chat :is(.aura-natural-listening,.ieta-aura-v2-natural){background:transparent!important;border:0!important;box-shadow:none!important;min-height:45px!important;padding:8px 0!important;color:#fff!important}
body .au-reference-chat :is(.aura-natural-listening strong,.ieta-aura-v2-natural-state){color:var(--au-muted)!important;background:#ffffff0d!important;border:0!important;border-radius:20px!important}
body .au-reference-chat :is(.aura-natural-listening.is-active strong,.ieta-aura-v2-natural.is-active .ieta-aura-v2-natural-state){background:var(--au-accent)!important;color:#000!important}
body .au-reference-chat .chat-controls{padding:0!important}
body .au-reference-chat:not(.au-settings-open) .chat-controls>:not(.au-voice-status){display:none!important}
body .au-reference-chat .au-voice-status{margin:0!important;padding:15px 20px 0!important;color:var(--au-muted)!important;font-size:11px!important}
body .au-reference-chat .au-appearance{display:none!important}
body .au-reference-chat.au-settings-open .au-appearance{display:block!important;grid-column:1/-1!important;padding:20px!important;flex:0 0 auto!important}
body .au-reference-chat.au-settings-open .chat-controls{display:block!important;overflow:auto!important;flex:1!important;min-height:0!important;padding:0 0 20px!important}
body .au-reference-chat.au-settings-open .chat-controls>:not(.au-appearance){margin:0 20px 15px!important;width:calc(100% - 40px)!important}
body .au-reference-chat.au-settings-open .chat-panel__stream{display:none!important}
body .au-reference-chat.au-settings-open .ieta-aura-v2-main{overflow:auto!important}
body .au-reference-chat.au-settings-open .ieta-aura-v2-stream{flex:0 0 auto!important}
body .au-reference-chat .au-appearance-group{border:0;margin:0 0 20px;padding:0;min-width:0}
body .au-reference-chat .au-appearance-group legend{font-size:10px;font-weight:600;color:var(--au-muted);letter-spacing:.5px;text-transform:uppercase;margin-bottom:10px}
body .au-reference-chat .au-appearance-options{display:flex;border:1px solid var(--au-line);border-radius:8px;overflow:hidden;background:#0003}
body .au-reference-chat .au-appearance-options button{flex:1;border:0!important;border-radius:0!important;background:transparent!important;color:var(--au-muted)!important;padding:10px!important;font:600 11px AuraInter,sans-serif!important;min-height:36px!important}
body .au-reference-chat .au-appearance-options button[aria-pressed="true"]{background:#ffffff1a!important;color:#fff!important}
body .au-reference-chat .au-color-options{display:flex;gap:10px}
body .au-reference-chat .au-color-options button{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:50%!important;font-size:0!important;border:2px solid transparent!important}
body .au-reference-chat .au-color-options button[aria-pressed="true"]{border-color:#fff!important}
body .au-reference-chat [data-appearance-value="cyan"]{background:#00e5ff!important}
body .au-reference-chat [data-appearance-value="purple"]{background:#bb86fc!important}
body .au-reference-chat [data-appearance-value="gold"]{background:#ffd700!important}
body .au-reference-chat [data-appearance-value="green"]{background:#00fa9a!important}
body .au-reference-chat[data-wave="ring"] .au-wave{visibility:hidden!important}
body .au-reference-chat[data-wave="ring"] .au-portrait{box-shadow:0 0 20px rgba(var(--au-rgb),.25)!important}
body .au-reference-chat[data-density="compact"] .au-intro{padding:12px!important}
body .au-reference-chat[data-density="compact"] .au-portrait{width:40px!important;height:40px!important;flex-basis:40px!important;margin-bottom:8px!important}
body .au-reference-chat[data-density="compact"] .au-greeting h2{font-size:18px!important}
body .au-reference-chat[data-density="compact"] .au-wave{height:20px!important;margin-bottom:8px!important}
body .au-reference-chat[data-density="compact"] .message>p{padding:10px!important;font-size:13px!important}
body .au-reference-chat button:focus-visible,body .au-reference-chat :is(input,textarea,select):focus-visible{outline:2px solid var(--au-accent)!important;outline-offset:2px!important}
@media(max-width:600px), (max-height:720px){body .au-reference-chat .au-intro{padding:16px 20px!important}body .au-reference-chat .au-portrait{width:56px!important;height:56px!important;flex-basis:56px!important;margin-bottom:10px!important}body .au-reference-chat .au-greeting h2{font-size:21px!important}body .au-reference-chat .au-wave{height:22px!important;margin-bottom:8px!important}}
@media(max-width:600px){body .chat-shell .chat-panel.au-chat.au-reference-chat,body .ieta-aura-v2-panel.au-workspace-chat.au-reference-chat{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;top:8px!important;right:8px!important;bottom:8px!important;border-radius:16px!important}body .au-reference-chat>header,body .au-reference-chat>.ieta-aura-v2-header{padding:12px!important;height:68px!important;min-height:68px!important}body .au-reference-chat>header strong,body .au-reference-chat .ieta-aura-v2-brand strong{font-size:12px!important}body .au-reference-chat :is(.chat-composer input,.ieta-aura-v2-compose textarea){font-size:16px!important}body .au-reference-chat :is(.chat-panel__note,.ieta-aura-v2-disclaimer){padding-bottom:max(12px,env(safe-area-inset-bottom))!important}}
@media(prefers-reduced-motion:reduce){body .au-reference-chat *{animation:none!important;transition:none!important}}
body .au-reference-chat .au-reply-body{padding:15px!important;background:#ffffff08!important;border:1px solid var(--au-line)!important;border-radius:12px!important;font-size:14px!important;line-height:1.5!important;color:#fff!important}
body .au-reference-chat .au-reply-body p{margin:0 0 8px!important}
body .au-reference-chat .au-reply-body p:last-child{margin-bottom:0!important}
body .au-reference-chat .message--you .au-reply-body{background:rgba(var(--au-rgb),.08)!important}
body .au-reference-chat[data-density="compact"] .au-reply-body{padding:10px!important;font-size:13px!important}
body .au-reference-chat .chat-mode-banner{display:none!important}
body .au-reference-chat .ieta-aura-v2-natural strong{color:var(--au-muted)!important;background:#ffffff0d!important;border:0!important;border-radius:20px!important;padding:6px 10px!important}
body .au-reference-chat .ieta-aura-v2-natural.is-active strong{background:var(--au-accent)!important;color:#000!important}
}

/* Native public conversation only: reserve the viewport for the conversation.
   Existing guide, workspace, history, identity and voice handlers are untouched. */
@layer auraChatReference {
body .chat-shell:has(.au-chat-clarity),body .chat-panel.au-chat.au-reference-chat.au-chat-clarity,body .chat-panel.au-chat.au-reference-chat.au-chat-clarity *{box-sizing:border-box!important}
@media(max-width:600px){body .chat-shell:has(.au-chat-clarity){padding:8px!important;justify-content:center!important}}
body .chat-shell .chat-panel.au-chat.au-reference-chat.au-chat-clarity{width:min(480px,calc(100vw - 32px))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;--au-muted:#b2c0d0;--au-line:#ffffff20}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header{flex:0 0 auto!important;height:64px!important;min-height:64px!important;padding:12px 16px!important;gap:12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header>div:first-child{min-width:0!important;flex:1!important;gap:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-header-actions{flex:0 0 auto!important;gap:8px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header small{font-size:10px!important;letter-spacing:0!important;line-height:1.4!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header button{height:44px!important;min-height:44px!important;min-width:44px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>.au-companion{flex:0 0 auto!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-intro{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding:12px 16px!important;gap:12px!important;min-height:68px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-portrait{width:44px!important;height:44px!important;flex:0 0 44px!important;margin:0!important;border-width:1px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-greeting{min-width:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-greeting h2{font-size:18px!important;line-height:1.3!important;margin:0 0 3px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-greeting p{font-size:12px!important;line-height:1.5!important;margin:0!important;color:var(--au-muted)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity :is(.au-wave,.au-ready){display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-tabs{border-radius:0!important;background:transparent!important;padding:0 12px!important;min-height:44px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-tabs button{min-width:44px!important;min-height:44px!important;padding:10px 14px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-tabs .au-tab[aria-current="page"]{color:#fff!important;border-bottom:2px solid var(--au-accent)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>.chat-panel__body{flex:1 1 0%!important;min-height:0!important;min-width:0!important;overflow:hidden!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-conversation{flex:1 1 0%!important;min-height:0!important;min-width:0!important;overflow:hidden!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-panel__stream{flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;padding:16px!important;scrollbar-color:rgba(var(--au-rgb),.35) transparent!important;scroll-padding-block:16px}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .message{margin-bottom:16px!important;overflow-wrap:anywhere!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-reply-body{font-size:14px!important;line-height:1.65!important;border-color:var(--au-line)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-message-actions button{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:44px!important;height:36px!important;min-height:36px!important;padding:6px 10px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;border-radius:8px!important;color:var(--au-muted)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-message-actions button svg{width:16px!important;height:16px!important;flex:0 0 16px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer{flex:0 0 auto!important;width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin:8px 16px 0!important;height:56px!important;min-height:56px!important;border-radius:16px!important;border-color:rgba(var(--au-rgb),.35)!important;background:#07121e!important;gap:6px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer input{font-size:16px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer input::placeholder{color:#afbdd0!important;opacity:1!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer button:last-child:not(:disabled){background:var(--au-accent)!important;color:#031722!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-composer button:disabled{opacity:.5!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .chat-panel__note{flex:0 0 auto!important;padding:8px 16px max(8px,env(safe-area-inset-bottom))!important;font-size:10px!important;line-height:1.4!important;letter-spacing:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-settings-open .chat-controls{flex:1 1 0%!important;min-height:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-settings-open .chat-panel__stream{display:none!important}
@media(max-width:600px){body .chat-shell .chat-panel.au-chat.au-reference-chat.au-chat-clarity{width:calc(100vw - 16px)!important;inset:auto!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header{padding:10px 12px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-history-toggle{font-size:0!important;width:44px!important;padding:0!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-history-toggle img{width:18px!important;height:18px!important}}
@media(max-height:520px){body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-composing .au-intro{display:none!important}}
}

/* Marked chat cleanup: one portrait header; view selection lives in settings. */
@layer auraChatReference {
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header{height:auto!important;min-height:82px!important;align-items:center!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header>.au-original-chat-identity{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header>.au-intro{display:flex!important;flex:1 1 0!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;gap:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-composing>header>.au-intro{display:flex!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-portrait{width:40px!important;height:40px!important;flex-basis:40px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-portrait>img{width:100%!important;height:100%!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-greeting h2{font-size:17px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-greeting p{font-size:11px!important;line-height:1.4!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-settings{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;padding:10px!important;margin:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-settings>img{width:20px!important;height:20px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-view-preferences{min-width:0!important;border:0!important;padding:0!important;margin:0 0 20px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-view-preferences legend{font-size:11px!important;font-weight:600!important;color:var(--au-muted)!important;margin-bottom:8px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-view-preferences .au-tabs{padding:0!important;gap:8px!important;border:0!important;height:auto!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-view-preferences .au-tab{border:1px solid var(--au-line)!important;border-radius:8px!important;height:44px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity .au-view-preferences .au-tab[aria-current="page"]{border-color:var(--au-accent)!important;background:rgba(var(--au-rgb),.08)!important}
@media(max-width:380px){body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-greeting p{display:none!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-greeting h2{font-size:15px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity>header .au-portrait{width:32px!important;height:32px!important;flex-basis:32px!important}}
}

/* Advanced native chat: responsive conversation, unified controls and source cards. */
@layer auraChatReference {
body .chat-shell:has(.au-ui-advanced){inset:0!important;height:100dvh!important;padding:16px!important}
body .chat-shell .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced{width:min(560px,calc(100vw - 32px))!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important;min-height:0!important}
body .chat-shell .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-expanded{width:min(1080px,calc(100vw - 32px))!important;margin:auto!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header{min-height:64px!important;height:64px!important;padding:10px 12px!important;gap:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-intro{gap:8px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-portrait{width:32px!important;height:32px!important;flex-basis:32px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-greeting h2{font-size:16px!important;line-height:1.3!important;margin:0!important;white-space:nowrap!important;letter-spacing:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-greeting p{font-size:11px!important;line-height:1.3!important;margin-top:2px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-header-actions{gap:6px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:8px!important;font-size:11px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-history-toggle{font-size:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-history-toggle img{width:18px!important;height:18px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-panel__note,
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-service-actions,
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .aura-natural-listening{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced:not(.au-settings-open) .chat-controls{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-session-summary{order:5!important;flex:0 0 auto!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:12px!important;height:28px!important;padding:0 16px!important;color:var(--au-muted)!important;font-size:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-session-summary button{border:0!important;border-radius:4px!important;background:transparent!important;color:var(--au-muted)!important;text-decoration:underline!important;font:inherit!important;min-height:24px!important;padding:2px 6px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-action-status:empty{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-action-status{order:6!important;margin:0!important;padding:0 16px 4px!important;color:var(--au-muted)!important;font-size:11px!important;flex:0 0 auto!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-settings-open .chat-composer,
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-settings-open .au-session-summary{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-settings-open .chat-controls{display:flex!important;flex-direction:column!important;flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 16px 20px!important;gap:16px!important;scroll-padding-top:58px!important;scrollbar-width:thin!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-settings-open .chat-controls>*{width:100%!important;margin:0!important;flex:0 0 auto!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced.au-settings-open .au-appearance{display:block!important;padding:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-settings-sections{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;gap:6px!important;padding:10px 0!important;background:#0d121c!important;border-bottom:1px solid var(--au-line)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-settings-sections button{flex:1!important;min-width:0!important;min-height:40px!important;border:1px solid var(--au-line)!important;border-radius:8px!important;background:#ffffff08!important;color:#edf5fa!important;font:500 12px AuraInter,sans-serif!important;padding:8px 5px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-settings-title{font:600 14px/1.4 AuraInter,sans-serif!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 10px!important;color:#eff5fa!important;scroll-margin-top:64px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-conversation-preferences .au-view-preferences{margin-bottom:12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-support-shortcuts{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-support-shortcuts button,
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-listening-settings button{min-height:40px!important;border:1px solid var(--au-line)!important;border-radius:8px!important;background:#ffffff08!important;color:#e4edf5!important;font:500 12px AuraInter,sans-serif!important;padding:8px 12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-listening-settings button{width:100%!important;text-align:left!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-listening-settings button[aria-pressed="true"]{border-color:var(--au-accent)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-controls .chat-department{display:flex!important;gap:8px!important;padding:0!important;background:transparent!important;border:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-controls .chat-department button{min-height:40px!important;font-size:12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-controls>label{display:grid!important;gap:6px!important;font-size:11px!important;color:var(--au-muted)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-controls>label select{width:100%!important;min-height:44px!important;font-size:13px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-conversation-details p{font-size:12px!important;line-height:1.6!important;color:var(--au-muted)!important;overflow-wrap:anywhere!important;margin:0!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-color-options button{width:40px!important;height:40px!important;min-height:40px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-appearance-options button{min-height:40px!important;font-size:12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .message--aura:has(+.aura-answer-feedback){margin-bottom:8px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .message--aura:has(+.aura-answer-feedback) .chat-message-actions{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .aura-answer-feedback{display:flex!important;gap:6px!important;align-items:center!important;padding:0!important;margin:0 0 18px!important;font-size:11px!important;flex-wrap:wrap!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .aura-answer-feedback>span:first-of-type{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .aura-answer-feedback [role="status"]:empty{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .aura-answer-feedback [role="status"]{flex:1 1 100%!important;color:var(--au-muted)!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-feedback-tools{display:flex!important;gap:6px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced :is(.chat-message-actions,.aura-answer-feedback) button{min-height:40px!important;min-width:40px!important;border:1px solid var(--au-line)!important;border-radius:8px!important;background:transparent!important;color:var(--au-muted)!important;padding:7px 9px!important;font:500 11px AuraInter,sans-serif!important;white-space:nowrap!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-inline-audio-error{display:none!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-audio-recovery{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;padding:10px!important;margin:0 0 16px!important;border:1px solid var(--au-line)!important;border-radius:8px!important;color:var(--au-muted)!important;font-size:12px!important;line-height:1.5!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-audio-recovery span{flex:1 1 160px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-audio-recovery button{min-height:40px!important;border:1px solid var(--au-line)!important;border-radius:8px!important;background:transparent!important;color:#dce7f0!important;padding:7px 10px!important;font-size:12px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-sources.au-product-cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))!important;gap:8px!important;margin-top:10px!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-sources.au-product-cards a{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;min-height:58px!important;padding:10px 12px!important;border:1px solid var(--au-line)!important;border-radius:10px!important;background:#ffffff05!important;color:#d7f6fb!important;font-size:13px!important;line-height:1.4!important;text-decoration:none!important;overflow-wrap:anywhere!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-source-host{display:block!important;color:var(--au-muted)!important;font-size:10px!important;line-height:1.4!important}
body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-sources.au-product-cards a:hover{border-color:var(--au-accent)!important;text-decoration:underline!important}
@media(max-width:600px){body .chat-shell:has(.au-ui-advanced){padding:0!important}body .chat-shell .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-expand-chat{display:none!important}}
@media(max-width:360px){body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header{padding:8px!important;gap:8px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced>header .au-portrait{width:28px!important;height:28px!important;flex-basis:28px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-header-actions{gap:4px!important}}
@media(max-height:520px){body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .au-session-summary{height:24px!important}}
}

/* Open chat owns the viewport, including signed-in WordPress screens. */
@layer auraChatReference {
html:has(.chat-shell:not([hidden]) .au-ui-advanced),body:has(.chat-shell:not([hidden]) .au-ui-advanced){overflow:hidden!important;min-width:0!important}
body.admin-bar .chat-shell:has(.au-ui-advanced){top:0!important;height:100dvh!important}
@media(max-width:360px){body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-actions{gap:4px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-actions button{font-size:10px!important;padding:7px 5px!important;min-width:36px!important;gap:4px!important}body .chat-panel.au-chat.au-reference-chat.au-chat-clarity.au-ui-advanced .chat-message-actions button svg{width:12px!important;height:12px!important;flex-basis:12px!important}}
}
