/* Reps & warehouses: public landing/sign-up (/vendors), vendor portal (/vendor) and admin moderation. Theme tokens only. */

/* ---------- public pages */
.vendors-narrow { max-width: 820px; }
.vendors-hero { padding: 72px 0 56px; }
.vendors-hero h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: var(--fw-heavy); line-height: 1.3; margin: 0; }
.vendors-hero .lead { font-size: 17px; line-height: 1.8; color: var(--text-muted); margin: 16px 0 0; max-width: 680px; }
.vendors-cta { margin-top: 28px; gap: 10px; }
.vendors-end { padding-top: 0; }
.vendors-end-body { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; }
.vendors-end-body h2 { font-size: 20px; margin: 0 0 6px; }
.vendors-end-body p { margin: 0; }
.vendors-signup { padding: 48px 0 72px; }
.vendors-form-wrap { max-width: 760px; }
.vendors-form-wrap h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: var(--fw-heavy); margin: 8px 0 0; }
.vendors-form-wrap .lead { margin: 10px 0 0; line-height: 1.7; }
.vendors-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vendors-types .choice input:checked + .box { background: var(--surface); }
@media (max-width: 640px) {
  .vendors-hero { padding: 44px 0 36px; }
  .vendors-types { grid-template-columns: 1fr; }
  .vendors-cta .btn { flex: 1 1 auto; }
  .vendors-end-body { padding: 20px; }
  .vendors-end-body .btn { width: 100%; }
}

/* ---------- specialty / product checkbox grid */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 18px; padding: 4px 0; }
.spec-grid .check { align-items: flex-start; line-height: 1.5; }
.spec-grid .check input { margin-top: 2px; flex: none; }

/* ---------- portal chrome */
.vendor-id { display: flex; align-items: center; gap: 10px; margin: 12px 12px 4px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-muted); }
.vendor-mark { background: var(--surface-sunken); color: var(--text-muted); }
.status-dot-sm { width: 8px; height: 8px; border-radius: 50%; background: var(--text-subtle); flex: none; }
.status-dot-sm.is-ok { background: var(--success); }
.status-dot-sm.is-wait { background: var(--warning); }
.vendor-portal-label { font-weight: var(--fw-semibold); }
@media (max-width: 720px) { .vendor-portal-label { display: none; } }

/* ---------- lists, thumbnails, images */
.vendor-list { list-style: none; margin: 0; padding: 0; }
.vendor-list li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--border); min-width: 0; }
.vendor-list li:first-child { border-top: 0; }
.vendor-date { display: flex; flex-direction: column; min-width: 64px; font-size: 13px; font-weight: var(--fw-semibold); line-height: 1.4; }
.vendor-thumb { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; font-size: 12px; font-weight: var(--fw-bold); }
.vendor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vendor-logo-lg { width: 88px; height: 88px; border-radius: var(--radius); background: var(--surface-sunken); color: var(--text-subtle); display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; border: 1px solid var(--border); }
.vendor-logo-lg.wide { width: 140px; }
.vendor-logo-lg img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.vendor-logo-lg .icon { width: 24px; height: 24px; }
.vendor-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 420px; }
.menu button.text-danger { color: var(--danger); }
.menu form { margin: 0; }
.table .actions .dropdown .menu { min-width: 180px; }
.input[type="file"] { height: auto; padding: 7px 10px; font-size: 13px; }
