/* ============================================================
   host-spaces-v3.css — 호스트 "공간" 6개 페이지 공용 (Wanted DS 클론)
   디자인 원본: newdesign/호스트 대시보드 UI 리뉴얼 v2/호스트 공간.dc.html

   사용 페이지
     rental.html / prem.html / hourly-products.html  → 상품 테이블
     spot.html                                        → 지점 카드
     price-requests.html / tour-requests.html         → 요청 카드

   주의: 이 주석 안에서 클래스를 나열할 때 슬래시로 잇지 말 것.
   "*" 와 "/" 가 붙으면 주석이 조기 종료되어 다음 규칙이 통째로 사라진다.
   ============================================================ */

.sp-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 22px 28px 32px; }
.sp-wrap { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

/* ---------- 공통 버튼 ---------- */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 12px; cursor: pointer; white-space: nowrap;
  font-family: inherit; font-size: 14px; font-weight: 600;
  height: 44px; padding: 0 17px; transition: background .12s ease, color .12s ease;
  text-decoration: none;
}
.sp-btn:disabled { opacity: .5; cursor: not-allowed; }
.sp-btn--primary { background: #3366FF; color: #fff; }
.sp-btn--primary:hover:not(:disabled) { background: #2A4FD6; }
.sp-btn--ghost { background: var(--ws-fill); color: var(--ws-text-normal); }
.sp-btn--ghost:hover:not(:disabled) { background: rgba(112, 115, 124, .14); }
.sp-btn--outline { background: #fff; color: var(--ws-text-alternative); border: 1px solid var(--ws-line); }
.sp-btn--outline:hover:not(:disabled) { background: var(--ws-bg-alt); color: var(--ws-text-normal); }
.sp-btn--sm { height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.sp-btn--danger { background: #E5484D; color: #fff; }
.sp-btn--danger:hover:not(:disabled) { background: #C93B40; }
.sp-btn--full { width: 100%; }

/* ---------- 툴바 ---------- */
.sp-toolbar {
  background: #fff; border-radius: 16px; box-shadow: var(--ws-shadow-emphasize);
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.sp-search { flex: 1; min-width: 180px; position: relative; }
.sp-search > i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--ws-text-assistive); pointer-events: none;
}
.sp-search input {
  width: 100%; height: 44px; border: 1px solid var(--ws-line); border-radius: 12px;
  background: var(--ws-bg-alt); padding: 0 14px 0 40px; font-size: 14px;
  color: var(--ws-text-normal); font-family: inherit; box-sizing: border-box;
}
.sp-select { position: relative; }
.sp-select select {
  height: 44px; border: 1px solid var(--ws-line); border-radius: 12px; background: #fff;
  padding: 0 34px 0 14px; font-size: 13px; font-weight: 600; color: var(--ws-text-alternative);
  appearance: none; cursor: pointer; font-family: inherit;
}
.sp-select > i {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--ws-text-alternative); pointer-events: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #3366FF; box-shadow: 0 0 0 3px rgba(51, 102, 255, .16); }

/* ---------- KPI 스트립 ---------- */
.sp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sp-kpi {
  background: #fff; border-radius: 14px; box-shadow: var(--ws-shadow-emphasize);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
}
.sp-kpi .l { font-size: 12.5px; color: var(--ws-text-alternative); }
.sp-kpi .v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #171717; }
.sp-kpi .v.ok { color: #00A038; }
.sp-kpi .v.muted { color: var(--ws-text-alternative); }
.sp-kpi .v.accent { color: #3366FF; }

/* ---------- 상태 필터 + 정렬 ---------- */
.sp-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-seg { display: flex; gap: 2px; background: var(--ws-fill-alt); border-radius: 11px; padding: 3px; }
.sp-seg button {
  font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 13px;
  border-radius: 8px; cursor: pointer; border: none; background: transparent;
  color: var(--ws-text-alternative); transition: background .12s ease, color .12s ease;
}
.sp-seg button.on { background: #fff; color: #171717; box-shadow: var(--ws-shadow-emphasize); }
.sp-sort { margin-left: auto; position: relative; }
.sp-sort select {
  height: 36px; border: 1px solid var(--ws-line); border-radius: 11px; background: #fff;
  padding: 0 32px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--ws-text-alternative);
  appearance: none; cursor: pointer; font-family: inherit;
}
.sp-sort > i {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--ws-text-alternative); pointer-events: none;
}

/* ---------- 테이블 ---------- */
.sp-table-card {
  background: #fff; border-radius: 16px; box-shadow: var(--ws-shadow-emphasize);
  padding: 6px 8px 8px; position: relative;
}
.sp-bulk {
  display: none; align-items: center; gap: 12px; padding: 11px 14px; margin: 2px;
  background: #EFF3FF; border-radius: 12px; flex-wrap: wrap;
}
.sp-bulk.on { display: flex; }
.sp-bulk .cnt { font-size: 13px; font-weight: 700; color: #2A4FD6; }
.sp-bulk .acts { display: flex; gap: 7px; margin-left: auto; flex-wrap: wrap; }
.sp-bulk .acts button {
  display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px;
  border: 1px solid var(--ws-line-strong); border-radius: 9px; background: #fff;
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--ws-text-alternative); cursor: pointer;
}
.sp-bulk .acts button:hover { background: rgba(112, 115, 124, .08); }
.sp-bulk .acts button.primary { border-color: #9DB4FF; color: #2A4FD6; }
.sp-bulk .acts button.danger { border-color: #F3B4B6; color: #E5484D; }

.sp-table-scroll { overflow-x: auto; }
.sp-table { min-width: 0; }
.sp-row {
  display: grid;
  grid-template-columns: 40px 52px 0.9fr 2.2fr 1fr 0.7fr 1.1fr 1fr 0.8fr 44px;
  gap: 12px; padding: 12px 14px; align-items: center;
}
.sp-row--head { border-bottom: 1px solid var(--ws-line); }
.sp-row--head > div { font-size: 12px; font-weight: 600; color: var(--ws-text-alternative); }
.sp-row--body { border-bottom: 1px solid var(--ws-line-alt); transition: background .12s ease; }
.sp-row--body:hover { background: var(--ws-bg-alt); }
.sp-row--body.sel { background: #F5F8FF; }

.sp-check { display: flex; justify-content: center; cursor: pointer; }
.sp-check span {
  width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ws-line-strong);
  background: transparent; display: flex; align-items: center; justify-content: center;
  transition: background .12s ease, border-color .12s ease;
}
.sp-check i { font-size: 11px; color: #fff; opacity: 0; }
.sp-check.on span { border-color: #3366FF; background: #3366FF; }
.sp-check.on i { opacity: 1; }
.sp-check.some span { border-color: #3366FF; background: #9DB4FF; }
.sp-check.some i { opacity: 1; }

.sp-thumb {
  width: 48px; height: 40px; border-radius: 8px; background: #EBF1FF;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb i { font-size: 16px; color: #2A4FD6; }
.sp-thumb.hour { background: #E7F7EF; }
.sp-thumb.hour i { color: #248A56; }

.sp-cell-cat { font-size: 13px; color: var(--ws-text-alternative); }
.sp-cell-name { min-width: 0; }
.sp-cell-name a {
  color: #3366FF; text-decoration: none; font-weight: 600; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.sp-cell-name a:hover { text-decoration: underline; }
.sp-cell { font-size: 13px; color: #171717; }
.sp-cell.price { font-weight: 600; }
.sp-cell.dc { color: var(--ws-text-alternative); }
.sp-cell.dc.on { color: #E5484D; font-weight: 600; }

.sp-status {
  font-size: 11px; font-weight: 600; border-radius: 8px; padding: 4px 10px;
  white-space: nowrap; color: #5A5F69; background: var(--ws-fill);
}
.sp-status.ok { color: #0B8A4F; background: #E3F7ED; }
.sp-status.wait { color: #B57516; background: #FDF3E3; }
.sp-status.no { color: #B5484B; background: #FDECEC; }

.sp-menu-btn {
  width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent;
  display: flex; align-items: center; justify-content: center; cursor: pointer; margin: 0 auto;
}
.sp-menu-btn:hover { background: rgba(112, 115, 124, .08); }
.sp-menu-btn i { font-size: 17px; color: var(--ws-text-alternative); }

.sp-empty { text-align: center; padding: 52px 10px; color: var(--ws-text-alternative); }
.sp-empty i { font-size: 34px; color: var(--ws-text-assistive); }
.sp-empty p { margin: 12px 0 0; font-size: 14px; }

.sp-sk { background: linear-gradient(90deg, var(--ws-fill) 25%, var(--ws-fill-alt) 37%, var(--ws-fill) 63%); background-size: 400% 100%; animation: spSk 1.4s ease infinite; border-radius: 8px; }
@keyframes spSk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sp-sk-row { display: flex; align-items: center; gap: 14px; padding: 15px 14px; border-bottom: 1px solid var(--ws-line-alt); }

/* ---------- 페이지네이션 ---------- */
.sp-pager { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 16px 0 10px; flex-wrap: wrap; }
.sp-pager button {
  min-width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  padding: 0 10px; border: none; border-radius: 9px; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ws-text-alternative); cursor: pointer;
}
.sp-pager button:hover:not(:disabled) { background: rgba(112, 115, 124, .08); }
.sp-pager button.on { background: #3366FF; color: #fff; }
.sp-pager button:disabled { color: var(--ws-text-assistive); cursor: default; }

/* ---------- 지점 카드 ---------- */
.sp-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sp-branch {
  background: #fff; border-radius: 16px; box-shadow: var(--ws-shadow-emphasize);
  padding: 18px; display: flex; flex-direction: column; gap: 13px;
}
.sp-branch-head { display: flex; align-items: center; gap: 11px; }
.sp-branch-ico {
  width: 42px; height: 42px; border-radius: 12px; background: #EBF1FF;
  display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.sp-branch-ico i { font-size: 20px; color: #3366FF; }
.sp-branch-ico img { width: 100%; height: 100%; object-fit: cover; }
.sp-branch-tx { min-width: 0; flex: 1; }
.sp-branch-tx .n { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-branch-tx .a { font-size: 12px; color: var(--ws-text-alternative); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-branch-edit {
  width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.sp-branch-edit:hover { background: rgba(112, 115, 124, .08); }
.sp-branch-edit i { font-size: 16px; color: var(--ws-text-alternative); }
.sp-branch-meta { display: flex; flex-direction: column; gap: 8px; }
.sp-branch-meta .r { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ws-text-alternative); }
.sp-branch-meta .r > i { font-size: 15px; color: var(--ws-text-assistive); flex: none; margin-top: 1px; }
.sp-branch-cats { display: flex; flex-wrap: wrap; gap: 5px; }
.sp-tag { font-size: 11px; font-weight: 600; color: #2A4FD6; background: #EBF1FF; border-radius: 6px; padding: 2px 8px; }
.sp-branch-foot { display: flex; gap: 18px; padding-top: 12px; border-top: 1px solid var(--ws-line-alt); }
.sp-branch-foot .l { font-size: 11px; color: var(--ws-text-alternative); }
.sp-branch-foot .v { font-size: 17px; font-weight: 700; margin-top: 2px; }
.sp-branch-foot .v.accent { color: #3366FF; }

/* ---------- 요청 카드 ---------- */
.sp-req-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-req-tabs button {
  display: flex; align-items: center; gap: 7px; font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 15px; border-radius: 9999px; cursor: pointer; border: none;
  background: var(--ws-fill); color: var(--ws-text-alternative); transition: background .12s ease, color .12s ease;
}
.sp-req-tabs button .n { font-size: 12px; font-weight: 700; color: var(--ws-text-alternative); }
.sp-req-tabs button.on { background: #3366FF; color: #fff; }
.sp-req-tabs button.on .n { color: rgba(255, 255, 255, .75); }

.sp-reqs { display: flex; flex-direction: column; gap: 14px; }
.sp-req {
  background: #fff; border-radius: 16px; box-shadow: var(--ws-shadow-emphasize);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 14px;
}
.sp-req-head { display: flex; align-items: flex-start; gap: 13px; }
.sp-req-thumb {
  width: 52px; height: 52px; border-radius: 12px; background: #F1ECFE;
  display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.sp-req-thumb i { font-size: 23px; color: #7F54FF; }
.sp-req-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-req-thumb.tour { background: #EBF1FF; }
.sp-req-thumb.tour i { color: #3366FF; }
.sp-req-head .tx { flex: 1; min-width: 0; }
.sp-req-head .sp-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-req-head .unit { font-size: 12.5px; color: var(--ws-text-alternative); margin-top: 3px; }

.sp-req-who { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: var(--ws-bg-alt); border-radius: 12px; }
.sp-req-av {
  width: 38px; height: 38px; border-radius: 11px; background: #EBF1FF;
  display: flex; align-items: center; justify-content: center; flex: none;
  font-size: 14px; font-weight: 700; color: #2A4FD6; overflow: hidden;
}
.sp-req-av img { width: 100%; height: 100%; object-fit: cover; }
.sp-req-who .tx { flex: 1; min-width: 0; }
.sp-req-who .nm { font-size: 13.5px; font-weight: 600; }
.sp-req-who .nm .co { font-size: 12px; font-weight: 500; color: var(--ws-text-alternative); }
.sp-req-who .contacts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; }
.sp-req-who .contacts span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ws-text-alternative); }
.sp-req-who .contacts i { font-size: 13px; color: var(--ws-text-assistive); }

.sp-req-facts { display: flex; flex-wrap: wrap; gap: 9px 22px; }
.sp-req-facts span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ws-text-alternative); }
.sp-req-facts i { font-size: 14px; color: var(--ws-text-assistive); }
.sp-req-facts b { color: #171717; font-weight: 600; }

.sp-req-msg { display: flex; gap: 9px; padding: 12px 14px; background: var(--ws-bg-alt); border-radius: 12px; }
.sp-req-msg i { font-size: 16px; color: var(--ws-text-assistive); flex: none; margin-top: 1px; }
.sp-req-msg span { font-size: 13px; color: #171717; line-height: 1.5; }

.sp-req-note { font-size: 12.5px; font-weight: 500; border-radius: 10px; padding: 10px 14px; color: #0B8A4F; background: #E3F7ED; }
.sp-req-note.no { color: #B5484B; background: #FDECEC; }

.sp-req-acts { display: flex; gap: 9px; padding-top: 2px; }
.sp-req-acts .grow { flex: 1; }
.sp-req-acts .sp-btn { height: 42px; }

/* ---------- 모달 공통 ---------- */
.sp-dim {
  position: fixed; inset: 0; background: var(--ws-dimmer, rgba(23, 23, 25, .52));
  display: none; align-items: flex-start; justify-content: center; z-index: 1200;
  padding: 24px; overflow-y: auto;
}
.sp-dim.on { display: flex; }
.sp-dim.center { align-items: center; }
.sp-modal {
  width: 760px; max-width: 100%; background: #fff; border-radius: 20px;
  box-shadow: var(--ws-shadow-overlay, 0 16px 48px rgba(0, 0, 0, .22));
  margin: auto; display: flex; flex-direction: column; max-height: calc(100vh - 48px);
}
.sp-modal--sm { width: 560px; }
.sp-modal--xs { width: 340px; }
.sp-modal-head {
  flex: none; padding: 18px 24px; border-bottom: 1px solid var(--ws-line-alt);
  display: flex; align-items: center; gap: 12px;
}
.sp-modal-head h2 { margin: 0; font-size: 18px; font-weight: 600; flex: 1; }
.sp-icon-btn {
  width: 34px; height: 34px; border: none; border-radius: 10px; background: transparent;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.sp-icon-btn:hover { background: rgba(112, 115, 124, .08); }
.sp-icon-btn i { font-size: 19px; color: var(--ws-text-alternative); }
.sp-modal-body { flex: 1; overflow-y: auto; padding: 22px 24px 12px; display: flex; flex-direction: column; gap: 26px; }
.sp-modal-foot {
  flex: none; padding: 16px 24px; border-top: 1px solid var(--ws-line-alt);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* 폼 요소 */
.sp-sec-title {
  font-size: 15px; font-weight: 600; padding-bottom: 12px;
  border-bottom: 1px solid var(--ws-line-alt); margin-bottom: 14px;
}
.sp-sec-title .hint { font-size: 12px; font-weight: 400; color: var(--ws-text-alternative); margin-left: 8px; }
.sp-req-mark { color: var(--ws-negative, #E5484D); }
.sp-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.sp-sub-label { font-size: 13px; font-weight: 600; color: var(--ws-text-alternative); margin-bottom: 9px; }
.sp-input, .sp-modal input[type="text"], .sp-modal input[type="tel"], .sp-modal input[type="email"],
.sp-modal input[type="number"], .sp-modal input[type="date"], .sp-modal input[type="time"], .sp-modal select {
  width: 100%; height: 46px; border: 1px solid var(--ws-line-strong); border-radius: 12px;
  background: var(--ws-bg-alt); padding: 0 14px; font-size: 14px; font-family: inherit;
  color: var(--ws-text-normal); box-sizing: border-box;
}
.sp-modal select { appearance: none; padding-right: 34px; cursor: pointer; }
.sp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-field { position: relative; }
.sp-field .caret { position: absolute; right: 12px; top: 38px; font-size: 14px; color: var(--ws-text-alternative); pointer-events: none; }

.sp-dz {
  border: 2px dashed var(--ws-line-strong); border-radius: 14px; padding: 34px;
  text-align: center; background: var(--ws-bg-alt); cursor: pointer; transition: all .12s ease;
}
.sp-dz:hover { border-color: #9DB4FF; background: #F5F8FF; }
.sp-dz i { font-size: 34px; color: var(--ws-text-assistive); }
.sp-dz p { margin: 10px 0 0; font-size: 13px; color: var(--ws-text-alternative); }
.sp-dz p .sub { color: var(--ws-text-alternative); }

.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip {
  font-family: inherit; font-size: 13px; font-weight: 500; padding: 9px 16px;
  border-radius: 9999px; border: 1px solid var(--ws-line-strong); background: #fff;
  color: var(--ws-text-alternative); cursor: pointer; transition: all .12s ease;
}
.sp-chip:hover { background: var(--ws-bg-alt); }
.sp-chip.on, .sp-chip.selected { border-color: #3366FF; background: #EBF1FF; color: #2A4FD6; }
.sp-chip--sm { font-size: 12.5px; padding: 7px 13px; }

.sp-unit-seg { display: flex; gap: 2px; background: var(--ws-fill-alt); border-radius: 12px; padding: 3px; width: fit-content; }
.sp-unit-seg button {
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 9px;
  cursor: pointer; border: none; background: transparent; color: var(--ws-text-alternative);
}
.sp-unit-seg button.on { background: #fff; color: #3366FF; box-shadow: var(--ws-shadow-emphasize); }

.sp-checkin-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.sp-checkin {
  border: 1px solid var(--ws-line-strong); background: #fff; border-radius: 14px;
  padding: 14px 12px; text-align: center; cursor: pointer; font-family: inherit;
  transition: all .12s ease;
}
.sp-checkin .t { font-size: 13px; font-weight: 600; color: #171717; }
.sp-checkin .d { font-size: 11px; color: var(--ws-text-alternative); margin-top: 4px; line-height: 1.4; }
.sp-checkin.on, .sp-checkin.selected { border-color: #3366FF; background: #F5F8FF; }
.sp-checkin.on .t, .sp-checkin.selected .t { color: #2A4FD6; }

.sp-toggle-row {
  display: flex; align-items: center; gap: 12px; background: var(--ws-bg-alt);
  border-radius: 12px; padding: 14px 16px;
}
.sp-toggle-row > i { font-size: 20px; color: var(--ws-text-alternative); }
.sp-toggle-row .tx { flex: 1; }
.sp-toggle-row .t { font-size: 13px; font-weight: 600; }
.sp-toggle-row .d { font-size: 12px; color: var(--ws-text-alternative); margin-top: 2px; }
.sp-switch {
  width: 44px; height: 25px; border-radius: 9999px; background: rgba(112, 115, 124, .28);
  position: relative; cursor: pointer; flex: none; border: none; padding: 0;
  transition: background .15s ease;
}
.sp-switch span {
  position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 9999px;
  background: #fff; box-shadow: var(--ws-shadow-emphasize); transition: left .15s ease;
}
.sp-switch.on { background: #3366FF; }
.sp-switch.on span { left: 22px; }
.sp-plan-badge { font-size: 10px; font-weight: 700; color: #fff; background: #171717; border-radius: 6px; padding: 2px 7px; }

/* 위저드 */
.sp-wz-progress { display: none; flex: none; padding: 12px 24px 0; }
.sp-wz-progress .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ws-text-alternative); margin-bottom: 8px; }
.sp-wz-progress .row .name { font-weight: 600; color: #3366FF; }
.sp-wz-progress .bar { height: 4px; border-radius: 9999px; background: var(--ws-fill); overflow: hidden; }
.sp-wz-progress .bar > div { height: 100%; background: #3366FF; border-radius: 9999px; transition: width .25s ease; }
.sp-wz-foot-mobile { display: none; flex: none; padding: 14px 18px; border-top: 1px solid var(--ws-line-alt); gap: 10px; }
.sp-wz-foot-mobile .back {
  width: 56px; flex: none; height: 52px; border: 1px solid var(--ws-line-strong);
  border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sp-wz-foot-mobile .next {
  flex: 1; height: 52px; border: none; border-radius: 14px; background: #3366FF; color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}

/* 행 액션 시트 */
.sp-sheet { width: 320px; max-width: 100%; background: #fff; border-radius: 18px; box-shadow: var(--ws-shadow-overlay, 0 16px 48px rgba(0, 0, 0, .22)); overflow: hidden; margin: auto; }
.sp-sheet-head { padding: 16px 18px; border-bottom: 1px solid var(--ws-line-alt); }
.sp-sheet-head .l { font-size: 11px; color: var(--ws-text-alternative); margin-bottom: 3px; }
.sp-sheet-head .n { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-sheet-list { padding: 6px; }
.sp-sheet-list button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px;
  border-radius: 10px; cursor: pointer; border: none; background: transparent;
  font-family: inherit; font-size: 14px; font-weight: 500; color: #171717; text-align: left;
  transition: background .12s ease;
}
.sp-sheet-list button:hover { background: var(--ws-bg-alt); }
.sp-sheet-list button i { font-size: 19px; }
.sp-sheet-list button.danger { color: #E5484D; }

/* 연결 상품 선택 */
.sp-link-banner {
  display: flex; align-items: center; gap: 10px; background: #EFF3FF;
  border-radius: 12px; padding: 12px 16px; flex-wrap: wrap;
}
.sp-link-banner i { font-size: 18px; color: #3366FF; }
.sp-link-banner .t { font-size: 13px; font-weight: 600; color: #2A4FD6; }
.sp-link-banner .n { margin-left: auto; font-size: 12px; font-weight: 600; color: #3366FF; }
.sp-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-link-item {
  display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px;
  border: 1px solid var(--ws-line-strong); background: #fff; cursor: pointer;
  font-family: inherit; text-align: left; transition: all .12s ease;
}
.sp-link-item.on { border-color: #3366FF; background: #F5F8FF; }
.sp-link-item .th {
  width: 52px; height: 44px; border-radius: 8px; background: #EBF1FF;
  display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.sp-link-item .th i { font-size: 17px; color: #2A4FD6; }
.sp-link-item .th img { width: 100%; height: 100%; object-fit: cover; }
.sp-link-item .tx { flex: 1; min-width: 0; }
.sp-link-item .tag { font-size: 11px; font-weight: 600; color: #2A4FD6; }
.sp-link-item .nm { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* 운영시간 */
.sp-days { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-day {
  min-width: 40px; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0;
  border-radius: 10px; border: 1px solid var(--ws-line-strong); background: #fff;
  color: var(--ws-text-alternative); cursor: pointer; font-family: inherit; transition: all .12s ease;
}
.sp-day.on { border-color: #3366FF; background: #EBF1FF; color: #2A4FD6; }
.sp-time-row { display: flex; align-items: center; gap: 10px; }
.sp-time-row .sep { color: var(--ws-text-assistive); }

/* QR 모달 */
.sp-qr { padding: 24px; text-align: center; }
.sp-qr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sp-qr-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.sp-qr-box {
  width: 200px; height: 200px; margin: 0 auto; border-radius: 16px; background: var(--ws-bg-alt);
  border: 1px solid var(--ws-line-alt); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sp-qr-box canvas, .sp-qr-box img, .sp-qr-box table { max-width: 176px; max-height: 176px; }
.sp-qr-name { margin: 16px 0 4px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-qr-desc { margin: 0 0 18px; font-size: 12px; color: var(--ws-text-alternative); }

/* 토스트 */
.sp-toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(8px);
  z-index: 1400; display: flex; align-items: center; gap: 10px;
  background: #171719; color: #fff; border-radius: 12px; padding: 13px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22); font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  max-width: min(420px, calc(100vw - 32px));
}
.sp-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.sp-toast i { font-size: 18px; color: #5B9CFF; flex: none; }

/* ---------- 모바일 ---------- */
@media (max-width: 760px) {
  .sp-scroll { padding: 16px 14px calc(92px + var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))); }
  .sp-toolbar { flex-wrap: wrap; }
  .sp-hide-sm { display: none !important; }
  .sp-kpis { grid-template-columns: 1fr 1fr; }
  .sp-table { min-width: 720px; }
  .sp-sort { margin-left: 0; }
  .sp-modal { width: 100% !important; max-width: 100% !important; height: 100%; max-height: 100%; border-radius: 0; }
  .sp-dim { padding: 0; }
  .sp-modal-body { padding: 18px 18px 12px; gap: 22px; }
  .sp-grid2 { grid-template-columns: 1fr; }
  .sp-checkin-grid { grid-template-columns: 1fr; }
  .sp-link-grid { grid-template-columns: 1fr; }
  .sp-req-acts { flex-direction: column; }
  .sp-req-acts .grow { width: 100%; }
  .sp-wz .sp-wz-step { display: none; }
  .sp-wz .sp-wz-step.active { display: block; }
  .sp-wz .sp-wz-foot-desktop { display: none; }
  .sp-wz .sp-wz-foot-mobile { display: flex; }
  .sp-wz .sp-wz-progress { display: block; }
  .sp-dim.center { align-items: center; }
  .sp-dim.center .sp-sheet { border-radius: 18px; }
  .sp-modal--xs { height: auto; max-height: calc(100vh - 48px); border-radius: 20px !important; width: 340px !important; }
}
