/* BCG captured chat layout: independently scrolling exhibits, readable questions,
   choices inside the message and an always reachable entry bar. */
.source-hirequotient-chat:has(.source-chat-workspace){height:calc(100dvh - var(--oa-assessment-navigation-space,0px));min-height:0!important;display:flex;flex-direction:column}
.source-hirequotient-chat .source-header{height:84px;flex:0 0 auto;padding:14px 24px;gap:24px}
.source-hirequotient-chat .source-brand{width:150px}
.source-hirequotient-chat .source-brand img{max-width:104px;max-height:36px}
.source-chat-progress{flex:1;max-width:340px;min-width:80px}
.source-hirequotient-chat .source-chat-progress .source-progress{display:block;width:100%;height:10px}
.source-chat-progress small{display:block;margin-top:7px;color:#555;font-size:12px}
.source-hirequotient-chat .source-timer{font-size:14px}
.source-hirequotient-chat .source-header-tools{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.source-hirequotient-chat .source-header-tools button{white-space:nowrap}
.source-hirequotient-chat .source-authored-label{font-size:10px;color:#687781}
body.oa-assessment-active .source-chat-workspace,.source-chat-workspace{flex:1;min-height:0;height:0;grid-template-columns:190px minmax(0,1fr);gap:22px;padding-right:24px}
.source-chat-sidebar{min-height:0;overflow:hidden;padding:22px 16px 16px;gap:16px}
.source-chat-case-name{font-size:14px;line-height:1.5;font-weight:600;color:#fff;padding-bottom:16px;border-bottom:1px solid #ffffff30;overflow-wrap:anywhere}
.source-chat-sidebar h2{font-size:12px;font-weight:400;text-transform:uppercase;letter-spacing:.05em;color:#ccc;margin:0}
.source-chat-resource-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:16px;scrollbar-width:thin;scrollbar-color:#888 #373840;padding-right:4px}
.source-chat-resource-list>button{flex:none;display:flex;flex-direction:column;align-items:center;gap:7px;border-radius:4px;background:#fafafa;padding:6px!important;font-size:11px;line-height:1.4;color:#555}
.source-chat-resource-list>button>span{padding:0 3px 2px}
.source-chat-resource-list>button>img{height:86px;width:100%;object-fit:contain;display:block}
.source-chat-resource-list>button:hover{background:#e6f4fc}
.source-chat-conversation{min-height:0;margin:0;display:flex;flex-direction:column;border-radius:42px 42px 0 0}
body.oa-assessment-active .source-chat-body,.source-chat-body{flex:1;height:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px 36px 22px 64px;scrollbar-width:thin}
.source-chat-context,.source-chat-history{margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid #e8ecef;font-size:14px;line-height:1.6}
.source-chat-context summary,.source-chat-history summary{cursor:pointer;color:#42758f;font-weight:600;padding:5px 0}
.source-chat-context>.source-prose{margin:12px 0;font-size:15px;white-space:normal}
.source-chat-context>img{max-width:100%;margin:10px auto}
.source-chat-history .source-chat-bot{margin-top:14px}
.source-chat-bot,.source-chat-user{border-radius:16px;padding:20px 24px;margin-bottom:18px;max-width:none;box-shadow:0 2px 8px #00000012;line-height:1.6;overflow-wrap:anywhere}
.source-chat-bot::before{left:-38px;top:22px;width:25px;height:27px;font-size:14px}
.source-chat-bot h2{font-size:15px;color:#447b9c}
.source-chat-bot .source-prose{white-space:pre-line;line-height:1.65;font-size:15px}
.source-chat-bot .source-passage{padding-bottom:16px;border-bottom:1px solid #e2e9ed;margin-bottom:16px}
.source-chat-question-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}
.source-chat-question-heading h1{font-size:17px;margin:0;color:#34769d;font-weight:600}
.source-chat-question-heading small{white-space:nowrap}
.source-chat-choices .source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:24px 0 12px}
.source-chat-choices .source-option{border:0;border-bottom:1px solid #dce3e7;border-radius:0;background:transparent;box-shadow:none;padding:15px 5px;gap:10px;font-size:14px;min-width:0}
.source-chat-choices .source-option.is-selected{background:#eef7fc}
.source-chat-choices .source-option>input{width:18px;height:18px;flex:0 0 18px;padding:0;margin:2px 0 0}
.source-chat-choices .source-option>span{min-width:0;overflow-wrap:anywhere}
.source-chat-current>.source-question-nav{margin:20px 0 0}
.source-chat-current .source-primary{background:#e6f4fb!important;border:0;color:#286b96!important;border-radius:22px;padding:10px 24px;font-weight:600;font-size:14px}
.source-chat-composer{flex:none;background:#f7f9fb;padding:12px 30px 12px 64px;border-top:1px solid #e3e8ec;box-shadow:0 -2px 8px #00000005}
.source-chat-entry{display:flex;align-items:center;gap:10px;background:#edf6fc;border:1px solid #cddfea;border-radius:24px;padding:8px 8px 8px 16px}
.source-chat-entry .source-entry{flex:1;min-width:0;margin:0;gap:4px;font-size:12px;color:#526d80}
.source-chat-entry .source-entry>span{display:flex;align-items:center;gap:5px}
.source-chat-entry input,.source-chat-entry textarea{font-size:15px;line-height:1.5;background:transparent;border:0;border-radius:4px;padding:3px 0;margin:0;width:100%;min-width:0;max-height:140px;resize:vertical;color:#25384a}
.source-chat-entry textarea{min-height:48px}
.source-chat-entry small{font-size:11px}
.source-chat-entry .source-chat-send{min-width:44px;width:44px;height:44px;border:0;border-radius:50%;padding:8px;background:#5ba6ce!important;font-size:20px}
.source-chat-hint{font-size:13px;margin:0;color:#667580}
.source-chat-footer-tools{display:flex;align-items:center;gap:14px;min-height:28px;margin-top:5px;flex-wrap:wrap}
.source-chat-footer-tools button{border:0;padding:4px 0;background:transparent;color:#42758f;font-size:12px}
.source-chat-footer-tools [data-source-status]{font-size:12px;color:#b12626}
.source-chat-exhibits{margin:18px 0}
.source-chat-exhibits figure{margin:0 0 16px}
.source-chat-exhibits img{max-width:100%;max-height:450px;object-fit:contain;display:block;margin:auto}
.source-chat-exhibits table,.source-chat-context table,.source-hirequotient-chat .source-intro table{width:100%;border-collapse:collapse;font-size:13px;margin:12px 0;background:#fff}
.source-chat-exhibits th,.source-chat-exhibits td,.source-chat-context th,.source-chat-context td,.source-hirequotient-chat .source-intro th,.source-hirequotient-chat .source-intro td{border:1px solid #ced9d3;padding:9px;text-align:left}
.source-chat-exhibits th,.source-chat-context th,.source-hirequotient-chat .source-intro th{background:#edf4f0}
.source-dialog:is(.source-casey-chat,.source-hirequotient-chat){width:min(1060px,94vw);padding:20px 26px;background:white}
.source-dialog .source-resource-tabs{flex-wrap:wrap;gap:7px;margin:12px 0 20px}
.source-dialog .source-resource-tabs button{padding:7px 10px;font-size:12px}
@media(max-width:850px){
 .source-hirequotient-chat .source-header{height:auto;min-height:76px;padding:10px 14px;gap:12px;flex-wrap:wrap}
 .source-hirequotient-chat .source-brand{width:70px}.source-hirequotient-chat .source-brand img{max-width:70px;max-height:28px}
 .source-hirequotient-chat .source-header-tools{gap:5px}.source-hirequotient-chat .source-timer{font-size:12px}.source-hirequotient-chat .source-timer b{font-size:15px}
 body.oa-assessment-active .source-chat-workspace,.source-chat-workspace{grid-template-columns:minmax(0,1fr);padding:0 10px;gap:0}
 .source-chat-sidebar{display:none}.source-chat-conversation{border-radius:25px 25px 0 0}
 body.oa-assessment-active .source-chat-body,.source-chat-body{padding:20px 16px 18px 43px}
 .source-chat-bot,.source-chat-user{padding:17px;margin-left:0}.source-chat-bot::before{left:-31px;width:23px}
 .source-chat-composer{padding:10px 16px}.source-chat-choices .source-options{grid-template-columns:1fr}
 .source-chat-question-heading{gap:10px}.source-chat-question-heading h1{font-size:16px}
}

.source-chat-current .source-chat-current-resource{font-size:12px;color:#42758f;background:transparent;border:0;padding:5px 0;margin-top:8px}
@media(max-width:600px){
 .source-hirequotient-chat .source-header-tools{width:100%;flex-wrap:nowrap;justify-content:flex-end}
 .source-hirequotient-chat .source-authored-label{display:none}
 .source-hirequotient-chat .source-timer{margin-right:auto}
 .source-hirequotient-chat .source-header-tools button{padding:7px;font-size:11px}
}
