/* Order SQ Agent opens as a right-side panel. */
        #ORDER-SQ-AGENT .modal-dialog { position: fixed; top: 50%; right: 0; width: 800px; max-width: 100%; height: 90vh; margin: 0; -webkit-transform: translate(100%, -50%); -ms-transform: translate(100%, -50%); transform: translate(100%, -50%); -webkit-transition: -webkit-transform .3s ease-out; transition: transform .3s ease-out; }
        #ORDER-SQ-AGENT.in .modal-dialog { -webkit-transform: translate(0, -50%); -ms-transform: translate(0, -50%); transform: translate(0, -50%); }
        #ORDER-SQ-AGENT .modal-content { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 100%; border: 0; border-radius: 0; }
        #ORDER-SQ-AGENT .modal-header { position: relative; min-height: 64px; padding: 6px 60px; color: #fff; text-align: center; background: #00ad4d; border-bottom: 0; }
        #ORDER-SQ-AGENT .ava-hdr-in { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
        #ORDER-SQ-AGENT .ava-logo { height: 30px; line-height: 30px; }
        #ORDER-SQ-AGENT .ava-logo img { display: block; width: 56px; height: 100%; }
        #ORDER-SQ-AGENT .ava-hdr-in h1 { margin: 3px 0 0; color: #fff; font-size: 14px; font-weight: 600; line-height: 18px; }
        #ORDER-SQ-AGENT .close { position: absolute; top: 22px !important; right: 20px; margin: 0; padding: 0; color: #fff; font-size: 30px; line-height: 30px; background: transparent !important; border: 0; border-radius: 0; box-shadow: none; opacity: 1; text-shadow: none; }
        #ORDER-SQ-AGENT .close:hover,
        #ORDER-SQ-AGENT .close:focus { color: #fff; background: transparent !important; outline: 0; opacity: .8; }
        #ORDER-SQ-AGENT .modal-body { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; overflow-y: auto; padding: 15px;display: block !important;}
        #ORDER-SQ-AGENT .assistant-section-title { margin: 0 0 10px; color: #1f2d45; font-size: 16px; font-weight: 700; }
        #ORDER-SQ-AGENT .assistant-options { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 16px; }
        #ORDER-SQ-AGENT .assistant-option { position: relative; display: block; -webkit-box-flex: 1; -ms-flex: 1 1 0; flex: 1 1 0; min-width: 0; margin: 0; cursor: pointer; }
        #ORDER-SQ-AGENT .assistant-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
        #ORDER-SQ-AGENT .assistant-option-content { display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; min-height: 60px; padding: 8px 10px; background: #fff; border: 2px solid #d6dce5; border-radius: 9px; -webkit-transition: border-color .2s ease, background .2s ease; transition: border-color .2s ease, background .2s ease; }
        #ORDER-SQ-AGENT .assistant-option input:checked + .assistant-option-content { background: #f2fff7; border-color: #00ad4d; }
        #ORDER-SQ-AGENT .assistant-option input:focus + .assistant-option-content { box-shadow: 0 0 0 2px rgba(0, 173, 77, .22); }
        #ORDER-SQ-AGENT .assistant-option input:checked + .assistant-option-content span.assistant-option-icon { color: #00ad4d; background: #d4f4e2;     fill: #00ad4d; }
        #ORDER-SQ-AGENT .assistant-option input:checked + .assistant-option-content span.assistant-option-icon svg *{ fill: #00ad4d !important; }
        #ORDER-SQ-AGENT .assistant-option-radio { flex: 0 0 18px; width: 18px; height: 18px; margin-right: 10px; border: 2px solid #9ca8b9; border-radius: 50%; }
        #ORDER-SQ-AGENT .assistant-option input:checked + .assistant-option-content .assistant-option-radio { border-color: #00ad4d; box-shadow: inset 0 0 0 3px #fff; background: #00ad4d; }
        #ORDER-SQ-AGENT .assistant-option-icon { display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin-right: 14px; color: #00ad4d; font-size: 24px; background: #e7f9ef; border-radius: 50%; color: #212121; background: #efefef; }
        
        #ORDER-SQ-AGENT .assistant-option-name { color: #1d2532; font-size: 16px; font-weight: 700; line-height: 22px; }
        #ORDER-SQ-AGENT .assistant-option input:checked + .assistant-option-content .assistant-option-name { color: #00ad4d; }
        #ORDER-SQ-AGENT .assistant-information-section { margin-top: 20px;/* padding-top: 18px; border-top: 1px solid #d9dfe7;*/        }
        #ORDER-SQ-AGENT .assistant-information-section .assistant-section-title { margin-bottom: 0; }
        #ORDER-SQ-AGENT .assistant-content-panel { display: none; margin-top: 16px; color: #1f2d45; font-size: 16px; font-weight: 600; }
        #ORDER-SQ-AGENT .assistant-content-panel.is-active { display: block; }

        #ORDER-SQ-AGENT .assistant-option-icon svg * {    fill: #212121 !important;}


        /* Isolated AVA assistants mounted by MasterJs.js. */
        #ORDER-SQ-AGENT #ai-order-agent { width: 100%; min-height: 520px;    background: #fff; }
        #ORDER-SQ-AGENT #ai-sq-agent { width: 100%; min-height: 0; }
        #ORDER-SQ-AGENT .aoa-order-sq-frame { display: block; width: 100%; min-width: 0; height: 650px; min-height: 520px; max-height: none; border: 0; background:#fff; }
        #ORDER-SQ-AGENT .aisq-order-sq-frame { display: block; width: 100%; min-width: 0; height: 520px; min-height: 0; background: #fff; border: 0; }
        #ORDER-SQ-AGENT .aoa-order-sq-loading,
        #ORDER-SQ-AGENT .aoa-order-sq-error { display: flex; align-items: center; justify-content: center; min-height: 520px; padding: 20px; color: #64748b; font-size: 14px; font-weight: 600; text-align: center; }
        #ORDER-SQ-AGENT .aisq-order-sq-loading,
        #ORDER-SQ-AGENT .aisq-order-sq-error { display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 20px; color: #64748b; font-size: 14px; font-weight: 600; text-align: center; }
        #ORDER-SQ-AGENT .aoa-order-sq-error,
        #ORDER-SQ-AGENT .aisq-order-sq-error { color: #b42318; }
        #ORDER-SQ-AGENT .assistant-option--order .assistant-option-icon,
        #ORDER-SQ-AGENT .assistant-option--quotation .assistant-option-icon { }
        a.avaheadernew {border-color: #00a94c !important;background: #00a94c;}
        a.avaheadernew svg, a.avaheadernew svg * {fill: #fff !important;}
        a.avaheadernew:hover, header .HeadRight ul li a.avaheadernew:hover {border-color: #01883e !important;background: #01883e;}
        @media (max-width:767px) {
            #ORDER-SQ-AGENT .modal-dialog { top: 0; height: 100%; -webkit-transform: translateX(100%); -ms-transform: translateX(100%); transform: translateX(100%); }
            #ORDER-SQ-AGENT.in .modal-dialog { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
        }
        @media (max-width:600px) {
            #ORDER-SQ-AGENT .assistant-options { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
        }