/* 1KG SourceHub Workspace Focus v1.0.1
 * Scope only to customer RFQ pages; never changes auth, requests, quote data or forms.
 * Removes shop chrome, widens usable workspace and improves responsive layouts.
 */
html{box-sizing:border-box}
body.kg-rfq-focus{min-width:320px!important;max-width:100%!important;overflow-x:hidden!important;color:#193f2a}
body.kg-rfq-focus *,body.kg-rfq-focus *::before,body.kg-rfq-focus *::after{box-sizing:border-box}
body.kg-rfq-focus > .sh-head,
body.kg-rfq-focus > .cmp-head,
body.kg-rfq-focus > .kg-site-header,
body.kg-rfq-focus > .kg-ref-header,
body.kg-rfq-focus > .topbar,
body.kg-rfq-focus > .category-section{display:none!important}
body.kg-rfq-focus .app{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin:0 auto!important;padding:20px clamp(12px,2vw,35px) 42px!important;
}
body.kg-rfq-focus .page-title{display:flex!important;align-items:flex-start!important;gap:12px!important;flex-wrap:wrap!important;margin:0 0 16px!important}
body.kg-rfq-focus .page-title>div{min-width:0!important}
body.kg-rfq-focus .page-title>div:last-child{margin-left:auto!important}
body.kg-rfq-focus .page-title h2{font-size:clamp(20px,1.7vw,26px)!important;line-height:1.2!important}
body.kg-rfq-focus .page-title .primary,body.kg-rfq-focus .page-title .secondary{white-space:normal!important}
body.kg-rfq-focus .summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(8px,1vw,16px)!important;margin-bottom:14px!important}
body.kg-rfq-focus .summary>.stat{min-width:0!important;padding:clamp(12px,1.15vw,18px)!important;min-height:95px!important}
body.kg-rfq-focus .workspace{
 display:grid!important;width:100%!important;
 grid-template-columns:minmax(250px,23%) minmax(360px,1fr) minmax(280px,29%)!important;
 gap:clamp(9px,1vw,16px)!important;align-items:start!important;min-width:0!important;
}
body.kg-rfq-focus .workspace .panel{min-width:0!important;max-width:100%!important;min-height:495px!important}
body.kg-rfq-focus .workspace .readpanel,body.kg-rfq-focus .workspace .rightpanel{grid-column:auto!important}
body.kg-rfq-focus .workspace .read,body.kg-rfq-focus .workspace .right-content{overflow-wrap:anywhere}
body.kg-rfq-focus .workspace .comparison,body.kg-rfq-focus .workspace .item-table{max-width:100%!important;overflow-x:auto!important}
body.kg-rfq-focus .rfqlist{max-height:min(62vh,690px)}
body.kg-rfq-focus .tabs{flex-wrap:wrap}
body.kg-rfq-focus .searchbox input{min-width:0}
body.kg-rfq-focus dialog{max-width:min(840px,calc(100vw - 22px))!important;max-height:92dvh!important}
body.kg-rfq-focus .cmp-wrap,body.kg-rfq-focus .doc-wrap{
 width:100%!important;max-width:none!important;margin:0 auto!important;
 padding:22px clamp(12px,2vw,34px) 50px!important;
}
body.kg-rfq-focus .cmp-cols{grid-template-columns:minmax(0,1.65fr) minmax(280px,.7fr)!important}
body.kg-rfq-focus .cmp-panel,body.kg-rfq-focus .doc-panel,body.kg-rfq-focus .cmp-cols>*{min-width:0!important}
body.kg-rfq-focus .cmp-controls select{max-width:min(480px,100%)!important}
@media(max-width:1180px){
 body.kg-rfq-focus .workspace{grid-template-columns:minmax(235px,31%) minmax(0,1fr)!important}
 body.kg-rfq-focus .workspace .rightpanel{grid-column:2!important;min-height:0!important}
 body.kg-rfq-focus .summary{gap:9px!important}
 body.kg-rfq-focus .cmp-cols{grid-template-columns:minmax(0,1fr)!important}
 body.kg-rfq-focus .right-panel{position:static!important}
}
@media(max-width:780px){
 body.kg-rfq-focus .app{padding:14px 12px 35px!important}
 body.kg-rfq-focus .page-title{align-items:flex-start!important;flex-direction:column!important;gap:9px!important}
 body.kg-rfq-focus .page-title>div:last-child{margin:0!important;text-align:left!important}
 body.kg-rfq-focus .summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.kg-rfq-focus .workspace{display:flex!important;flex-direction:column!important;gap:10px!important}
 body.kg-rfq-focus .workspace .panel{width:100%!important;min-height:0!important}
 body.kg-rfq-focus .workspace .sidebar{order:1!important}
 body.kg-rfq-focus .workspace .readpanel{order:2!important}
 body.kg-rfq-focus .workspace .rightpanel{order:3!important}
 body.kg-rfq-focus .rfqlist{max-height:320px!important}
 body.kg-rfq-focus .cmp-wrap,body.kg-rfq-focus .doc-wrap{padding:15px 12px 34px!important}
 body.kg-rfq-focus .stat-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.kg-rfq-focus .cmp-cols{grid-template-columns:minmax(0,1fr)!important}
 body.kg-rfq-focus .cmp-controls select{width:100%!important;min-width:0!important}
}
@media(max-width:390px){
 body.kg-rfq-focus .page-title .primary,body.kg-rfq-focus .page-title .secondary{padding:9px 11px!important}
 body.kg-rfq-focus .stat{padding:10px!important}
 body.kg-rfq-focus .stat strong{font-size:24px!important}
 body.kg-rfq-focus .line-items{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.kg-rfq-focus .line-items input{min-width:0!important}
}
