/* Scoped layout for B2B team management */
.b2bm-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;max-width:980px;margin:20px 0}
.b2bm-team-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:600;line-height:1.4}
.b2bm-team-grid label span{color:#b42318}
.b2bm-team-grid input,.b2bm-team-grid select{box-sizing:border-box;display:block;width:100%!important;max-width:none!important;min-width:0;height:44px;min-height:44px;padding:8px 12px;margin:0!important;font-weight:400;font-size:14px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}
.b2bm-team-submit{display:flex;justify-content:flex-end;margin-top:12px;max-width:980px}
.b2bm-team-submit button{min-height:42px;padding:0 20px}
.b2bm-team-request{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid #e5e7eb}
.b2bm-team-request small,.b2bm-team-table small{display:block;color:#64748b;margin-top:4px}
.b2bm-team-request-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.b2bm-team-request-buttons form{margin:0}
.b2bm-team-table-wrap{overflow-x:auto}.b2bm-team-table{width:100%}.b2bm-team-table td{vertical-align:middle}
.b2bm-team-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.b2bm-team-actions select{width:auto;min-width:190px;max-width:100%;margin:0}.b2bm-team-actions button{min-height:40px}
.b2bm-team-card{padding:22px 0;border-top:1px solid #e5e7eb;margin-top:22px}
@media(max-width:700px){.b2bm-team-grid{grid-template-columns:1fr}.b2bm-team-request{align-items:flex-start;flex-direction:column}.b2bm-team-submit button{width:100%}}

.b2bm-team-existing,.b2bm-team-new{border:1px solid #e2e8f0;border-radius:10px;padding:18px 20px;margin-top:16px;max-width:1020px;background:#fff}
.b2bm-team-existing h4,.b2bm-team-new h4{margin:0 0 8px;font-size:15px}
.b2bm-team-existing .b2bm-team-grid,.b2bm-team-new .b2bm-team-grid{margin:16px 0}
@media(max-width:700px){.b2bm-team-existing,.b2bm-team-new{padding:14px}}
