/**
 * saint_order/web_order — 공개 인터넷주문 shell · v33
 * v33: 모바일 주문목록 최소폭 해제 · 주문 행 카드형 전환 보강
 * v32: 주문서 모바일 전폭 · 대상자 행 카드형 · 스티커 유형 세로 배치
 * v25: a.wo-mini-btn 밑줄·찌그러짐 제거 (주문목록·취소)
 * v24: 주문서 완성스티커 교체안내 · 취소 버튼
 */
:root {
  /* 따뜻·차분한 성물방 테마 (v26) */
  --wo-ink: #3a2c1e;
  --wo-muted: #8a7863;
  --wo-line: #e6dccd;
  --wo-soft: #f7f2ea;
  --wo-card: #fffdfa;
  --wo-accent: #a4682f;
  --wo-accent-soft: #f5ead9;
  --wo-req-bg: #fdf8f0;
  --wo-req-border: #d8c09a;
  --wo-req-focus: #a4682f;
  /* 따뜻 톤 보조 변수 */
  --wo-head-ink: #5b3d20;
  --wo-head-grad-top: #faf3e8;
  --wo-head-grad-bot: #f3e7d3;
  --wo-card-shadow: 0 2px 10px rgba(120, 90, 50, 0.10);
}

* { box-sizing: border-box; }
body.wo-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--wo-ink);
  background: linear-gradient(180deg, #faf5ec 0%, var(--wo-soft) 45%, #f8f3ea 100%);
}

.wo-top {
  background: #0a3761;
  color: #fff;
  border-bottom: 2px solid #1d8fd6;
}
.wo-top-inner {
  max-width: none;
  width: min(96vw, 100%);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.wo-brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.wo-top-nav { display: flex; gap: 12px; font-size: 12px; font-weight: 700; }
.wo-top-nav a { color: #cfe6f7; text-decoration: none; }
.wo-top-nav a:hover { color: #fff; }

.wo-main {
  flex: 1;
  width: min(96vw, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 10px 12px 20px;
}
/* 주문서: 가로 약 80% (너무 좁지도·전폭도 아님) */
.wo-main-focus {
  width: min(1100px, 80vw);
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 10px 16px;
}
.wo-main-focus .wo-page-head {
  margin-bottom: 6px;
  padding-bottom: 4px;
}
.wo-main-focus .wo-card {
  margin: 0 0 6px;
  border-color: var(--wo-line);
  box-shadow: none;
}
.wo-main-focus .wo-card-compact h2 {
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.25;
  color: #0a3761;
  background: linear-gradient(180deg, #fbfdfe, #eef5f8);
  border-bottom-color: var(--wo-line);
}
.wo-main-focus .wo-card-body {
  padding: 6px 10px 8px;
}
.wo-main-focus .wo-grid {
  gap: 4px 8px;
}
.wo-main-focus .wo-grid-tight {
  gap: 3px 6px;
}
.wo-main-focus .wo-title-bar {
  gap: 5px 8px;
}
.wo-main-focus .wo-flow-bar {
  margin: 0 0 6px;
  padding: 4px 8px;
  gap: 4px 8px;
}
.wo-main-focus .wo-banner {
  margin: 0 0 6px;
  padding: 7px 9px;
  font-size: 13px;
  line-height: 1.35;
}
.wo-main-focus .wo-count-row {
  margin: 0 0 5px;
  gap: 6px;
}
.wo-main-focus .wo-person-table th,
.wo-main-focus .wo-person-table td {
  padding: 3px 4px;
}
.wo-main-focus .wo-field label {
  color: #334e66;
  letter-spacing: -0.01em;
}
.wo-main-focus .wo-field input {
  min-height: 30px;
  padding: 3px 7px;
  border-color: #b9cbda;
  color: var(--wo-ink);
}
.wo-main-focus .wo-field input:not(.wo-req) {
  background: #fff;
}
.wo-main-focus .wo-actions-submit {
  margin: 4px 0 2px;
}

/* 필수 입력 — 청톤과 맞춘 연한 강조(노랑 과다 지양) */
.wo-field input.wo-req,
.wo-person-table input.wo-req {
  background: var(--wo-req-bg);
  border-color: var(--wo-req-border);
}
.wo-field input.wo-req:focus,
.wo-person-table input.wo-req:focus {
  border-color: var(--wo-req-focus);
  box-shadow: 0 0 0 2px rgba(11, 95, 114, 0.16);
  outline: none;
}
.wo-field-help {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--wo-muted);
}
.wo-field-help strong {
  color: var(--wo-accent);
  font-weight: 800;
}
.wo-guide-compact {
  margin: 0 0 6px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #3a5168;
  background: var(--wo-accent-soft);
  border: 1px solid #c5dde3;
  border-radius: 6px;
}
.wo-guide-compact strong {
  font-weight: 800;
  color: #0a3761;
}

/* Phase B — 주문 단위 스티커 모드·유형 */
.wo-sticker-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 8px;
}
.wo-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--wo-line);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #3a5168;
  cursor: pointer;
  line-height: 1.2;
}
.wo-mode-pill input {
  margin: 0;
  accent-color: var(--wo-accent);
}
.wo-mode-pill.is-on {
  border-color: #7eb6c4;
  background: var(--wo-accent-soft);
  color: var(--wo-accent);
}
.wo-mode-pill.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wo-order-stype {
  margin: 0 0 8px;
}
.wo-order-stype .wo-pay-label {
  margin-bottom: 4px;
}
.wo-order-stype-radios {
  flex-wrap: wrap;
  gap: 4px 8px;
}
.wo-order-stype-radios .wo-stype-r {
  font-size: 11px;
  padding: 2px 0;
}
.wo-order-stype-radios .wo-stype-r span {
  font-size: 11px;
}
.wo-main-focus .wo-sample-row {
  margin: 0 0 8px;
  gap: 8px;
}
.wo-main-focus .wo-sticker-simple-actions {
  margin: 0;
  gap: 8px;
  align-items: center;
}
.wo-art-opt {
  font-size: 10px;
  font-weight: 700;
  color: var(--wo-muted);
  letter-spacing: -0.02em;
}
.wo-mini-btn.wo-pick-art-soft {
  border-color: #9eb9c8;
  color: #3a6a7a;
  background: #f4f9fb;
}
.wo-main-focus .wo-sample-row {
  margin: 0 0 10px;
  gap: 10px;
  justify-content: flex-start;
}
.wo-main-focus .wo-sample-item {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wo-main-focus .wo-sample-item.is-active {
  border-color: #9eb9c8;
  box-shadow: none;
}
.wo-main-focus .wo-sample-item:hover {
  border-color: #7eb6c4;
}
.wo-order-stype .wo-stype-r.is-on {
  color: var(--wo-accent);
  font-weight: 800;
}
/* 유형 라디오 약 1.5배 */
.wo-order-stype-lg .wo-stype-r {
  font-size: 16px;
  font-weight: 800;
  gap: 6px;
  padding: 4px 2px;
  line-height: 1.3;
}
.wo-order-stype-lg .wo-stype-r span {
  font-size: 16px;
  font-weight: 800;
}
.wo-order-stype-lg .wo-stype-r input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--wo-accent);
}
.wo-order-stype-lg {
  gap: 8px 14px;
  margin: 4px 0 8px;
}
.wo-guide-mode {
  margin-top: 8px;
}
.wo-mode-pill {
  position: relative;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 14px;
}
.wo-mode-pill .wo-mode-sel {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--wo-accent);
  background: #fff;
  border: 1px solid #7eb6c4;
  border-radius: 999px;
  padding: 1px 7px;
}
.wo-mode-pill.is-on .wo-mode-sel {
  display: inline-block;
}

/* Phase D — sticker_guide 한페이지 DIY · v22 골격 */
.wo-guide-diy-shell {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 14px 20px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wo-line);
}
/* 1번: 안내/조절판 쪽 중간 · ~1.2배(312/336) */
.wo-guide-diy .wo-guide-preview-col {
  flex: 0 0 auto;
  width: min(312px, 48vw);
  max-width: 336px;
  margin-left: auto;
  margin-right: 4px;
}
.wo-guide-diy .wo-guide-focus-frame {
  min-height: 0;
  width: 100%;
  background: #f7fafc;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}
.wo-guide-diy .wo-guide-focus-frame .wo-mine-card,
.wo-guide-diy .wo-guide-focus-frame .wo-mine-card-jpeg,
.wo-guide-thumb .wo-mine-card,
.wo-guide-thumb .wo-mine-card-jpeg {
  width: 100%;
  max-width: 100%;
}
/* JPEG = 실제 이미지 (노란 HTML 가짜카드 배경 금지) */
.wo-guide-diy .wo-mine-card-jpeg {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none;
  border: 0;
}
.wo-guide-diy .wo-guide-focus-frame .wo-mine-jpeg,
.wo-guide-diy .wo-guide-focus-frame .wo-mine-card-jpeg img,
.wo-guide-thumb .wo-mine-jpeg,
.wo-guide-thumb img.wo-mine-jpeg {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  display: block;
}
.wo-guide-edit-panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wo-guide-help-col {
  padding: 2px 0 4px;
}
.wo-guide-help-col .wo-pay-label,
#woGuideHelpTitle {
  font-size: 16px;
  font-weight: 800;
  color: #0a3761;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.wo-guide-help-desc {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #334e66;
}
.wo-guide-diy .wo-guide-tips {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #3a5168;
}
.wo-guide-diy .wo-guide-tips li {
  margin: 0 0 5px;
}
.wo-guide-diy .wo-sticker-edit {
  border-top: 1px dashed var(--wo-line);
  padding-top: 8px;
  margin-top: 0;
}
.wo-guide-diy .wo-st-body {
  resize: vertical;
  min-height: 1.6em;
  line-height: 1.45;
}
.wo-guide-apply-row {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
.wo-guide-final-row {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--wo-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
.wo-btn-final {
  min-width: 140px;
  min-height: 38px;
  font-size: 15px;
  font-weight: 800;
}
/* 2·3·4… = 1번과 동일 폭 · 하단 가로 */
.wo-guide-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 4px;
}
.wo-guide-thumbs[hidden] {
  display: none !important;
}
.wo-guide-thumb {
  flex: 0 0 auto;
  width: min(312px, 48vw);
  max-width: 336px;
  cursor: default;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 6px;
  background: #f7fafc;
  text-align: center;
  box-sizing: border-box;
}
.wo-guide-thumb:hover {
  border-color: transparent;
}
.wo-guide-thumb.is-active {
  border-color: transparent;
  background: #f7fafc;
}
.wo-guide-thumb .wo-thumb-lab {
  font-size: 12px;
  font-weight: 800;
  color: #3a5168;
  margin-bottom: 6px;
}
.wo-guide-thumb .wo-mine-who,
.wo-guide-diy .wo-guide-focus-frame .wo-mine-who {
  font-size: 11px;
  margin-top: 4px;
}
/* 생성 전 대기 — 노란 가짜스티커 금지 */
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) {
  background: #f1f5f9;
  color: #334e66;
  border: 1px dashed #cbd5e1;
  padding: 18px 12px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-title,
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-name {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-sub,
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-body,
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-meta {
  display: none;
}
.wo-guide-diy .wo-mine-card:not(.wo-mine-card-jpeg) .wo-mine-note {
  color: #64748b;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .wo-guide-diy-shell {
    flex-direction: column;
  }
  .wo-guide-diy .wo-guide-preview-col {
    width: min(312px, 78vw);
    max-width: 336px;
    margin-left: 0;
    margin-right: 0;
  }
  .wo-guide-thumb {
    width: min(312px, 78vw);
  }
}

/* legacy guide-top (popup 등) */
.wo-guide-diy .wo-guide-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 0.9fr);
  gap: 14px 18px;
  align-items: start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wo-line);
}
.wo-guide-preview-col .wo-compare-frame {
  min-height: 220px;
  background: #f7fafc;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wo-guide-diy .wo-mine-jpeg,
.wo-guide-diy .wo-mine-card-jpeg {
  max-width: min(360px, 100%);
}

.wo-guide-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wo-guide-preview {
  margin: 0;
  text-align: center;
  padding: 8px;
  background: #f7fafc;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
}
.wo-guide-preview img {
  width: min(420px, 92%);
  height: auto;
  border: 1px solid #b7c9dc;
  border-radius: 6px;
  background: #fff;
}
.wo-guide-preview figcaption {
  margin-top: 6px;
  font-size: 12px;
}
.wo-guide-tips {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #334e66;
}
.wo-guide-tips li {
  margin: 0 0 4px;
}
.wo-guide-body {
  font-size: 14px;
  line-height: 1.5;
  color: #334e66;
}
.wo-guide-steps {
  margin: 0;
  padding-left: 20px;
}
.wo-guide-steps li {
  margin: 0 0 6px;
}
.wo-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wo-guide-status {
  margin: 0;
  padding: 0 12px 10px;
  font-size: 12px;
}

.wo-foot {
  max-width: none;
  width: min(96vw, 100%);
  margin: 0 auto;
  padding: 6px 12px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--wo-muted);
}
.wo-draft { font-family: ui-monospace, monospace; opacity: 0.85; }

.wo-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--wo-line);
}
.wo-page-head-tight { margin-bottom: 8px; }
.wo-page-head h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0a3761;
}
.wo-hint { margin: 0; font-size: 14px; color: var(--wo-muted); }
.wo-h2-sub { font-size: 13px; font-weight: 600; color: var(--wo-muted); }
.wo-muted { color: var(--wo-muted); font-size: 13px; }
.wo-note { font-size: 13px; color: var(--wo-muted); margin: 6px 0 0; }
.wo-head-actions { margin: 0; }
.wo-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}
.wo-banner-inline {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 14px;
}
.wo-banner-ok {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
}
.wo-banner-lock {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.wo-form.is-locked .wo-card {
  opacity: 0.92;
}
.wo-stype-req {
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
  line-height: 1.3;
  white-space: normal;
  max-width: 340px;
}

.wo-card {
  background: var(--wo-card);
  border: 1px solid var(--wo-line);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(20, 50, 80, 0.04);
  margin: 0 0 8px;
}
.wo-card-compact h2 {
  margin: 0;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #0a3761;
  background: linear-gradient(180deg, #fbfeff, #f0f7fa);
  border-bottom: 1px solid var(--wo-line);
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wo-card-body { padding: 8px 12px 10px; }

.wo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px 10px;
}
.wo-grid-tight { gap: 6px 8px; }
.wo-field { display: flex; flex-direction: column; gap: 2px; }
.wo-field label {
  font-size: 11px;
  font-weight: 800;
  color: #2a4054;
}
.wo-field input {
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #b7c9dc;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}
.wo-field input[type="checkbox"],
.wo-field input[type="radio"] {
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
}
.wo-col-3 { grid-column: span 3; }
.wo-col-4 { grid-column: span 4; }
.wo-col-5 { grid-column: span 5; }
.wo-col-6 { grid-column: span 6; }
.wo-col-12 { grid-column: span 12; }

.wo-zip-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
}
.wo-zip-row input { flex: 1; min-width: 0; }
.wo-mini-btn,
a.wo-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #7eb8c4;
  border-radius: 6px;
  background: var(--wo-accent-soft);
  color: var(--wo-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: middle;
}
a.wo-mini-btn:link,
a.wo-mini-btn:visited,
a.wo-mini-btn:hover,
a.wo-mini-btn:active,
a.wo-mini-btn:focus {
  color: var(--wo-accent);
  text-decoration: none;
}
.wo-mini-btn:hover,
a.wo-mini-btn:hover {
  background: #d5eef2;
}

.wo-art-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--wo-accent-soft);
  border: 1px solid #b7d9dc;
  font-size: 13px;
}
.wo-art-chip-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--wo-accent);
  background: #fff;
  border-radius: 999px;
  padding: 2px 8px;
}
.wo-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--wo-accent);
  text-decoration: none;
}
.wo-inline-call {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--wo-muted);
}

.wo-person-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.wo-person-tab {
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--wo-line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  color: #3a5168;
  cursor: pointer;
}
.wo-person-tab.is-on {
  background: var(--wo-accent);
  border-color: var(--wo-accent);
  color: #fff;
}
.wo-person-add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px dashed #8eb0c0;
  background: #fff;
  color: var(--wo-accent);
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

.wo-placeholder {
  border: 1px dashed #a8c0d4;
  background: var(--wo-accent-soft);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--wo-muted);
  font-size: 12px;
  line-height: 1.45;
}
.wo-placeholder-sm { padding: 8px 10px; }

.wo-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.wo-actions-start { justify-content: flex-start; margin-top: 10px; }
.wo-price-pill {
  font-size: 11px;
  color: var(--wo-muted);
  margin-right: auto;
}
.wo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--wo-line);
  background: #fff;
  color: #1a2b3c;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  cursor: default;
  opacity: 0.5;
}
.wo-btn.is-ready {
  opacity: 1;
  cursor: pointer;
  background: var(--wo-accent);
  border-color: var(--wo-accent);
  color: #fff;
}
.wo-btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }
.wo-btn-sec { background: #0a3761; border-color: #0a3761; }
.wo-btn-ghost {
  background: #fff;
  color: var(--wo-accent);
  border-color: #7eb8c4;
}

.wo-note-tight { margin-top: 6px; }
.wo-steps {
  margin: 0 0 4px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #2a4054;
}

.wo-flow-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  align-items: center;
}
.wo-flow-step {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c5d5e0;
  background: #f1f5f9;
  color: #64748b;
}
.wo-flow-step.is-on {
  background: #0b5f72;
  border-color: #0b5f72;
  color: #fff;
}
.wo-flow-step.is-done {
  background: #e6f4f1;
  border-color: #9cc5b8;
  color: #0f5c3a;
}
.wo-flow-status {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #0b5f72;
}

.wo-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.wo-lookup-form .wo-lookup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.wo-lookup-form .wo-field {
  flex: 1 1 140px;
  min-width: 120px;
}
.wo-lookup-go {
  flex: 0 0 auto;
}
.wo-list-error {
  margin: 0 0 10px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}
.wo-list-public-table {
  table-layout: fixed;
  width: 100%;
}
.wo-list-public-table col.col-id { width: 48px; }
.wo-list-public-table col.col-date { width: 96px; }
.wo-list-public-table col.col-doc { width: 148px; }
.wo-list-public-table col.col-title { width: auto; }
.wo-list-public-table col.col-name { width: 14%; }
.wo-list-public-table col.col-status { width: 72px; }
.wo-list-public-table col.col-qty { width: 44px; }
.wo-list-public-table col.col-enter { width: 78px; }
.wo-list-public-table col.col-admin { width: 56px; }
.wo-list-public-table th,
.wo-list-public-table td {
  padding: 4px 6px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
}
.wo-list-public-table th {
  font-size: 11px;
  padding: 5px 6px;
}
.wo-list-public-table tbody tr.is-zebra td {
  background: #f9fafb;
}
.wo-list-public-table tbody tr:hover td {
  background: var(--inoerp-row-hover, #faf6f0);
}
.wo-list-public-table tbody tr.is-selected td {
  background: #eff6ff;
}
.wo-list-public-table .c-id {
  text-align: center;
  font-weight: 800;
  color: #0b5f72;
  font-variant-numeric: tabular-nums;
}
.wo-list-public-table .c-date {
  font-variant-numeric: tabular-nums;
  color: #475569;
}
.wo-list-public-table .c-doc {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0b5f72;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-list-public-table .c-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-list-public-table .c-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.wo-list-public-table .c-status,
.wo-list-public-table .c-qty,
.wo-list-public-table .c-enter,
.wo-list-public-table .c-admin {
  text-align: center;
}
.wo-list-public-table .c-enter .wo-mini-btn,
.wo-list-public-table .c-admin .wo-mini-btn {
  height: 26px;
  padding: 0 8px;
  font-size: 11px;
}
.wo-doc-no {
  font-size: 12px;
  font-weight: 700;
  color: #0b5f72;
}
.wo-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}
.wo-unlock-modal[hidden] {
  display: none !important;
}
.wo-unlock-dialog {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 10px;
  border: 1px solid #c5d5e0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  padding: 16px 18px;
}
.wo-unlock-dialog h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.wo-unlock-dialog input[type="password"] {
  width: 100%;
  min-height: 36px;
  margin-bottom: 12px;
}
.wo-unlock-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wo-list-detail {
  margin: 10px 0 4px;
  padding: 10px 12px;
  border: 1px solid #c5d5e0;
  border-radius: 8px;
  background: #fffdf8;
}
.wo-list-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.wo-list-detail-head h3 {
  margin: 0;
  font-size: 15px;
  color: #0f5c3a;
}
.wo-list-detail-hint {
  font-size: 12px;
  color: #64748b;
  flex: 1;
  min-width: 120px;
}
.wo-list-detail .wo-list-person-table {
  margin: 0;
}
.wo-list-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
  margin-bottom: 8px;
}
.wo-list-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 4px;
}
.wo-badge-req {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 11px;
  font-weight: 700;
}
.wo-list-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.wo-list-shot {
  margin: 0;
  width: min(220px, 100%);
}
.wo-list-shot figcaption {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wo-list-shot img {
  width: 100%;
  height: auto;
  border: 1px solid #c5d5e0;
  border-radius: 8px;
  background: #fff;
  display: block;
}
.wo-list-admin-table tbody tr.is-zebra td {
  background: #f9fafb;
}
.wo-list-admin-table tbody tr:hover td {
  background: var(--inoerp-row-hover, #faf6f0);
}
.wo-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wo-preview-modal[hidden] {
  display: none !important;
}
.wo-preview-modal img {
  max-width: min(920px, 96vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.wo-preview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  padding: 8px 14px;
  cursor: pointer;
}

.wo-count-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}
.wo-count-hint {
  font-weight: 600;
  color: var(--wo-muted);
  font-size: 11px;
  letter-spacing: -0.02em;
}
.wo-count-hint strong {
  color: #0a3761;
  font-weight: 800;
}
.wo-count-sel {
  height: 30px;
  border: 1px solid #b7c9dc;
  border-radius: 6px;
  padding: 0 8px;
  font-weight: 800;
}

.wo-person-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
}
.wo-person-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}
.wo-person-table th,
.wo-person-table td {
  border-bottom: 1px solid #e6eef5;
  padding: 4px 5px;
  text-align: left;
  vertical-align: middle;
}
.wo-person-table th {
  background: #f3f8fb;
  color: #3a5168;
  font-weight: 800;
  white-space: nowrap;
}
.wo-person-table .c-no { width: 28px; text-align: center; }
.wo-person-table .c-del { width: 52px; text-align: center; }
.wo-person-table .c-st { width: 78px; }
.wo-person-del {
  padding: 3px 8px !important;
  font-size: 11px !important;
  font-weight: 800;
  color: #9a3412;
  border-color: #fdba74 !important;
  background: #fff7ed !important;
}
.wo-person-del:hover {
  background: #ffedd5 !important;
}
.wo-person-table input:not([type="checkbox"]):not([type="radio"]),
.wo-person-table select {
  width: 100%;
  min-height: 28px;
  padding: 2px 6px;
  border: 1px solid #c5d5e4;
  border-radius: 5px;
  font-size: 12px;
  background: #fff;
}
.wo-person-table input[type="checkbox"],
.wo-person-table input[type="radio"] {
  width: 12px;
  height: 12px;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
  accent-color: #0b5f72;
  vertical-align: middle;
}
.wo-art-cell {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wo-art-no {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  color: var(--wo-accent);
  font-size: 11px;
}
.wo-mini-ghost {
  background: #fff;
  border-color: #b7c9dc;
  color: #3a5168;
  height: 28px;
  padding: 0 8px;
}

.wo-sticker-guide {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #1a3348;
  background: #f0f6fb;
  border: 1px solid #d0e0ee;
  border-radius: 8px;
}
.wo-sample-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  width: 100%;
}
.wo-sample-item {
  margin: 0;
  text-align: center;
  cursor: pointer;
}
.wo-sample-item:focus {
  outline: 2px solid #0a3761;
  outline-offset: 2px;
}
.wo-sample-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c5d5e6;
  border-radius: 4px;
  background: #fff8e8;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.wo-sample-item:hover img {
  border-color: #0a3761;
}
.wo-sample-item figcaption {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #334e66;
}
.wo-sample-item.is-active img {
  box-shadow: 0 0 0 2px #0a3761;
  border-color: #0a3761;
}
.wo-sample-item.is-active figcaption {
  color: #0a3761;
}
.wo-sticker-simple-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 12px;
}
.wo-sticker-simple-actions #woStConfirmHint {
  font-size: 13px;
  font-weight: 700;
}
.wo-sticker-simple-actions #woStConfirmHint.wo-sticker-hint-strong {
  font-size: 15px;
  font-weight: 800;
  color: #0a3761;
}
.wo-check-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #12324a;
}
.wo-check-request input {
  width: 20px;
  height: 20px;
}
.wo-check-request .wo-lab-note {
  font-size: 13px;
  font-weight: 600;
}
.wo-check-request.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: #64748b;
}
.wo-check-request.is-disabled input {
  cursor: not-allowed;
}
.wo-sticker-results {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--wo-line);
}
.wo-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.wo-results-head .wo-compare-label {
  margin-bottom: 0;
}
.wo-results-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}
/* 완성 JPEG — 노란 텍스트카드 스타일 금지 · 비율 유지 */
.wo-results-gallery .wo-mine-card,
.wo-results-gallery .wo-result-card {
  width: auto;
  max-width: 220px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  border-radius: 0;
  box-shadow: none;
}
.wo-results-gallery .wo-mine-jpeg,
.wo-results-gallery .wo-result-jpeg {
  display: block;
  max-width: 220px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid #c5d5e6;
  border-radius: 3px;
  background: #fff8e8;
  object-fit: contain;
}
.wo-results-gallery .wo-mine-who,
.wo-results-gallery .wo-result-who {
  margin: 4px 0 2px;
  font-size: 11px;
  font-weight: 800;
  color: #334e66;
}
.wo-result-del {
  appearance: none;
  margin-top: 2px;
  padding: 3px 10px;
  border: 1px solid #b91c1c;
  background: #fff;
  color: #b91c1c;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.wo-result-del:hover {
  background: #fef2f2;
}
.wo-result-clear-all {
  border-color: #b91c1c;
  color: #b91c1c;
}
@media (max-width: 720px) {
  .wo-sample-row {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    gap: 6px;
    overflow-x: auto;
  }
  .wo-sticker-guide { font-size: 13px; }
  .wo-check-request { font-size: 16px; }
}
.wo-sticker-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.wo-sticker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.wo-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--wo-accent-soft);
  border: 1px solid #9bc4cc;
  font-size: 12px;
  font-weight: 700;
  color: #0a3761;
}
.wo-chip b { font-weight: 900; }
.wo-chip-muted {
  background: #f1f4f7;
  border-color: #c5d0db;
  color: var(--wo-muted);
}
.wo-chip-req {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.wo-sticker-mode {
  font-size: 12px;
  font-weight: 800;
  color: #0b5f72;
}
.wo-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #3a5168;
}

.wo-sticker-work {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.wo-sticker-plist:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--wo-line);
  border-radius: 8px;
  background: #f7fafc;
}
.wo-sticker-plist[hidden] ~ .wo-sticker-main,
.wo-sticker-work:has(.wo-sticker-plist[hidden]) {
  grid-template-columns: 1fr;
}
.wo-plist-title {
  font-size: 11px;
  font-weight: 800;
  color: #5a6d80;
  margin-bottom: 2px;
}
.wo-plist-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 6px;
  text-align: left;
  padding: 6px 8px;
  border: 1px solid #c5d5e4;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.wo-plist-item .n {
  grid-column: 1;
  font-size: 12px;
  font-weight: 800;
  color: #0a3761;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wo-plist-item .t {
  grid-column: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--wo-muted);
}
.wo-plist-item em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}
.wo-plist-item em.ok { color: #15803d; }
.wo-plist-item em.wait { color: #b45309; }
.wo-plist-item.is-active {
  border-color: var(--wo-accent);
  background: var(--wo-accent-soft);
  box-shadow: inset 0 0 0 1px var(--wo-accent);
}

.wo-sticker-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.wo-compare-col {
  min-width: 0;
}
.wo-compare-label {
  font-size: 12px;
  font-weight: 800;
  color: #3a5168;
  margin-bottom: 4px;
}
.wo-compare-frame {
  border: 1px solid #b7c9dc;
  border-radius: 8px;
  background: #f3f6f9;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  gap: 6px;
}
.wo-compare-frame img,
.wo-compare-frame .wo-mine-jpeg {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 2px;
  /* 비율 유지 — width:100% 금지(찌그러짐 원인) */
  object-fit: contain;
}
.wo-compare-empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--wo-muted);
  line-height: 1.45;
}
.wo-mine-card {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 14px 12px 10px;
  background: #f5b830;
  color: #111;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.45;
}
.wo-mine-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}
.wo-mine-name {
  font-size: 14px;
  font-weight: 800;
}
.wo-mine-sub {
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.wo-mine-body {
  margin: 10px 0;
  font-weight: 700;
  white-space: normal;
}
.wo-mine-meta {
  font-size: 11px;
  font-weight: 700;
}
.wo-mine-note {
  margin-top: 10px;
  font-size: 9px;
  font-weight: 700;
  color: #7a4a00;
}
.js-st-f[hidden] {
  display: none !important;
}
.wo-st-person-row {
  grid-column: span 12;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-end;
}
.wo-st-person-row[hidden] {
  display: none !important;
}
.wo-st-people-table {
  margin: 0 0 12px;
  border: 1px solid #c5d5e6;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.wo-st-people-table[hidden] {
  display: none !important;
}
.wo-st-pt-label {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #3a5168;
  border-bottom: 1px solid #d5e0eb;
  background: #eef4fa;
}
.wo-st-pt-head,
.wo-st-pt-row {
  display: grid;
  gap: 6px;
  padding: 7px 10px;
  align-items: center;
  font-size: 12px;
}
.wo-st-pt-head {
  font-weight: 800;
  color: #5a6d80;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.wo-st-pt-godh {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.wo-st-pt-godh .wo-godp-omit-lab {
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.wo-st-pt-omit {
  color: #94a3b8;
  text-decoration: line-through;
}

/* 세례 스티커 옆 — 개발용 Y(mm) 조정 패널 */
.wo-mine-row-dev {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wo-mine-row-dev .wo-compare-frame {
  flex: 0 1 auto;
}
.wo-st-y-dev {
  flex: 0 0 168px;
  max-width: 190px;
  padding: 8px 10px;
  border: 1px dashed #c5d4e3;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 11px;
  color: #334155;
}
.wo-st-y-dev-tit {
  font-weight: 800;
  font-size: 12px;
  color: #1e3a5f;
  margin-bottom: 2px;
}
.wo-st-y-dev-hint {
  margin: 0 0 8px;
  font-size: 10px;
  line-height: 1.3;
}
.wo-st-y-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
  font-weight: 700;
  color: #475569;
}
.wo-st-y-row em {
  font-style: normal;
  font-weight: 600;
  color: #94a3b8;
  font-size: 10px;
}
.wo-st-y-row input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px 6px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}
.wo-st-y-dev .wo-mini-btn {
  width: 100%;
  margin-top: 2px;
  font-size: 11px;
}
.wo-st-pt-row {
  font-weight: 700;
  color: #1a3348;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
}
.wo-st-pt-row:nth-child(even) {
  background: #f9fafb;
}
.wo-st-pt-row:last-child {
  border-bottom: 0;
}
.wo-st-pt-no {
  color: #64748b;
  font-weight: 800;
}
.wo-st-pt-holyh {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
  font-size: 11px;
}
.wo-st-pt-holyh em {
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  color: #c40000;
}
.wo-st-pt-holy {
  min-width: 0;
}
.wo-st-holy-inp {
  width: 100%;
  min-height: 28px;
  padding: 3px 6px;
  border: 1px solid #b7c9dc;
  border-radius: 5px;
  font-size: 12px;
  background: #fff;
  box-sizing: border-box;
}
.wo-st-pt-type {
  font-weight: 800;
  color: #0a3761;
}
.wo-st-person-row .wo-field {
  flex: 1 1 0;
  min-width: 0;
}
.wo-st-person-row .wo-st-god {
  flex: 1.8 1 0;
}
.wo-st-person-row .js-st-f[hidden] {
  display: none !important;
}
.wo-lab-note {
  font-weight: 600;
  color: var(--wo-muted);
  font-size: 10px;
}
@media (max-width: 720px) {
  .wo-st-person-row { flex-wrap: wrap; }
  .wo-st-person-row .wo-field { flex: 1 1 calc(50% - 8px); }
  .wo-st-person-row .wo-st-god { flex: 1 1 100%; }
}
.wo-field.wo-col-2 { grid-column: span 2; }
.wo-sticker-edit {
  border-top: 1px dashed var(--wo-line);
  padding-top: 8px;
  margin-top: 4px;
}
.wo-sticker-edit[hidden] {
  display: none !important;
}
.wo-sticker-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #3a5168;
}

.wo-stype-sel {
  width: 100%;
  min-width: 72px;
  height: 28px;
  border: 1px solid #c5d5e4;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
}
.wo-person-table .c-hon { width: 56px; }
.wo-person-table .c-feast { width: 78px; }
.wo-person-table .c-artno { width: 52px; }
.wo-person-table .c-stype { width: 340px; min-width: 300px; }
.wo-stype-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.wo-th-req {
  display: inline-block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
}
.wo-stype-radios {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px 6px;
  align-items: center;
}
.wo-stype-r {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  color: #3a5168;
  cursor: pointer;
  line-height: 1.15;
  white-space: nowrap;
}
.wo-stype-r input[type="radio"] {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  accent-color: #0b5f72;
  vertical-align: middle;
}
.wo-stype-r.is-on {
  color: #0b5f72;
}
.wo-stype-r.wo-stype-na.is-on {
  color: #c2410c;
}
.wo-stype-r span {
  font-weight: 700;
  font-size: 10px;
}
.wo-guide-types {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.wo-guide-types li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13px;
}
.wo-guide-types strong {
  color: #0b5f72;
}
.wo-guide-steps {
  margin: 0;
  padding-left: 1.2rem;
}
.wo-guide-steps li {
  margin: 0 0 6px;
}
.wo-hidden-force {
  display: none !important;
}
.wo-person-table .c-art { width: 72px; }
.wo-person-table .c-godp { min-width: 150px; width: 160px; }
.wo-person-table .c-hon input,
.wo-person-table .c-feast input,
.wo-person-table .c-artno input {
  padding-left: 4px;
  padding-right: 4px;
  font-size: 11px;
}
.wo-hon-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
}
.wo-hon-cell input[type="text"] {
  width: 100%;
}
.wo-person-table .c-artno input {
  text-align: center;
  font-weight: 800;
  color: var(--wo-accent);
}
.wo-person-table tr.is-focus td {
  background: #f0f9fb;
}
.wo-st-ok {
  display: inline-block;
  margin-left: 2px;
  color: #15803d;
  font-weight: 900;
  font-size: 12px;
}
.wo-st-body {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 8px 10px;
  border: 1px solid #c5d5e4;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.wo-inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wo-inline-row input[type="text"] {
  flex: 1;
  min-width: 0;
}
.wo-check-mini {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #3a5168;
  cursor: pointer;
}
.wo-check-mini input { margin: 0; }
.wo-sticker-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--wo-line);
}
.wo-btn-outline {
  appearance: none;
  border: 1px solid #0a3761;
  background: #fff;
  color: #0a3761;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
}
.wo-btn-outline:hover { background: var(--wo-accent-soft); }
.wo-btn-solid {
  appearance: none;
  border: 1px solid #0a3761;
  background: #0a3761;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
}
.wo-btn-solid:hover { background: #0b5f72; border-color: #0b5f72; }
.wo-god-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wo-god-checks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wo-god-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.wo-god-row input[type="text"] {
  flex: 1;
  min-width: 120px;
}
.wo-god-cell input[data-f="godparent"] {
  width: 100%;
  min-width: 0;
}
.wo-mine-multi {
  align-items: stretch;
  overflow: auto;
}
.wo-mine-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  padding: 4px;
}
.wo-mine-gallery .wo-mine-card {
  max-width: 200px;
  cursor: pointer;
  opacity: 0.88;
  transition: box-shadow 0.15s, opacity 0.15s;
}
.wo-mine-gallery .wo-mine-card.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px #0a3761;
}
.wo-mine-who {
  font-size: 10px;
  font-weight: 800;
  color: #7a4a00;
  margin-bottom: 4px;
}
.wo-mine-jpeg {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
.wo-compare-frame .wo-mine-card {
  max-width: none;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wo-compare-frame .wo-mine-note {
  margin: 0;
  font-size: 10px;
  color: #64748b;
  background: transparent;
}
@media (max-width: 720px) {
  .wo-person-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wo-person-table { min-width: 860px; }
  .wo-sticker-compare { grid-template-columns: 1fr; }
  .wo-mine-gallery .wo-mine-card { max-width: 160px; }
}

/* legacy big grid removed — keep harmless */
.wo-sticker-grid { display: none; }

@media (max-width: 900px) {
  .wo-sticker-work { grid-template-columns: 1fr; }
  .wo-sticker-compare { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wo-sticker-compare { grid-template-columns: 1fr; }
  .wo-compare-frame { min-height: 220px; }
}
.wo-mine-empty {
  color: #9aa7b5;
  font-weight: 600;
  font-style: italic;
}
input[readonly],
input:disabled {
  background: #f1f5f9;
  color: #475569;
  cursor: default;
}
.wo-price-inline { color: #b45309; font-size: 13px; }
.wo-ro { background: #f3f6f9 !important; color: #4a6074; }
.wo-art-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wo-thumb {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #c5d5e4;
  background: #eef3f7;
}
.wo-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8aa0b5;
  font-size: 16px;
  font-weight: 700;
}
.wo-person-table .c-thumb { width: 72px; }
.wo-person-table .c-art { width: 96px; }
.wo-art-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.wo-pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.wo-pay-label {
  font-size: 11px;
  font-weight: 800;
  color: #5a6d80;
  margin-bottom: 4px;
}
.wo-price-block {
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7fafc;
  border: 1px solid #d5e0ec;
}
.wo-price-line {
  font-size: 13px;
  font-weight: 600;
  color: #3a5168;
  line-height: 1.5;
}
.wo-price-line strong,
.wo-price-line span {
  font-weight: 800;
  color: #0a3761;
}
.wo-price-total {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #0a3761;
}
.wo-price-total span {
  font-size: 16px;
  font-weight: 900;
}
.wo-bank {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0f7fb;
  border: 1px solid #b7d0e0;
}
.wo-bank-line {
  font-size: 14px;
  font-weight: 800;
  color: #0a3761;
}
.wo-bank-note {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #3a5168;
  line-height: 1.4;
}
.wo-bank-cash-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
}
.wo-bank-cash-lab {
  font-weight: 800;
  color: #0a3761;
}
.wo-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  cursor: pointer;
  color: #1a2b3c;
}
.wo-depositor-inline {
  margin-top: 8px;
}
.wo-depositor-inline input {
  width: 100%;
  max-width: 280px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #b7c9dc;
  border-radius: 6px;
  padding: 0 10px;
}
.wo-private-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #eef2f6;
  border: 1px solid #c5d0db;
  font-size: 13px;
  font-weight: 800;
  color: #334e66;
}
.wo-field-note {
  display: block;
  padding-top: 4px;
  line-height: 1.4;
}
.wo-title-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-end;
}
.wo-title-grow {
  flex: 1 1 280px;
  min-width: 220px;
}
.wo-title-grow input {
  width: 100%;
  box-sizing: border-box;
}
.wo-title-pw {
  flex: 0 1 150px;
  min-width: 130px;
}
.wo-title-pw input {
  width: 100%;
  box-sizing: border-box;
}
.wo-title-priv {
  flex: 0 0 auto;
}
.wo-results-hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #5c7084;
}
.wo-actions-submit {
  margin: 8px 0 4px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wo-actions-submit #woBtnCancel {
  min-height: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-decoration: none;
  color: var(--wo-accent);
}
#woStCancel.wo-mini-btn,
a#woStCancel {
  text-decoration: none;
  color: var(--wo-accent);
}
@media (max-width: 720px) {
  .wo-title-pw,
  .wo-title-grow {
    flex: 1 1 100%;
  }
}
.wo-dev-map {
  display: inline;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
h2 .wo-dev-map {
  font-weight: 600;
}
.wo-cash-pop {
  max-width: 380px;
  margin: 16px auto;
  padding: 16px;
}
.wo-cash-pop h1 {
  margin: 0 0 8px;
  font-size: 18px;
}
.wo-cash-pop-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}
.wo-cash-pop-fields input,
.wo-cash-pop-fields select {
  height: 36px;
  border: 1px solid #b7c9dc;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
}
.wo-cash-pop-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 720px) {
  .wo-pay-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .wo-sticker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wo-col-3, .wo-col-4, .wo-col-5, .wo-col-6 { grid-column: span 12; }
  .wo-link { margin-left: 0; }
  .wo-price-pill { width: 100%; margin-right: 0; }
  .wo-sticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wo-sticker-picked { margin-left: 0; width: 100%; }
}

/* —— 스티커 새창 (세로 여유 활용 · 적용/저장 분리) —— */
body.wo-body-popup {
  min-height: 0;
  background: #eef3f8;
}
.wo-main-popup {
  max-width: none;
  margin: 0;
  padding: 8px 10px;
}
.wo-sticker-popup {
  margin: 0;
  border-radius: 6px;
}
.wo-sticker-popup-body {
  padding: 8px 10px 10px !important;
}
.wo-sticker-popup .wo-compare-frame {
  min-height: 0;
  padding: 8px;
  border-radius: 6px;
}
.wo-sticker-popup .wo-mine-gallery {
  gap: 18px;
  padding: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.wo-sticker-popup .wo-mine-gallery > div {
  flex: 0 1 auto;
  min-width: 0;
}
.wo-sticker-popup .wo-mine-card-jpeg {
  max-width: 340px;
  padding: 0;
  background: transparent;
  opacity: 1;
  cursor: default;
}
.wo-sticker-popup .wo-mine-jpeg {
  max-height: min(520px, 52vh);
  max-width: 340px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid #b7c9dc;
  border-radius: 3px;
  background: #fff8e8;
}
.wo-sticker-popup .wo-mine-who {
  margin-top: 5px;
  font-size: 12px;
}
.wo-sticker-popup .wo-sticker-edit {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--wo-line);
}
.wo-sticker-popup .wo-st-people-table {
  margin: 0 0 8px;
  border-radius: 6px;
}
.wo-sticker-popup .wo-st-pt-head,
.wo-sticker-popup .wo-st-pt-row {
  padding: 5px 8px;
  font-size: 12px;
}
.wo-sticker-popup .wo-field label {
  font-size: 12px;
  margin-bottom: 3px;
}
.wo-sticker-popup .wo-st-body {
  min-height: 4.2em;
  padding: 6px 8px;
  font-size: 13px;
}
.wo-sticker-popup .wo-st-body-lab {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 3px;
}
.wo-sticker-popup .wo-st-body-lab > label {
  margin-bottom: 0;
}
.wo-sticker-popup .wo-body-line2-red {
  color: #c40000;
  font-weight: 800;
}
.wo-sticker-popup .wo-grid-tight {
  gap: 6px 10px;
}
.wo-sticker-apply-row {
  margin-top: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 8px;
}
.wo-sticker-apply-row .wo-apply-hint {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(50% - 140px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  min-height: 1.2em;
  pointer-events: none;
}
.wo-btn-apply-wide {
  appearance: none;
  position: relative;
  z-index: 1;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0a5a9c;
  background: #1d8fd6;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 2px rgba(10, 55, 97, 0.25);
}
.wo-btn-apply-wide:hover {
  background: #0a7cc0;
  border-color: #0869a6;
}
.wo-btn-apply-wide:active {
  background: #0a3761;
  border-color: #0a3761;
}
.wo-sticker-popup .wo-sticker-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--wo-line);
  gap: 10px;
}
.wo-sticker-popup .wo-btn-solid {
  padding: 8px 16px;
  font-size: 13px;
}
.wo-sticker-popup .wo-mini-btn {
  padding: 7px 12px;
  font-size: 12px;
}
@media (max-height: 780px) {
  .wo-sticker-popup .wo-mine-jpeg {
    max-height: min(420px, 48vh);
    max-width: 300px;
  }
  .wo-sticker-popup .wo-mine-card-jpeg { max-width: 300px; }
}

/* =====================================================================
   따뜻·차분 성물방 테마 오버라이드 (v26) — 하드코딩 청색 → 웜톤 통일
   ===================================================================== */

/* 제목/헤더 */
.wo-page-head { border-bottom-color: var(--wo-line); }
.wo-page-head h1 { color: var(--wo-head-ink); }
.wo-card-compact h2,
.wo-main-focus .wo-card-compact h2 {
  color: var(--wo-head-ink);
  background: linear-gradient(180deg, var(--wo-head-grad-top), var(--wo-head-grad-bot));
  border-bottom-color: var(--wo-line);
}

/* 카드 — 그림자 있는 흰 박스 (폼에서도 그림자 유지) */
.wo-card {
  border-color: var(--wo-line);
  box-shadow: var(--wo-card-shadow);
}
.wo-main-focus .wo-card {
  margin: 0 0 10px;
  border-color: var(--wo-line);
  box-shadow: var(--wo-card-shadow);
}
.wo-main-focus .wo-card-body { padding: 8px 12px 10px; }

/* 안내문 */
.wo-guide-compact {
  color: #6b5236;
  background: var(--wo-accent-soft);
  border-color: #e2cfa9;
}
.wo-guide-compact strong,
.wo-field-help strong { color: var(--wo-accent); }

/* 라벨/입력 */
.wo-field label,
.wo-main-focus .wo-field label { color: #5a4630; }
.wo-field input { border-color: #d8c9b2; }
.wo-main-focus .wo-field input { border-color: #d8c9b2; }
.wo-field input.wo-req:focus,
.wo-person-table input.wo-req:focus,
.wo-field input:focus {
  border-color: var(--wo-req-focus);
  box-shadow: 0 0 0 2px rgba(164, 104, 47, 0.18);
  outline: none;
}

/* 미니 버튼(주소검색·고르기/변경 등) */
.wo-mini-btn,
a.wo-mini-btn {
  border-color: #cbaf86;
  background: var(--wo-accent-soft);
  color: var(--wo-accent);
}
.wo-mini-btn:hover,
a.wo-mini-btn:hover { background: #efdcc2; }
.wo-mini-ghost {
  background: #fff;
  border-color: #d8c9b2;
  color: #6b5236;
}

/* 진행 단계바 */
.wo-flow-step { border-color: #e0d3bf; background: #f4ecdf; color: #8a7863; }
.wo-flow-step.is-on { background: var(--wo-accent); border-color: var(--wo-accent); color: #fff; }
.wo-flow-step.is-done { background: #ead9c2; border-color: #cdb388; color: #6b4a20; }
.wo-flow-status { color: var(--wo-accent); }

/* 솔리드/아웃라인 버튼 */
.wo-btn-solid { background: var(--wo-accent); border-color: var(--wo-accent); }
.wo-btn-solid:hover { background: #8f5626; border-color: #8f5626; }
.wo-btn-outline { border-color: var(--wo-accent); color: var(--wo-accent); }
.wo-btn-outline:hover { background: var(--wo-accent-soft); }
.wo-btn.is-ready { background: var(--wo-accent); border-color: var(--wo-accent); }

/* 3번 대상자 테이블 — 가로선만 유지 + 웜 헤더 */
.wo-person-table-wrap { border-color: var(--wo-line); }
.wo-person-table th,
.wo-person-table td { border-bottom-color: #ece2d2; }
.wo-person-table th {
  background: linear-gradient(180deg, #faf3e8, #f3e7d3);
  color: #6b5236;
}
.wo-person-table tr.is-focus td { background: #fbf4e9; }
.wo-person-table input:not([type="checkbox"]):not([type="radio"]),
.wo-person-table select { border-color: #d8c9b2; }
.wo-person-table input[type="checkbox"],
.wo-person-table input[type="radio"] { accent-color: var(--wo-accent); }
.wo-count-hint strong,
.wo-count-row { color: #6b5236; }

/* 4번 요금·입금 강조 */
.wo-pay-label { color: #7a6449; }
.wo-price-block {
  background: #fbf5ec;
  border-color: #e6d7bf;
}
.wo-price-line { color: #5a4630; }
.wo-price-line strong,
.wo-price-line span { color: var(--wo-head-ink); }
.wo-price-total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #e0cfae;
  font-size: 15px;
  color: var(--wo-head-ink);
}
.wo-price-total span {
  font-size: 19px;
  font-weight: 900;
  color: var(--wo-accent);
}
.wo-bank {
  background: #fbf3e7;
  border: 1px solid #e6d3ad;
  border-left: 4px solid var(--wo-accent);
}
.wo-bank-line {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--wo-head-ink);
}
.wo-bank-line:first-of-type {
  display: inline-block;
  margin-bottom: 2px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2cfa9;
  font-size: 16px;
  font-weight: 900;
}
.wo-bank-cash-lab { color: var(--wo-head-ink); }

/* 유형 샘플 선택 */
.wo-main-focus .wo-sample-item.is-active,
.wo-sample-item.is-active img { border-color: var(--wo-accent); }
.wo-sample-item.is-active img { box-shadow: 0 0 0 2px var(--wo-accent); }
.wo-sample-item:hover img,
.wo-main-focus .wo-sample-item:hover { border-color: #cbaf86; }
.wo-sample-item img { background: #fdf6ea; }
.wo-order-stype-lg .wo-stype-r input[type="radio"] { accent-color: var(--wo-accent); }
.wo-order-stype .wo-stype-r.is-on,
.wo-stype-r.is-on { color: var(--wo-accent); }
.wo-mode-pill.is-on { border-color: #cbaf86; background: var(--wo-accent-soft); color: var(--wo-accent); }
.wo-mode-pill input { accent-color: var(--wo-accent); }

/* 개발용 매핑 텍스트(관리자 전용) — 따뜻 연회색 */
.wo-dev-map { color: #a99a86; }

/* 읽기전용 입력 웜톤 */
input[readonly], input:disabled { background: #f4ede1; color: #8a7863; }

/* =====================================================================
   주문 시작 페이지(list.php) 개편 (v27) — Hero · 진행가이드 · 검색 · 목록
   ===================================================================== */

/* Hero */
.wo-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #fdf7ee 0%, #f6e9d4 100%);
  border: 1px solid #ecdcc0;
  border-radius: 12px;
  box-shadow: var(--wo-card-shadow);
}
.wo-hero-text { flex: 1 1 300px; min-width: 220px; }
.wo-hero-text h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--wo-head-ink);
}
.wo-hero-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7a6449;
}
.wo-hero-ver {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 11px;
  color: #b3a48d;
}
.wo-btn-hero {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--wo-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--wo-accent);
  box-shadow: 0 3px 10px rgba(164, 104, 47, 0.28);
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
}
.wo-btn-hero:hover { background: #8f5626; box-shadow: 0 4px 14px rgba(143, 86, 38, 0.34); }
.wo-btn-hero:active { transform: translateY(1px); }
.wo-btn-hero-plus { font-size: 18px; line-height: 1; font-weight: 900; }

/* 진행 가이드 */
.wo-flow-guide {
  justify-content: center;
  gap: 4px 8px;
  padding: 8px 10px;
  margin: 0 0 12px;
  background: #fbf5ec;
  border: 1px solid #ecdcc0;
  border-radius: 10px;
}
.wo-flow-guide .wo-flow-step { font-size: 12.5px; padding: 5px 12px; }
.wo-flow-sep { color: #c3ab84; font-weight: 900; }

/* 통합 검색창 */
.wo-search-inline {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}
.wo-search-input {
  flex: 1 1 240px;
  min-width: 160px;
  height: 42px;
  padding: 0 14px;
  font-size: 15px;
  border: 1px solid #d8c9b2;
  border-radius: 9px;
  background: #fffdf9;
}
.wo-search-input:focus {
  border-color: var(--wo-req-focus);
  box-shadow: 0 0 0 2px rgba(164, 104, 47, 0.18);
  outline: none;
}
.wo-search-btn {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 9px;
}
.wo-search-reset {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
}

/* 들어가기 강조 버튼 */
.wo-btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--wo-accent);
  color: #fff;
  border: 1px solid var(--wo-accent);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.wo-btn-enter:hover { background: #8f5626; }
.wo-btn-enter-arrow { font-size: 15px; line-height: 1; }
.wo-list-public-table .c-enter .wo-btn-enter { height: 30px; padding: 0 12px; }

/* 목록 헤더 웜톤(고정폭 표) */
.wo-list-public-table th {
  background: linear-gradient(180deg, #faf3e8, #f3e7d3);
  color: #6b5236;
  border-bottom: 1px solid #e6dccd;
}
.wo-list-public-table .c-id,
.wo-list-public-table .c-doc { color: var(--wo-accent); }

/* ------- 모바일: 목록을 카드로 변환 + 터치 크기 ------- */
@media (max-width: 768px) {
  .wo-hero { padding: 16px; }
  .wo-hero-text h1 { font-size: 20px; }
  .wo-btn-hero { width: 100%; justify-content: center; padding: 14px 20px; }

  .wo-flow-guide {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
  }
  .wo-flow-guide .wo-flow-step { white-space: nowrap; }

  .wo-search-input,
  .wo-search-btn { flex: 1 1 100%; }
  .wo-search-reset { flex: 1 1 100%; justify-content: center; }

  .wo-list-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .wo-list-public-table,
  .wo-list-public-table thead,
  .wo-list-public-table tbody,
  .wo-list-public-table tr,
  .wo-list-public-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .wo-list-public-table {
    min-width: 0;
    table-layout: auto;
  }
  .wo-list-public-table thead { display: none; }
  .wo-list-public-table colgroup { display: none; }
  .wo-list-public-table col { width: auto; }

  .wo-list-public-table tbody tr {
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid var(--wo-line);
    border-radius: 10px;
    background: var(--wo-card);
    box-shadow: var(--wo-card-shadow);
  }
  .wo-list-public-table tbody tr.is-zebra td,
  .wo-list-public-table tbody tr:hover td { background: transparent; }

  .wo-list-public-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    font-size: 14px;
    white-space: normal;
    text-align: right;
    border-bottom: 1px dashed #eee3d2;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }
  .wo-list-public-table td:last-child { border-bottom: 0; }
  .wo-list-public-table td[data-th]::before {
    content: attr(data-th);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #8a7863;
    text-align: left;
  }
  .wo-list-public-table td[data-th=""]::before { content: none; }
  .wo-list-public-table .c-title {
    font-size: 16px;
    font-weight: 800;
    word-break: break-word;
  }

  .wo-list-public-table .c-enter,
  .wo-list-public-table .c-admin { justify-content: stretch; }
  .wo-list-public-table .c-enter .wo-btn-enter,
  .wo-list-public-table .c-admin .wo-mini-btn {
    width: 100%;
    height: 44px;
    justify-content: center;
    font-size: 14px;
  }
}

/* =====================================================================
   주문서 입력 컨트롤 스타일 통일 (v28)
   - 필수 강조(크림 배경) 제거 → 라벨 빨간 별표(*)로 단정하게
   - input/select/textarea 테두리·radius·padding·높이·배경 한 기준으로
   ===================================================================== */

/* 필수 별표 */
.wo-req-star { color: #d64545; font-weight: 800; margin-left: 2px; }

/* 필수 입력의 과한 강조 제거 — 일반 입력과 동일하게 (배경/테두리) */
.wo-field input.wo-req,
.wo-person-table input.wo-req {
  background: #fffdf9;
  border-color: var(--wo-line);
}

/* 섹션 1·2 필드 + 대상자 수 select 공통 규격 */
.wo-form .wo-field input:not([type="checkbox"]):not([type="radio"]),
.wo-form .wo-field select,
.wo-form .wo-field textarea,
.wo-main-focus .wo-field input:not([type="checkbox"]):not([type="radio"]),
.wo-main-focus .wo-field select,
.wo-main-focus .wo-field textarea,
.wo-count-sel {
  min-height: 36px;
  height: auto;
  padding: 7px 10px;
  border: 1px solid var(--wo-line);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  background: #fffdf9;
  color: var(--wo-ink);
  box-sizing: border-box;
}
.wo-count-sel { font-weight: 800; padding-right: 8px; }

/* 공통 포커스 링(웜) */
.wo-form .wo-field input:not([type="checkbox"]):not([type="radio"]):focus,
.wo-form .wo-field select:focus,
.wo-form .wo-field textarea:focus,
.wo-count-sel:focus,
.wo-person-table input:not([type="checkbox"]):not([type="radio"]):focus,
.wo-person-table select:focus {
  border-color: var(--wo-req-focus);
  box-shadow: 0 0 0 2px rgba(164, 104, 47, 0.18);
  outline: none;
}

/* 읽기전용(주소·우편·성인명 자동) — 통일된 웜 회색 */
.wo-form .wo-field input[readonly],
.wo-person-table input[readonly],
.wo-person-table input.wo-ro {
  background: #f4ede1;
  color: #8a7863;
}

/* 대상자 표: 테두리색·두께·radius·배경은 공통, 높이·패딩만 컴팩트(9열 고정표) */
.wo-person-table input:not([type="checkbox"]):not([type="radio"]),
.wo-person-table select {
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid var(--wo-line);
  border-radius: 6px;
  font-size: 12px;
  background: #fffdf9;
  box-sizing: border-box;
}

/* =====================================================================
   주문서 테마 다듬기 (v29) — 안내 콜아웃 · 요금박스 웜톤 · 샘플 그리드 · 여백
   ===================================================================== */

/* 2. 안내글 콜아웃 박스 (가독성) — 아이콘 절대배치로 텍스트는 문단처럼 흐르게 */
.wo-guide-compact {
  position: relative;
  display: block;
  margin: 0 0 10px;
  padding: 10px 12px 10px 34px;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  background: #faf6ee;
  border: 1px solid #ecdcc0;
  border-radius: 8px;
  word-break: keep-all;
}
.wo-guide-compact::before {
  content: "\1F4A1";
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.wo-guide-compact strong { color: var(--wo-accent); font-weight: 800; }

.wo-field-help {
  position: relative;
  display: block;
  margin: 6px 0 0;
  padding: 8px 10px 8px 32px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #444;
  background: #f8f3ea;
  border: 1px solid #eee3d2;
  border-radius: 6px;
  word-break: keep-all;
}
.wo-field-help::before {
  content: "\1F4A1";
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.wo-field-help strong { color: var(--wo-accent); font-weight: 800; }

/* 3. 4번 요금·입금 — 무통장 배너 네온초록 제거(웜톤 교정, .wo-bank 스코프) */
.wo-bank .wo-banner-ok,
.wo-bank .wo-banner-inline {
  background: #f7f1e6;
  border: 1px solid #e0d3b8;
  color: #6b4a20;
}

/* 4. 5번 스티커 샘플 그리드 — 간격·유연 반응형·캡션 중앙 */
.wo-sample-row,
.wo-main-focus .wo-sample-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 4px 0 12px;
  justify-content: flex-start;
}
.wo-sample-item,
.wo-main-focus .wo-sample-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.wo-sample-item figcaption {
  margin-top: 6px;
  width: 100%;
  text-align: center;
}
@media (max-width: 720px) {
  .wo-sample-row,
  .wo-main-focus .wo-sample-row {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    overflow: visible;
  }
}

/* 5. 전체 간격·여백 시원하게 */
.wo-main-focus .wo-card-body { padding: 12px 14px 14px; }
.wo-card { margin: 0 0 12px; }
.wo-main-focus .wo-card { margin: 0 0 12px; }
.wo-card-compact h2 { padding: 8px 14px; }
.wo-grid { gap: 10px 10px; }
.wo-grid-tight { gap: 10px 10px; }
.wo-title-bar { margin-bottom: 2px; }
.wo-count-row { margin-bottom: 10px; }

/* =====================================================================
   목록(list.php) 좌우 스크롤 제거 (v30) — 들어가기 버튼 셀 넘침 방지 + 열폭 재조정
   ===================================================================== */
.wo-list-public-table col.col-id { width: 40px; }
.wo-list-public-table col.col-date { width: 88px; }
.wo-list-public-table col.col-doc { width: 124px; }
.wo-list-public-table col.col-name { width: 13%; }
.wo-list-public-table col.col-status { width: 66px; }
.wo-list-public-table col.col-qty { width: 40px; }
.wo-list-public-table col.col-enter { width: 96px; }
.wo-list-public-table col.col-admin { width: 52px; }

.wo-list-public-table th,
.wo-list-public-table td { overflow: hidden; }
.wo-list-public-table .c-enter,
.wo-list-public-table .c-admin { padding: 4px 4px; }
.wo-list-public-table .c-enter .wo-btn-enter {
  width: 100%;
  padding: 0 6px;
  gap: 1px;
  justify-content: center;
  overflow: hidden;
}
.wo-list-public-table .c-enter .wo-btn-enter-arrow { font-size: 13px; }
.wo-list-public-table .c-admin .wo-mini-btn { width: 100%; padding: 0 4px; }

/* =====================================================================
   초록 안내 박스 웜톤 통일 (v31) — 목록 공개안내 등 .wo-banner-ok
   ===================================================================== */
.wo-banner-ok {
  background: #f7f1e6;
  border-color: #e0d3b8;
  color: #6b4a20;
}

/* =====================================================================
   주문서 모바일 반응형 (v32)
   - PC 집중폭(80vw)은 유지, 모바일에서만 가용 폭 전체 사용
   - 대상자 표는 가로 스크롤 대신 행별 입력 카드
   - 스티커 유형·진행 방식은 터치하기 쉬운 세로 배치
   ===================================================================== */
@media (max-width: 768px) {
  body.wo-body {
    overflow-x: hidden;
  }

  .wo-main-focus {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 8px;
  }
  .wo-main-focus .wo-page-head,
  .wo-main-focus .wo-flow-bar,
  .wo-main-focus .wo-form,
  .wo-main-focus .wo-card,
  .wo-main-focus .wo-card-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .wo-main-focus .wo-card {
    margin-bottom: 10px;
  }
  .wo-main-focus .wo-card-body {
    padding: 10px;
  }
  .wo-main-focus .wo-card-compact h2 {
    padding: 8px 10px;
    line-height: 1.4;
    word-break: keep-all;
  }

  .wo-form .wo-title-bar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .wo-form .wo-title-grow,
  .wo-form .wo-title-pw,
  .wo-form .wo-grid > *,
  .wo-form .wo-field,
  .wo-form .wo-zip-row,
  .wo-form input:not([type="checkbox"]):not([type="radio"]),
  .wo-form select,
  .wo-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .wo-form .wo-grid > [class*="wo-col-"] {
    grid-column: 1 / -1;
  }
  .wo-form .wo-zip-row {
    align-items: stretch;
  }
  .wo-form .wo-zip-row input {
    flex: 1 1 auto;
  }

  /* 3. 대상자 — 행 하나를 모바일 입력 카드 하나로 표시 */
  .wo-form .wo-person-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .wo-form .wo-person-table,
  .wo-form .wo-person-table tbody,
  .wo-form .wo-person-table tr,
  .wo-form .wo-person-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .wo-form .wo-person-table {
    min-width: 0;
    table-layout: auto;
  }
  .wo-form .wo-person-table thead {
    display: none;
  }
  .wo-form .wo-person-table tbody tr {
    margin: 0 0 12px;
    padding: 0 10px 8px;
    overflow: hidden;
    border: 1px solid var(--wo-line);
    border-radius: 9px;
    background: #fffdfa;
    box-shadow: 0 1px 5px rgba(120, 90, 50, 0.08);
  }
  .wo-form .wo-person-table tbody td {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #eee5d8;
    background: transparent;
    text-align: left;
  }
  .wo-form .wo-person-table tbody td::before {
    content: attr(data-label);
    color: #6b5236;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
  }
  .wo-form .wo-person-table tbody .c-no {
    display: flex;
    width: calc(100% + 20px);
    margin: 0 -10px;
    padding: 7px 10px;
    justify-content: flex-start;
    gap: 5px;
    border-bottom: 1px solid #e3d4bf;
    background: linear-gradient(180deg, #faf3e8, #f3e7d3);
    color: var(--wo-accent);
    font-weight: 900;
  }
  .wo-form .wo-person-table tbody .c-no::before {
    content: attr(data-label) " ";
  }
  .wo-form .wo-person-table tbody td:last-child {
    border-bottom: 0;
  }
  .wo-form .wo-person-table tbody .c-hon,
  .wo-form .wo-person-table tbody .c-feast,
  .wo-form .wo-person-table tbody .c-artno,
  .wo-form .wo-person-table tbody .c-godp,
  .wo-form .wo-person-table tbody .c-art,
  .wo-form .wo-person-table tbody .c-del {
    width: 100%;
    min-width: 0;
  }
  .wo-form .wo-person-table input:not([type="checkbox"]):not([type="radio"]),
  .wo-form .wo-person-table select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 40px;
    font-size: 14px;
  }
  .wo-form .wo-person-table .wo-god-cell,
  .wo-form .wo-person-table .wo-hon-cell {
    width: 100%;
    min-width: 0;
  }
  .wo-form .wo-person-table .wo-god-checks {
    margin-top: 4px;
    gap: 12px;
  }
  .wo-form .wo-person-table .wo-check-mini {
    min-height: 32px;
    font-size: 13px;
  }
  .wo-form .wo-person-table .wo-art-pick {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
  }
  .wo-form .wo-person-table .wo-art-pick .wo-mini-btn,
  .wo-form .wo-person-table .wo-person-del {
    min-height: 40px;
    padding: 0 14px;
  }

  /* 5. 스티커 유형과 진행 방식 — 한 줄당 하나 */
  .wo-form .wo-order-stype-radios,
  .wo-form .wo-sticker-mode-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 7px;
  }
  .wo-form .wo-order-stype-lg .wo-stype-r,
  .wo-form .wo-mode-pill {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #dfd0ba;
    border-radius: 8px;
    background: #fffdfa;
    white-space: normal;
  }
  .wo-form .wo-order-stype-lg .wo-stype-r.is-on,
  .wo-form .wo-mode-pill.is-on {
    background: var(--wo-accent-soft);
    border-color: #cbaf86;
  }
  .wo-form .wo-sample-row,
  .wo-main-focus .wo-sample-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }

  .wo-form .wo-pay-row {
    grid-template-columns: 1fr;
  }
  .wo-form .wo-actions-submit {
    align-items: stretch;
  }
  .wo-form .wo-actions-submit .wo-btn-solid,
  .wo-form .wo-actions-submit .wo-mini-btn {
    min-height: 44px;
  }
}
