/* 인쇄 제작 입구 공용 화면 — 자유형 크기 칸(card/includes/print_start_page.php · 2026-11-01 대표님 23337). 나머지 겉은 명함·박스 첫 화면 부품 그대로. */
.pst-free { max-width: 560px; }
.pst-free__note { margin: 4px 0 16px; color: var(--bj-muted, #66635e); font-size: var(--fb-type-body, 14px); }
.pst-free__preset { display: block; margin: 0 0 12px; color: var(--bj-ink, #181817); font-weight: 600; font-size: var(--fb-type-body, 14px); }
.pst-free__preset select { display: block; width: 100%; height: 48px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--bj-line, #e2e0dc); border-radius: 10px; background: #fff; color: var(--bj-ink, #181817); font: inherit; font-weight: 500; }
.pst-free__size { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.pst-free__size label { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; border: 1px solid var(--bj-line, #e2e0dc); border-radius: 10px; background: #fff; color: var(--bj-muted, #66635e); font-size: var(--fb-type-body, 14px); }
.pst-free__size label:focus-within { border-color: var(--bj-ink, #181817); }
.pst-free__size input { flex: 1 1 0; min-width: 0; width: 100%; border: 0; outline: 0; background: none; text-align: right; color: var(--bj-ink, #181817); font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.pst-free__size input::-webkit-outer-spin-button, .pst-free__size input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pst-free__size em { font-style: normal; }
.pst-free__size i { font-style: normal; color: var(--bj-muted, #66635e); }
.pst-free__stage { display: flex; align-items: center; justify-content: center; height: 180px; padding: 14px; border-radius: 12px; background: var(--bj-soft, #f3f2f0); }
.pst-free__sheet { display: flex; align-items: center; justify-content: center; width: min(100%, 200px); max-height: 100%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); color: var(--bj-muted, #66635e); font-size: var(--fb-type-body, 14px); }
.pst-free__sheet.is-tall { width: auto; height: 100%; }
.pst-free__sheet span { white-space: nowrap; }
.pst-free__go { width: 100%; height: 52px; margin-top: 14px; border: 0; border-radius: 10px; background: var(--bj-ink, #181817); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.pst-pp-note { margin: 6px 0 0; color: var(--bj-muted, #66635e); font-size: var(--fb-type-body, 14px); line-height: 1.4; word-break: keep-all; }
/* 후가공 크기 줄 · 금액 아래 안내 — 금액 칸을 누르지 않게 한 줄을 다 쓴다(2026-11-01 대표님 23399) */
[data-pos-pp-sizes] .ed-namecard-uniform-quantity { grid-column: 1 / -1; margin-top: 0; }
.ed-order-total:has(> .pst-pp-note:not([hidden])) { flex-wrap: wrap; }
.pst-pp-note { flex: 1 0 100%; }
/* 검수 16·18번 — 입구 화면 왼쪽 메뉴·패널 작은 말 · 폰에서 긴 이름은 두 줄(명함 첫 화면도 같은 파일을 싣지 않아 namecard-start.css 에 같은 줄) */
.ncs .ed-sidebar .ed-side-tab span, .ncs .ed-side-tab span, .ncs .ed-restrict-action, .ncs .ed-factoryb-production-row-label { font-size: var(--ed-type-body-size, 13px); }
@media (max-width: 767px) { .ncs .nys-card__name { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } }

/* 방향 전체·세로·가로 세 칸이 한 줄에 들게 */
body.ed-role-client.pos #orderAside.ed-order-aside.ed-order-system-v2.ed-order-ia-v3:not(.ed-order-login) .ed-factoryb-corner-switch[data-pos-orients] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.pos [data-pos-orients] .ed-factoryb-corner-switch-title { grid-column: 1 / -1; }

/* 금액을 못 낼 때 — 금액 칸은 본문 크기 · 아래에 까닭 한 줄(2026-11-02 김미주 25198 «문구가 칸에 비해 너무 커서 두 줄로 깨짐») */
body.ed-role-client.pos #orderAside.ed-order-aside.ed-order-system-v2.ed-order-ia-v3:not(.ed-order-login) .ed-order-total-price.is-fail { font-size: var(--fb-type-body, 14px) !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: 0 !important; text-align: right; word-break: keep-all; }
.pos .ed-factoryb-production-modal-quote strong.is-fail { font-size: var(--fb-type-body, 14px); text-align: right; word-break: keep-all; }
.pst-fail-note { text-align: right; }

/* 리플릿 업종 줄(.pst-industry) 모양은 명함과 같이 쓰려고 namecard-start.css 로 옮겼다(2026-11-05 · 두 화면 모두 그 파일을 싣는다) */

/* 디자인 칸 바깥면 ↔ 안쪽면(.nys-card__inner · 넘기기 칸) 모양도 명함과 같이 쓰려고 namecard-start.css 로 옮겼다(2026-11-05) */
/* (11-04 디자인팀 «이 디자인으로 편집 글씨 때문에 잘 안 보여») 편집 안내 단추는 그림 가운데가 아니라 그림 아래 끝에 — 가운데 내용(바깥면·안쪽면)을 가리지 않게.
   (11-04 «디자인과 겹쳐지니까 좀 더 아래로») 단추 가운데를 그림 칸 아래 테두리(칸 높이 − 이름 줄 52px · newyear-self-start.css .nys-card__cta 와 같은 값)에 걸친다 — 디자인 그림 아래 여백에 놓인다 */
.pos .nys-card__cta { top: calc(100% - 52px); transform: translate(-50%, -50%); }
