/**
 * EIBE-OMS — master와 같은 편집샵 근간.
 * html.editorial-console 만. 표 로직·콤보 구분은 유지, 초록 ERP 크롬만 걷는다.
 */
html.editorial-console {
  --bg: var(--ed-paper);
  --bg-deep: var(--ed-paper);
  --bg-elevated: var(--ed-canvas);
  --surface: var(--ed-canvas);
  --card: var(--ed-canvas);
  --text: var(--ed-ink);
  --ink: var(--ed-ink);
  --muted: var(--ed-mute);
  --muted-2: var(--ed-faint);
  --line: var(--ed-line);
  --line-soft: var(--ed-wash);
  --dark: var(--ed-ink);
  --dark-2: var(--ed-ink);
  --dark-lift: var(--ed-ink-soft);
  --primary: var(--ed-ink);
  --primary-hover: #000;
  --primary-soft: var(--ed-wash);
  --accent: var(--ed-ink);
  --accent-ink: var(--ed-ink);
  --accent-soft: var(--ed-wash);
  --ok: var(--ed-ink);
  --sidebar: var(--ed-canvas);
  --sidebar-ink: var(--ed-ink);
  --sidebar-muted: var(--ed-faint);
  --sidebar-line: var(--ed-line);
  --sidebar-active: transparent;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius: 0px;
  --sidebar-w: 248px;
  --ed-combo: #9a5c45;
  --ed-combo-wash: rgba(154, 92, 69, 0.08);
  --ed-combo-alt: rgba(154, 92, 69, 0.16);
  --ed-combo-hover: rgba(154, 92, 69, 0.22);
}

html.editorial-console {
  background: var(--ed-paper);
}

html.editorial-console body {
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-font);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  font-weight: 450;
}

html.editorial-console ::selection {
  background: rgba(26, 27, 29, 0.12);
  color: var(--ed-ink);
}

/* ── Sidebar ── */

html.editorial-console .sidebar {
  background: var(--ed-canvas);
  color: var(--ed-ink);
  border-right: 1px solid var(--ed-line);
}

html.editorial-console .sidebar-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 22px 22px 18px 20px;
  border-bottom: 1px solid var(--ed-line);
}

html.editorial-console .sidebar-brand > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

html.editorial-console .ed-wordmark__mark {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--ed-ink);
}

html.editorial-console .sidebar-brand em {
  margin: 0;
  font-family: var(--ed-font);
  font-size: var(--ed-micro);
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--ed-track-label);
  text-indent: var(--ed-track-label);
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .sidebar-nav {
  padding: 18px 14px 12px 16px;
  gap: 2px;
}

html.editorial-console .nav-label {
  color: var(--ed-faint);
  letter-spacing: var(--ed-track-label);
}

html.editorial-console .nav-fold {
  padding: 10px 8px 8px;
  border-radius: 0;
  background: transparent;
  color: var(--ed-ink);
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: var(--ed-track-label);
  text-transform: uppercase;
}

html.editorial-console .nav-fold:hover {
  background: transparent;
  color: var(--ed-ink);
}

html.editorial-console .nav-fold__btn {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .nav-item {
  padding: 7px 10px;
  border-radius: 0;
  color: var(--ed-mute);
  font-size: var(--ed-ui);
  font-weight: 400;
}

html.editorial-console .nav-item:hover {
  background: transparent;
  color: var(--ed-ink);
}

html.editorial-console .nav-item.is-active {
  background: transparent;
  color: var(--ed-ink);
  font-weight: 600;
  box-shadow: inset 1.5px 0 0 var(--ed-ink);
}

html.editorial-console .nav-item--reset {
  margin-top: auto;
  color: var(--ed-faint);
  font-size: 12px;
}

html.editorial-console .nav-item--reset:hover {
  color: var(--ed-ink);
}

html.editorial-console .sidebar-nav > .nav-item--sub {
  padding-left: 22px;
  font-size: 12.5px;
}

html.editorial-console .sidebar-nav > .nav-item--sub::before {
  content: "ㄴ";
  margin-right: 6px;
  opacity: 0.5;
}

html.editorial-console .nav-item--combo.is-active {
  background: transparent;
  color: var(--ed-combo);
  box-shadow: inset 1.5px 0 0 var(--ed-combo);
}

html.editorial-console .nav-barcode {
  padding: 6px 8px;
  border: 1px solid var(--ed-line);
  border-radius: 0;
  background: transparent;
  color: var(--ed-mute);
  font-size: var(--ed-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.editorial-console .nav-barcode:hover,
html.editorial-console .nav-item--combo + .nav-barcode:hover,
html.editorial-console .nav-sub:has(.nav-item--combo.is-active) .nav-barcode {
  background: transparent;
  color: var(--ed-ink);
  border-color: var(--ed-line-strong);
}

html.editorial-console .nav-step {
  border-radius: 0;
  border-color: var(--ed-line-strong);
  font-weight: 500;
}

html.editorial-console .sidebar-foot {
  margin-top: auto;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--ed-line);
  gap: 6px;
}

html.editorial-console .sidebar .sidebar-more-hint__fade {
  background: linear-gradient(180deg, transparent, var(--ed-canvas) 72%);
}

html.editorial-console .sidebar .sidebar-more-hint__copy {
  color: var(--ed-faint);
}

html.editorial-console .sidebar .eibe-support-credit__copy,
html.editorial-console .sidebar .eibe-support-credit__meta {
  color: var(--ed-faint);
}

html.editorial-console .sidebar .eibe-support-credit__copy {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html.editorial-console .sidebar .space-launcher--rail {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--ed-line);
  background: transparent;
  color: var(--ed-ink);
  box-shadow: none;
  animation: none;
  opacity: 1;
  transform: none;
}

html.editorial-console .sidebar .space-launcher--rail:hover {
  border-color: var(--ed-ink);
  background: transparent;
}

html.editorial-console .sidebar .sidebar-collapse-rail {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--ed-line);
  border-radius: 0;
  background: transparent;
  color: var(--ed-ink);
  box-shadow: none;
}

html.editorial-console .sidebar .sidebar-collapse-rail:hover {
  border-color: var(--ed-ink);
  background: transparent;
  transform: none;
}

html.editorial-console .sidebar .sidebar-collapse-rail:focus-visible {
  outline: 1px solid var(--ed-ink);
  outline-offset: 3px;
}

html.editorial-console .sidebar .sidebar-collapse-rail__eyebrow {
  letter-spacing: 0.14em;
  color: var(--ed-faint);
}

html.editorial-console .sidebar .sidebar-collapse-rail__glyph {
  border-radius: 0;
  color: var(--ed-ink);
  background: var(--ed-wash);
  border-color: var(--ed-line);
}

/* ── Main · topbar ── */

html.editorial-console .main,
html.editorial-console .main.is-combo-view {
  background: var(--ed-paper);
}

html.editorial-console .topbar {
  align-items: center;
  min-height: var(--ed-topbar);
  padding: 8px 24px;
  background: var(--ed-canvas);
  border-bottom: 1px solid var(--ed-line);
}

html.editorial-console .topbar::before {
  display: none;
}

html.editorial-console .topbar__title-block {
  padding-left: 0;
  line-height: 1.2;
}

html.editorial-console .eyebrow {
  margin-bottom: 2px;
  font-family: var(--ed-font);
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: var(--ed-track-label);
  text-indent: var(--ed-track-label);
  color: var(--ed-faint);
}

html.editorial-console .topbar h1 {
  font-size: var(--ed-title);
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

html.editorial-console .topbar-sub {
  margin-top: 2px;
  font-size: var(--ed-ui);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ed-mute);
}

html.editorial-console .session-chip {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: flex-end;
}

html.editorial-console .session-chip__role {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .session-chip__email {
  font-family: var(--ed-font);
  font-size: 0.75rem;
  color: var(--ed-mute);
}

/* ── Controls ── */

html.editorial-console .btn {
  height: 36px;
  border-radius: 0;
  border-color: var(--ed-line-strong);
  background: var(--ed-canvas);
  color: var(--ed-ink);
  font-size: var(--ed-ui);
  transition:
    border-color var(--ed-dur) var(--ed-ease),
    background-color var(--ed-dur) var(--ed-ease),
    color var(--ed-dur) var(--ed-ease);
}

html.editorial-console .scan-invite {
  border-radius: 0;
  border-color: var(--ed-line);
  background: var(--ed-canvas);
}

html.editorial-console .scan-invite__copy em {
  letter-spacing: var(--ed-track-label);
  color: var(--ed-faint);
}

html.editorial-console .scan-invite__copy strong {
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

html.editorial-console .btn-kakao {
  border-radius: 0;
  border-color: #191919;
  background: #fee500;
  color: #191919;
}

html.editorial-console .scan-share__url {
  border-radius: 0;
  border-color: var(--ed-line);
  background: var(--ed-paper);
}

html.editorial-console .btn-primary {
  background: var(--ed-ink);
  border-color: var(--ed-ink);
  color: #fff;
  letter-spacing: 0.04em;
}

html.editorial-console .btn-primary:hover:not(:disabled) {
  background: #000;
  border-color: #000;
}

html.editorial-console .btn-danger {
  background: var(--ed-danger);
  border-color: var(--ed-danger);
}

html.editorial-console .toolbar,
html.editorial-console .toolbar--list,
html.editorial-console .form-panel {
  background: var(--ed-canvas);
  border-bottom-color: var(--ed-line);
}

html.editorial-console .toolbar--combo {
  background: var(--ed-combo-wash);
  border-bottom-color: rgba(154, 92, 69, 0.22);
}

html.editorial-console .toolbar--combo .btn-primary {
  background: var(--ed-combo);
  border-color: var(--ed-combo);
}

html.editorial-console .toolbar select,
html.editorial-console .toolbar input,
html.editorial-console .form-panel__grid input,
html.editorial-console .form-panel__grid select,
html.editorial-console .zone-form select,
html.editorial-console .zone-form input,
html.editorial-console .field--reason textarea,
html.editorial-console #zoneReason {
  border-radius: 0;
  border-color: var(--ed-line);
}

html.editorial-console .toolbar select:focus,
html.editorial-console .toolbar input:focus,
html.editorial-console .form-panel__grid input:focus,
html.editorial-console .form-panel__grid select:focus {
  outline: none;
  border-color: var(--ed-ink);
}

html.editorial-console .form-panel__grid label,
html.editorial-console .toolbar--inbound .field > span,
html.editorial-console .zone-form .field > span,
html.editorial-console .zone-step__label {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .dash-wrap,
html.editorial-console .hold-wrap,
html.editorial-console .sheet-stage {
  background: var(--ed-paper);
}

html.editorial-console .hold-card,
html.editorial-console .zone-confirm,
html.editorial-console .dash-kpi,
html.editorial-console .dash-panel {
  border-radius: 0;
  box-shadow: none;
  background: var(--ed-canvas);
  border-color: var(--ed-line);
}

html.editorial-console .hold-card h2,
html.editorial-console .dash-panel__head h2,
html.editorial-console .zone-actor,
html.editorial-console .zone-preview__ask {
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

/* ── Dashboard ── */

html.editorial-console .dash-kpis {
  gap: 1px;
  background: var(--ed-line);
  border: 1px solid var(--ed-line);
}

html.editorial-console .dash-kpi {
  border: 0;
}

html.editorial-console .dash-kpi:hover {
  border-color: transparent;
  background: var(--ed-canvas);
}

html.editorial-console .dash-kpi--combo,
html.editorial-console .dash-kpi--combo:hover {
  background: var(--ed-combo-wash);
  border-color: transparent;
}

html.editorial-console .dash-kpi--warn,
html.editorial-console .dash-kpi--warn:hover {
  background: rgba(26, 27, 29, 0.04);
}

html.editorial-console .dash-kpi__label {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .dash-kpi__value {
  font-weight: 520;
  letter-spacing: var(--ed-track-title);
  font-variant-numeric: tabular-nums;
}

html.editorial-console .dash-kpi--combo .dash-kpi__value {
  color: var(--ed-combo);
}

html.editorial-console .dash-legend__btn:hover,
html.editorial-console .dash-legend__btn.is-on,
html.editorial-console .dash-group__head:hover,
html.editorial-console .dash-bar:hover .dash-bar__meta span {
  background: var(--ed-wash);
  color: var(--ed-ink);
}

html.editorial-console .dash-legend__btn {
  border-radius: 0;
}

html.editorial-console .dash-legend__swatch,
html.editorial-console .dash-bar__track {
  border-radius: 0;
}

html.editorial-console .dash-bar__fill {
  background: var(--ed-ink);
}

html.editorial-console .dash-table th {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-faint);
  background: transparent;
}

html.editorial-console .dash-table tbody td {
  background: var(--ed-canvas);
}

html.editorial-console .dash-table tbody tr:nth-child(even) td {
  background: var(--ed-paper);
}

html.editorial-console .dash-table tbody tr:hover td {
  background: var(--ed-wash);
}

html.editorial-console .dash-table tbody tr.is-combo td {
  background: var(--ed-combo-wash);
}

html.editorial-console .dash-table tbody tr.is-combo:nth-child(even) td {
  background: var(--ed-combo-alt);
}

html.editorial-console .dash-table tbody tr.is-combo:hover td {
  background: var(--ed-combo-hover);
}

/* ── Sheets ── */

/* 표 헤더는 짙은 배경(--dark→ed-ink). 옅은 글씨(ed-faint)를 쓰면 안 보인다. */
html.editorial-console .sheet th {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ed-ink);
  color: var(--ed-paper);
}

html.editorial-console .sheet {
  --oms-row: #ffffff;
  --oms-row-alt: #f7f6f3;
  --oms-row-combo: #fff4ec;
  --oms-row-combo-alt: #f6e4d4;
  --oms-row-hover: #ecece8;
  --oms-row-combo-hover: #edd8c6;
}

html.editorial-console .sheet th.check,
html.editorial-console .sheet th.brand,
html.editorial-console .sheet th.seq,
html.editorial-console .sheet--pin-id th.pin-code,
html.editorial-console .sheet--pin-id th.pin-name {
  background: var(--ed-ink);
  color: var(--ed-paper);
}

html.editorial-console .sheet--pin-id td.pin-name,
html.editorial-console .sheet--pin-id th.pin-name {
  box-shadow: 2px 0 0 var(--ed-line);
}

html.editorial-console .sheet tr.is-combo input:focus,
html.editorial-console .sheet tr.is-combo select:focus,
html.editorial-console .sheet tr.is-combo td.check input {
  accent-color: var(--ed-combo);
}

html.editorial-console .sheet tr.is-miss td {
  box-shadow: inset 2px 0 0 var(--ed-combo);
}

html.editorial-console .stock-lots > td {
  background: var(--ed-paper);
}

html.editorial-console .stock-lots__table tbody td,
html.editorial-console .zone-lots__table tbody td {
  background: var(--ed-canvas);
}

html.editorial-console .stock-lots__table tbody tr:nth-child(even) td,
html.editorial-console .zone-lots__table tbody tr:nth-child(even) td {
  background: var(--ed-paper);
}

html.editorial-console .zone-lots__table tr.is-picked td {
  background: rgba(26, 27, 29, 0.06);
}

html.editorial-console .sheet,
html.editorial-console .oms-pick,
html.editorial-console .oms-pick__query {
  border-radius: 0;
}

html.editorial-console .lot-hist-dock {
  background: var(--ed-canvas);
  border-left-color: var(--ed-line);
}

html.editorial-console .lot-hist-dock__head,
html.editorial-console .lot-hist-card {
  background: var(--ed-canvas);
  border-color: var(--ed-line);
}

html.editorial-console .lot-hist-list {
  border-left-color: var(--ed-line);
}

html.editorial-console .lot-hist-card::before {
  background: var(--ed-ink);
  box-shadow: 0 0 0 3px var(--ed-canvas);
}

html.editorial-console .lot-hist-card__kind,
html.editorial-console .lot-hist-flow__arrow {
  color: var(--ed-ink);
}

html.editorial-console .oms-board {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 28px;
}

html.editorial-console .oms-drop {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px dashed var(--ed-line);
  background: var(--ed-canvas);
  color: var(--ed-mute);
  text-align: center;
  cursor: pointer;
  padding: 24px;
}

html.editorial-console .oms-drop.is-over {
  background: var(--ed-wash);
  color: var(--ed-ink);
}

html.editorial-console .oms-drop.is-locked {
  cursor: not-allowed;
  opacity: 0.72;
}

html.editorial-console .oms-wh-pick {
  margin-top: 0;
}

.oms-chip-row,
html.editorial-console .oms-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.oms-chip-row > *,
html.editorial-console .oms-chip-row > * {
  flex: 0 0 auto;
  width: auto;
}

.oms-chip-row h2,
.oms-chip-row h3,
html.editorial-console .oms-chip-row h2,
html.editorial-console .oms-chip-row h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.oms-chip-row .toolbar-note,
html.editorial-console .oms-chip-row .toolbar-note {
  margin: 0;
}

html.editorial-console .oms-wh-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

html.editorial-console .oms-wh-btn.is-on {
  background: var(--ed-ink);
  color: #fff;
  border-color: var(--ed-ink);
}

html.editorial-console .oms-store-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: start;
}

html.editorial-console .oms-store-opts .oms-store-wh,
html.editorial-console .oms-store-opts .oms-store-ship {
  flex: 1 1 200px;
  min-width: 0;
}

html.editorial-console .oms-store-ship {
  margin: 0;
}

html.editorial-console .oms-store-ship h3 {
  margin: 0;
  font-size: 13px;
}

html.editorial-console .oms-drop strong {
  display: block;
  color: var(--ed-ink);
  font-size: 15px;
  margin-bottom: 6px;
}

html.editorial-console .oms-file-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

html.editorial-console .oms-sec {
  margin-top: 18px;
}

/* 단독 제목만 아래 여백. chip-row 안 h2는 버튼과 한 줄이라 margin 0 */
html.editorial-console .oms-sec > h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
}
html.editorial-console .oms-sec .oms-chip-row > h2,
html.editorial-console .oms-sec .oms-chip-row > h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--ed-track-title);
}

html.editorial-console .oms-file-card {
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
}

html.editorial-console .oms-file-card__name {
  margin: 0;
  font-weight: 650;
  word-break: break-all;
}

html.editorial-console .oms-file-card__meta,
html.editorial-console .oms-file-card__warn {
  margin: 0;
  font-size: 12.5px;
  color: var(--ed-mute);
}

html.editorial-console .oms-file-card__warn {
  color: #9a5c45;
  font-weight: 650;
}

html.editorial-console .oms-file-card label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--ed-mute);
}

html.editorial-console .oms-file-card select,
html.editorial-console .oms-store-bar input,
html.editorial-console .oms-map-work select {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--ed-line);
  background: #fff;
  font: inherit;
  padding: 4px 8px;
}

html.editorial-console .oms-preview {
  overflow: auto;
  width: fit-content;
  max-width: 100%;
  max-height: min(70vh, 720px);
  border: 1px solid var(--ed-line);
  background: #fff;
}

html.editorial-console .oms-sheet-more {
  margin: 12px 0 0;
}

html.editorial-console .oms-preview table,
html.editorial-console .oms-sheet,
html.editorial-console .oms-map-work {
  width: max-content;
  min-width: max-content;
  max-width: none;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 12px;
}

html.editorial-console .oms-sheet--excel {
  table-layout: fixed;
}

html.editorial-console .oms-map-work {
  width: 100%;
  min-width: 100%;
}

html.editorial-console .oms-preview th,
html.editorial-console .oms-preview td,
html.editorial-console .oms-sheet th,
html.editorial-console .oms-sheet td,
html.editorial-console .oms-map-work th,
html.editorial-console .oms-map-work td {
  border: 1px solid var(--ed-line);
  padding: 6px 10px;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  vertical-align: middle;
}

html.editorial-console .oms-sheet th,
html.editorial-console .oms-preview th,
html.editorial-console .oms-map-work th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ed-canvas);
  font-weight: 650;
  font-size: 12px;
}

html.editorial-console .oms-sheet td,
html.editorial-console .oms-preview td {
  background: #fff;
}

html.editorial-console .oms-sheet tr.cs-follow td,
html.editorial-console .oms-preview tr.cs-follow td {
  white-space: normal;
  overflow: visible;
}

html.editorial-console .oms-sheet tr:nth-child(even) td,
html.editorial-console .oms-preview tr:nth-child(even) td {
  background: #f6f5f2;
}

html.editorial-console #mapModal.row-modal {
  padding: 20px;
  place-items: center;
}

html.editorial-console .oms-map-panel {
  width: min(1240px, 100%);
  height: auto;
  max-height: calc(100vh - 40px);
}

html.editorial-console .oms-map-body {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html.editorial-console .oms-store-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

html.editorial-console .oms-store-wh {
  display: grid;
  gap: 6px;
}

html.editorial-console .oms-store-wh h3 {
  margin: 0;
  font-size: 13px;
}

html.editorial-console .oms-store-bar label {
  display: grid;
  gap: 4px;
  flex: 1 1 96px;
  min-width: 0;
  font-size: 12px;
  color: var(--ed-mute);
}

html.editorial-console .oms-store-bar__file {
  flex: 1 1 160px;
}

html.editorial-console .oms-file-pattern {
  width: 100%;
  min-width: 140px;
  min-height: 32px;
  border: 1px solid var(--ed-line);
  background: #fff;
  font: inherit;
  padding: 4px 8px;
}

html.editorial-console .oms-orders-preview {
  max-height: min(70vh, 720px);
}

html.editorial-console .oms-file-card .oms-pick,
html.editorial-console .oms-map-work .oms-pick,
html.editorial-console .oms-product-map .oms-pick {
  width: 100%;
  min-width: 240px;
}

html.editorial-console .oms-pick__query {
  border-radius: 0;
  height: 40px;
  font-size: 14px;
}

html.editorial-console .oms-pick__list {
  z-index: 5000;
}

html.editorial-console .oms-pick__opt:hover,
html.editorial-console .oms-pick__opt.is-on {
  background: var(--ed-wash);
}

html.editorial-console .oms-mall-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  white-space: nowrap;
}

html.editorial-console .oms-mall-name span {
  min-width: 0;
}

html.editorial-console .oms-mall-name .oms-slot__add {
  flex: 0 0 40px;
}

html.editorial-console .oms-slots {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

html.editorial-console .oms-slot {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 72px auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

html.editorial-console .oms-product-map .oms-slot .oms-pick,
html.editorial-console .oms-slot .oms-pick {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
}

html.editorial-console .oms-slot .oms-pick__query {
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
}

html.editorial-console .oms-slot__qty {
  width: 72px;
  height: 40px;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid var(--ed-line);
  background: #fff;
  font: inherit;
  font-size: 14px;
  text-align: right;
  box-sizing: border-box;
}

html.editorial-console .oms-slot__btn,
html.editorial-console .oms-slot__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ed-line);
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

html.editorial-console .oms-product-map {
  width: 100%;
  min-width: 100%;
}

html.editorial-console .oms-product-map th:nth-child(2),
html.editorial-console .oms-product-map td:nth-child(2) {
  min-width: 220px;
}

html.editorial-console .oms-product-map th:nth-child(3),
html.editorial-console .oms-product-map td:nth-child(3) {
  min-width: 420px;
  width: 46%;
}

html.editorial-console .oms-ship-kind {
  border: 1px solid var(--ed-line);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

html.editorial-console .oms-ship-kind legend {
  font-weight: 650;
  padding: 0 4px;
}

html.editorial-console .oms-ship-kind label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}

html.editorial-console #reserveDateModal .row-modal__panel {
  width: min(1100px, 100%);
}

html.editorial-console .oms-zip-one {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ed-line);
}

html.editorial-console .oms-zip-one p {
  display: grid;
  gap: 2px;
  margin: 0;
}

html.editorial-console .oms-zip-one span {
  color: var(--ed-mute);
  font-size: 12px;
}

html.editorial-console .oms-zip-one strong {
  font-size: 14px;
  font-weight: 650;
}

html.editorial-console .oms-zip-btn {
  white-space: nowrap;
}

html.editorial-console .oms-reserve-review {
  display: grid;
  gap: 0;
}

html.editorial-console .oms-reserve-head,
html.editorial-console .oms-reserve-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.7fr);
  gap: 12px 16px;
  align-items: center;
}

html.editorial-console .oms-reserve-head {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ed-line);
  font-size: 12px;
  font-weight: 650;
  color: var(--ed-mute);
}

html.editorial-console .oms-reserve-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--ed-line);
}

html.editorial-console .oms-reserve-row.is-skip {
  opacity: 0.5;
}

html.editorial-console .oms-reserve-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin: 0;
  min-width: 0;
  overflow-x: auto;
}

html.editorial-console .oms-reserve-line span {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  white-space: nowrap;
}

html.editorial-console .oms-reserve-line i {
  font-style: normal;
  font-size: 12px;
  color: var(--ed-mute);
}

html.editorial-console .oms-reserve-line b {
  font-weight: 650;
}

html.editorial-console .oms-reserve-sys {
  display: flex;
  align-items: center;
  gap: 8px;
}

html.editorial-console .oms-reserve-sys input[type="date"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--ed-line);
  font: inherit;
  font-size: 15px;
}

html.editorial-console #omsHoldBoard {
  padding: 8px 4px 32px;
}

html.editorial-console .oms-hold-offer {
  border: 1px solid var(--ed-line);
  padding: 16px 18px;
}

html.editorial-console .oms-hold-offer p {
  margin: 0 0 10px;
}

html.editorial-console .oms-hold-offer .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

html.editorial-console .oms-collect-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

html.editorial-console .oms-collect-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
  font: inherit;
  cursor: pointer;
}

html.editorial-console .oms-collect-source:has(input:checked) {
  border-color: var(--ed-ink, #1c1917);
  background: var(--ed-wash, #f4f1ec);
}

html.editorial-console .oms-sheet tr.oms-collect-block td {
  background: #f8ece8;
}
html.editorial-console .oms-sheet tr.oms-collect-warn td {
  background: #f7f1e4;
}
html.editorial-console .oms-sheet tr.oms-collect-skip td {
  background: #eef0f2;
  color: var(--ed-mute, #6b6560);
}

html.editorial-console .oms-sheet tr.oms-row {
  cursor: pointer;
}

html.editorial-console .oms-sheet tr.oms-row:hover {
  background: var(--ed-wash);
}

html.editorial-console .oms-hold-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

html.editorial-console .oms-hold-card {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 16px 14px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

html.editorial-console .oms-hold-card strong {
  font-size: 15px;
}

html.editorial-console .oms-hold-card__meta {
  color: var(--ed-mute);
  font-size: 12.5px;
}

html.editorial-console .oms-hold-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

html.editorial-console .oms-check {
  width: 36px;
  text-align: center;
  vertical-align: middle;
}

html.editorial-console .oms-hold-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
}

html.editorial-console .oms-hold-row-actions .btn {
  padding: 4px 8px;
  font-size: 12px;
}

html.editorial-console .oms-sec h3 {
  margin: 18px 0 10px;
  font-size: 14px;
  font-weight: 650;
}

html.editorial-console .oms-qty {
  text-align: right;
}

html.editorial-console .oms-pick-short td {
  color: #9a3412;
}

html.editorial-console .oms-combo {
  position: relative;
  min-width: 0;
}

html.editorial-console .oms-combo__input,
html.editorial-console .oms-combo-pop {
  font: inherit;
}

html.editorial-console .oms-combo__input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--ed-line);
  background: #fff;
  padding: 4px 8px;
}

html.editorial-console .oms-combo.is-open .oms-combo__input {
  border-color: var(--ed-ink);
}

html.editorial-console .oms-combo-pop {
  position: fixed;
  z-index: 5000;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--ed-line);
  box-shadow: 0 10px 28px rgba(40, 28, 20, 0.12);
}

html.editorial-console .oms-combo-pop__opt,
html.editorial-console .oms-combo-pop__empty {
  padding: 7px 10px;
  cursor: pointer;
}

html.editorial-console .oms-combo-pop__empty {
  color: var(--ed-mute);
  cursor: default;
}

html.editorial-console .oms-combo-pop__opt:hover,
html.editorial-console .oms-combo-pop__opt.is-on {
  background: var(--ed-wash);
}

html.editorial-console .oms-hits {
  display: grid;
  gap: 6px;
  justify-items: start;
}

html.editorial-console .oms-hit {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 6px;
  align-items: center;
  width: 100%;
}

html.editorial-console .oms-hit-add {
  min-width: 34px;
  padding-left: 10px;
  padding-right: 10px;
}

html.editorial-console .oms-product-map td {
  white-space: normal;
  vertical-align: top;
}

html.editorial-console .oms-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

html.editorial-console .oms-map-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

html.editorial-console .oms-map-head p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}

html.editorial-console .row-modal__panel {
  zoom: 0.9;
}

html.editorial-console .oms-opt {
  margin-left: 4px;
  font-size: 10px;
  font-weight: 650;
  color: var(--ed-faint);
}

html.editorial-console .oms-map-work-wrap {
  border: 1px solid var(--ed-line);
}

html.editorial-console .oms-map-work th:first-child,
html.editorial-console .oms-map-work td:first-child {
  width: 22%;
}

html.editorial-console .oms-map-work th:nth-child(2),
html.editorial-console .oms-map-work td:nth-child(2) {
  width: 38%;
}

html.editorial-console .oms-map-sample {
  color: var(--ed-mute);
  max-width: none;
  overflow: visible;
  white-space: normal;
  font-size: 13px;
}

html.editorial-console .oms-req {
  color: #9a5c45;
  font-weight: 700;
}

html.editorial-console .oms-preview-fold {
  border-top: 1px solid var(--ed-line);
  padding-top: 10px;
}

html.editorial-console .oms-preview-fold summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

html.editorial-console .oms-preview-fold .oms-preview {
  margin-top: 10px;
  max-height: min(42vh, 420px);
}

html.editorial-console .oms-preview [data-excel-col].is-on {
  background: #f4ece6;
}

html.editorial-console .wh-map__tab,
html.editorial-console .wh-map__zone {
  border-radius: 0;
}
html.editorial-console .wh-map__tab.is-on,
html.editorial-console .wh-map__zone.is-on {
  background: var(--ed-ink);
  border-color: var(--ed-ink);
  color: #fff;
}
html.editorial-console .wh-map__floor {
  border-color: var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .wh-map__world {
  background:
    linear-gradient(var(--ed-wash) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--ed-wash) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ed-canvas);
}
html.editorial-console .wh-map__cell {
  background: color-mix(in srgb, var(--dot, var(--ed-ink)) 28%, transparent);
  color: var(--ed-ink);
  border-radius: 0;
}
html.editorial-console .wh-map__cell.is-set {
  background: var(--dot, var(--ed-ink));
  color: #fff;
}
html.editorial-console .wh-map__cell.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dot, var(--ed-ink));
}
html.editorial-console .wh-map__path {
  color: var(--ed-ink);
}
html.editorial-console .wh-map__step {
  background: #fff;
  color: var(--ed-ink);
}
html.editorial-console .wh-map__tip {
  border-color: var(--ed-line);
  background: var(--ed-paper);
}
html.editorial-console .wh-map__side {
  border-color: var(--ed-line);
  background: var(--ed-paper);
}

html.editorial-console .oms-manual-example th.is-req,
html.editorial-console .oms-manual-example td.is-req {
  background: #fff2cc !important;
}
html.editorial-console .oms-lot-qty {
  width: 4.5rem;
}
html.editorial-console .oms-lot-qty:disabled {
  opacity: 0.45;
}
html.editorial-console .oms-manual-lot__ok {
  margin: 10px 0 0;
}

@media (max-width: 520px) {
  html.editorial-console .oms-store-bar label,
  html.editorial-console .oms-store-bar__file,
  html.editorial-console .oms-store-opts .oms-store-wh,
  html.editorial-console .oms-store-opts .oms-store-ship {
    flex-basis: 100%;
  }
}

/* 맵핑정보 · 선맵핑 */
html.editorial-console .oms-premap-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1;
}
html.editorial-console .oms-premap-store select {
  min-width: 200px;
  height: 36px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid var(--ed-line);
  background: #fff;
}
html.editorial-console label.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* API자동수집 · 몰마다 컬럼 맞추기 단계 */
html.editorial-console .oms-mall-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
html.editorial-console .oms-mall-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--ed-line);
  background: #fff;
  font-size: 13px;
  color: var(--ed-muted, #5c6370);
}
html.editorial-console .oms-mall-step span {
  font-size: 11px;
  font-weight: 700;
}
html.editorial-console .oms-mall-step.is-current {
  border-color: var(--ed-ink, #141414);
  color: var(--ed-ink, #141414);
  font-weight: 700;
}
html.editorial-console .oms-mall-step.is-done span {
  color: #16794a;
}

/* ── API자동수집 · 단계형 화면 ── */
html.editorial-console .oms-flow {
  display: grid;
  gap: 16px;
  max-width: 1280px;
}
html.editorial-console .oms-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .oms-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-right: 1px solid var(--ed-line);
  color: var(--ed-faint);
  font-size: 13px;
  min-width: 0;
}
html.editorial-console .oms-flow-step:last-child { border-right: 0; }
html.editorial-console .oms-flow-step__no {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--ed-line-strong);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
html.editorial-console .oms-flow-step__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.editorial-console .oms-flow-step.is-current {
  color: var(--ed-ink);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ed-ink);
}
html.editorial-console .oms-flow-step.is-current .oms-flow-step__no {
  background: var(--ed-ink);
  border-color: var(--ed-ink);
  color: #fff;
}
html.editorial-console .oms-flow-step.is-done { color: var(--ed-mute); }
html.editorial-console .oms-flow-step.is-done .oms-flow-step__no {
  border-color: #2f7a55;
  color: #2f7a55;
}

html.editorial-console .oms-flow__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2.4fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  html.editorial-console .oms-flow__grid { grid-template-columns: 1fr; }
  html.editorial-console .oms-flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

html.editorial-console .oms-panel,
html.editorial-console .oms-flow__block > .oms-sec {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .oms-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
html.editorial-console .oms-panel__no {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ed-track-label);
  color: var(--ed-faint);
  padding-top: 3px;
  min-width: 18px;
}
html.editorial-console .oms-panel__titles h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--ed-track-title);
}
html.editorial-console .oms-panel__titles p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ed-mute);
}
html.editorial-console .oms-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ed-line);
}
html.editorial-console .oms-panel--send .oms-panel__bar {
  justify-content: flex-end;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
html.editorial-console .oms-panel--send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
html.editorial-console .oms-panel--send .oms-panel__head { margin-bottom: 0; flex: 1 1 420px; }
html.editorial-console .oms-panel__meta {
  font-size: 12.5px;
  color: var(--ed-mute);
}
html.editorial-console .oms-panel__actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 몰 체크 — 작은 칩 격자 */
html.editorial-console .oms-flow .oms-collect-sources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin: 0;
}
html.editorial-console .oms-flow .oms-collect-source {
  padding: 9px 12px;
  font-size: 13px;
  background: var(--ed-canvas);
}
html.editorial-console .oms-flow .oms-collect-source span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.editorial-console .oms-flow .oms-collect-source:has(input:checked) {
  border-color: var(--ed-ink);
  background: var(--ed-paper);
  box-shadow: inset 3px 0 0 var(--ed-ink);
}

/* 가져온 결과 숫자 */
html.editorial-console .oms-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .oms-kpi {
  padding: 14px 18px;
  border-right: 1px solid var(--ed-line);
}
html.editorial-console .oms-kpi:last-child { border-right: 0; }
html.editorial-console .oms-kpi dt {
  font-size: 11.5px;
  color: var(--ed-faint);
  letter-spacing: 0.02em;
}
html.editorial-console .oms-kpi dd {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
html.editorial-console .oms-kpi dd small {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ed-faint);
}
html.editorial-console .oms-kpi.is-ok dd { color: #2f7a55; }
html.editorial-console .oms-kpi.is-warn dd { color: var(--ed-danger); }

/* 3·4단계 칸 위 번호 */
html.editorial-console .oms-flow__block { position: relative; }
html.editorial-console .oms-flow__block[data-step]::before {
  content: attr(data-step);
  position: absolute;
  top: 21px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ed-track-label);
  color: var(--ed-faint);
}
html.editorial-console .oms-flow__block > .oms-sec { padding-left: 50px; }

/* 결과 표 상태 배지 */
html.editorial-console .oms-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 650;
  border: 1px solid currentColor;
  white-space: nowrap;
}
html.editorial-console .oms-badge--ok { color: #2f7a55; }
html.editorial-console .oms-badge--warn { color: #8a5a00; }
html.editorial-console .oms-badge--block { color: var(--ed-danger); }
html.editorial-console .oms-badge--skip { color: var(--ed-faint); }

/* 가져온 주문 표 — 넓게 · 칸마다 묶어 보기 */
html.editorial-console .oms-flow .oms-collect-wrap {
  width: 100%;
  max-height: min(72vh, 860px);
}
html.editorial-console .oms-collect-table {
  width: 100%;
  min-width: 1240px;
  table-layout: fixed;
  font-size: 12.5px;
}
html.editorial-console .oms-collect-table col.c-status { width: 132px; }
html.editorial-console .oms-collect-table col.c-mall { width: 170px; }
html.editorial-console .oms-collect-table col.c-order { width: 190px; }
html.editorial-console .oms-collect-table col.c-who { width: 150px; }
html.editorial-console .oms-collect-table col.c-addr { width: auto; }
html.editorial-console .oms-collect-table col.c-product { width: 300px; }
html.editorial-console .oms-collect-table col.c-qty { width: 64px; }
html.editorial-console .oms-collect-table td {
  white-space: normal;
  vertical-align: top;
  line-height: 1.5;
  padding: 9px 12px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html.editorial-console .oms-collect-table td b { font-weight: 650; }
html.editorial-console .oms-cell__sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ed-faint);
}
html.editorial-console .oms-cell__zip {
  display: inline-block;
  margin-right: 4px;
  padding: 0 5px;
  border: 1px solid var(--ed-line-strong);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
html.editorial-console .oms-collect-table td.oms-cell--qty {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
html.editorial-console .oms-collect-table td.oms-cell--status .oms-badge { white-space: normal; }
/* 넓은 표가 카드 밖으로 밀지 않게(넘치면 표 안에서 가로 스크롤) */
html.editorial-console .oms-flow > *,
html.editorial-console .oms-flow__grid > * { min-width: 0; }
html.editorial-console .oms-flow .oms-collect-table {
  width: 100%;
  min-width: 1180px;
  max-width: none;
}

/* ── OMS · WMS · CS 공통: 화면 안 구획을 카드로 (2026-10-12) ── */
/* 보드 안 구획(.oms-sec)은 흰 카드 · 테두리 · 여백 */
html.editorial-console .oms-board > .oms-sec,
html.editorial-console .oms-board > .oms-hold-offer {
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .oms-board > .oms-sec > h2,
html.editorial-console .oms-board > .oms-sec > .oms-chip-row > h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--ed-track-title);
}
/* 제목+버튼 한 줄 다음 안내는 살짝만 띄움. 단독 h2 다음만 당김 */
html.editorial-console .oms-board > .oms-sec > h2 + .toolbar-note {
  margin-top: -4px;
}
html.editorial-console .oms-board > .oms-sec > .oms-chip-row + .toolbar-note {
  margin-top: 8px;
}
html.editorial-console .oms-board > .oms-drop {
  margin-bottom: 16px;
}
html.editorial-console .oms-board {
  background: var(--ed-paper);
}

/* WMS 입력줄 · 목록줄 · 입력 칸 묶음 — OMS 카드와 같은 패딩 */
html.editorial-console .main > .toolbar,
html.editorial-console .main > .form-panel {
  margin: 16px 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .main > .toolbar--list {
  margin-top: 16px;
  border-bottom: 0;
  background: var(--ed-canvas);
}
html.editorial-console .main > .toolbar--list + .toolbar,
html.editorial-console .main > .toolbar + .toolbar,
html.editorial-console .main > .toolbar + .form-panel {
  margin-top: 10px;
}
html.editorial-console .main > .toolbar--combo {
  background: var(--ed-combo-wash);
}
html.editorial-console .main > .sheet-stage {
  margin: 0 20px 20px;
  border: 1px solid var(--ed-line);
  background: var(--ed-canvas);
}
html.editorial-console .main > .toolbar--list:not([hidden]) ~ .sheet-stage {
  margin-top: 0;
}
html.editorial-console .main > .toolbar .toolbar-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
html.editorial-console .main > .toolbar .toolbar-note {
  font-size: 12.5px;
}
/* 입력 카드 → 목록줄 → 표 순서로 보이게(목록줄을 표 바로 위에 붙임) */
html.editorial-console .main > .toolbar--list { order: 1; margin-top: 16px !important; }
html.editorial-console .main > .sheet-stage,
html.editorial-console .main > .dash-wrap,
html.editorial-console .main > .hold-wrap,
html.editorial-console .main > .tool-frame { order: 2; }
html.editorial-console .main > .toolbar--list:not([hidden]) {
  margin-bottom: 0;
}

/* CS 조회줄: OMS·WMS 카드와 같은 테두리·패딩 · 컨트롤 높이 36px */
html.editorial-console .cs-filter-wrap {
  margin: 4px 0 14px;
  padding: 18px 20px;
  border: 1px solid var(--ed-line, #e3e0d8);
  background: var(--ed-canvas, #fff);
}
html.editorial-console .cs-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  margin: 0;
}
html.editorial-console .cs-filter label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
html.editorial-console .cs-filter input,
html.editorial-console .cs-filter select {
  height: 36px;
  min-width: 140px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid var(--ed-line, #d8d4ca);
  background: #fff;
}
html.editorial-console .cs-filter #csOrderNo { min-width: 220px; }
html.editorial-console .cs-filter .btn { height: 36px; }
