/*!
 * @package   AITiny
 * @copyright Copyright (c)2025 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */:root{--aitiny-modal-bg-color: #fcfcfc;--aitiny-modal-fg-color: #373637;--aitiny-modal-muted-color: #514f50;--aitiny-modal-border-color: #514f50;--aitiny-modal-card-title: #40b5b8;--aitiny-modal-btn-primary-bg: #339092;--aitiny-modal-btn-stop-bg: #e2363c;--aitiny-modal-btn-accept-bg: #79a638;--aitiny-modal-btn-fg: #fcfcfc;--aitiny-modal-border-radius: .25em}@media(prefers-color-scheme: dark){:root{--aitiny-modal-bg-color: #373637;--aitiny-modal-fg-color: #fcfcfc;--aitiny-modal-muted-color: #d6d6d6;--aitiny-modal-border-color: #514f50;--aitiny-modal-card-title: #339092;--aitiny-modal-btn-primary-bg: #339092;--aitiny-modal-btn-stop-bg: #c81d23;--aitiny-modal-btn-accept-bg: #79a638;--aitiny-modal-btn-fg: #efefef}}.plg_system_aitiny_modal{display:flex;flex-direction:row;justify-content:center;align-items:center;padding-top:2em;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:10000;background-color:rgba(0,0,0,.75);color:var(--aitiny-modal-fg-color)}.plg_system_aitiny_modal label{display:block;font-weight:550}.plg_system_aitiny_modal>div{width:min(90vw,900px);min-height:min(50vh,300px);max-height:90vh;overflow:auto;padding:.5em 1em;border:1px solid var(--aitiny-modal-border-color);border-radius:var(--aitiny-modal-border-radius);background-color:var(--aitiny-modal-bg-color)}.plg_system_aitiny_modal>div h4{display:flex;flex-direction:row;justify-content:space-between;font-size:1.2em;font-weight:bold;font-style:normal;color:var(--aitiny-modal-card-title);padding-bottom:.2em}.plg_system_aitiny_modal>div h4 button{border:none;background-color:rgba(0,0,0,0);color:var(--aitiny-modal-fg-color);padding:0;font-size:1em;font-weight:bold;cursor:pointer}.plg_system_aitiny_modal>div .plg_system_aitiny_card{padding:0;margin:1em 0;background-color:var(--aitiny-modal-bg-color);border:none}.plg_system_aitiny_modal>div .plg_system_aitiny_card summary{padding:.4em .4em 0;margin:0;font-size:medium}.plg_system_aitiny_modal>div .plg_system_aitiny_card textarea{width:100%;height:10em}.plg_system_aitiny_modal>div .plg_system_aitiny_card small{color:var(--aitiny-modal-muted-color)}.plg_system_aitiny_modal>div .plg_system_aitiny_card div#plg_system_aitiny_content,.plg_system_aitiny_modal>div .plg_system_aitiny_card #plg_system_aitiny_response,.plg_system_aitiny_modal>div .plg_system_aitiny_card .plg_system_aitiny_altmodal_results_alt,.plg_system_aitiny_modal>div .plg_system_aitiny_card .plg_system_aitiny_altmodal_results_reasoning{padding:.5em;border:1px solid var(--aitiny-modal-border-color);border-radius:var(--aitiny-modal-border-radius);background-color:rgba(0,0,0,.01);margin-bottom:.5em;max-height:min(35vh,150px);overflow:auto}.plg_system_aitiny_modal>div .plg_system_aitiny_card div#plg_system_aitiny_content p:last-of-type,.plg_system_aitiny_modal>div .plg_system_aitiny_card #plg_system_aitiny_response p:last-of-type,.plg_system_aitiny_modal>div .plg_system_aitiny_card .plg_system_aitiny_altmodal_results_alt p:last-of-type,.plg_system_aitiny_modal>div .plg_system_aitiny_card .plg_system_aitiny_altmodal_results_reasoning p:last-of-type{margin-bottom:0}.plg_system_aitiny_modal>div .plg_system_aitiny_card #plg_system_aitiny_response{height:min(250px,35vh);max-height:none}.plg_system_aitiny_modal>div .plg_system_aitiny_card button{margin:.2em;border:thin solid var(--aitiny-modal-btn-primary-bg);border-radius:var(--aitiny-modal-border-radius);background-color:var(--aitiny-modal-btn-primary-bg);color:var(--aitiny-modal-btn-fg);padding:.25em 1em;font-size:medium;font-weight:normal;cursor:pointer}.plg_system_aitiny_modal>div .plg_system_aitiny_card button#plg_system_aitiny_stop,.plg_system_aitiny_modal>div .plg_system_aitiny_card button#plg_system_aitiny_alt_stop{border-color:var(--aitiny-modal-btn-stop-bg);background-color:var(--aitiny-modal-btn-stop-bg)}.plg_system_aitiny_modal>div .plg_system_aitiny_card button#plg_system_aitiny_accept,.plg_system_aitiny_modal>div .plg_system_aitiny_card button#plg_system_aitiny_alt_accept{border-color:var(--aitiny-modal-btn-accept-bg);background-color:var(--aitiny-modal-btn-accept-bg)}.plg_system_aitiny_modal>div .plg_system_aitiny_card button:hover,.plg_system_aitiny_modal>div .plg_system_aitiny_card button:focus{background-color:var(--aitiny-modal-bg-color) !important;color:var(--aitiny-modal-fg-color) !important}.plg_system_aitiny_modal>div .plg_system_aitiny_card button span{margin-right:.25em}.plg_system_aitiny_modal>div #plg_system_aitiny_card_prompt{display:flex;flex-direction:column;align-items:start;gap:.2em}.plg_system_aitiny_modal>div h5.plg_system_aitiny_response_title{color:var(--aitiny-modal-card-title);padding:.4em .4em 0;margin:0;font-size:1.1em;font-weight:normal;font-style:normal}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_ui_container{display:flex;flex-direction:row;justify-content:start;align-items:start;gap:.5em}@media only screen and (max-width: 800px){.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_ui_container{flex-direction:column;gap:2em;align-items:stretch}}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_sourceimage{flex-grow:1;min-width:min(20vw,50% - 1em)}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_sourceimage img{border:1px solid var(--aitiny-modal-border-color);border-radius:var(--aitiny-modal-border-radius);background-color:rgba(0,0,0,.01);max-width:100%;max-height:30vh}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_wait{flex-grow:1;width:100%;text-align:center;font-weight:bold;font-size:1.3em}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_results{flex-grow:1;width:100%}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_results .plg_system_aitiny_altmodal_results_alt{max-height:6em}.plg_system_aitiny_modal>#plg_system_aitiny_altmodal_dialog .plg_system_aitiny_altmodal_results .plg_system_aitiny_altmodal_results_buttons{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:.5em}/*# sourceMappingURL=modal.css.map */
