.vendor-section-form{background:transparent;padding:0}.vendor-section-form fieldset{border:1px solid #dbe3ef;border-radius:12px;background:#fff;padding:20px;margin:0 0 16px}.vendor-section-form legend{font-size:18px;font-weight:800;color:#142b52;padding:0 8px}.vendor-section-form legend span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0b2a67;color:#fff;margin-right:9px;font-size:14px}.section-help{color:#6b7b91;margin-top:0}.category-field ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0}.category-field li label{display:flex;align-items:center;gap:8px;padding:10px;background:#f7f9fc;border:1px solid #e1e7f0;border-radius:7px;font-weight:600}.category-field input{width:auto}.sticky-form-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 0 4px}.supplier-code-link{color:#0b5cad;text-decoration:none}.supplier-code-link:hover{text-decoration:underline}.field-management-link{margin-top:-8px}.field-management-link a{font-weight:700;color:#0b5cad;text-decoration:none}@media(max-width:900px){.category-field ul{grid-template-columns:1fr}.vendor-section-form fieldset{padding:15px}}

/* Vendors 4.5.1 — visual supplier status workflow */
.vendor-status-overview{display:grid;gap:18px;margin:0 0 28px}.vendor-total-card{display:flex;align-items:center;gap:18px;width:min(360px,100%);padding:20px 22px;border:1px solid #dbe5f1;border-radius:18px;background:linear-gradient(135deg,#0b2a67,#174a9b);color:#fff;text-decoration:none;box-shadow:0 10px 28px rgba(11,42,103,.16);transition:.2s ease}.vendor-total-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(11,42,103,.22)}.vendor-total-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:rgba(255,255,255,.14);font-size:23px;font-weight:900}.vendor-total-card>span:last-child{display:grid}.vendor-total-card small{font-size:14px;color:#dbe7fb}.vendor-total-card strong{font-size:34px;line-height:1.1}.vendor-total-card em{font-style:normal;font-size:12px;color:#b9cae7}.vendor-workflow-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #dce5f0;padding:0 2px 12px}.vendor-workflow-heading h2{margin:0;color:#142b52;font-size:21px}.vendor-workflow-heading p{margin:4px 0 0;color:#7b899d;font-size:14px}.vendor-workflow-heading>span{padding:7px 11px;border-radius:999px;background:#e9f3ff;color:#1559a4;font-size:12px;font-weight:800}.vendor-workflow-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:12px}.vendor-stage-card{--stage:#7b899d;position:relative;display:flex;min-height:148px;flex-direction:column;padding:17px 15px 15px;overflow:hidden;border:1px solid #dfe6ef;border-top:4px solid var(--stage);border-radius:15px;background:#fff;color:#142b52;text-decoration:none;box-shadow:0 5px 16px rgba(22,43,82,.05);transition:.18s ease}.vendor-stage-card:hover{transform:translateY(-3px);border-color:var(--stage);box-shadow:0 10px 24px rgba(22,43,82,.12)}.vendor-stage-card.has-records{background:linear-gradient(155deg,#fff 68%,#f3f7fc)}.stage-step{align-self:flex-end;color:#a7b3c2;font-size:11px;font-weight:900}.stage-label{min-height:38px;margin-top:2px;font-size:13px;font-weight:800;line-height:1.3}.vendor-stage-card strong{margin-top:auto;color:var(--stage);font-size:31px;line-height:1}.vendor-stage-card small{margin-top:5px;color:#8a98aa;font-size:11px}.tone-draft{--stage:#6d7a8c}.tone-documents{--stage:#7b61b5}.tone-procurement{--stage:#d88200}.tone-accounts{--stage:#2581b8}.tone-approval{--stage:#b97916}.tone-conditional{--stage:#d2a000}.tone-approved{--stage:#168a48}.vendor-exception-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,230px));gap:12px}.vendor-exception-card{--exception:#7b899d;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 15px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;color:#293b58;text-decoration:none;font-weight:750}.vendor-exception-card:hover{border-color:var(--exception)}.vendor-exception-card.has-records{background:#fbfcfe}.exception-dot{width:10px;height:10px;border-radius:50%;background:var(--exception)}.vendor-exception-card strong{color:var(--exception);font-size:20px}.tone-rejected{--exception:#c43d45}.tone-suspended{--exception:#d36824}.tone-archived{--exception:#718096}@media(max-width:1320px){.vendor-workflow-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.vendor-workflow-grid{grid-template-columns:repeat(2,1fr)}.vendor-exception-grid{grid-template-columns:1fr}.vendor-workflow-heading{align-items:flex-start;gap:10px}.vendor-workflow-heading>span{display:none}}@media(max-width:430px){.vendor-workflow-grid{grid-template-columns:1fr}}
/* v4.5.2 — compact, single-line status badges inside supplier tables. */
.table-wrap .vendor-status{display:inline-flex;align-items:center;gap:7px;width:max-content;min-width:0;max-width:none;padding:7px 11px;border:1px solid #d8e0ea;border-radius:999px;background:#f5f7fa;color:#526176;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;box-shadow:none}
.table-wrap .vendor-status::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}
.table-wrap .status-draft{border-color:#d8e0ea;background:#f5f7fa;color:#65758b}.table-wrap .status-pending_documents{border-color:#ded5f2;background:#f5f0ff;color:#7253ad}.table-wrap .status-procurement_review{border-color:#f1d6ad;background:#fff7e9;color:#a96300}.table-wrap .status-accounts_verification{border-color:#c9e2f1;background:#eef8fd;color:#1875a8}.table-wrap .status-pending_approval{border-color:#ead5ad;background:#fff8e8;color:#9b650d}.table-wrap .status-conditional{border-color:#ead58c;background:#fff8dc;color:#806300}.table-wrap .status-approved{border-color:#bfe2cd;background:#edf9f2;color:#167943}.table-wrap .status-rejected{border-color:#efc5c8;background:#fff1f2;color:#b22f38}.table-wrap .status-suspended{border-color:#f0ceb7;background:#fff4ec;color:#b85419}.table-wrap .status-removed{border-color:#d8e0ea;background:#f3f5f8;color:#66758a}
