#pcore-message-modal{box-sizing:border-box;top:var(--pcore-message-viewport-top,0px);bottom:auto;height:var(--pcore-message-viewport-height,100dvh);padding:20px;background:rgba(8,13,19,.55)!important}
#pcore-message-modal .pcore-message-dialog{box-sizing:border-box;max-height:calc(var(--pcore-message-viewport-height,100dvh) - 40px);overflow:auto;overscroll-behavior:contain}
#pcore-message-modal .pcore-message-thread-preview{min-width:0;overflow:auto}
#pcore-message-modal .pcore-message-thread-preview :is(div,p,small){min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
#pcore-message-modal .pcore-chat-compose textarea{font-size:16px;line-height:1.5}
#pcore-message-modal textarea:focus-visible{outline:2px solid #269e7b!important;outline-offset:-2px}
#pcore-message-modal .pcore-message-submit{width:100%;margin-top:12px}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal{background:rgba(6,10,15,.72)!important;color-scheme:dark}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal .pcore-message-dialog{background:#202731!important;border-color:#475362!important;color:#f1f5f9!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(h2,.pcore-message-thread-preview p){color:#eef4f8!important;-webkit-text-fill-color:#eef4f8!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(.pcore-kicker,.pcore-message-thread-preview small,.pcore-chat-file-status){color:#b3c1cf!important;-webkit-text-fill-color:#b3c1cf!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(.pcore-message-thread-preview,.pcore-chat-compose){background:#171e27!important;border-color:#495767!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal .pcore-message-thread-preview>div{background:#293440!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal textarea{background:#171e27!important;color:#eef4f8!important;-webkit-text-fill-color:#eef4f8!important;border-color:#495767!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal textarea::placeholder{color:#b3c1cf!important;-webkit-text-fill-color:#b3c1cf!important;opacity:1}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(.pcore-chat-tools,.pcore-emoji-picker){background:#293440!important;border-color:#495767!important;color:#eef4f8!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(.pcore-chat-tool,.pcore-message-close,.pcore-emoji-picker>header){background:#293440!important;border-color:#495767!important;color:#e0eaf2!important;-webkit-text-fill-color:#e0eaf2!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],html:has(body.tutor-theme-dark)) body #pcore-message-modal :is(.pcore-chat-tool:hover,.pcore-chat-tool:focus-visible){background:#35485a!important;border-color:#81a5c4!important}
@media(max-width:640px){#pcore-message-modal{padding:16px}#pcore-message-modal .pcore-message-dialog{padding:22px 18px;max-height:calc(var(--pcore-message-viewport-height,100dvh) - 32px)}#pcore-message-modal h2{padding-right:24px;font-size:21px}#pcore-message-modal .pcore-chat-tools{flex-wrap:wrap}}
