.vendor-center-shell { width: min(1660px, 100%); margin: 0 auto; color: #203047; }
.vendor-center-loading, .vc-empty { padding: 34px 18px; border: 1px dashed #cad7e7; border-radius: 12px; color: #748299; text-align: center; background: rgba(255,255,255,.92); }
.vc-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid #d8e3ef; border-radius: 12px; background: linear-gradient(120deg, #fff, #f6faff); box-shadow: var(--shadow-card); }
.vc-heading > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.vc-heading strong { color: #203650; font-size: 17px; }
.vc-heading > div > span:last-child { color: #6b7a90; font-size: 12px; }
.vc-heading-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #2f6df6, #4b94ee); font-weight: 800; }
.vc-toolbar { display: grid; grid-template-columns: minmax(320px, 1fr) 160px 92px; align-items: end; gap: 10px; margin-bottom: 10px; padding: 10px; border: 1px solid #dbe5ef; border-radius: 12px; background: #fff; }
.vc-filter { display: grid; gap: 5px; min-width: 0; }
.vc-filter > span { color: #68778c; font-size: 11px; font-weight: 700; }
.vc-filter input, .vc-filter select, .vc-toolbar .btn { width: 100%; height: 40px; min-height: 40px; }
.vc-filter input, .vc-filter select { border: 1px solid #ccd7e5; border-radius: 8px; padding: 0 11px; outline: none; background: #fcfdff; }
.vc-filter input:focus, .vc-filter select:focus { border-color: var(--brand); box-shadow: var(--focus); background: #fff; }
.vc-order-list { min-width: 0; }
.vc-table-wrap { overflow: auto; border: 1px solid #d9e3ee; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(40,64,98,.05); }
.vc-table { width: 100%; min-width: 1280px; border-collapse: collapse; table-layout: fixed; }
.vc-table th { position: sticky; top: 0; z-index: 1; padding: 10px 8px; border-bottom: 1px solid #dbe4ee; color: #506078; background: #f5f8fc; font-size: 12px; text-align: left; }
.vc-table td { padding: 9px 8px; border-bottom: 1px solid #edf1f5; vertical-align: middle; font-size: 12px; }
.vc-table tr:last-child td { border-bottom: 0; }
.vc-table tr:hover td { background: #fbfdff; }
.vc-table th:nth-child(1), .vc-table td:nth-child(1) { width: 100px; }
.vc-table th:nth-child(2), .vc-table td:nth-child(2) { width: 82px; }
.vc-table th:nth-child(3), .vc-table td:nth-child(3) { width: 125px; }
.vc-table th:nth-child(4), .vc-table td:nth-child(4) { width: 145px; }
.vc-table th:nth-child(5), .vc-table td:nth-child(5) { width: 80px; text-align: center; }
.vc-table th:nth-child(6), .vc-table td:nth-child(6) { width: 64px; }
.vc-table th:nth-child(7), .vc-table td:nth-child(7) { width: 80px; }
.vc-table th:nth-child(8), .vc-table td:nth-child(8) { width: 94px; }
.vc-table th:nth-child(9), .vc-table td:nth-child(9) { width: 82px; }
.vc-table th:nth-child(10), .vc-table td:nth-child(10) { width: 220px; }
.vc-table th:nth-child(11), .vc-table td:nth-child(11) { width: 72px; }
.vc-production-no { color: #173a66; font-size: 13px; user-select: text; }
.vc-file-name, .vc-product-info { overflow-wrap: anywhere; line-height: 1.45; user-select: text; }
.vc-sheet-button { display: inline-grid; width: 58px; height: 46px; padding: 3px; place-items: center; overflow: hidden; border: 1px solid #d4dfeb; border-radius: 7px; background: #f3f6fa; }
.vc-sheet-button:hover { border-color: #79a9e8; background: #edf5ff; }
.vc-sheet-button img { width: 100%; height: 100%; object-fit: contain; }
.vc-status { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.vc-status.active { color: #2567b8; background: #eaf3ff; }
.vc-status.completed { color: #a45e12; background: #fff1de; }
.vc-status.shipped { color: #087853; background: #e4f8ef; }
.vc-overdue { color: #cb3a43; font-weight: 700; }
.vc-muted { color: #97a3b3; }
.vc-note-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.vc-note-editor textarea { width: 100%; min-height: 54px; resize: vertical; border: 1px solid #d4deea; border-radius: 7px; padding: 7px; line-height: 1.4; }
.vc-note-editor textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.vc-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 3px; color: #68778c; font-size: 12px; }
.vc-pagination > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.vc-pagination select { min-height: 32px; border: 1px solid #ccd7e5; border-radius: 7px; background: #fff; }
.vc-modal-backdrop { position: fixed; inset: 0; z-index: 1200; display: none; place-items: center; padding: 18px; background: rgba(18,28,44,.52); }
.vc-modal-backdrop.show { display: grid; }
.vc-modal { width: min(860px, 96vw); max-height: 90vh; overflow: hidden; border: 1px solid #d5dfeb; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(17,31,52,.24); }
.vc-modal-head, .vc-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.vc-modal-head { border-bottom: 1px solid #e3e9f0; }
.vc-modal-head > div { display: grid; gap: 2px; }
.vc-modal-head strong { color: #203650; font-size: 16px; }
.vc-modal-head span { color: #718096; font-size: 12px; }
.vc-modal-body { max-height: calc(90vh - 125px); overflow: auto; padding: 15px; }
.vc-modal-foot { border-top: 1px solid #e3e9f0; }
.vc-modal-foot .btn { margin-left: auto; }
.vc-message { min-height: 22px; color: #b56b17; font-size: 12px; }
.vc-progress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.vc-progress-item { display: grid; grid-template-columns: 26px minmax(60px, auto) minmax(0, 1fr); align-items: center; gap: 8px; min-height: 54px; border: 1px solid #d8e1ec; border-radius: 10px; padding: 8px 10px; color: #536278; text-align: left; background: #fafcff; }
.vc-progress-item:hover:not(:disabled) { border-color: #8db7ed; background: #f2f8ff; }
.vc-progress-item.done { border-color: #a9dec9; color: #187557; background: #eefaf5; }
.vc-progress-item:disabled { cursor: not-allowed; opacity: .7; }
.vc-progress-item strong { color: #253a55; }
.vc-progress-item > span:last-child { justify-self: end; font-size: 11px; text-align: right; }
.vc-progress-order { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #5f7188; background: #e9eef5; font-size: 11px; font-weight: 800; }
.vc-progress-item.done .vc-progress-order { color: #fff; background: #20a878; }
.vc-packing-panel { margin-top: 12px; padding: 13px; border: 1px solid #c9dcf5; border-radius: 10px; background: #f5f9ff; }
.vc-packing-panel label { display: grid; gap: 5px; }
.vc-packing-panel label span { font-weight: 700; }
.vc-packing-panel input { height: 40px; border: 1px solid #bfcde0; border-radius: 8px; padding: 0 10px; }
.vc-packing-panel > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.vc-packing-panel small { color: #697a91; }
.app.vendor-center-view .topbar .title, .app.vendor-center-view .theme-toolbar, .app.vendor-center-view #todayTodoBtn, .app.vendor-center-view #healthStatus, .app.vendor-center-view #adminUsersBtn { display: none !important; }

@media (max-width: 860px) {
  .app.vendor-mode { grid-template-columns: minmax(0, 1fr); }
  .app.vendor-mode .sidebar { display: none !important; }
  .app.vendor-center-view .topbar { height: auto; padding: 8px 10px; justify-content: flex-end; }
  .app.vendor-center-view .content { padding: 8px 6px 18px; }
  .vc-toolbar { grid-template-columns: 1fr; }
  .vc-progress-grid { grid-template-columns: 1fr; }
  .vc-pagination { align-items: flex-start; flex-direction: column; }
  .vc-packing-panel > div { align-items: stretch; flex-direction: column; }
}
