.ss-side { display:grid; gap:20px; }
.ssettings .sx-links a { flex-wrap:wrap; gap:8px; }
.ssettings .sx-links .sx-chip { margin-left:auto; }
.ssettings .sx-links .sx-chip + svg { margin-left:0; }
.ssettings .sx-fields { gap:20px 16px; }
.ssettings .sx-form-actions { margin-top:4px; }
/* ---------- 업체 꾸미기 · 지정기관 서류(10-21) ---------- */
.ssettings .st-card { margin-bottom:20px; scroll-margin-top:90px; }
.ssettings .st-brand { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.ssettings .st-edit { display:flex; flex-direction:column; gap:16px; min-width:0; }
.ssettings .st-cover { position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:18px; background:#f2f4f6; }
.ssettings .st-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.ssettings .st-tag { position:absolute; right:8px; bottom:8px; padding:3px 6px; border-radius:4px; background:rgba(255,255,255,.92); color:#4e5968; font:500 10px/1.4 var(--ui-font); pointer-events:none; }
.ssettings .st-cover .st-tag { right:auto; left:10px; bottom:auto; top:10px; }
.ssettings .st-cover-btn { position:absolute; right:12px; bottom:12px; display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 14px; border:0; border-radius:12px; background:rgba(25,31,40,.78); color:#fff; font:700 14px/1 var(--ui-font); cursor:pointer; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.ssettings .st-cover-btn:hover { background:rgba(25,31,40,.88); }
.ssettings .st-logo-row { display:flex; align-items:center; gap:14px; min-width:0; }
.ssettings .st-logo, .ssettings .st-pv-logo { flex:none; display:grid; place-items:center; width:64px; height:64px; overflow:hidden; border-radius:50%; background:var(--ui-brand-tint); color:var(--ui-brand); box-shadow:inset 0 0 0 1px var(--ui-line-strong); }
.ssettings .st-logo img, .ssettings .st-pv-logo img { display:block; width:100%; height:100%; object-fit:cover; }
.ssettings .st-logo b, .ssettings .st-pv-logo b { font:800 24px/1 var(--ui-font); }
.ssettings .st-logo-acts { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.ssettings .st-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; height:40px; padding:0 14px; border:0; border-radius:12px; background:#f2f4f6; color:var(--ui-ink); font:700 14px/1 var(--ui-font); white-space:nowrap; cursor:pointer; }
.ssettings .st-btn svg { width:16px; height:16px; color:var(--ui-brand); }
.ssettings .st-btn:hover { background:#e8ebed; }
.ssettings .st-intro-in { position:relative; display:block; }
.ssettings .st-intro-in input { padding-right:64px; }
.ssettings .st-count { position:absolute; right:14px; top:50%; transform:translateY(-50%); font:600 13px/1 var(--ui-font); color:var(--ui-ink-3,#8b95a1); font-variant-numeric:tabular-nums; pointer-events:none; }
.ssettings .st-prev { display:flex; flex-direction:column; gap:12px; min-width:0; padding:18px; border-radius:20px; background:#f9fafb; }
.ssettings .st-prev-h { margin:0; font:700 14px/1.3 var(--ui-font); color:var(--ui-ink-2); }
.ssettings .st-prev-row { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:14px; align-items:start; }
.ssettings .st-prev figure { margin:0; display:flex; flex-direction:column; min-width:0; }
.ssettings .st-prev figcaption { margin-top:10px; font:600 12px/1.3 var(--ui-font); color:var(--ui-ink-3,#8b95a1); text-align:center; }
.ssettings .st-pv-img { position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:16px; background:#f2f4f6; }
.ssettings .st-pv-img img, .ssettings .st-pv-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.ssettings .st-pv-n { margin-top:10px; font:700 16px/1.4 var(--ui-font); letter-spacing:-.02em; color:#111; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ssettings .st-pv-i { font:500 14px/1.45 var(--ui-font); color:var(--ui-ink-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:keep-all; }
.ssettings .st-pv-page { align-items:center; padding:0 0 14px; border-radius:16px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong); overflow:hidden; text-align:center; }
.ssettings .st-pv-cover { position:relative; width:100%; aspect-ratio:16/7; overflow:hidden; background:#f2f4f6; }
.ssettings .st-pv-cover img { position:absolute; inset:0; }
.ssettings .st-pv-page .st-pv-logo { width:56px; height:56px; margin-top:-28px; background:#fff; box-shadow:0 0 0 3px #fff, 0 4px 12px rgba(25,31,40,.12); }
.ssettings .st-pv-page .st-pv-logo b { color:var(--ui-brand); font-size:20px; }
.ssettings .st-pv-page .st-pv-n { max-width:100%; padding:0 12px; }
.ssettings .st-pv-page .st-pv-i { padding:0 14px; }
.ssettings .st-pv-page figcaption { margin-top:12px; }
/* 지정기관 서류 = 줄(아이콘 · 이름 · 파일 · 날짜 · 단추) */
.ssettings .st-certs { list-style:none; margin:0 0 12px; padding:4px 16px; border-radius:18px; background:#f9fafb; }
.ssettings .st-cert { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-height:64px; padding:10px 0; }
.ssettings .st-cert + .st-cert { box-shadow:inset 0 1px 0 var(--ui-line,#eef0f3); }
.ssettings .st-cert-ic { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 1.5px #d1d6db; color:var(--ui-ink-3,#8b95a1); }
.ssettings .st-cert.is-on .st-cert-ic { background:var(--ui-brand); box-shadow:none; color:#fff; }
.ssettings .st-cert-k { flex:none; min-width:112px; font:700 15px/1.35 var(--ui-font); color:var(--ui-ink); }
.ssettings .st-cert-f { flex:1 1 160px; display:inline-flex; align-items:center; gap:6px; min-width:0; height:32px; padding:0 10px; border-radius:10px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong); color:var(--ui-ink-2); font:600 13px/1 var(--ui-font); }
.ssettings .st-cert-f svg { flex:none; color:var(--ui-brand); }
.ssettings .st-cert-f span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ssettings .st-cert-d { flex:none; font:600 13px/1 var(--ui-font); color:var(--ui-ink-3,#8b95a1); font-variant-numeric:tabular-nums; }
.ssettings .st-cert .sx-chip { flex:none; }
.ssettings .st-cert-acts { display:flex; gap:6px; margin-left:auto; }
.ssettings .st-cert-acts .st-btn { height:36px; padding:0 12px; font-size:13.5px; background:#fff; box-shadow:inset 0 0 0 1px var(--ui-line-strong); }
.ssettings .st-cert-acts .st-btn:hover { background:#f6f7f9; }
.ssettings .st-add { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:48px; border:1.5px dashed #d1d6db; border-radius:14px; background:#fff; color:var(--ui-ink-2); font:700 14.5px/1 var(--ui-font); cursor:pointer; }
.ssettings .st-add svg { color:var(--ui-brand); }
.ssettings .st-add:hover { background:#f9fafb; border-color:#b9a4ff; }
.ssettings .st-btn:focus-visible, .ssettings .st-add:focus-visible, .ssettings .st-cover-btn:focus-visible { outline:2px solid var(--ui-brand); outline-offset:2px; }
@media (max-width:1100px) { .ssettings .st-brand { grid-template-columns:minmax(0,1fr); } }
@media (max-width:600px) {
  .ssettings .st-prev { padding:14px; }
  .ssettings .st-prev-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
  .ssettings .st-pv-n { font-size:14px; }
  .ssettings .st-pv-i { font-size:12.5px; }
  .ssettings .st-cert-k { min-width:0; flex:1 1 auto; }
  .ssettings .st-cert-f { order:5; flex-basis:100%; }
  .ssettings .st-cert-d { order:6; }
  .ssettings .st-cert-acts { order:7; margin-left:auto; }
}

/* 가입 동의 한 화면(대표 10-21 · #s/join) = 메뉴 · 아래 탭 없이 가운데 한 판 */
.sj-on .sw-side, .sj-on .x-bottomnav, .sj-on .s-content-tabs { display: none !important; }
.sj-on .sw { display: block !important; }
.sj-on .am { visibility: hidden; }
.sj-on .market-brand { pointer-events: none; } /* 가입 동의 중엔 다른 화면으로 못 감(기록에 가입 화면이 겹겹이 안 쌓임) */
.sj-on .sw-main { width: 100%; max-width: none; }
.x-body .sw-view.sj { max-width: 520px; margin: 0 auto; padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.x-body .sj-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.x-body .sj-head img { display: block; width: 64px; height: 64px; }
.x-body .sj-head h1 { margin: 0; font: 700 26px/1.35 var(--ui-font, inherit); letter-spacing: -.03em; color: var(--ui-ink, #191f28); }
.x-body .sj-card { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--ui-line-strong, #e5e8eb); background: #fff; overflow: hidden; }
.x-body .sj-all, .x-body .sj-i label { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.x-body .sj-all { min-height: 64px; padding: 0 18px; background: #f9fafb; font: 700 17px/1.3 var(--ui-font, inherit); color: var(--ui-ink, #191f28); }
.x-body .sj-all input, .x-body .sj-i input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x-body .sj-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px #d1d6db; }
.x-body input:checked + .sj-box { background: var(--ui-brand, #4c00ff); box-shadow: none; }
.x-body input:checked + .sj-box::after { content: ""; width: 10px; height: 5px; margin-top: -3px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.x-body input:focus-visible + .sj-box { outline: 2px solid var(--ui-brand, #4c00ff); outline-offset: 2px; }
.x-body input:disabled + .sj-box { opacity: .6; }
.x-body .sj-list { list-style: none; margin: 0; padding: 4px 0; }
.x-body .sj-i { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 10px 0 18px; }
.x-body .sj-i + .sj-i { border-top: 1px solid var(--ui-line, #f2f4f6); }
.x-body .sj-i label { flex: 1; min-height: 52px; font: 600 15.5px/1.3 var(--ui-font, inherit); color: var(--ui-ink, #191f28); }
.x-body .sj-t { min-width: 0; word-break: keep-all; }
.x-body .sj-req { flex: none; font-style: normal; font: 700 12.5px/1 var(--ui-font, inherit); color: var(--ui-brand, #4c00ff); }
.x-body .sj-view { -webkit-appearance: none; appearance: none; flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: #f4f5f7; color: var(--ui-ink-2, #4e5968); font: 700 13.5px/1 var(--ui-font, inherit); cursor: pointer; }
.x-body .sj-view:hover { background: #eceef1; }
.x-body .ui-btn.sj-go { width: 100%; height: 56px; border-radius: 16px; font: 700 17px/1 var(--ui-font, inherit); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.sj-doc h3 { margin: 18px 0 6px; font: 700 15px/1.4 var(--ui-font, inherit); }
.sj-doc h3:first-child { margin-top: 0; }
.sj-doc p { margin: 0 0 6px; font: 500 14px/1.65 var(--ui-font, inherit); color: var(--ui-ink-2, #4e5968); word-break: keep-all; }
@media (max-width: 760px) {
  .x-body .sw-view.sj { padding-top: 8px; padding-bottom: 32px; }
  .x-body .sj-head h1 { font-size: 24px; }
}
