.pm-buyer-auth-card{max-width:760px;margin:0 auto}.pm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.pm-buyer-notice{padding:12px 16px;border:1px solid var(--pm-border);border-radius:var(--pm-radius-md);background:var(--pm-surface);margin:0 0 20px}.pm-buyer-error{border-left:4px solid #b42318}.pm-buyer-success{border-left:4px solid var(--pm-secondary)}.pm-buyer-dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px}.pm-buyer-panel,.pm-buyer-welcome{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:var(--pm-radius-md);padding:24px}.pm-buyer-welcome{margin-bottom:24px}.pm-buyer-panel h3,.pm-buyer-welcome h2{margin-top:0}.pm-rfq-table-wrap{overflow-x:auto}.pm-rfq-table{min-width:720px}@media(max-width:800px){.pm-form-grid,.pm-buyer-dashboard-grid{grid-template-columns:1fr}.pm-buyer-auth-card{max-width:none}}

/* Buyer procurement workspace */
.pm-buyer-dashboard{width:100%}.pm-buyer-dashboard-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 18px}.pm-buyer-dashboard-heading h2{margin:5px 0 3px;font-size:26px}.pm-buyer-dashboard-heading p{margin:0;color:var(--pm-muted)}
.pm-buyer-topbar{margin-bottom:24px;border:1px solid var(--pm-border);border-radius:14px;background:var(--pm-surface);overflow:hidden}.pm-buyer-topbar .pm-dashboard-navigation{display:flex;align-items:stretch;overflow-x:auto}.pm-buyer-topbar .pm-dashboard-navigation a{display:flex;align-items:center;gap:7px;min-height:54px;padding:0 18px;border-bottom:3px solid transparent;text-decoration:none;white-space:nowrap;font-size:14px;font-weight:600;color:var(--pm-text)}.pm-buyer-topbar .pm-dashboard-navigation a[aria-current="page"]{border-bottom-color:var(--pm-primary);background:#f7f8fc;color:var(--pm-primary)}.pm-buyer-topbar .pm-dashboard-navigation small{font-size:10px;font-weight:600;color:var(--pm-muted)}.pm-buyer-topbar .pm-dashboard-topbar-toggle{display:none}
.pm-buyer-workspace{width:100%}.pm-buyer-panel{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:14px;padding:24px}.pm-buyer-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.pm-buyer-section-head h2{margin:4px 0 0;font-size:20px}.pm-buyer-section-head a{text-decoration:none;font-size:13px;font-weight:600;color:var(--pm-primary)}
.pm-buyer-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.pm-buyer-kpi{padding:20px;border:1px solid var(--pm-border);border-radius:14px;background:var(--pm-surface)}.pm-buyer-kpi span{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:var(--pm-muted)}.pm-buyer-kpi strong{font-size:28px}.pm-buyer-placeholder{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;border:1px solid var(--pm-border);border-radius:14px;background:var(--pm-surface);text-align:center}.pm-buyer-placeholder h2{margin:12px 0 7px}.pm-buyer-placeholder p{max-width:520px;margin:0;color:var(--pm-muted)}.pm-buyer-coming{padding:6px 10px;border-radius:999px;background:#f1f3f8;font-size:11px;font-weight:700}
@media(max-width:900px){.pm-buyer-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pm-buyer-topbar .pm-dashboard-topbar-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 16px;border:0;background:#fff;font-size:14px;font-weight:600}.pm-buyer-topbar .pm-dashboard-navigation{display:none;flex-direction:column;overflow:visible}.pm-buyer-topbar.is-open .pm-dashboard-navigation{display:flex}.pm-buyer-topbar .pm-dashboard-navigation a{min-height:46px;border-bottom:0;border-left:3px solid transparent}.pm-buyer-topbar .pm-dashboard-navigation a[aria-current="page"]{border-left-color:var(--pm-primary)}}
@media(max-width:560px){.pm-buyer-overview-grid{grid-template-columns:1fr 1fr}.pm-buyer-panel{padding:16px}.pm-buyer-dashboard-heading h2{font-size:23px}}

.pm-buyer-profile-panel .pm-buyer-profile-form{max-width:900px}.pm-buyer-logo-field{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;margin-bottom:24px;padding:18px;border:1px solid var(--pm-border);border-radius:12px;background:#fafbfc}.pm-buyer-logo-preview{display:flex;align-items:center;justify-content:center;width:130px;height:100px;border:1px dashed var(--pm-border);border-radius:10px;background:#fff;overflow:hidden;color:var(--pm-muted);font-size:12px;font-weight:600}.pm-buyer-logo-preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.pm-buyer-logo-field label{display:block;margin-bottom:6px;font-size:13px;font-weight:600}.pm-buyer-logo-field p{margin:0 0 10px;font-size:12px;line-height:1.5;color:var(--pm-muted)}.pm-buyer-logo-remove{margin-top:10px!important;font-weight:500!important}
@media(max-width:600px){.pm-buyer-logo-field{grid-template-columns:1fr}.pm-buyer-logo-preview{width:100%;height:120px}}

.pm-buyer-primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border:1px solid var(--pm-primary);border-radius:9px;background:var(--pm-primary);color:#fff!important}.pm-buyer-empty{padding:45px 20px;border:1px dashed var(--pm-border);border-radius:12px;text-align:center}.pm-buyer-empty h3{margin:0 0 6px}.pm-buyer-empty p{margin:0;color:var(--pm-muted)}.pm-buyer-open-table th,.pm-buyer-open-table td{font-size:13px}.pm-buyer-open-table th{font-weight:600}.pm-buyer-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f1f3f8;font-size:11px;font-weight:700}

/* Buyer dashboard identity / session actions */
.pm-buyer-dashboard-identity{display:flex;align-items:center;gap:14px}.pm-buyer-dashboard-logo{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border:1px solid var(--pm-border);border-radius:12px;background:#fff;overflow:hidden}.pm-buyer-dashboard-logo img{width:100%;height:100%;object-fit:contain}.pm-buyer-dashboard-logo span{font-size:20px;font-weight:700;color:var(--pm-primary)}.pm-buyer-dashboard-logout{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid var(--pm-border);border-radius:9px;background:#fff;text-decoration:none;font-size:13px;font-weight:600;color:var(--pm-text)}.pm-buyer-dashboard-logout:hover{border-color:var(--pm-primary);color:var(--pm-primary)}
@media(max-width:600px){.pm-buyer-dashboard-heading{align-items:center}.pm-buyer-dashboard-logo{flex-basis:46px;width:46px;height:46px}.pm-buyer-dashboard-logout{min-height:38px;padding:0 12px}}
