/* Keep buyer facts visible without taking the conversation's working area. */
.tkv-buyer{flex:0 0 auto;min-width:0;padding:8px 18px;border-bottom:1px solid var(--tkv-hair,#29292d);color:var(--tkv-ink,#eee);background:rgba(255,255,255,.015)}
.tkv-buyer-stats{min-width:0;padding-bottom:7px}
.tkv-buyer-title{font-size:10px;font-weight:600;line-height:14px;color:var(--tkv-ink-2,#bbb);margin:0 0 6px;cursor:help}
.tkv-buyer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px}
.tkv-buyer-metric{min-width:0}
.tkv-buyer-metric span{display:block;font-size:10px;line-height:13px;color:var(--tkv-ink-2,#bbb);white-space:nowrap}
.tkv-buyer-metric strong{display:block;font-size:13px;line-height:17px;font-weight:600;letter-spacing:-.2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tkv-buyer-note{margin:0;font-size:10px;line-height:13px;color:var(--tkv-ink-2,#bbb);overflow-wrap:anywhere}
.tkv-buyer-caution{margin-top:4px;color:#d7b66b}
.tkv-order-key{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;font-size:10px;line-height:14px}
.tkv-order-key>span{color:var(--tkv-ink-2,#bbb)}
.tkv-order-key code{font-size:11px;line-height:14px;overflow-wrap:anywhere;word-break:break-all;user-select:all}
.tkv-buyer-check{display:flex;gap:8px;align-items:center;min-width:0;margin-top:5px}
.tkv-buyer-check .tkv-btn{height:24px;font-size:10px;padding:5px 8px;min-height:24px;flex:0 0 auto}
.tkv-buyer-check .tkv-buyer-note{min-width:0;font-size:10px;line-height:12px}
.tkv-facts>.tkv-buyer-stats{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--tkv-hair)}
.tkv-facts>.tkv-buyer-stats .tkv-buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
.tkv-facts>.tkv-buyer-stats .tkv-buyer-title{margin-bottom:10px}
.tkv-facts>.tkv-buyer-stats .tkv-buyer-metric strong{font-size:15px;line-height:20px}
.tkv-msgr{height:calc(100dvh - var(--tkv-hd));min-height:0;overflow:hidden}
.tkv-msgr .tkv-chat{min-height:0;overflow:hidden}
.tkv-msgr .tkv-body{min-height:0;max-height:none;flex:1 1 0;overflow-y:auto}
.tkv-msgr .tkv-body>*{flex-shrink:0}
.tkv-msgr .tkv-comp-in textarea{min-width:0}
@media(max-width:1080px){
 .tkv-buyer{padding:7px 14px}
 .tkv-msgr .tkv-resolve{padding:7px 14px;gap:6px;flex-wrap:wrap}
 .tkv-msgr .tkv-resolve>span{display:none}
 .tkv-msgr .tkv-resolve .tkv-btn{font-size:11px;padding:6px 9px;min-height:28px;white-space:normal}
}
@media(max-width:860px){
 .tkv-buyer{padding:7px 12px}
 .tkv-buyer-grid{gap:4px 6px}
 .tkv-buyer-title{margin-bottom:4px}
 .tkv-buyer-metric span{font-size:9px;line-height:12px}
 .tkv-buyer-metric strong{font-size:12px;line-height:16px}
 .tkv-buyer-metric.is-long strong{font-size:11px;line-height:13px}
 .tkv-order-key,.tkv-order-key code{font-size:10px;line-height:12px}
 .tkv-msgr .tkv-chat-h{padding:9px 12px}
 .tkv-msgr .tkv-body{padding:14px 12px}
 .tkv-msgr .tkv-comp{padding:8px 12px max(10px,env(safe-area-inset-bottom))}
 .tkv-msgr .tkv-comp-in{gap:7px;padding:7px 8px}
 .tkv-msgr .tkv-comp-atts:empty{display:none}
 .tkv-msgr .tkv-resolve{padding:6px 12px}
 .tkv-msgr .tkv-resolve .tkv-btn{flex:1 1 0;padding:6px 4px;font-size:10px}
}
