/* Guest workspace only; public invitation pages and Source Bundle summaries keep their layout. */
.bq.btg-workspace{display:grid;grid-template-columns:minmax(230px,31%) minmax(0,1fr);width:100%;height:min(720px,calc(100dvh - 230px));min-height:420px;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#fff}
.btg-workspace [hidden]{display:none!important}
.btg-workspace .btg-list-panel{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid #dce4ed}
.btg-workspace .btg-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border-bottom:1px solid #e3e9f1;font-size:13px}
.btg-workspace button{font-size:13px;line-height:1.4}
.btg-workspace button:focus-visible,.btg-workspace summary:focus-visible,.btg-workspace a:focus-visible,.btg-workspace textarea:focus-visible{outline:3px solid #1766d5;outline-offset:2px}
.btg-workspace .btg-list-head button{padding:6px 9px;background:#fff}
.btg-workspace [data-guest-list-status]{font-size:13px;margin:0}
.btg-workspace [data-guest-list-status]:empty{display:none}
.btg-workspace .btg-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}
.btg-workspace .btg-list h3{font-size:12px;line-height:1.45;margin:5px 0;padding:8px;color:#536981}
.btg-workspace .btg-list-empty,.btg-workspace .btg-placeholder{padding:20px;font-size:14px}
.btg-workspace .btg-row{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;text-align:left;padding:11px 10px;border:1px solid transparent;border-radius:7px;background:#fff;color:#172b42}
.btg-workspace .btg-row:hover{background:#f3f7fc}
.btg-workspace .btg-row.is-selected{background:#eef5ff;border-color:#b9d4f5}
.btg-workspace .btg-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;width:100%;min-width:0}
.btg-workspace .btg-row-top strong{font-size:13px;overflow-wrap:anywhere;min-width:0}
.btg-workspace .btg-row-top time{flex:0 0 auto;font-size:10px;color:#64748b;max-width:85px;text-align:right}
.btg-workspace .btg-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:#51657d;font-size:12px;line-height:1.45;white-space:pre-wrap}
.btg-workspace .btg-row-meta{font-size:11px;color:#62748b;overflow-wrap:anywhere}
.btg-workspace .btg-draft{color:#80531b;font-weight:600}
.btg-workspace .btg-detail-panel,.btg-workspace [data-guest-panels]{height:100%;min-height:0;min-width:0}
.btg-workspace .btg-conversation{height:100%;display:flex;flex-direction:column;min-height:0;min-width:0}
.btg-workspace .btg-conversation-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #dce4ed;flex-shrink:0}
.btg-workspace .btg-conversation-head>div{min-width:0}
.btg-workspace .btg-conversation-head strong{font-size:15px;overflow-wrap:anywhere}
.btg-workspace .btg-conversation-head p{font-size:12px;margin:4px 0 0;overflow-wrap:anywhere}
.btg-workspace .btg-conversation-head p span{display:block;margin-top:3px;color:#526981;font-size:11px}
.btg-workspace .btg-context{flex-shrink:0;font-size:12px}
.btg-workspace .btg-context summary{cursor:pointer;color:#155bc0;white-space:nowrap}
.btg-workspace .btg-context>div{position:absolute;z-index:3;right:12px;top:calc(100% - 4px);width:min(330px,calc(100% - 24px));max-height:320px;overflow:auto;padding:16px;border:1px solid #bfcee1;border-radius:8px;background:#fff;box-shadow:0 8px 24px #18375924}
.btg-workspace .btg-context>div strong{font-size:13px}
.btg-workspace .btg-context a{display:block;line-height:1.5;margin-top:12px}
.btg-workspace .btg-back{display:none}
.btg-workspace .btg-conversation-body.bq{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;margin:0;padding:0;border:0;border-radius:0;overflow:hidden}
.btg-workspace .btg-conversation-body .bq-head{justify-content:flex-end;flex-shrink:0;margin:0;padding:5px 12px;background:#f8faff}
.btg-workspace .btg-conversation-body .bq-head button{padding:4px 7px;font-size:11px;background:#fff}
.btg-workspace [data-thread-older]{flex-shrink:0;align-self:center;margin:5px}
.btg-workspace [data-thread-messages]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 12px;scrollbar-gutter:stable}
.btg-workspace .rfq-question-message{padding:12px 0}
.btg-workspace .rfq-question-message header{font-size:12px;gap:6px}
.btg-workspace .rfq-question-message time{font-size:11px}
.btg-workspace .rfq-question-message p{font-size:14px;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.btg-workspace [data-thread-composer]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:end;flex-shrink:0;padding:9px 14px;border-top:1px solid #dce4ed;background:#fff}
.btg-workspace [data-thread-composer] label{grid-column:1/-1;margin:0;font-size:12px;gap:4px}
.btg-workspace [data-thread-composer] textarea{min-height:68px;max-height:150px;resize:vertical;font-size:14px;padding:9px}
.btg-workspace [data-thread-composer] [data-thread-status]{font-size:11px;line-height:1.4;margin:0;padding:4px 6px;min-width:0}
.btg-workspace [data-thread-composer] button{grid-column:2;padding:7px 11px;background:#0b5ed7;border-color:#0b5ed7;white-space:nowrap}
.btg-workspace .rfq-questions-note{flex-shrink:0;font-size:10px;line-height:1.3;padding:0 14px 7px;margin:0;color:#63758b}
@media(max-width:760px){
 .bq.btg-workspace{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 215px);min-height:390px}
 .btg-workspace .btg-list-panel{border-right:0}
 .btg-workspace .btg-detail-panel{display:none}
 .btg-workspace.btg-show-conversation .btg-list-panel{display:none}
 .btg-workspace.btg-show-conversation .btg-detail-panel{display:block}
 .btg-workspace .btg-back{display:block;width:100%;text-align:left;padding:3px 0;border:0;background:none;color:#155bc0;font-size:12px}
 .btg-workspace .btg-conversation-head{flex-wrap:wrap;gap:8px;padding:10px 12px}
 .btg-workspace .btg-conversation-head>div{flex:1 1 160px}
 .btg-workspace .btg-conversation-head strong{font-size:14px}
 .btg-workspace [data-thread-messages]{padding:0 12px 10px}
 .btg-workspace [data-thread-composer]{padding:8px 10px}
 .btg-workspace .rfq-questions-note{padding-inline:10px}
}
