/* 공급사 전체 화면에서 쓰는 작은 공통 부품. 승인된 홈의 ui 토큰을 공유한다. */
.sx-file-preview { display:block; width:100%; min-height:65dvh; border:1px solid var(--ui-line-strong); border-radius:12px; background:var(--ui-fill); }
.sx-image-preview { display:block; max-width:100%; height:auto; margin:0 auto; border-radius:12px; }
.sx { color:var(--ui-ink); padding-bottom:calc(40px + env(safe-area-inset-bottom)); }
.sx a { text-decoration:none; color:inherit; }
.sx-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.sx h1 { margin:0; font:700 26px/1.4 var(--ui-font); letter-spacing:-.04em; }
.sx h2 { margin:0; font:700 20px/1.4 var(--ui-font); letter-spacing:-.03em; }
.sx h3 { margin:0; font:600 17px/1.5 var(--ui-font); }
.sx-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 16px; border:1px solid var(--ui-line-strong); border-radius:12px; background:var(--ui-surface); color:var(--ui-ink); font:600 14px/1.4 var(--ui-font); cursor:pointer; }
.sx-btn.is-primary { color:var(--ui-surface); background:var(--ui-brand); border-color:var(--ui-brand); }
.sx-btn.is-weak { color:var(--ui-brand); background:var(--ui-brand-tint); border-color:transparent; }
.sx-btn:disabled { opacity:.45; cursor:default; }
.sx a:focus-visible,.sx button:focus-visible,.sx input:focus-visible,.sx select:focus-visible,.sx textarea:focus-visible { outline:2px solid var(--ui-brand); outline-offset:3px; }
.sx-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.sx-card { padding:24px; border:1px solid var(--ui-line-strong); border-radius:24px; background:var(--ui-surface); min-width:0; }
.sx-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.sx-icon { width:44px; height:44px; flex:none; object-fit:contain; }
.sx-chips { display:flex; flex-wrap:wrap; gap:8px; }
.sx-chip { display:inline-flex; align-items:center; min-height:25px; padding:3px 9px; border-radius:6px; background:var(--ui-fill); color:var(--ui-ink-2); font:500 12px/1.4 var(--ui-font); }
.sx-chip.is-brand { background:var(--ui-brand-tint); color:var(--ui-brand); }
.sx-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.sx-tabs button { min-height:44px; padding:9px 16px; border:0; border-radius:999px; background:var(--ui-fill); color:var(--ui-ink-body); font:500 14px/1.4 var(--ui-font); cursor:pointer; }
.sx-tabs button[aria-pressed=true] { background:var(--ui-ink); color:var(--ui-surface); }
.sx-empty { padding:32px 20px; margin:0; border-radius:20px; background:var(--ui-fill); text-align:center; color:var(--ui-ink-2); font:500 15px/1.5 var(--ui-font); }
.sx-data { display:grid; gap:14px; margin:0; }
.sx-data > div { display:flex; justify-content:space-between; gap:20px; font:500 14px/1.5 var(--ui-font); }
.sx-data dt { color:var(--ui-ink-2); }
.sx-data dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.sx-form { display:grid; gap:20px; }
.sx-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.sx-field { display:flex; flex-direction:column; gap:8px; min-width:0; color:var(--ui-ink-body); font:500 14px/1.5 var(--ui-font); }
.sx-field.is-wide { grid-column:1/-1; }
.sx-field input,.sx-field textarea,.sx-field select { box-sizing:border-box; min-width:0; width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--ui-line-strong); border-radius:12px; background:var(--ui-surface); color:var(--ui-ink); font:400 16px/1.4 var(--ui-font); }
.sx-form-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.sx-error { margin:0; color:var(--ui-danger-ink); font:500 14px/1.5 var(--ui-font); }
.sx-links { margin:0; padding:0; list-style:none; }
.sx-links a { display:flex; align-items:center; min-height:64px; gap:12px; border-bottom:1px solid var(--ui-line); font:600 15px/1.5 var(--ui-font); }
.sx-links li:last-child a { border-bottom:0; }
.sx-links a svg { margin-left:auto; flex:none; color:var(--ui-ink-2); }
.sx-muted { color:var(--ui-ink-2); }
@media(max-width:600px) {
 .is-operations .x-body .sw-h1 { font-size:26px; line-height:1.4; }
 .is-operations .x-body .sa-page .ui-icon-btn.sa-nav { width:44px; height:44px; }
 .is-operations .x-body .sa-page .ui-chip.sa-opt { min-height:44px; }
 .is-operations .x-mnav { gap:4px; padding-top:6px; padding-bottom:6px; }
 .is-operations .x-mnav a { min-height:44px; background:transparent; padding-inline:12px; }
 .is-operations .x-mnav a[aria-current=page] { background:var(--ui-brand-tint); color:var(--ui-brand); font-weight:700; }
 .x-body .sx { padding-top:24px; }
 .sx-heading { gap:12px; margin-bottom:20px; }
 .sx-heading h1 { font-size:26px; }
 .sx-grid,.sx-fields { grid-template-columns:minmax(0,1fr); gap:16px; }
 .sx-card { padding:20px; }
 .sx-form-actions .sx-btn { flex:1; }
}

/* 10-20 길찾기 단추 둘(카카오맵 · 네이버 지도) · 진행 상세 · 일정 · 홈이 같이 씀 */
.sx-map { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.sx-map a { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:8px 14px; border:1px solid var(--ui-line-strong); border-radius:12px; background:var(--ui-surface); color:var(--ui-ink); font:600 14px/1.4 var(--ui-font); text-decoration:none; }
.sx-map a svg { flex:none; color:var(--ui-brand); }
.sx-map a:focus-visible { outline:2px solid var(--ui-brand); outline-offset:2px; }
@media (hover:hover) { .sx-map a:hover { border-color:var(--ui-brand); } }

/* 10-21 공급사 공용 부품(SUPPLIER_UI) · 뒤로가기는 s-app.css(SUPPLIER_APP.back) · 단추 한 벌 · 상태 칩 · 날짜 칸 · 숫자 셋 · 문서 줄 · 빈 상태 · 종이 문서 */
.sx-b { -webkit-appearance:none; appearance:none; border:0; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:6px; height:44px; padding:0 16px; border-radius:12px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong,#e5e8eb); color:var(--ui-ink,#191f28); font:700 14.5px/1 var(--ui-font,inherit); letter-spacing:-.01em; text-decoration:none; white-space:nowrap; transition:transform .12s ease, background-color .15s ease; }
.sx-b svg { flex:none; width:18px; height:18px; }
.sx-b:hover { background:#f9fafb; }
.sx-b:active { transform:scale(.97); }
.sx-b.is-main { background:var(--ui-brand,#4c00ff); box-shadow:none; color:#fff; }
.sx-b.is-main:hover { background:#4200dd; }
.sx-b.is-soft { background:#f2f4f6; box-shadow:none; }
.sx-b.is-soft:hover { background:#e8ebed; }
.sx-b.is-sm { height:36px; padding:0 12px; border-radius:10px; font-size:13.5px; }
.sx-b.is-sm svg { width:16px; height:16px; }
.sx-b.is-block { display:flex; width:100%; }
.sx-b.is-ic { width:44px; padding:0; }
.sx-b.is-sm.is-ic { width:36px; }
.sx-b:disabled, .sx-b[aria-disabled=true] { opacity:.45; cursor:default; transform:none; }
.sx-b:focus-visible { outline:2px solid var(--ui-brand,#4c00ff); outline-offset:2px; }
.sx-st { display:inline-flex; align-items:center; flex:none; height:24px; padding:0 9px; border-radius:999px; background:#f2f4f6; color:var(--ui-ink-2,#4e5968); font:700 12px/1 var(--ui-font,inherit); white-space:nowrap; }
.sx-st.is-brand { background:var(--ui-brand-tint,#f4f0ff); color:var(--ui-brand,#4c00ff); }
.sx-st.is-solid { background:var(--ui-brand,#4c00ff); color:#fff; }
.sx-st.is-done { background:#eceef1; color:var(--ui-ink,#191f28); }
.sx-st.is-warn { background:#fff0f1; color:#e42939; }
.sx-st.is-line { background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong,#e5e8eb); }
.sx-dt { flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:60px; padding:9px 0 8px; border-radius:14px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong,#e5e8eb); color:var(--ui-ink,#191f28); }
.sx-dt-m { font:700 12px/1 var(--ui-font,inherit); color:var(--ui-brand,#4c00ff); }
.sx-dt-d { font:800 22px/1 var(--ui-font,inherit); letter-spacing:-.03em; }
.sx-dt-w { font:600 11.5px/1 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); }
.sx-dt.is-brand { background:linear-gradient(160deg,#6b2bff 0%,#4c00ff 100%); box-shadow:0 8px 18px rgba(76,0,255,.22); color:#fff; }
.sx-dt.is-brand .sx-dt-m, .sx-dt.is-brand .sx-dt-w { color:rgba(255,255,255,.85); }
.sx-dt.is-mute { background:#f6f7f9; box-shadow:none; }
.sx-dt.is-mute .sx-dt-m { color:var(--ui-ink-2,#4e5968); }
.sx-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:12px 4px; border-radius:16px; background:#f9fafb; }
.sx-stats > div { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:0; padding:0 4px; text-align:center; }
.sx-stats > div + div { box-shadow:inset 1px 0 0 #eceef1; }
.sx-stats dt { font:600 12.5px/1.2 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); word-break:keep-all; }
.sx-stats dd { margin:0; max-width:100%; font:800 16px/1.2 var(--ui-font,inherit); color:var(--ui-ink,#191f28); font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sx-stats dd.is-brand { color:var(--ui-brand,#4c00ff); }
.sx-docs { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.sx-docs > li + li { border-top:1px solid var(--ui-line,#eef0f3); }
.sx-doc { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-height:68px; padding:10px 0; min-width:0; }
.sx-doc-ic { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#f6f7f9; }
.sx-doc-ic img { width:28px; height:28px; }
.sx-doc-t { flex:1 1 160px; min-width:0; display:flex; flex-direction:column; gap:5px; }
.sx-doc-t > b { font:700 15.5px/1.35 var(--ui-font,inherit); color:var(--ui-ink,#191f28); word-break:keep-all; overflow-wrap:anywhere; }
.sx-doc-m { display:flex; flex-wrap:wrap; align-items:center; gap:5px; min-width:0; font:600 13px/1.3 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); }
.sx-doc-a { flex:none; font:800 15.5px/1 var(--ui-font,inherit); color:var(--ui-ink,#191f28); font-variant-numeric:tabular-nums; }
.sx-doc-b { display:flex; align-items:center; gap:6px; margin-left:auto; }
.sx-none { display:flex; flex-direction:column; align-items:center; gap:10px; padding:26px 16px; border-radius:18px; background:#f9fafb; text-align:center; }
.sx-none img { width:48px; height:48px; }
.sx-none > b { font:600 15px/1.45 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); word-break:keep-all; }
.sx-paper { display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:14px; background:#fff; box-shadow:0 0 0 1px var(--ui-line-strong,#e5e8eb), 0 10px 28px rgba(25,31,40,.08); color:var(--ui-ink,#191f28); }
.sx-paper-h { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-bottom:12px; border-bottom:2px solid var(--ui-ink,#191f28); }
.sx-paper-h b { font:800 18px/1.3 var(--ui-font,inherit); }
.sx-paper dl { margin:0; display:flex; flex-direction:column; }
.sx-paper dl > div { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:38px; }
.sx-paper dl > div + div { border-top:1px solid var(--ui-line,#eef0f3); }
.sx-paper dt { flex:none; font:600 13.5px/1.3 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); }
.sx-paper dd { margin:0; min-width:0; font:700 14.5px/1.4 var(--ui-font,inherit); text-align:right; word-break:keep-all; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.sx-paper-a .is-total { border-top:2px solid var(--ui-ink,#191f28) !important; }
.sx-paper-a .is-total dd { font-size:17px; color:var(--ui-brand,#4c00ff); }
.sx-paper-n { margin:0; padding:10px 12px; border-radius:10px; background:#f9fafb; font:600 13px/1.5 var(--ui-font,inherit); color:var(--ui-ink-2,#4e5968); }
/* 파일 카드 한 모양(SUPPLIER_UI.file) · 형식 칸 색 = 형식 구분만(초록 없음) */
.sx-file { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-width:0; padding:10px 10px 10px 10px; border-radius:16px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong,#e5e8eb); }
.sx-file.is-fail { background:#fff6f6; box-shadow:inset 0 0 0 1px #ffd9dc; }
.sx-ftype { flex:none; display:grid; place-items:center; width:42px; height:48px; border-radius:10px 14px 10px 10px; background:#f2f4f6; color:var(--ui-ink-2,#4e5968); position:relative; }
.sx-ftype::after { content:''; position:absolute; top:0; right:0; width:12px; height:12px; border-radius:0 14px 0 6px; background:rgba(255,255,255,.7); }
.sx-ftype b { font:800 10.5px/1 var(--ui-font,inherit); letter-spacing:.02em; }
.sx-ftype.is-pdf { background:#ffeced; color:#e42939; }
.sx-ftype.is-img { background:#eaf1ff; color:#2f6fe4; }
.sx-ftype.is-xls { background:#eceef1; color:#333d4b; }
.sx-ftype.is-hwp { background:#e6f4ff; color:#1b78d0; }
.sx-ftype.is-doc { background:#eef0ff; color:#3d4fd9; }
.sx-file-t { flex:1 1 150px; min-width:0; display:flex; flex-direction:column; gap:5px; }
.sx-file-t > b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 14.5px/1.3 var(--ui-font,inherit); color:var(--ui-ink,#191f28); }
.sx-file-m { display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-width:0; }
.sx-file-why { font:600 13px/1.3 var(--ui-font,inherit); color:#e42939; }
.sx-file-up { flex:1 1 60px; display:block; height:4px; border-radius:999px; background:#e5e8eb; overflow:hidden; }
.sx-file-up i { display:block; width:40%; height:100%; border-radius:999px; background:var(--ui-brand,#4c00ff); animation:sx-file-up 1s ease-in-out infinite; }
@keyframes sx-file-up { from { transform:translateX(-100%); } to { transform:translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .sx-file-up i { animation:none; } }
.sx-file-b { display:flex; align-items:center; gap:6px; margin-left:auto; }
.sx-files { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
/* 긴 목록 접기(SUPPLIER_UI.fold) · 시트 안 [더 보기](SUPPLIER_APP.clampMore 는 .x-body 안만 그려서 시트용 한 벌) */
.sx-unfold { -webkit-appearance:none; appearance:none; border:0; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:4px; width:100%; height:40px; margin-top:4px; border-radius:12px; background:#f6f7f9; color:var(--ui-ink-2,#4e5968); font:700 13.5px/1 var(--ui-font,inherit); }
.sx-unfold:hover { background:#eef0f3; }
.sx-unfold[aria-expanded=true] svg { transform:rotate(180deg); }
.sx-unfold:focus-visible { outline:2px solid var(--ui-brand,#4c00ff); outline-offset:2px; }
.x-sheet .sx-clamp { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--sx-lines,3); overflow:hidden; }
.x-sheet .sx-clamp.is-open { display:block; -webkit-line-clamp:unset; overflow:visible; }
.x-sheet .sx-more { -webkit-appearance:none; appearance:none; align-self:flex-start; height:28px; margin:2px 0 0 -8px; padding:0 8px; border:0; border-radius:8px; background:none; color:var(--ui-brand,#4c00ff); font:700 13px/1 var(--ui-font,inherit); cursor:pointer; }
.x-sheet .sx-more:hover { background:var(--ui-brand-tint,#f4f0ff); }
.sx-stats { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); }
