@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans+KR:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --bg: #eef3f8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(24, 34, 48, 0.1);
  --ink: #152232;
  --muted: #667689;
  --blue: #1f72da;
  --blue-deep: #114ea5;
  --green: #18794e;
  --amber: #9f6508;
  --error: #b33a3a;
  --shadow: 0 18px 52px rgba(19, 34, 57, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Malgun Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(145deg, #fbfdff 0%, #eef5fc 48%, #f8fbff 100%);
}

.purchase-page {
  min-height: 100vh;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-header,
.card,
.vendor-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-header {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header h1,
.section-head h2,
.vendor-card h3,
.result-card h3 {
  margin: 0;
}

.page-header h1 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.02;
}

.home-link,
.ghost-link,
button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  padding: 8px 12px;
  font-size: 14px;
}

button,
.ghost-link {
  cursor: pointer;
}

.primary {
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  border-color: var(--blue-deep);
  color: #fff;
}

.card {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.card-box-quantity {
  gap: 10px;
}

.box-quantity-search-form {
  display: flex;
  align-items: end;
  gap: 8px;
}

.box-quantity-search-field {
  display: grid;
  gap: 5px;
  width: min(100%, 560px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.box-quantity-search-field input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 8px 11px;
  font: inherit;
}

.box-quantity-results,
.box-quantity-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.box-quantity-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.box-quantity-table th,
.box-quantity-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.box-quantity-table th {
  background: #eaf3ff;
  color: var(--blue-deep);
  font-weight: 900;
}

.box-quantity-table td:first-child {
  min-width: 290px;
  white-space: normal;
  font-weight: 800;
}

.box-quantity-table .is-number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.box-quantity-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.card-files {
  gap: 8px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.card-half {
  min-width: 0;
}

.card-customers {
  grid-template-columns: minmax(320px, auto) minmax(0, 1fr);
  align-items: center;
}

.card-customers .section-head {
  align-items: center;
}

.card-customers .customer-toolbar,
.card-customers .inline-actions {
  flex-wrap: nowrap;
}

.card-customers .customer-list {
  align-items: center;
  min-height: 38px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.section-head-compact {
  align-items: start;
}

.section-head-vendors {
  align-items: center;
}

.vendor-section-actions {
  justify-content: flex-end;
}

.vendor-all-stock-status {
  min-width: 168px;
  max-width: 360px;
  padding: 7px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.file-grid.file-grid-compact {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.field,
.days-field {
  display: grid;
  gap: 4px;
}

.field-price-change {
  min-width: 0;
}

.field-inline {
  display: grid;
  gap: 8px;
}

.field-inline-price-change {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.field-price-change input[type="file"] {
  min-width: 0;
}

.file-inline-link {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.field span,
.days-field span,
.vendor-top label,
.vendor-input span,
.vendor-card legend {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

input[type="text"],
input[type="number"],
textarea,
input[type="date"],
input[type="file"] {
  width: 100%;
  border: 1px solid rgba(24, 34, 48, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 8px 10px;
  font-size: 14px;
}

input[type="file"]::file-selector-button {
  margin-right: 8px;
  border: 0;
  border-radius: 8px;
  background: #edf3fb;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 6px 10px;
}

textarea {
  min-height: 68px;
  resize: vertical;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.status-grid.status-grid-compact {
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(0, 1fr));
}

.file-tool-row {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 8px;
  align-items: center;
}

.status-chip {
  border: 1px solid rgba(24, 34, 48, 0.08);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.status-chip strong.is-success {
  color: var(--green);
}

.status-chip strong.is-error {
  color: var(--error);
}

.status-chip strong.is-warning {
  color: var(--amber);
}

#db-source-status {
  display: block;
  white-space: pre-line;
  line-height: 1.55;
}

.status-chip span,
.muted-text {
  color: var(--muted);
  font-size: 13px;
}

.status-box {
  min-height: 42px;
  border: 1px solid rgba(31, 114, 218, 0.14);
  border-radius: 12px;
  background: rgba(31, 114, 218, 0.06);
  padding: 10px 12px;
  color: #275f9e;
  line-height: 1.5;
  font-size: 13px;
}

.status-box-inline {
  min-height: auto;
  padding: 8px 12px;
  white-space: nowrap;
}

.status-box.is-success {
  border-color: rgba(24, 121, 78, 0.16);
  background: rgba(24, 121, 78, 0.08);
  color: var(--green);
}

.status-box.is-error {
  border-color: rgba(179, 58, 58, 0.18);
  background: rgba(179, 58, 58, 0.08);
  color: var(--error);
}

.status-box.is-warning {
  border-color: rgba(159, 101, 8, 0.16);
  background: rgba(159, 101, 8, 0.08);
  color: var(--amber);
}

.customer-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.customer-toolbar input[type="text"] {
  max-width: 220px;
}

.customer-list {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 2px;
}

.customer-list::-webkit-scrollbar {
  height: 8px;
}

.customer-list::-webkit-scrollbar-thumb {
  background: rgba(24, 34, 48, 0.16);
  border-radius: 999px;
}

.customer-item {
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 220px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(24, 34, 48, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.3;
}

.customer-item.is-hidden {
  display: none;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap-compact {
  max-height: 170px;
  overflow-y: auto;
}

table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

th,
td {
  padding: 8px 8px;
  border-bottom: 1px solid rgba(24, 34, 48, 0.08);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.45;
}

thead th {
  background: #edf3fb;
  position: sticky;
  top: 0;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.vendor-card {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.vendor-top {
  display: grid;
  grid-template-columns: auto 1fr minmax(88px, 112px);
  gap: 8px;
  align-items: center;
}

.vendor-check {
  width: 16px;
  height: 16px;
}

.vendor-meta {
  display: grid;
  gap: 4px;
}

.vendor-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: end;
}

.vendor-inputs:empty {
  display: none;
}

.vendor-input {
  display: grid;
  gap: 4px;
}

.vendor-input-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vendor-input-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.vendor-check-button {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.2;
}

.vendor-input-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.vendor-input-note.is-success {
  color: var(--green);
  font-weight: 700;
}

.vendor-input-note.is-warning {
  color: var(--amber);
  font-weight: 700;
}

.vendor-input-note.is-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 700;
}

.loading-label {
  white-space: nowrap;
}

.days-field {
  grid-template-columns: auto 84px;
  align-items: center;
  gap: 8px;
}

.run-extra {
  display: grid;
  gap: 4px;
}

.download-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vendor-results {
  display: grid;
  gap: 8px;
}

.result-card {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.result-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.result-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.result-files {
  display: flex;
  flex-wrap: nowrap;
  justify-content: end;
  align-items: flex-start;
  gap: 6px;
  max-width: none;
}

.result-files .ghost-link {
  min-height: 28px;
  min-width: 118px;
  max-width: 168px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
}

.result-preview summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.result-preview-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: #8f7869;
  font-size: 13px;
  font-weight: 700;
}

.result-preview .table-wrap {
  margin-top: 6px;
}

#excluded-wrap {
  display: grid;
  gap: 8px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .split-grid,
  .file-grid,
  .file-tool-row,
  .status-grid,
  .vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-customers {
    grid-template-columns: 1fr;
  }

  .vendor-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .purchase-page {
    padding: 10px;
  }

  .page-header,
  .card,
  .vendor-card,
  .result-card {
    border-radius: 16px;
  }

  .page-header,
  .section-head,
  .result-top,
  .customer-toolbar,
  .vendor-top {
    grid-template-columns: 1fr;
    display: grid;
  }

  .split-grid,
  .file-grid,
  .file-tool-row,
  .status-grid,
  .vendor-grid,
  .vendor-inputs {
    grid-template-columns: 1fr;
  }

  .result-files {
    flex-wrap: wrap;
    justify-content: stretch;
    max-width: none;
  }

  .result-files .ghost-link {
    flex: 1 1 132px;
    max-width: none;
  }

  .field-inline-price-change {
    grid-template-columns: 1fr;
  }

  .file-inline-link {
    justify-self: start;
  }

  .card-customers .customer-toolbar,
  .card-customers .inline-actions {
    flex-wrap: wrap;
  }

  .customer-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .customer-item {
    max-width: none;
  }

  .inline-actions,
  .section-line,
  .result-files,
  .download-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-toolbar input[type="text"] {
    max-width: none;
  }

  .status-box-inline {
    white-space: normal;
  }
}

/* v10 editorial portfolio override */
html,
body {
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(180deg, #f4f7fb 0%, #e9eef5 100%);
  color: #3a2c25;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3) 0 15%, transparent 15% 100%),
    linear-gradient(-18deg, rgba(255, 255, 255, 0.2) 0 12%, transparent 12% 100%);
}

.purchase-page {
  position: relative;
  width: min(1680px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 18px 12px 24px;
  gap: 12px;
}

.page-header,
.card,
.vendor-card,
.result-card {
  border: 1px solid rgba(116, 81, 63, 0.16);
  border-radius: 0;
  background: linear-gradient(180deg, #fffefb, #fcfaf6);
  box-shadow: 0 16px 28px rgba(82, 60, 46, 0.12);
}

.page-header {
  padding: 18px 18px 16px;
  align-items: flex-end;
}

.page-header h1,
.section-head h2,
.vendor-card h3,
.result-card h3 {
  font-family: "Oswald", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  color: #f18f01;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.page-header h1 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.92;
}

.section-head h2,
.vendor-card h3,
.result-card h3 {
  font-size: clamp(20px, 1.5vw, 28px);
  line-height: 0.96;
}

.home-link,
.ghost-link,
button,
.primary,
.secondary {
  border: 1px solid rgba(192, 88, 72, 0.32);
  border-radius: 0;
  background: #fcfaf6;
  color: #f18f01;
  padding: 8px 12px;
  font-weight: 700;
  box-shadow: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

button:hover:not(:disabled),
.home-link:hover,
.ghost-link:hover {
  background: #f18f01;
  color: #f7eee4;
  border-color: #f18f01;
  transform: translateY(-2px);
}

button:disabled,
.ghost-link.is-disabled {
  opacity: 0.55;
  transform: none;
}

.field span,
.days-field span,
.vendor-top label,
.vendor-input span,
.vendor-card legend {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #9c6f5a;
}

input[type="text"],
input[type="number"],
textarea,
input[type="date"],
input[type="file"] {
  border: 1px solid rgba(116, 81, 63, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 254, 0.96);
  color: #3a2c25;
  padding: 8px 10px;
  font-size: 13px;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
input[type="date"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: rgba(192, 88, 72, 0.48);
  box-shadow: 0 0 0 3px rgba(192, 88, 72, 0.08);
}

input[type="file"]::file-selector-button {
  border: 1px solid rgba(192, 88, 72, 0.24);
  border-radius: 0;
  background: #fcfaf6;
  color: #f18f01;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

input[type="file"]::file-selector-button:hover {
  background: #f18f01;
  color: #f7eee4;
}

textarea {
  min-height: 72px;
}

.status-chip,
.customer-item,
.result-summary {
  border-radius: 0;
  background: rgba(255, 255, 254, 0.95);
}

.status-chip span,
.muted-text,
.result-metrics,
.vendor-input-note,
.launcher-action-path {
  color: #8f7869;
}

.status-box {
  border: 1px solid rgba(192, 88, 72, 0.16);
  border-radius: 0;
  background: rgba(192, 88, 72, 0.08);
  color: #a24c40;
  padding: 9px 12px;
  font-size: 12px;
}

.status-box.is-success {
  border-color: rgba(63, 122, 74, 0.2);
  background: rgba(63, 122, 74, 0.08);
  color: #3f7a4a;
}

.status-box.is-error {
  border-color: rgba(174, 75, 65, 0.2);
  background: rgba(174, 75, 65, 0.08);
  color: #ae4b41;
}

.status-box.is-warning {
  border-color: rgba(168, 117, 33, 0.18);
  background: rgba(168, 117, 33, 0.08);
  color: #a87521;
}

.status-box.is-loading {
  width: 160px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-color: rgba(241, 143, 1, 0.22);
  background: rgba(255, 244, 230, 0.72);
}

.loading-track {
  position: relative;
  width: 118px;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(241, 143, 1, 0.28);
  background: rgba(255, 244, 230, 0.72);
}

.loading-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -44%;
  width: 44%;
  background: linear-gradient(90deg, rgba(241, 143, 1, 0), rgba(241, 143, 1, 0.88), rgba(241, 143, 1, 0));
  animation: loading-sweep 1.15s ease-in-out infinite;
}

.loading-time {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.loading-time span {
  width: 5px;
  height: 5px;
  background: #f18f01;
  opacity: 0.25;
  animation: loading-tick 1.05s ease-in-out infinite;
}

.loading-time span:nth-child(2) {
  animation-delay: 0.16s;
}

.loading-time span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes loading-sweep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(330%);
  }
}

@keyframes loading-tick {
  0%,
  100% {
    opacity: 0.25;
  }
  45% {
    opacity: 0.95;
  }
}

thead th {
  background: #ead8c4;
  color: #8c463c;
}

th,
td {
  font-size: 12px;
}

.vendor-card {
  padding: 10px 12px;
}

.vendor-check-button {
  font-size: 11px;
}

.vendor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vendor-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vendor-top-controls {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.vendor-meta,
.vendor-top-metric {
  display: grid;
  gap: 4px;
  min-width: 78px;
}

.vendor-top-file {
  display: flex;
  align-items: center;
  min-width: 0;
}

.vendor-top-file-group {
  display: grid;
  gap: 4px;
  align-items: start;
}

.vendor-top-file input[type="file"] {
  width: 184px;
  min-width: 184px;
  max-width: 184px;
}

.vendor-top-file-note {
  font-size: 11px;
  line-height: 1.35;
  color: #8f7869;
}

.vendor-meta input[type="number"],
.vendor-top-metric input[type="number"] {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  padding-left: 8px;
  padding-right: 8px;
}

.vendor-card[data-vendor-name="유진"] .vendor-top-controls,
.vendor-card[data-vendor-name="범호"] .vendor-top-controls,
.vendor-card[data-vendor-name="BRS"] .vendor-top-controls,
.vendor-card[data-vendor-name="쥴릭"] .vendor-top-controls {
  flex-wrap: nowrap;
  gap: 6px;
  margin-left: 0;
  justify-content: flex-start;
}

.vendor-card[data-vendor-name="유진"] .vendor-top-file input[type="file"],
.vendor-card[data-vendor-name="범호"] .vendor-top-file input[type="file"],
.vendor-card[data-vendor-name="BRS"] .vendor-top-file input[type="file"],
.vendor-card[data-vendor-name="쥴릭"] .vendor-top-file input[type="file"] {
  width: 214px;
  min-width: 214px;
  max-width: 214px;
}

.vendor-card[data-vendor-name="유진"] .vendor-top,
.vendor-card[data-vendor-name="범호"] .vendor-top,
.vendor-card[data-vendor-name="BRS"] .vendor-top,
.vendor-card[data-vendor-name="쥴릭"] .vendor-top {
  justify-content: flex-start;
}

.vendor-input-inline {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}

.vendor-input-inline span {
  white-space: nowrap;
}

.vendor-input-file input[type="file"] {
  min-width: 0;
}

.vendor-input-head-button-only {
  justify-content: flex-end;
}

.vendor-card[data-vendor-name="동아st"] .vendor-inputs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .vendor-card[data-vendor-name="동아st"] .vendor-inputs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .vendor-title-group,
  .vendor-top-controls {
    width: 100%;
  }

  .vendor-top-controls {
    justify-content: stretch;
  }

  .vendor-top-file input[type="file"] {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .vendor-meta input[type="number"],
  .vendor-top-metric input[type="number"] {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .vendor-card[data-vendor-name="유진"] .vendor-top-controls,
  .vendor-card[data-vendor-name="범호"] .vendor-top-controls,
  .vendor-card[data-vendor-name="BRS"] .vendor-top-controls,
  .vendor-card[data-vendor-name="쥴릭"] .vendor-top-controls {
    flex-wrap: wrap;
  }
}

/* v12 purchase flow refinements */
.card-customers {
  grid-template-columns: 1fr;
  align-items: start;
}

.customer-count {
  color: #8c463c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-month-usage .section-head {
  align-items: start;
}

.month-usage-summary {
  margin-top: -2px;
  line-height: 1.5;
}

#month-usage-status {
  display: flex;
  align-items: center;
  min-height: 46px;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(58, 44, 37, 0.34);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  width: min(1120px, 100%);
  max-height: min(82vh, 100%);
  overflow: hidden;
  border: 1px solid rgba(116, 81, 63, 0.18);
  background: linear-gradient(180deg, #fffefb, #fcfaf6);
  box-shadow: 0 16px 28px rgba(82, 60, 46, 0.16);
  display: grid;
  gap: 12px;
  padding: 16px;
}

.modal-dialog-wide {
  width: min(1480px, 100%);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.modal-head h2 {
  margin: 0;
  font-family: "Oswald", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 0.96;
  font-weight: 600;
  color: #f18f01;
}

.modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.customer-picker-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 54vh;
  overflow: auto;
  align-content: start;
  padding-right: 4px;
}

.customer-picker-item,
.customer-picker-empty {
  border: 1px solid rgba(116, 81, 63, 0.16);
  background: rgba(255, 255, 254, 0.96);
  padding: 10px 12px;
}

.customer-picker-item {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  line-height: 1.45;
  font-size: 13px;
}

.customer-picker-item input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.customer-picker-item span {
  min-width: 0;
  word-break: keep-all;
}

.customer-picker-empty {
  grid-column: 1 / -1;
  color: #8f7869;
  line-height: 1.5;
}

.table-wrap-modal {
  max-height: min(68vh, 100%);
  overflow: auto;
}

@media (max-width: 1080px) {
  .customer-picker-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .customer-count {
    font-size: 14px;
  }

  .modal {
    padding: 10px;
  }

  .modal-dialog {
    max-height: calc(100vh - 20px);
    padding: 12px;
  }

  .modal-head {
    display: grid;
    align-items: stretch;
  }

  .modal-actions {
    justify-content: stretch;
  }

  .modal-actions button {
    width: 100%;
  }

  .customer-picker-list {
    grid-template-columns: 1fr;
    max-height: 48vh;
  }
}

@media (max-width: 720px) {
  .page-header {
    display: flex;
    grid-template-columns: none;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .page-header .home-link {
    width: auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Purchase final orange/cream layout overrides */
body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #c2c2c2 0%, #b6b6b6 100%) !important;
  color: #161411 !important;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Segoe UI", sans-serif !important;
}

.purchase-page {
  position: relative;
  width: min(1460px, calc(100vw - 28px)) !important;
  margin: 0 auto;
  padding: 14px !important;
  gap: 10px !important;
}

.page-header,
.card,
.vendor-card,
.result-card,
.modal-dialog {
  border: 1px solid rgba(89, 73, 55, 0.22) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffffff, #f9fbfd) !important;
  box-shadow: 0 16px 28px rgba(82, 60, 46, 0.12) !important;
}

.page-header {
  position: relative;
  padding: 24px 16px 14px !important;
  align-items: flex-end !important;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(241, 143, 1, 0.34);
}

.page-header h1,
.section-head h2,
.vendor-card h3,
.result-card h3,
.modal-head h2 {
  color: #f18f01 !important;
  font-family: "IBM Plex Sans KR", "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

.page-header h1 {
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.02 !important;
}

.section-head h2,
.vendor-card h3,
.result-card h3,
.modal-head h2 {
  font-size: clamp(18px, 1.5vw, 24px) !important;
  line-height: 1.02 !important;
}

.home-link,
.ghost-link,
button,
.primary,
.secondary {
  border: 1px solid rgba(241, 143, 1, 0.32) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 254, 0.98) !important;
  color: #f18f01 !important;
  box-shadow: none !important;
}

button:hover:not(:disabled),
.home-link:hover,
.ghost-link:hover {
  background: #f18f01 !important;
  color: #fffaf1 !important;
  border-color: #f18f01 !important;
}

.primary {
  background: #f18f01 !important;
  color: #fffaf1 !important;
  border-color: #f18f01 !important;
}

.field span,
.days-field span,
.vendor-top label,
.vendor-input span,
.vendor-card legend {
  color: rgba(22, 20, 17, 0.58) !important;
  font-family: "IBM Plex Mono", monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
}

input[type="text"],
input[type="number"],
textarea,
input[type="date"],
input[type="file"] {
  border: 1px solid rgba(89, 73, 55, 0.18) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: #161411 !important;
}

input[type="file"]::file-selector-button {
  border: 1px solid rgba(241, 143, 1, 0.24) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 254, 0.98) !important;
  color: #f18f01 !important;
}

.muted-text,
.status-chip span,
.result-metrics,
.vendor-input-note {
  color: rgba(22, 20, 17, 0.58) !important;
}

.status-box {
  border: 1px solid rgba(241, 143, 1, 0.16) !important;
  border-radius: 0 !important;
  background: rgba(241, 143, 1, 0.08) !important;
  color: #a56a10 !important;
}

.status-chip,
.customer-item,
.customer-picker-item,
.customer-picker-empty {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(89, 73, 55, 0.16) !important;
}

thead th {
  background: rgba(241, 143, 1, 0.07) !important;
  color: rgba(22, 20, 17, 0.62) !important;
  font-family: "IBM Plex Mono", monospace !important;
}

th,
td {
  border-bottom: 1px solid rgba(89, 73, 55, 0.12) !important;
}

.card-overview {
  padding: 12px !important;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
  gap: 12px;
}

.overview-pane {
  min-width: 0;
}

.overview-data,
.overview-block {
  border: 1px solid rgba(89, 73, 55, 0.16);
  background: rgba(255, 255, 255, 0.42);
  padding: 12px;
}

.overview-data {
  display: grid;
  gap: 10px;
  align-content: start;
}

.overview-file-stack {
  display: grid;
  gap: 10px;
}

.overview-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.data-status-list {
  display: grid;
  gap: 8px;
}

.data-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(89, 73, 55, 0.14);
  background: rgba(255, 255, 255, 0.56);
}

.data-status-row span {
  color: rgba(22, 20, 17, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.data-status-row strong {
  color: rgba(22, 20, 17, 0.8);
  font-size: 14px;
  font-weight: 600;
}

.custom-file-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.custom-file-row-link {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.file-state {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(89, 73, 55, 0.16);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(22, 20, 17, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.file-inline-link {
  min-height: 38px;
  padding: 8px 10px !important;
  font-size: 12px !important;
  white-space: nowrap;
}

.overview-customers .section-head {
  align-items: center;
}

.customer-list-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible;
  max-width: 100%;
  margin-top: 8px;
  padding-bottom: 0;
}

.customer-item-empty {
  color: rgba(22, 20, 17, 0.5) !important;
}

.card-month-usage {
  gap: 8px !important;
}

.month-usage-summary {
  line-height: 1.6;
}

.vendor-grid {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.card-vendors .section-head {
  align-items: end;
}

.vendor-card {
  padding: 12px 14px !important;
}

.vendor-top {
  display: grid !important;
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr);
  gap: 10px !important;
  align-items: end !important;
}

.vendor-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vendor-top-controls {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.vendor-inputs {
  grid-template-columns: 1fr !important;
}

.vendor-card[data-vendor-name="동아st"] .vendor-inputs {
  grid-template-columns: 1fr !important;
}

@media (max-width: 980px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .purchase-page {
    width: calc(100vw - 16px) !important;
    padding: 8px !important;
  }

  .page-header,
  .card,
  .vendor-card,
  .result-card,
  .modal-dialog {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .custom-file-row,
  .custom-file-row-link,
  .vendor-top {
    grid-template-columns: 1fr !important;
  }

  .file-inline-link {
    justify-self: start;
  }
}

/* 2026-04-23 purchase layout refinements */
.overview-side,
.overview-side .overview-block,
.overview-side .custom-file-field {
  justify-items: start;
  text-align: left;
}

.purchase-run-controls {
  justify-content: flex-end;
  align-items: end;
  gap: 10px;
}

.vendor-input-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vendor-stock-small-button {
  min-height: 38px;
  padding: 0 12px !important;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.vendor-stock-match-button {
  min-width: 80px;
}

.zuellig-match-list {
  display: grid;
  gap: 8px;
  max-height: min(64vh, 680px);
  overflow: auto;
  padding-right: 4px;
}

.zuellig-match-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(89, 73, 55, 0.16);
  background: rgba(255, 255, 254, 0.96);
  padding: 10px;
}

.zuellig-match-item.is-excluded {
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(237, 243, 251, 0.72);
}

.zuellig-match-item.has-pending {
  border-color: rgba(241, 143, 1, 0.54);
  background: rgba(255, 250, 241, 0.92);
}

.zuellig-match-product {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.zuellig-match-product strong {
  color: #161411;
  font-size: 14px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.zuellig-match-product span,
.zuellig-search-empty,
.zuellig-match-empty,
.zuellig-match-section-title {
  color: rgba(22, 20, 17, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.zuellig-match-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.zuellig-match-controls input[type="search"] {
  width: 100%;
  min-height: 34px;
  min-width: 0;
}

.zuellig-exclude-button {
  min-height: 34px;
  padding: 6px 10px !important;
  white-space: nowrap;
}

.zuellig-search-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.zuellig-selected-product {
  grid-column: 1 / -1;
  display: none;
  border: 1px solid rgba(241, 143, 1, 0.24);
  background: rgba(255, 250, 241, 0.88);
  color: #9c5d02;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.zuellig-selected-product.is-active {
  display: block;
}

.zuellig-selected-product span {
  margin-left: 6px;
  color: rgba(22, 20, 17, 0.58);
  font-weight: 600;
}

.zuellig-product-option {
  display: grid;
  gap: 3px;
  justify-items: start;
  width: 100%;
  padding: 8px 10px !important;
  text-align: left;
  color: #161411 !important;
  border-color: rgba(89, 73, 55, 0.18) !important;
}

.zuellig-product-option strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.zuellig-product-option span {
  color: rgba(22, 20, 17, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

.zuellig-match-section-title {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid rgba(89, 73, 55, 0.14);
  font-weight: 700;
}

.zuellig-match-empty {
  border: 1px solid rgba(89, 73, 55, 0.14);
  background: rgba(255, 255, 254, 0.78);
  padding: 12px;
}

.empty-cell {
  color: rgba(22, 20, 17, 0.56);
}

@media (max-width: 860px) {
  .zuellig-match-item,
  .zuellig-match-item.is-excluded,
  .zuellig-match-controls {
    grid-template-columns: 1fr;
  }
}

.days-field-inline {
  grid-template-columns: auto 84px;
  align-items: center;
  gap: 8px;
}

.days-field-inline span {
  text-align: right;
}

.vendor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.vendor-top {
  display: grid !important;
  grid-template-columns: minmax(148px, auto) minmax(0, 1fr) !important;
  align-items: start !important;
}

.vendor-top-controls {
  justify-content: flex-end !important;
  margin-left: auto !important;
}

.vendor-meta,
.vendor-top-metric {
  justify-items: end;
  text-align: right;
}

.vendor-top-file-custom {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
}

.vendor-top-file-label,
.vendor-input-title {
  color: rgba(22, 20, 17, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.vendor-top-file-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.vendor-top-file-trigger,
.vendor-stock-fetch-button,
.vendor-stock-small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 80px;
  padding: 0 12px !important;
  border: 1px solid rgba(241, 143, 1, 0.32) !important;
  background: rgba(255, 255, 254, 0.98) !important;
  color: #f18f01 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.vendor-stock-small-button[data-action="view-zuellig-stock"] {
  width: 38px;
  min-width: 38px;
  padding: 0 !important;
}

.vendor-top-file-state {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(89, 73, 55, 0.16);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(22, 20, 17, 0.72);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vendor-top-file-state.is-success {
  border-color: rgba(47, 111, 115, 0.34);
  background: rgba(47, 111, 115, 0.1);
  color: #255f62;
}

.vendor-top-file-state.is-warning {
  border-color: rgba(160, 104, 44, 0.28);
  background: rgba(160, 104, 44, 0.1);
  color: #7a5429;
}

.vendor-top-file-state.is-loading {
  gap: 8px;
  border-color: rgba(241, 143, 1, 0.24);
  background: rgba(255, 244, 230, 0.76);
  color: #7a5429;
}

.vendor-input-note.is-loading .loading-track,
.vendor-top-file-state.is-loading .loading-track {
  width: 92px;
  height: 5px;
}

.vendor-input-head-with-label {
  justify-content: space-between;
}

.vendor-card[data-vendor-name="유진"] .vendor-top-controls,
.vendor-card[data-vendor-name="범호"] .vendor-top-controls,
.vendor-card[data-vendor-name="BRS"] .vendor-top-controls,
.vendor-card[data-vendor-name="쥴릭"] .vendor-top-controls,
.vendor-card[data-vendor-name="동아st"] .vendor-top-controls {
  justify-content: flex-end !important;
  margin-left: auto !important;
  flex-wrap: wrap !important;
}

@media (max-width: 980px) {
  .vendor-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .purchase-run-controls,
  .vendor-input-actions,
  .vendor-top-file-action {
    flex-direction: column;
    align-items: stretch;
  }

  .days-field-inline {
    grid-template-columns: 1fr;
  }

  .days-field-inline span,
  .vendor-meta,
  .vendor-top-metric,
  .vendor-top-file-custom {
    text-align: left;
    justify-items: start;
  }

  .vendor-top-file-state {
    width: 100%;
    justify-content: flex-start;
  }
}

/* 2026-04-23 vendor title tone */
.vendor-card h3 {
  color: #5f5650 !important;
}

/* 2026-04-23 purchase background neutral gray */
body {
  background: linear-gradient(180deg, #c2c2c2 0%, #b6b6b6 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%);
  background-size: 110px 110px;
}

/* 2026-04-23 compact overview data and inline file labels */
.overview-data {
  gap: 4px !important;
}

.data-status-list {
  gap: 4px !important;
}

.overview-file-stack {
  gap: 4px !important;
}

.overview-data .overview-block {
  padding: 8px 10px !important;
}

.overview-data .section-head {
  margin-bottom: -1px !important;
}

.data-status-row {
  padding: 8px 10px !important;
  min-height: 38px !important;
}

.data-status-row span {
  color: rgba(95, 86, 80, 0.84) !important;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

.data-status-row strong {
  color: #4f4740 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.custom-file-field {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 0 !important;
}

.custom-file-field > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  margin: 0 !important;
  color: #5f5650 !important;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}

.custom-file-field > .custom-file-row,
.custom-file-field > .custom-file-row-link {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.custom-file-row {
  gap: 6px !important;
}

.custom-file-row-link {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 6px !important;
}

.custom-file-field .custom-file-row,
.custom-file-field .custom-file-row-link {
  min-height: 38px !important;
}

.file-state,
.custom-file-row button,
.custom-file-row-link button {
  min-height: 34px !important;
}

.file-state {
  font-size: 13px !important;
}

.vendor-top-file-label {
  display: none !important;
}

.vendor-top-file-custom {
  gap: 0 !important;
}

@media (max-width: 720px) {
  .data-status-row span {
    font-size: 13px !important;
  }

  .data-status-row strong {
    font-size: 14px !important;
  }

  .custom-file-field {
    grid-template-columns: 1fr !important;
    row-gap: 6px !important;
  }

  .custom-file-field > span,
  .custom-file-field > .custom-file-row,
  .custom-file-field > .custom-file-row-link {
    grid-column: 1 !important;
  }
}

.days-field-inline span {
  color: #5f5650 !important;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

.overview-customers .section-head {
  width: 100%;
}

#edit-customers-button {
  margin-left: auto !important;
}

/* 2026-04-23 final tighten db source status spacing */
#db-source-status {
  display: grid !important;
  gap: 2px !important;
  margin: 0 !important;
}

#db-source-status .data-status-row {
  margin: 0 !important;
  min-height: 32px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
}

.overview-data {
  gap: 3px !important;
}

.overview-data > .section-head {
  margin: 0 0 1px !important;
}

.overview-data > .overview-file-stack {
  margin-top: 1px !important;
  gap: 3px !important;
}

.overview-data > .overview-file-stack .overview-block {
  margin: 0 !important;
  padding: 7px 10px !important;
}

@media (max-width: 720px) {
  .days-field-inline span {
    font-size: 14px !important;
  }
}

/* 2026-04-23 final section title color */
.section-head h2,
.card-overview .section-head h2,
.card-month-usage .section-head h2,
.card-vendors .section-head h2,
.overview-data .section-head h2,
.overview-customers .section-head h2 {
  color: #5f5650 !important;
}
/* Daewoong supplier controls */
.vendor-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.vendor-checkbox-group {
  gap: 8px;
}

.vendor-checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(89, 61, 42, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  color: #3d332b;
}

.vendor-stock-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
