.assistant-page{display:grid;gap:1rem;min-width:0}.assistant-page>h1,.assistant-page>p{margin:0}.assistant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.assistant-page .field,.assistant-request .field{min-width:0}.assistant-page input,.assistant-page textarea,.assistant-page select,.assistant-request textarea,.assistant-request select{max-width:100%;box-sizing:border-box}.assistant-settings,.assistant-providers,.assistant-provider,.assistant-request,.assistant-result{display:grid;gap:1rem}.assistant-settings fieldset{border:1px solid var(--border,#e4dce0);border-radius:12px;display:flex;flex-wrap:wrap;gap:.8rem;padding:.8rem}.assistant-settings fieldset .field{display:flex;flex-direction:row-reverse;align-items:center;gap:.5rem;margin:0}.assistant-page label:has(input[type=checkbox]),.assistant-request label:has(input[type=checkbox]){display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:.6rem;align-items:flex-start}.assistant-page input[type=checkbox],.assistant-request input[type=checkbox]{flex:0 0 auto;margin:.25rem 0 0}.assistant-provider h2{margin:0;font-size:1.1rem}.assistant-provider .small{margin:.25rem 0}.assistant-key{display:grid;gap:.4rem}.assistant-status:empty,.assistant-page .form-error:empty,.assistant-request .form-error:empty,.assistant-result:empty{display:none}.assistant-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.assistant-help{margin-block:1rem;min-width:0}.assistant-help>summary{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;color:var(--muted,#756a70);cursor:pointer;list-style:none}.assistant-help>summary::-webkit-details-marker{display:none}.assistant-help>summary svg{width:1.2rem;height:1.2rem;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.assistant-help>summary:focus-visible{outline:2px solid var(--primary,#560c30);outline-offset:2px}.assistant-help[open]>summary{margin-bottom:.6rem}.assistant-request[aria-busy=true] .assistant-status:before{content:"";display:inline-block;width:.8rem;height:.8rem;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;margin-inline-end:.5rem;vertical-align:-.08rem;animation:assistant-wait .8s linear infinite}@keyframes assistant-wait{to{transform:rotate(360deg)}}@media(max-width:640px){.assistant-grid{grid-template-columns:minmax(0,1fr)}.assistant-page .actions,.assistant-request .actions{display:flex;flex-wrap:wrap;gap:.6rem}}@media(prefers-reduced-motion:reduce){.assistant-request[aria-busy=true] .assistant-status:before{animation:none}}
