/* Shared public-agent conversation layout. Launchers retain Aqitas branding. */
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel){display:flex;flex-direction:column;width:420px;max-width:calc(100vw - 32px);height:min(780px,calc(100dvh - 112px));max-height:calc(100dvh - 112px);min-height:0;background:#fff;color:#1a2437;border:1px solid #d8dce3;border-radius:12px;box-shadow:0 12px 40px #18243a24;backdrop-filter:none;animation:none;overflow:hidden;font:400 15px/1.5 "ABC Diatype",Arial,sans-serif}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)[hidden]{display:none}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>header{display:flex;align-items:center;justify-content:space-between;flex:none;gap:16px;padding:24px;background:#fff;border:0}
html body #publicAgentAssistant .aqitas-agent-panel header small,html body #publicAgentAssistant .trust-aura-panel>header p{display:none}
html body #publicAgentAssistant :is(.aqitas-agent-panel header strong,.trust-aura-panel h2){font:400 17px/1.4 "ABC Diatype",Arial,sans-serif;color:#142038;margin:0;letter-spacing:normal}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>header button{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#fff;color:#142038;font:400 26px/1 Arial;box-shadow:none;text-shadow:none;cursor:pointer}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>header button:hover{background:#edf1f7;color:#142038;text-shadow:none}
html body #publicAgentAssistant :is(.aqitas-agent-messages,.trust-aura-messages){display:flex;flex-direction:column;flex:1;min-height:80px;max-height:none;gap:18px;padding:20px 24px;overflow:auto;background:#fff;scrollbar-color:#c7cdd6 transparent}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;margin:0;align-items:start}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message>span{width:24px;height:28px;min-height:0;border:0;border-radius:0;background:none;color:#1a2437;box-shadow:none}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message>span svg{color:#1a2437;width:22px;height:22px}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message p{margin:0;padding:0;border:0;background:none;color:#58616c;line-height:1.6;border-radius:0;font-size:15px}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message p b{font-weight:500;color:#192438}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message.user{grid-template-columns:1fr;align-self:flex-end;max-width:90%;padding:10px 14px;border-radius:10px;background:#eef3fc}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message.user>span{display:none}
html body #publicAgentAssistant .aqitas-agent-panel .agent-message.user p{grid-row:auto;color:#1a2437}
html body #publicAgentAssistant .trust-aura-message{margin:0;color:#58616c;font-size:15px}
html body #publicAgentAssistant .trust-aura-message.user{padding:10px 14px;border-radius:10px;background:#eef3fc;color:#1a2437}
html body #publicAgentAssistant :is(.aqitas-agent-suggestions,.trust-aura-suggestions){display:flex;flex-direction:column;flex:none;gap:10px;max-height:32vh;overflow:auto;padding:14px 24px 20px;background:#fff}
html body #publicAgentAssistant :is(.aqitas-agent-suggestions,.trust-aura-suggestions) .agent-example-label{margin:0 0 3px;font-size:13px;line-height:1.4;color:#666}
html body #publicAgentAssistant :is(.aqitas-agent-suggestions,.trust-aura-suggestions) button{display:block;flex:none;width:100%;max-width:100%;white-space:normal;text-align:left;padding:12px 15px;border:1px solid #c9cdd3;border-radius:8px;background:#fff;color:#263044;font:400 14px/1.45 "ABC Diatype",Arial,sans-serif;box-shadow:none;transform:none;text-shadow:none;cursor:pointer}
html body #publicAgentAssistant :is(.aqitas-agent-suggestions,.trust-aura-suggestions) button:is(:hover,:focus-visible){background:#f1f5ff!important;border-color:#4169e1!important;color:#142038!important;box-shadow:none!important;transform:none;text-shadow:none}
html body #publicAgentAssistant .aqitas-agent-panel .aqitas-agent-ask,html body #publicAgentAssistant .trust-aura-panel>form{position:relative;display:grid;flex:none;grid-template-columns:minmax(0,1fr) 36px;gap:8px;margin:12px 24px 0;padding:7px;border:1px solid #c9cdd3;border-radius:8px;background:#fff}
html body #publicAgentAssistant .trust-aura-panel>form{display:block}
html body #publicAgentAssistant .trust-aura-panel>form>div{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:center}
html body #publicAgentAssistant :is(.aqitas-agent-ask label,.trust-aura-panel>form>label){margin:0;min-width:0}
html body #publicAgentAssistant .trust-aura-panel>form>label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
html body #publicAgentAssistant :is(.aqitas-agent-ask,.trust-aura-panel>form) textarea{display:block;width:100%;min-width:0;min-height:36px;height:36px;max-height:100px;margin:0;padding:8px 5px;resize:none;border:0;border-radius:3px;background:#fff;color:#192438;font:400 14px/1.4 "ABC Diatype",Arial,sans-serif;box-shadow:none;outline:none}
html body #publicAgentAssistant :is(.aqitas-agent-ask,.trust-aura-panel>form):focus-within{border-color:#4169e1;outline:2px solid #4169e130;outline-offset:2px}
html body #publicAgentAssistant :is(.aqitas-agent-ask>button,.trust-aura-panel>form button){align-self:center;justify-self:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:0!important;border-radius:6px;background:#315fd6!important;color:#fff!important;box-shadow:none!important;font-size:24px;line-height:1;cursor:pointer;transform:none}
html body #publicAgentAssistant :is(.aqitas-agent-ask>button,.trust-aura-panel>form button):hover{background:#2148b0!important;box-shadow:none!important;transform:none}
html body #publicAgentAssistant :is(.aqitas-agent-ask>button,.trust-aura-panel>form button):active{background:#173783!important}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:10px 24px 18px;background:#fff;border:0;color:#68717e;font:400 11px/1.5 "ABC Diatype",Arial,sans-serif}
html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>footer a{color:#50617e;text-decoration:underline;text-underline-offset:3px}
html body #publicAgentAssistant .aqitas-agent-request{background:#fff;color:#192438;flex:1;max-height:none;min-height:0}
html body #publicAgentAssistant .aqitas-agent-request>p{color:#58616c}
html body #publicAgentAssistant .aqitas-agent-request :is(input,textarea){background:#fff;color:#192438;border:1px solid #c9cdd3}
html body #publicAgentAssistant .aqitas-agent-request button{background:#315fd6;color:#fff;box-shadow:none}
@media(max-width:480px){html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel){position:fixed;inset:12px 12px 80px;width:auto;height:auto;max-width:none;max-height:none}html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>header{padding:18px}html body #publicAgentAssistant :is(.aqitas-agent-messages,.trust-aura-messages){padding:12px 18px}html body #publicAgentAssistant :is(.aqitas-agent-suggestions,.trust-aura-suggestions){padding:10px 18px;max-height:28vh}html body #publicAgentAssistant .aqitas-agent-panel .aqitas-agent-ask,html body #publicAgentAssistant .trust-aura-panel>form{margin:10px 18px 0}html body #publicAgentAssistant :is(.aqitas-agent-panel,.trust-aura-panel)>footer{padding:10px 18px 14px}}

html body #publicAgentAssistant .trust-aura-message:first-child{padding:0;border:0;background:none;border-radius:0}
html body #publicAgentAssistant textarea:focus{outline:none;box-shadow:none}
html body #publicAgentAssistant .aqitas-agent-panel .aqitas-agent-ask{width:auto;max-width:none;min-width:0}
html body #publicAgentAssistant .trust-aura-message:first-child>p{padding:0;border:0;border-radius:0;background:none;color:#58616c;font-size:15px;line-height:1.6}
