/* VANTA FORGE | approved Purchasing visual language
   Scoped to Purchasing/Materials & Suppliers only. Never style Forge Quote.
   Owner approval: match approved industrial graphite + gold design.
   Imagery is existing shared temporary material art (not supplier evidence).
 */
.forge-buying-workspace{
 --vf-buy-gold:#efb943;--vf-buy-gold-light:#ffdb82;--vf-buy-stroke:rgba(226,165,57,.35);
 --vf-buy-line:rgba(125,149,169,.23);--vf-buy-panel:#0a151d;--vf-buy-panel-alt:#0c1a24;
 --vf-buy-white:#f2f4f5;--vf-buy-muted:#b0bfcb;
 color:var(--vf-buy-white);min-width:0;max-width:100%;font-family:Inter,Barlow,Arial,sans-serif
}
.forge-buying-workspace *, .forge-buying-workspace *::before,.forge-buying-workspace *::after{box-sizing:border-box}
.forge-buying-workspace button{cursor:pointer}
.forge-buying-workspace :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--vf-buy-gold-light);outline-offset:2px}
.forge-buying-workspace :is(button,input,select,textarea){font-family:inherit}
.forge-buying-workspace .btn{min-height:36px;transition:background .15s,border-color .15s}
.forge-buying-workspace .btn.p{background:linear-gradient(125deg,#e8a92d,#ffd879);border:1px solid #e7b34d;color:#18120a;font-weight:750;box-shadow:0 0 11px #d09b3124}
.forge-buying-workspace .btn.p:hover{background:linear-gradient(125deg,#ffd46d,#f0ae34)}
.forge-buying-workspace .btn.s{border:1px solid #3a5061;background:#0b1821;color:#eff2f3}
.forge-buying-workspace .btn.s:hover{border-color:#d9ac57;color:#ffd77a}
.forge-buying-workspace .muted,.forge-buying-workspace .dim{color:var(--vf-buy-muted)}
.forge-buying-workspace #body{min-width:0}
.vf-buy-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #71572b;border-bottom:2px solid #c38a31;border-radius:13px;min-height:158px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 32px;background:#090d10 url('media/setup/sheet-metals-generic.webp') right center/cover no-repeat;box-shadow:inset 0 1px #f9d59a28,0 9px 30px #0006}
.vf-buy-hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#060d13 0%,rgba(6,13,19,.95) 36%,rgba(8,16,24,.48) 68%,rgba(7,12,17,.33) 100%)}
.vf-buy-hero::after{content:'';position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#ecb45c,transparent)}
.vf-buy-hero-large{min-height:220px}
.vf-buy-hero-copy{max-width:min(640px,66%);min-width:0}
.vf-buy-eyebrow{display:block;font-size:10px;letter-spacing:.24em;font-weight:800;color:#ffd16e;margin:0 0 10px}
.vf-buy-hero h2{margin:0;color:#f7f4ec;font-size:clamp(24px,2.6vw,41px);line-height:1.13;letter-spacing:-.035em;font-weight:850;text-wrap:balance}
.vf-buy-hero h2 span{color:#f2bd58}
.vf-buy-hero p{font-size:13px;line-height:1.65;color:#e2e5e6;margin:11px 0 0;max-width:570px}
.vf-buy-hero-signature{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:210px;width:24%;margin-left:auto;padding:12px 10px;border-radius:9px;background:rgba(4,10,14,.31);border-left:1px solid rgba(239,189,94,.25)}
.vf-buy-hero-signature img{max-width:100%;height:auto;max-height:66px;object-fit:contain}
.vf-buy-hero-signature span{font-size:8px;letter-spacing:.18em;color:#e5c17c;text-align:center}
.vf-buy-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 9px;min-width:0}
.vf-buy-tabs button{background:#0b1b25;color:#dae3e9;border:1px solid #3a4e5c;border-radius:8px;padding:11px 17px;font-size:12px;font-weight:750;min-height:42px}
.vf-buy-tabs button.on{border-color:#e2af50;background:linear-gradient(115deg,rgba(223,172,70,.23),rgba(223,172,70,.07));color:#ffd87f;box-shadow:inset 3px 0 #e7b452}
.vf-buy-tabs button:hover{border-color:#edb64d}
.vf-buy-tabs .vf-buy-tabs-purchasing{margin-left:auto;color:#f4ca6c;border-color:#947240}
.vf-buy-advanced{border:1px solid rgba(139,157,173,.19);border-radius:8px;background:#0a151c;margin:0 0 12px;padding:9px 13px}
.vf-buy-advanced>summary{cursor:pointer;color:#b2c2cc;font-size:11px;font-weight:700}
.vf-buy-advanced summary small{font-size:10px;font-weight:400;color:#7e97a7;margin-left:8px}
.vf-buy-advanced-inner{display:flex;flex-wrap:wrap;gap:8px;padding:13px 2px 4px}
.vf-buy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.vf-buy-stat{display:flex;align-items:center;gap:11px;text-align:left;min-width:0;min-height:88px;border:1px solid #87622d;border-radius:10px;background:linear-gradient(145deg,rgba(26,28,27,.95),rgba(7,17,23,.98));padding:12px 13px;color:var(--vf-buy-white);box-shadow:inset 0 1px #f5ca7020}
.vf-buy-stat:hover{border-color:#f5cb67;transform:translateY(-1px)}
.vf-buy-stat-icon{display:grid;place-items:center;flex:0 0 51px;width:51px;height:51px;border-radius:50%;font-size:29px;font-weight:700;color:#f6c35c;border:1px solid #73562e;background:radial-gradient(circle,#56401977,#18202977)}
.vf-buy-stat-words{display:grid;min-width:0}.vf-buy-stat-words strong{font-size:29px;line-height:1.15;font-weight:850;color:#fff}.vf-buy-stat-words small{font-size:11px;line-height:1.3;color:#c5ced4}.vf-buy-stat-arrow{color:#e7b653;margin-left:auto;font-size:23px}
.vf-buy-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}
.vf-buy-feature{border:1px solid #7b592f;border-radius:11px;overflow:hidden;background:linear-gradient(160deg,#0b1b25,#071018);min-width:0;box-shadow:0 14px 34px #0004}
.vf-buy-feature-photo{height:142px;background:linear-gradient(0deg,rgba(3,10,13,.05),rgba(3,10,13,.05)),var(--vf-photo) center center/cover no-repeat;position:relative}
.vf-buy-feature-photo::after{content:'';position:absolute;inset:auto 0 0;height:30px;background:linear-gradient(0deg,#08151d,transparent)}
.vf-buy-feature-body{padding:12px 12px 14px}
.vf-buy-feature-heading{display:flex;align-items:flex-start;gap:10px;min-height:93px}
.vf-buy-feature-icon{font-size:33px;color:#f8c762;line-height:1.15}
.vf-buy-feature-heading h3{font-size:19px;line-height:1.15;color:#f5f6f8;margin:0 0 7px;font-weight:780}
.vf-buy-feature-heading p{font-size:11px;line-height:1.5;color:#b9c9d3;margin:0}
.vf-buy-feature-arrow{margin-left:auto;color:#f4be52;font-size:26px}
.vf-buy-feature-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.vf-buy-feature-actions button{min-width:0;min-height:65px;padding:7px 4px;background:linear-gradient(175deg,#112530,#071821);color:#e3e9ed;border:1px solid #324d5d;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px;line-height:1.3;text-align:center}
.vf-buy-feature-actions button span{font-size:22px;line-height:1;color:#f3bb4a}
.vf-buy-feature-actions button:hover{border-color:#f2bd58;background:#132835}
.vf-buy-explainer{border:1px solid #8b6631;border-radius:10px;background:linear-gradient(135deg,#0d1c25,#090e12);padding:19px 21px}
.vf-buy-explainer-title{display:flex;align-items:center;gap:12px}.vf-buy-explainer-bulb{font-size:30px;color:#f8c461}.vf-buy-explainer-title h3{font-size:17px;margin:0 0 4px}.vf-buy-explainer-title p{font-size:11px;color:#bfccd7;margin:0}
.vf-buy-explainer-flow{display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr) 25px minmax(0,1fr);align-items:center;gap:6px;margin:14px 0 8px}
.vf-buy-explainer-flow>div{padding:13px 15px;border:1px solid #4b3c22;border-radius:8px;background:rgba(2,12,18,.69);min-height:100px}
.vf-buy-explainer-flow strong{font-size:12px;color:#ffcf70;display:flex;align-items:center;gap:9px}
.vf-buy-explainer-flow em{font-style:normal;width:26px;height:26px;border:1px solid #b1883c;border-radius:50%;display:grid;place-items:center;color:#fff;background:#533716}
.vf-buy-explainer-flow p{font-size:10.5px;line-height:1.5;color:#c9d2d9;margin:7px 0 0}
.vf-buy-flow-arrow{font-size:25px;text-align:center;color:#f1bd4d}
.vf-buy-explainer-foot{color:#a9b8c2;font-size:10px;margin:0}
.vf-buy-supplier-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 13px}
.vf-buy-supplier-toolbar>.btn{min-height:45px;padding:11px 20px;white-space:nowrap}
.vf-buy-search{display:flex;align-items:center;gap:8px;border:1px solid #3c5263;border-radius:8px;background:#0c1921;padding:0 12px;min-height:45px;min-width:210px;flex:1;max-width:620px;color:#e9bd60}
.vf-buy-search span{font-size:22px}
.vf-buy-search input{border:0!important;outline:0!important;background:transparent!important;color:#e7edef!important;min-width:0;width:100%;padding:8px 2px!important;box-shadow:none!important}
.vf-buy-category select{min-height:45px;border:1px solid #41596a;background:#0b1b25;color:#eff2f4;border-radius:8px;padding:8px 13px;max-width:230px}
.vf-buy-view-buttons{display:flex;gap:4px}
.vf-buy-view-buttons button{border:1px solid #486075;background:#10202c;color:#c2ccd2;border-radius:7px;min-width:40px;height:43px;font-size:19px}
.vf-buy-view-buttons button.on{border-color:#e4ac46;color:#f9cd61;background:#362818}
.vf-buy-supplier-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:12px;align-items:start}
.vf-buy-subcount{color:#abbcc8;font-size:11px;margin:0 0 9px}
.vf-buy-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.vf-buy-supplier-card{border:1px solid #344958;border-radius:10px;background:linear-gradient(145deg,#0d202b,#08141c);display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px;min-width:0;min-height:193px}
.vf-buy-supplier-card:hover{border-color:#bd9143}
.vf-buy-supplier-photo{height:94px;overflow:hidden;border-radius:7px;border:1px solid #56472c;grid-row:1/2}
.vf-buy-supplier-photo img{width:100%;height:100%;object-fit:cover}
.vf-buy-supplier-copy{display:flex;flex-direction:column;min-width:0;gap:9px}
.vf-buy-supplier-heading{display:flex;justify-content:space-between;gap:5px;align-items:flex-start}
.vf-buy-supplier-name{font-size:14px;font-weight:800;color:#fff;background:none;border:0;text-align:left;line-height:1.25;padding:0}
.vf-buy-supplier-name:hover{color:#ffd16e}
.vf-buy-supplier-heading small{display:block;margin-top:5px;color:#9cb3c4;font-size:10px}
.vf-buy-status{background:#063b2e;border:1px solid #266d51;color:#84ecae;border-radius:5px;font-size:9px;font-weight:800;padding:5px 6px;white-space:nowrap}
.vf-buy-status.inactive{background:#302b21;color:#efcb8a;border-color:#7b5c33}
.vf-buy-supplier-fields{display:grid;grid-template-columns:1fr 1fr 65px;gap:8px;border-top:1px solid #203849;padding-top:11px;margin-top:auto}
.vf-buy-supplier-fields>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.vf-buy-supplier-fields small{color:#f6c55b;font-size:9px;font-weight:750}
.vf-buy-supplier-fields span{color:#d1dbe2;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.vf-buy-supplier-fields b{font-size:18px;color:#fff}
.vf-buy-supplier-tags{max-height:49px;overflow:hidden}
.vf-buy-chip{display:inline-block;font-size:10px;color:#d8e3ea;background:#122b37;border:1px solid #38526a;border-radius:6px;padding:3px 6px;margin:0 3px 3px 0}
.vf-buy-chip-pending{border-color:#8f6b38;color:#d8b873}
.vf-buy-supplier-actions{display:flex;gap:7px;flex-wrap:wrap}
.vf-buy-supplier-actions .btn{font-size:10px;min-height:34px}
.vf-buy-directory-aside{display:grid;gap:12px}
.vf-buy-aside-panel,.vf-buy-price-history,.vf-buy-materials-supplied{border:1px solid #604c2a;border-radius:10px;padding:17px;background:linear-gradient(145deg,#0b1c26,#07131b);min-width:0}
.vf-buy-aside-panel h3{margin:0 0 14px;color:#f1f1f2;font-size:14px}
.vf-buy-aside-panel dl{margin:0}.vf-buy-aside-panel dl>div,.vf-buy-category-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #2a3843;padding:9px 0}
.vf-buy-aside-panel dt,.vf-buy-category-list span{font-size:10px;color:#b5c4d1}.vf-buy-aside-panel dd,.vf-buy-category-list b{font-size:19px;color:#f8ce67;margin:0}
.vf-buy-note{font-size:10px;line-height:1.55;color:#91aabe}
.vf-buy-aside-panel>button{width:100%;display:block;text-align:left;background:none;border:0;border-bottom:1px solid #293946;color:#d1dfe8;padding:9px 0;font-size:11px}
.vf-buy-supplier-grid.list{grid-template-columns:1fr}
.vf-buy-supplier-grid.list .vf-buy-supplier-card{grid-template-columns:100px minmax(0,1fr)}
.vf-buy-supplier-card[hidden],.vf-buy-data-table tr[hidden],.vf-buy-no-results[hidden]{display:none!important}
.vf-buy-empty{color:#a6b8c5;font-size:12px;padding:17px;background:#091924;border:1px dashed #3c4b5b;border-radius:8px}
.vf-buy-supplier-detail,.vf-buy-supplier-directory,.vf-buy-supplier-layout,.vf-buy-supplier-grid,.vf-buy-price-history,.vf-buy-materials-supplied{min-width:0;max-width:100%}
.vf-buy-detail-hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:end;gap:17px;overflow:hidden;min-height:170px;padding:24px 25px;border:1px solid #715129;border-radius:12px;background:linear-gradient(90deg,#0c171d,#1a1e1b),url('media/setup/sheet-metals-generic.webp') center/cover}
.vf-buy-detail-hero::before{position:absolute;content:'';inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,14,21,.96),rgba(5,14,21,.67) 68%,rgba(5,14,21,.37))}
.vf-buy-crumbs{display:flex;gap:12px;align-items:center;margin:0 0 10px;font-size:11px;color:#aebdca}
.vf-buy-crumbs button{color:#e7b955;background:transparent;border:0;padding:3px 0}
.vf-buy-detail-hero-copy h3{font-size:clamp(24px,2.5vw,34px);margin:0 0 5px;line-height:1.15;color:#fff}
.vf-buy-detail-hero-copy p{color:#ccd9e2;margin:0 0 12px}
.vf-buy-detail-actions{display:flex;flex-wrap:wrap;gap:8px;align-self:center}
.vf-buy-detail-actions .btn{white-space:nowrap}
.vf-buy-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.vf-buy-detail-metrics>div{padding:16px;border:1px solid #6b512d;border-radius:10px;background:linear-gradient(155deg,#13202a,#09141b);display:grid;gap:5px;min-width:0}
.vf-buy-detail-metrics small{color:#e0b763;font-size:10px;font-weight:750}
.vf-buy-detail-metrics strong{color:#f2f4f6;font-size:14px;overflow-wrap:anywhere}
.vf-buy-detail-metrics span{font-size:10px;color:#acbfcd}
.vf-buy-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 13px}
.vf-buy-section-head h3{color:#f7f6f2;font-size:17px;margin:0 0 5px}.vf-buy-section-head p{color:#a8bbc7;font-size:11px;margin:0}
.vf-buy-materials-supplied,.vf-buy-price-history{margin:12px 0}
.vf-buy-material-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.vf-buy-material-tiles>div{min-width:0;border:1px solid #415262;border-radius:8px;overflow:hidden;background:#07141c}
.vf-buy-material-tiles img{width:100%;height:82px;object-fit:cover;display:block}
.vf-buy-material-tiles strong{display:block;padding:9px;color:#f6cc72;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.vf-buy-detail-price-tools{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 11px}
.vf-buy-price-history .vf-buy-search{max-width:500px}
.vf-buy-data-table{width:100%;max-width:100%;overflow-x:auto}
.vf-buy-data-table table{width:100%;min-width:850px;border-collapse:collapse;font-size:11px}
.vf-buy-data-table thead{background:#192b35;color:#c9d7df}
.vf-buy-data-table th{text-align:left;white-space:nowrap;padding:11px}
.vf-buy-data-table td{border-bottom:1px solid #243641;padding:10px 11px;color:#d3dee6}
.vf-buy-data-table td strong{color:#f7f6f5}.vf-buy-data-table td small{display:block;color:#a7b4bf}
.vf-buy-price-status{display:inline-block;font-weight:750;font-size:9px;color:#9be5ba;border:1px solid #245d48;background:#093b2c;padding:4px 7px;border-radius:5px;white-space:nowrap}
.vf-buy-price-status.warning{color:#e9c77a;border-color:#77603a;background:#342b1a}
.vf-buy-nowrap{white-space:nowrap}
.forge-buying-workspace .premium-panel{background:linear-gradient(160deg,#11232e,#07161f)!important;border:1px solid #61502f!important;border-radius:11px!important;overflow:hidden}
.forge-buying-workspace .premium-panel .panel-head{background:linear-gradient(100deg,#111d26,#0b1b23);border-bottom:1px solid #385066;padding:12px 15px}
.forge-buying-workspace .premium-panel .panel-head h3{color:#f9f5e8;font-size:15px}
.forge-buying-workspace .premium-panel .panel-subtitle{color:#a8bbcb;line-height:1.5}
.forge-buying-workspace .premium-panel .panel-body{padding:15px}
.forge-buying-workspace .premium-panel table{min-width:640px}
.forge-buying-workspace .premium-panel .table-scroll{overflow-x:auto}
.forge-buying-workspace .premium-panel table th{font-size:10px;color:#eac476;background:#13232d}
.forge-buying-workspace .premium-panel table td{font-size:11px;color:#c8d9e3}
.forge-buying-workspace .premium-panel input,.forge-buying-workspace .premium-panel select{border:1px solid #486071;background:#0b1b24;color:#edf2f5}
.forge-buying-workspace .premium-panel .panel-action-bar{background:#091922;border-top:1px solid #284050;padding:12px}
.forge-buying-workspace .supplier-material-filter{background:#0a1b23;border:1px solid #6c552b;border-radius:11px}
.forge-buying-workspace .supplier-material-filter .btn.p{color:#12161a}
.forge-buying-workspace .ops-summary .kpi{background:linear-gradient(135deg,#162934,#0b161f);border:1px solid #76572d;border-radius:9px}
.forge-buying-workspace .ops-summary .kpi .v{color:#f6c868}
.forge-buying-workspace .field label{color:#e6c17d;font-weight:650}
.forge-buying-workspace .field :is(input,select,textarea){max-width:100%}
.forge-buying-operations .vf-buy-ops-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.forge-buying-operations .vf-buy-ops-kpis>div{border:1px solid #82652f;background:linear-gradient(150deg,#152831,#091720);border-radius:10px;padding:16px}
.forge-buying-operations .vf-buy-ops-kpis strong{display:block;color:#f8c864;font-size:29px}
.forge-buying-operations .vf-buy-ops-kpis small{font-size:11px;color:#b3c2cd}
.forge-buying-operations .vf-buy-ops-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.forge-buying-operations .vf-buy-ops-shortcuts button{min-height:95px;background:linear-gradient(155deg,#152630,#091a24);border:1px solid #6c552f;border-radius:10px;color:#e8f0f4;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;padding:15px;text-align:left}
.forge-buying-operations .vf-buy-ops-shortcuts button b{color:#f5f6fa;font-size:13px}.forge-buying-operations .vf-buy-ops-shortcuts button small{color:#aabcca}
.forge-buying-operations .vf-buy-ops-shortcuts button span{font-size:24px;color:#f5be52}
.forge-buying-operations .vf-buy-ops-shortcuts button:hover{border-color:#edbd56}
.forge-buying-operations .forge-module-hero{background:linear-gradient(90deg,#07131b,#06121bbd),url('media/setup/sheet-metals-generic.webp') right center/cover;border:1px solid #8b672f;border-radius:12px;min-height:175px;padding:24px}
.forge-buying-operations .forge-module-hero h2{color:#f5c367;font-size:clamp(22px,2.4vw,34px)}
.forge-buying-operations .forge-module-hero .muted{color:#d5dee7}
.forge-buying-operations .profile-kpis{display:none}
.forge-buying-operations .grid.ops-summary{display:none}
@media(max-width:1390px){
 .vf-buy-supplier-layout{grid-template-columns:minmax(0,1fr) 220px}
 .vf-buy-supplier-grid{grid-template-columns:1fr}
 .vf-buy-supplier-card{grid-template-columns:100px minmax(0,1fr)}
}
@media(max-width:1090px){
 .vf-buy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-features{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-feature:last-child{grid-column:1/-1}
 .vf-buy-supplier-layout{grid-template-columns:1fr}
 .vf-buy-supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-directory-aside{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:790px){
 .vf-buy-hero{min-height:155px;padding:22px}.vf-buy-hero-large{min-height:175px}
 .vf-buy-hero-signature{display:none}.vf-buy-hero-copy{max-width:100%}
 .vf-buy-features{grid-template-columns:1fr}.vf-buy-feature:last-child{grid-column:auto}
 .vf-buy-supplier-grid{grid-template-columns:1fr}
 .vf-buy-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-tabs button{padding:9px 7px;min-height:39px}
 .vf-buy-tabs .vf-buy-tabs-purchasing{margin:0;grid-column:1/-1}
 .vf-buy-explainer-flow{display:grid;grid-template-columns:1fr;gap:6px}
 .vf-buy-flow-arrow{transform:rotate(90deg)}
 .vf-buy-material-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
 .forge-buying-operations .vf-buy-ops-kpis,.forge-buying-operations .vf-buy-ops-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:550px){
 .vf-buy-hero{padding:20px 16px}.vf-buy-hero h2{font-size:25px}.vf-buy-hero p{font-size:11px}
 .vf-buy-stats{gap:7px}.vf-buy-stat{min-height:73px;padding:8px;gap:6px}
 .vf-buy-stat-icon{width:35px;height:35px;flex-basis:35px;font-size:21px}
 .vf-buy-stat-words strong{font-size:22px}.vf-buy-stat-words small{font-size:10px}
 .vf-buy-stat-arrow{display:none}.vf-buy-feature-photo{height:136px}
 .vf-buy-supplier-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-supplier-toolbar>.btn,.vf-buy-supplier-toolbar .vf-buy-search{grid-column:1/-1}
 .vf-buy-category select{width:100%}.vf-buy-view-buttons{justify-content:flex-end}
 .vf-buy-supplier-card{grid-template-columns:83px minmax(0,1fr);gap:8px;padding:9px}
 .vf-buy-supplier-photo{height:84px}
 .vf-buy-supplier-fields{grid-template-columns:1fr 1fr 50px}
 .vf-buy-supplier-fields small{font-size:8px}.vf-buy-supplier-fields span{font-size:9px}
 .vf-buy-supplier-name{font-size:12px}.vf-buy-status{font-size:8px}
 .vf-buy-directory-aside{grid-template-columns:1fr}
 .vf-buy-detail-hero{flex-direction:column;align-items:flex-start;padding:16px}
 .vf-buy-detail-metrics{grid-template-columns:1fr}
 .vf-buy-material-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vf-buy-explainer{padding:15px}
}
@media(prefers-reduced-motion:reduce){.vf-buy-stat,.vf-buy-feature-actions button{transition:none!important;transform:none!important}}

/* Narrow viewport guard: thumbnails and scrollable saved price tables must not widen the page. */
@media(max-width:550px){.forge-buying-workspace{overflow-x:clip}.vf-buy-supplier-grid,.vf-buy-supplier-card,.vf-buy-supplier-copy,.vf-buy-supplier-photo,.vf-buy-detail-hero,.vf-buy-detail-metrics,.vf-buy-detail-price-tools{min-width:0;max-width:100%;overflow-wrap:anywhere}.vf-buy-supplier-card{overflow:hidden}.vf-buy-supplier-photo img,.vf-buy-material-tiles img{display:block;width:100%;max-width:100%;min-width:0;object-fit:cover}.vf-buy-price-history{overflow:hidden}.vf-buy-data-table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.vf-buy-data-table table{max-width:none;min-width:850px}.vf-buy-supplier-toolbar .vf-buy-search{min-width:0}.vf-buy-category{min-width:0}.vf-buy-category select{max-width:100%}}

/* 2026-10-14 Purchasing landing correction: approved image-led layout, real data. */
.forge-buying-operations .vf-purchasing-main-intro{display:block;margin:0 0 10px}
.forge-buying-operations .vf-purchasing-hero-banner{min-height:248px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:28px 34px;border:1px solid #a1742d;border-bottom:2px solid #f4bc57;border-radius:12px;background:linear-gradient(90deg,#060e14 1%,rgba(6,14,20,.93) 30%,rgba(6,14,20,.50) 62%,rgba(6,14,20,.25) 100%),url('media/setup/sheet-metals-generic.webp') center/cover no-repeat;box-shadow:0 0 15px rgba(222,146,36,.16);overflow:hidden}
.forge-buying-operations .vf-purchasing-hero-banner>div{max-width:710px;min-width:0;position:relative}
.forge-buying-operations .vf-purchasing-hero-banner>div>span{font:800 11px Inter,Arial,sans-serif;letter-spacing:.21em;color:#f3c268}
.forge-buying-operations .vf-purchasing-hero-banner h2{font:850 clamp(27px,3vw,44px)/1.10 Inter,Arial,sans-serif;margin:8px 0 10px;color:#f7f7f4;letter-spacing:-.03em}
.forge-buying-operations .vf-purchasing-hero-banner h2 em{color:#ffc965;font-style:normal}
.forge-buying-operations .vf-purchasing-hero-banner p{font-size:13px;line-height:1.65;color:#e5e7e9;max-width:630px;margin:0 0 15px}
.forge-buying-operations .vf-purchasing-hero-banner>img{width:min(210px,23%);height:auto;max-height:83px;object-fit:contain;filter:drop-shadow(0 1px 9px #000);opacity:.96}
.forge-buying-operations .vf-purchasing-hero-links{display:flex;gap:9px;flex-wrap:wrap}
.forge-buying-operations .vf-buy-ops-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:12px 0 13px}
.forge-buying-operations .vf-buy-ops-kpis>div{min-height:91px;border:1px solid #986d2d;background:linear-gradient(120deg,#211d16,#0b151b 62%);display:flex;flex-direction:column;justify-content:center;padding:15px 18px;box-shadow:inset 0 1px #e7c67a32}
.forge-buying-operations .vf-buy-ops-kpis strong{font-size:31px;line-height:1.05;color:#fff}
.forge-buying-operations .vf-buy-ops-kpis small{font-size:11px;color:#d9dce0;margin-top:7px}
.forge-buying-operations .vf-buy-ops-shortcuts.vf-purchasing-feature-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:10px 0 13px}
.forge-buying-operations .vf-purchasing-feature-row>button{min-height:332px;padding:0;border-radius:10px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;overflow:hidden;background:linear-gradient(155deg,#0d1d25,#060f15);border:1px solid #845f2a;gap:0}
.forge-buying-operations .vf-purchasing-feature-row>button img{width:100%;height:167px;object-fit:cover;display:block;margin:0 0 12px;opacity:.95}
.forge-buying-operations .vf-purchasing-feature-row>button span{font-size:23px;margin:0 16px 2px;color:#ffd069}
.forge-buying-operations .vf-purchasing-feature-row>button b{font-size:20px;margin:0 16px 7px;color:#f6f6f7}
.forge-buying-operations .vf-purchasing-feature-row>button small{font-size:12px;line-height:1.48;margin:0 16px 12px;color:#c1cdd5;flex:1}
.forge-buying-operations .vf-purchasing-feature-row>button em{font-size:12px;font-style:normal;font-weight:750;color:#f8c76b;margin:0 16px 17px;border-top:1px solid #35424c;padding-top:11px}
.forge-buying-operations .vf-purchasing-feature-row>button:hover{border-color:#f8c663;transform:translateY(-2px)}
.forge-buying-operations .vf-buy-explainer{margin:8px 0 15px}
.forge-buying-operations .vf-purchasing-operations{border:1px solid #7e5d31;border-radius:11px;padding:17px 18px;margin-top:13px;background:linear-gradient(135deg,#0d1e27,#07131a);min-width:0}
.forge-buying-operations .vf-purchasing-operations-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.forge-buying-operations .vf-purchasing-operations-head small{color:#eec16b;font-size:10px;letter-spacing:.15em}
.forge-buying-operations .vf-purchasing-operations-head h3{font-size:19px;color:#f3f5f6;margin:5px 0}
.forge-buying-operations .vf-purchasing-operations-head p{font-size:11px;color:#aebcc8;margin:0}
.forge-buying-operations .vf-purchasing-operations .premium-panel{margin:13px 0 0}
.forge-buying-operations .vf-purchasing-operations .premium-panel[hidden]{display:none!important}
@media(max-width:1000px){.forge-buying-operations .vf-purchasing-feature-row>button{min-height:295px}.forge-buying-operations .vf-purchasing-feature-row>button img{height:135px}}
@media(max-width:800px){.forge-buying-operations .vf-buy-ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.forge-buying-operations .vf-buy-ops-shortcuts.vf-purchasing-feature-row{grid-template-columns:1fr}.forge-buying-operations .vf-purchasing-feature-row>button{min-height:250px}.forge-buying-operations .vf-purchasing-hero-banner{min-height:205px;padding:22px}.forge-buying-operations .vf-purchasing-hero-banner>img{display:none}}
@media(max-width:470px){.forge-buying-operations .vf-purchasing-hero-banner h2{font-size:27px}.forge-buying-operations .vf-buy-ops-kpis>div{padding:11px}.forge-buying-operations .vf-purchasing-feature-row>button img{height:140px}}
