/* 설정 창 통일(D21) 웹 공통 부품. 2026-10-15 클로드2.
   기준: .local/room-waiting-impl-20261015/c2/settings-unify/DESIGN-SETTINGS.md · common.css(B 토큰), D20 룸 설정 정돈안,
         시안 검수 minor(머리 흰 바탕 · 흐린 줄 '바로 저장' 회색 · '더 보기'와 글자 칸 이름 겹침 없음 · 토스트는 위쪽).
   쓰는 곳: public/waiting-m.html(#set-ov 자리) · public/waiting-event-admin.html. <link rel="stylesheet" href="/waiting-settings-kit.css">
   규칙: 모든 클래스는 wsk- 로 시작하고, 모든 규칙은 .wsk 뿌리 안에서만 걸린다(두 화면의 button·input·label 전역 모양을 이긴다).
         색 변수도 --wsk- 로만 만든다(두 화면의 --ink·--line 등을 덮지 않는다). 매장색은 쓰지 않는다(색 고르기 견본만).
   폭 640px 이상 = 가운데 창(600, 넓은 표는 860) / 미만 = 앱과 같은 모양(전체 화면 + 아래에서 올라오는 상세 창). */

:root {
  --wsk-paper: #FFFFFF; --wsk-mist: #F5F6F8; --wsk-soft: #F1F2F5; --wsk-line: #ECEEF1; --wsk-edge: #DDE0E5; --wsk-dash: #D7DADF;
  --wsk-ink: #191B20; --wsk-ink2: #4B515C; --wsk-ink3: #666C77; --wsk-off: #A3A8B0;
  --wsk-go: #0B6E48; --wsk-goDot: #1E9E68; --wsk-goBg: #EEF7F2;
  --wsk-red: #B42318; --wsk-redBg: #FEF3F2;
  --wsk-swOff: #D5D8DD; --wsk-dim: rgba(25, 27, 32, .38); --wsk-saveOff: #C9CCD2; --wsk-focus: #8FA3D9;
  --wsk-fs-title: 20px; --wsk-fs-sheet: 19px; --wsk-fs-grp: 17px; --wsk-fs-row: 16.5px; --wsk-fs-in: 16px;
  --wsk-fs-body: 15px; --wsk-fs-label: 14px; --wsk-fs-sub: 13.5px; --wsk-fs-tag: 12px;
  --wsk-gut: 20px; --wsk-tap: 44px; --wsk-r-s: 10px; --wsk-r-m: 12px; --wsk-r-l: 14px; --wsk-r-xl: 20px;
}

html.wsk-lock, html.wsk-lock body { overflow: hidden !important; }

/* ───────── 0. 뿌리 ───────── */
.wsk { font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif; color: var(--wsk-ink); font-size: 15px; line-height: normal; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 1; letter-spacing: -0.01em; text-align: left; }
.wsk, .wsk *, .wsk *::before, .wsk *::after { box-sizing: border-box; }
.wsk :where(b, small, span, i, em, p, ul, li, label, section) { margin: 0; padding: 0; }
.wsk [hidden] { display: none !important; }
/* 버튼 바탕 되돌리기: 두 화면의 'button'·'.event-admin button'(0,1,1)보다 세고 아래 부품 클래스(0,2,0)보다 약하게 body 를 붙인다 */
body .wsk button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-height: 0; width: auto; box-shadow: none; text-align: inherit; cursor: pointer; text-decoration: none; }
body .wsk button:disabled { opacity: 1; cursor: default; }
/* 누를 때 바탕: '.event-admin button:hover:not(:disabled)'(0,3,1)를 이기도록 한 규칙으로 모으고, 부품마다 --wsk-hbg(바탕)·--wsk-hbd(테두리 색)만 정한다 */
.wsk.wsk button:hover:not(:disabled) { background-color: var(--wsk-hbg, transparent); border-color: var(--wsk-hbd, var(--wsk-line)); }
.wsk :focus { outline: none; }
.wsk :focus-visible { outline: 3px solid var(--wsk-focus); outline-offset: 2px; }
.wsk .wsk-dlg:focus, .wsk .wsk-sheet:focus, .wsk .wsk-cf:focus { outline: none; }   /* 열 때 창 자체에 둔 초점은 테두리를 그리지 않는다 */
.wsk svg { flex: none; }

/* ───────── 1. 겹 창(설정 첫 화면 · 상세 창) ───────── */
.wsk.wsk-ov { position: fixed; inset: 0; z-index: 1000; background: var(--wsk-dim); display: flex; align-items: center; justify-content: center; padding: 24px; }
.wsk.wsk-ov[hidden] { display: none !important; }
.wsk.wsk-ov .wsk.wsk-ov { background: rgba(25, 27, 32, .26); }
.wsk .wsk-dlg { position: relative; width: 600px; max-width: 100%; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; background: var(--wsk-paper); border-radius: var(--wsk-r-xl); overflow: hidden; box-shadow: 0 18px 48px rgba(25, 27, 32, .18); }
.wsk .wsk-dlg.wsk-wide { width: 860px; }

/* 머리: 넓으면 오른쪽 ×, 좁으면(앱 모양) 왼쪽 ‹. 흰 바탕(반투명 아님). [저장]·[닫기]는 머리에 두지 않는다 */
.wsk .wsk-hd { flex: none; display: flex; align-items: center; gap: 2px; padding: 14px 8px 12px 24px; background: #FFFFFF; border-bottom: 1px solid var(--wsk-line); }
.wsk .wsk-hd .wsk-bk { display: none; }
.wsk .wsk-tt { flex: 1; min-width: 0; }
.wsk .wsk-tt > b { display: block; font-size: var(--wsk-fs-title); font-weight: 700; letter-spacing: -0.03em; color: var(--wsk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk .wsk-tt > span { display: block; margin-top: 3px; font-size: var(--wsk-fs-sub); font-weight: 500; color: var(--wsk-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk .wsk-x, .wsk .wsk-bk, .wsk .wsk-sbk { flex: none; width: var(--wsk-tap); height: var(--wsk-tap); display: inline-flex; align-items: center; justify-content: center; color: var(--wsk-ink3); border-radius: var(--wsk-r-s); background: none; border: 0; }
.wsk .wsk-x, .wsk .wsk-bk, .wsk .wsk-sbk { --wsk-hbg: var(--wsk-soft); }
.wsk .wsk-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 8px 24px 26px; }

/* 맨 아래 [저장] 하나 + '고친 곳 N곳' */
.wsk .wsk-bar { flex: none; padding: 12px 24px 20px; background: #FFFFFF; border-top: 1px solid var(--wsk-line); }
.wsk .wsk-dirty { text-align: center; font-size: 12.5px; font-weight: 500; color: var(--wsk-ink2); margin-bottom: 8px; }
.wsk .wsk-bar-err { text-align: center; font-size: var(--wsk-fs-sub); line-height: 1.5; font-weight: 500; color: var(--wsk-red); margin-bottom: 8px; }
.wsk .wsk-save { width: 100%; height: 54px; border-radius: var(--wsk-r-l); background: var(--wsk-ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: var(--wsk-fs-in); font-weight: 600; border: 0; }
.wsk .wsk-save { --wsk-hbg: #2A2D35; }
.wsk .wsk-save:disabled, .wsk .wsk-save.wsk-dis { background: var(--wsk-saveOff); cursor: default; --wsk-hbg: var(--wsk-saveOff); }

/* 상세 창: 넓으면 가운데 창 520, 좁으면 아래에서 올라옴 */
.wsk .wsk-sheet { position: relative; width: 520px; max-width: 100%; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; background: var(--wsk-paper); border-radius: var(--wsk-r-xl); padding: 18px 24px 22px; box-shadow: 0 18px 48px rgba(25, 27, 32, .2); }
.wsk .wsk-sheet.wsk-wide { width: 860px; }
.wsk .wsk-grab { display: none; flex: none; width: 40px; height: 4px; border-radius: 2px; background: var(--wsk-dash); margin: 4px auto 10px; }
.wsk .wsk-sht { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wsk .wsk-sht > b { flex: 1; min-width: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: var(--wsk-fs-sheet); font-weight: 700; letter-spacing: -0.02em; color: var(--wsk-ink); }
.wsk .wsk-sht .wsk-x { justify-content: center; margin-right: -10px; }
.wsk .wsk-sht .wsk-sbk { width: 36px; justify-content: flex-start; margin-left: -6px; }
.wsk .wsk-sbody { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; margin: 0 -6px; padding: 0 6px 2px; }
.wsk .wsk-err-line { flex: none; margin-top: 14px; font-size: var(--wsk-fs-sub); line-height: 1.5; font-weight: 500; color: var(--wsk-red); }
.wsk .wsk-sfoot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wsk .wsk-side { min-height: var(--wsk-tap); display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--wsk-fs-body); font-weight: 600; color: var(--wsk-ink2); background: none; border: 0; }
.wsk .wsk-side.wsk-red { color: var(--wsk-red); }
.wsk .wsk-side:disabled { color: var(--wsk-off); }
.wsk .wsk-side:disabled .wsk-tag-now { background: var(--wsk-soft); color: var(--wsk-off); }
.wsk .wsk-ok { flex: none; height: 50px; padding: 0 30px; margin-left: auto; border-radius: var(--wsk-r-l); background: var(--wsk-ink); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: var(--wsk-fs-in); font-weight: 600; border: 0; }
.wsk .wsk-ok { --wsk-hbg: #2A2D35; }
.wsk .wsk-ok.wsk-line { background: #FFFFFF; color: var(--wsk-ink); box-shadow: inset 0 0 0 1px var(--wsk-edge); --wsk-hbg: var(--wsk-mist); }
.wsk .wsk-ok:disabled { background: var(--wsk-saveOff); color: #FFFFFF; box-shadow: none; }
.wsk .wsk-snote { flex: none; margin-top: 8px; font-size: var(--wsk-fs-sub); line-height: 1.6; color: var(--wsk-ink3); }

/* ───────── 2. 묶음 · 줄 ───────── */
.wsk .wsk-grp { margin-top: 26px; }
.wsk .wsk-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.wsk .wsk-gh > b { font-size: var(--wsk-fs-grp); font-weight: 700; letter-spacing: -0.02em; color: var(--wsk-ink); }
.wsk .wsk-gh > small { font-size: var(--wsk-fs-sub); font-weight: 500; color: var(--wsk-ink3); }
.wsk .wsk-ctx { margin-top: 14px; display: flex; align-items: center; gap: 10px; width: 100%; background: var(--wsk-mist); border-radius: var(--wsk-r-l); padding: 12px 10px 12px 16px; min-height: 64px; border: 0; text-align: left; color: var(--wsk-ink); --wsk-hbg: var(--wsk-soft); }
.wsk .wsk-ctx .wsk-tx > small { display: block; font-size: 12.5px; font-weight: 500; color: var(--wsk-ink3); }
.wsk .wsk-ctx .wsk-tx > b { display: block; margin-top: 2px; font-size: var(--wsk-fs-row); font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wsk .wsk-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 0; min-height: 64px; background: none; border: 0; border-radius: 0; color: var(--wsk-ink); text-align: left; }
.wsk .wsk-row + .wsk-row { border-top: 1px solid var(--wsk-line); }
.wsk button.wsk-row:hover .wsk-tx > b, .wsk label.wsk-row:hover .wsk-tx > b { text-decoration: underline; text-decoration-color: var(--wsk-edge); text-underline-offset: 3px; }
.wsk label.wsk-row { cursor: pointer; }
.wsk .wsk-tx { flex: 1; min-width: 0; display: block; }
.wsk .wsk-tx > b { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--wsk-fs-row); font-weight: 600; letter-spacing: -0.02em; color: var(--wsk-ink); }
.wsk .wsk-tx > span { display: block; margin-top: 3px; font-size: var(--wsk-fs-sub); line-height: 1.5; font-weight: 500; color: var(--wsk-ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsk .wsk-tx > span.wsk-wrapline, .wsk .wsk-tx > span.wsk-reason { white-space: normal; }
.wsk .wsk-tx > span.wsk-row-err { white-space: normal; color: var(--wsk-red); }
.wsk .wsk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin: 0 2px; }
.wsk .wsk-end { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--wsk-tap); color: var(--wsk-ink3); }
.wsk .wsk-chev { flex: none; width: 16px; height: 16px; }
.wsk .wsk-row.wsk-off, .wsk .wsk-row:disabled { cursor: default; }
.wsk .wsk-row.wsk-off .wsk-tx > b, .wsk .wsk-row:disabled .wsk-tx > b { color: var(--wsk-off); text-decoration: none; }
.wsk .wsk-row.wsk-off .wsk-tag-now, .wsk .wsk-row:disabled .wsk-tag-now, .wsk .wsk-swr.wsk-off .wsk-tag-now { background: var(--wsk-soft); color: var(--wsk-off); }
.wsk .wsk-row.wsk-off .wsk-end, .wsk .wsk-row:disabled .wsk-end { color: var(--wsk-off); }
.wsk .wsk-row.wsk-changed .wsk-tx > span:first-of-type { color: var(--wsk-ink); }
.wsk .wsk-row.wsk-ro .wsk-end { font-size: var(--wsk-fs-sub); font-weight: 500; }

/* 꼬리표: 한 가지 모양, 뜻별 색 */
.wsk .wsk-tag { font-style: normal; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: var(--wsk-fs-tag); line-height: 1; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.wsk .wsk-tag-now { background: var(--wsk-goBg); color: var(--wsk-go); }
.wsk .wsk-tag-paid { background: #FFFFFF; color: var(--wsk-ink2); box-shadow: inset 0 0 0 1px var(--wsk-edge); }
.wsk .wsk-tag-web { background: var(--wsk-soft); color: var(--wsk-ink3); }
.wsk .wsk-tag-new { background: var(--wsk-soft); color: var(--wsk-ink); font-weight: 700; }

/* 스위치(46×28, 켬 = 초록). 속은 체크 칸이라 지금 화면의 .checked 읽기가 그대로 된다 */
.wsk .wsk-tg { position: relative; flex: none; display: inline-block; width: 46px; height: 28px; }
.wsk .wsk-tg input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.wsk .wsk-tg i { position: absolute; inset: 0; border-radius: 14px; background: var(--wsk-swOff); transition: background-color .15s; pointer-events: none; }
.wsk .wsk-tg i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); transition: left .15s; }
.wsk .wsk-tg input:checked + i { background: var(--wsk-go); }
.wsk .wsk-tg input:checked + i::after { left: 21px; }
.wsk .wsk-tg input:disabled { cursor: default; }
.wsk .wsk-tg input:disabled + i { opacity: .45; }
.wsk .wsk-tg input:focus-visible + i { outline: 3px solid var(--wsk-focus); outline-offset: 2px; }

/* 줄 오른쪽 작은 버튼(즉시 동작) · 잠금 값 */
.wsk .wsk-rbtn { flex: none; height: 40px; padding: 0 14px; border-radius: var(--wsk-r-m); border: 1px solid var(--wsk-edge); background: #FFFFFF; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--wsk-ink); white-space: nowrap; }
.wsk .wsk-rbtn { --wsk-hbg: var(--wsk-mist); --wsk-hbd: var(--wsk-edge); }
.wsk .wsk-rbtn:disabled, .wsk .wsk-rbtn.wsk-dis { color: var(--wsk-off); border-style: dashed; background: #FFFFFF; --wsk-hbg: #FFFFFF; }
.wsk .wsk-lockv { font-size: var(--wsk-fs-sub); font-weight: 500; color: var(--wsk-ink3); }

/* 창 안 스위치 줄(설명 여러 줄) */
.wsk .wsk-swr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; cursor: pointer; }
.wsk .wsk-swr + .wsk-swr, .wsk .wsk-row + .wsk-swr, .wsk .wsk-swr + .wsk-row { border-top: 1px solid var(--wsk-line); }
.wsk .wsk-swr .wsk-tx > b { font-size: var(--wsk-fs-body); }
.wsk .wsk-swr .wsk-tx > span { white-space: normal; line-height: 1.5; }
.wsk .wsk-swr.wsk-off { cursor: default; }
.wsk .wsk-swr.wsk-off .wsk-tx > b { color: var(--wsk-off); }

/* 안내 한 줄 · 띠 · 소제목 */
.wsk .wsk-note { margin-top: 8px; font-size: var(--wsk-fs-sub); line-height: 1.6; font-weight: 500; color: var(--wsk-ink3); }
.wsk .wsk-note b { color: var(--wsk-ink2); font-weight: 600; }
.wsk .wsk-note.wsk-red { color: var(--wsk-red); }
.wsk .wsk-band { margin-top: 12px; border-radius: var(--wsk-r-m); padding: 10px 14px; font-size: var(--wsk-fs-sub); line-height: 1.55; font-weight: 500; background: var(--wsk-mist); color: var(--wsk-ink2); }
.wsk .wsk-band.wsk-err { background: var(--wsk-redBg); color: var(--wsk-red); }
.wsk .wsk-band.wsk-ok { background: var(--wsk-goBg); color: var(--wsk-go); }
.wsk .wsk-subh { display: block; margin-top: 22px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--wsk-ink); }
.wsk .wsk-subh + .wsk-seg, .wsk .wsk-subh + .wsk-st2, .wsk .wsk-subh + .wsk-hrs { margin-top: 10px; }
.wsk .wsk-subh + .wsk-colors { margin-top: 12px; }

/* 더 보기(접힘): 이름이 글자 칸(.wsk-in)과 겹치지 않게 wsk-more / 창 안은 wsk-insheet */
.wsk .wsk-more { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; margin-top: 26px; padding: 0; background: none; border: 0; border-top: 1px solid var(--wsk-line); border-bottom: 1px solid var(--wsk-line); border-radius: 0; text-align: left; color: var(--wsk-ink); }
.wsk .wsk-more.wsk-insheet { margin-top: 18px; }
.wsk .wsk-more > b { flex: none; font-size: 15.5px; font-weight: 600; }
.wsk .wsk-more > span { min-width: 0; display: inline-flex; align-items: center; gap: 4px; font-size: var(--wsk-fs-sub); font-weight: 500; color: var(--wsk-ink3); }
.wsk .wsk-more .wsk-msum { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wsk .wsk-more .wsk-mfold { display: none; }
.wsk .wsk-more[aria-expanded="true"] .wsk-msum { display: none; }
.wsk .wsk-more[aria-expanded="true"] .wsk-mfold { display: inline; }
.wsk .wsk-more[aria-expanded="true"] .wsk-chev { transform: rotate(-90deg); }

/* 위험 동작: 빨강 글자 버튼(채우지 않음) + 바로 아래 경고 한 줄 */
.wsk .wsk-danger { margin-top: 30px; padding-top: 6px; }
.wsk .wsk-danger.wsk-inline { margin-top: 14px; padding-top: 0; }
.wsk .wsk-del { min-height: var(--wsk-tap); display: inline-flex; align-items: center; font-size: var(--wsk-fs-body); font-weight: 600; color: var(--wsk-red); background: none; border: 0; }
.wsk .wsk-del:hover { text-decoration: underline; text-underline-offset: 3px; }
.wsk .wsk-del:disabled { color: var(--wsk-off); text-decoration: none; }
.wsk .wsk-danger .wsk-note { margin-top: 2px; }

/* ───────── 3. 칸 ───────── */
.wsk .wsk-fl { margin-top: 16px; }
.wsk .wsk-lab { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: var(--wsk-fs-label); font-weight: 600; color: var(--wsk-ink2); }
.wsk .wsk-lab > small { font-size: 13px; font-weight: 500; color: var(--wsk-ink3); text-align: right; }
.wsk .wsk-in { display: flex; align-items: center; gap: 8px; height: 48px; border-radius: var(--wsk-r-m); background: var(--wsk-mist); padding: 0 14px; box-shadow: inset 0 0 0 1.5px transparent; }
.wsk .wsk-in:focus-within { box-shadow: inset 0 0 0 1.5px var(--wsk-ink3); }
.wsk .wsk-in.wsk-bad { box-shadow: inset 0 0 0 1.5px var(--wsk-red); }
.wsk .wsk-in input { flex: 1; min-width: 0; width: auto; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; font: inherit; font-size: var(--wsk-fs-in); font-weight: 500; color: var(--wsk-ink); }
.wsk .wsk-in input::placeholder, .wsk .wsk-ta textarea::placeholder { color: var(--wsk-off); opacity: 1; }
.wsk .wsk-cnt { flex: none; font-size: 12.5px; font-weight: 500; color: var(--wsk-ink3); white-space: nowrap; }
.wsk .wsk-ta { border-radius: var(--wsk-r-m); background: var(--wsk-mist); padding: 12px 14px; box-shadow: inset 0 0 0 1.5px transparent; }
.wsk .wsk-ta:focus-within { box-shadow: inset 0 0 0 1.5px var(--wsk-ink3); }
.wsk .wsk-ta.wsk-bad { box-shadow: inset 0 0 0 1.5px var(--wsk-red); }
.wsk .wsk-ta textarea { display: block; width: 100%; min-height: 52px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; resize: vertical; font: inherit; font-size: var(--wsk-fs-body); line-height: 1.5; color: var(--wsk-ink); }
.wsk .wsk-cnt-line { margin-top: 4px; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--wsk-ink3); }
.wsk .wsk-cnt.wsk-over, .wsk .wsk-cnt-line.wsk-over { color: var(--wsk-red); font-weight: 600; }
.wsk .wsk-field-err { margin-top: 6px; font-size: var(--wsk-fs-sub); line-height: 1.5; font-weight: 500; color: var(--wsk-red); }

/* 숫자 [−][+]: 값을 눌러 직접 입력, 끝 값이면 버튼 점선 */
.wsk .wsk-st2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.wsk .wsk-stp { min-width: 0; border-radius: var(--wsk-r-m); background: var(--wsk-mist); padding: 10px 12px 12px; box-shadow: inset 0 0 0 1.5px transparent; }
.wsk .wsk-stp.wsk-bad { box-shadow: inset 0 0 0 1.5px var(--wsk-red); }
.wsk .wsk-stp.wsk-off { opacity: .5; }
.wsk .wsk-stp > small { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 6px; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--wsk-ink3); }   /* 좁으면 범위 글자가 다음 줄로(자르지 않음) */
.wsk .wsk-stp > small > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wsk .wsk-stp > div { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.wsk .wsk-pm { flex: none; width: 40px; height: 40px; border-radius: var(--wsk-r-s); background: #FFFFFF; border: 1px solid var(--wsk-edge); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--wsk-ink2); }
.wsk .wsk-pm { --wsk-hbg: var(--wsk-soft); --wsk-hbd: var(--wsk-edge); }
.wsk .wsk-pm.wsk-dis { color: var(--wsk-off); border-style: dashed; background: #FFFFFF; --wsk-hbg: #FFFFFF; }
.wsk .wsk-num { min-width: 0; display: inline-flex; align-items: baseline; justify-content: center; }
.wsk .wsk-num input { width: calc(var(--wsk-digits, 3) * 0.62em + 6px); min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0 2px; border: 0; border-radius: 6px; background: transparent; box-shadow: none; outline: none; text-align: center; font: inherit; font-size: 20px; font-weight: 600; color: var(--wsk-ink); -moz-appearance: textfield; appearance: textfield; }
.wsk .wsk-num input:focus { background: #FFFFFF; }
.wsk .wsk-num input::-webkit-outer-spin-button, .wsk .wsk-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wsk .wsk-num em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--wsk-ink3); margin-left: 1px; }

/* 시각 고르기(30분·15분 목록) */
.wsk .wsk-hrs { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.wsk .wsk-hrs > em { flex: none; font-style: normal; color: var(--wsk-ink3); }
.wsk .wsk-pk { position: relative; flex: 1; min-width: 0; height: 52px; display: flex; flex-direction: column; justify-content: center; border-radius: var(--wsk-r-m); background: var(--wsk-mist); padding: 0 34px 0 14px; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; }
.wsk .wsk-pk.wsk-bad { box-shadow: inset 0 0 0 1.5px var(--wsk-red); }
.wsk .wsk-pk > small { display: block; font-size: 12px; font-weight: 500; color: var(--wsk-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk .wsk-pk select { display: block; width: 100%; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; font: inherit; font-size: var(--wsk-fs-in); font-weight: 600; color: var(--wsk-ink); cursor: pointer; }
.wsk .wsk-pk .wsk-chev { position: absolute; right: 12px; top: 50%; margin-top: -7px; width: 14px; height: 14px; pointer-events: none; }
.wsk .wsk-pk:focus-within { box-shadow: inset 0 0 0 1.5px var(--wsk-ink3); }

/* 둘 중 하나(짧은 이름) */
.wsk .wsk-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wsk .wsk-seg.wsk-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wsk .wsk-seg.wsk-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wsk .wsk-seg > label { position: relative; display: block; min-width: 0; cursor: pointer; font-weight: inherit; }
.wsk .wsk-seg input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.wsk .wsk-seg span { height: 48px; border-radius: var(--wsk-r-m); border: 1px solid var(--wsk-edge); display: flex; align-items: center; justify-content: center; padding: 0 6px; font-size: var(--wsk-fs-body); font-weight: 600; color: var(--wsk-ink3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsk .wsk-seg input:checked + span { border: 1.5px solid var(--wsk-ink); color: var(--wsk-ink); }
.wsk .wsk-seg input:focus-visible + span { outline: 3px solid var(--wsk-focus); outline-offset: 2px; }
.wsk .wsk-seg input:disabled { cursor: default; }
.wsk .wsk-seg input:disabled + span { opacity: .5; }

/* 고르기 줄(설명·요금이 붙을 때) */
.wsk .wsk-ch { margin-top: 6px; }
.wsk .wsk-optw + .wsk-optw { border-top: 1px solid var(--wsk-line); }
.wsk .wsk-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; cursor: pointer; font-weight: inherit; }
.wsk .wsk-opt > input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; margin: 0; opacity: 0; pointer-events: none; }
.wsk .wsk-opt .wsk-tx > b { font-size: var(--wsk-fs-body); color: var(--wsk-ink2); }
.wsk .wsk-opt .wsk-tx > span { margin-top: 4px; white-space: normal; line-height: 1.55; }
.wsk .wsk-ck { position: relative; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--wsk-edge); background: #FFFFFF; }
.wsk .wsk-opt input:checked ~ .wsk-tx > b { color: var(--wsk-ink); }
.wsk .wsk-opt input:checked ~ .wsk-ck { border-color: var(--wsk-ink); background: var(--wsk-ink); }
.wsk .wsk-opt input:checked ~ .wsk-ck::after { content: ''; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wsk .wsk-opt input:focus-visible ~ .wsk-ck { outline: 3px solid var(--wsk-focus); outline-offset: 2px; }
.wsk .wsk-opt.wsk-off { cursor: default; }
.wsk .wsk-opt.wsk-off .wsk-tx > b { color: var(--wsk-off); }
.wsk .wsk-opt.wsk-off .wsk-ck { border-style: dashed; }
.wsk .wsk-opt-extra { padding: 0 0 12px; margin-top: -6px; }

/* 색 고르기(12색 + 웹만 '직접') */
.wsk .wsk-colors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.wsk .wsk-colors > label { position: relative; justify-self: center; display: block; width: 40px; height: 40px; cursor: pointer; }
.wsk .wsk-colors input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.wsk .wsk-colors i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; pointer-events: none; font-style: normal; }
.wsk .wsk-colors input:checked + i, .wsk .wsk-colors .wsk-own.wsk-on i { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--wsk-ink); }
.wsk .wsk-colors input:focus-visible + i { outline: 3px solid var(--wsk-focus); outline-offset: 5px; }
.wsk .wsk-colors .wsk-own i { background: #FFFFFF; border: 1px dashed var(--wsk-ink3); font-size: 12px; font-weight: 600; color: var(--wsk-ink3); }
.wsk .wsk-colors .wsk-own[data-wsk-picked] i { border: 0; }

/* 사진(로고) 칸 · 버튼 · 링크 */
.wsk .wsk-logo { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.wsk .wsk-logo .wsk-pv { flex: none; width: 92px; height: 92px; border-radius: var(--wsk-r-l); background: var(--wsk-mist); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 13px; font-weight: 600; color: var(--wsk-ink3); }
.wsk .wsk-logo .wsk-pv img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.wsk .wsk-logo .wsk-act { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wsk .wsk-btn { height: 46px; border-radius: var(--wsk-r-m); border: 1px solid var(--wsk-edge); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; font-size: var(--wsk-fs-body); font-weight: 600; color: var(--wsk-ink); text-decoration: none; white-space: nowrap; }
.wsk .wsk-btn { --wsk-hbg: var(--wsk-mist); --wsk-hbd: var(--wsk-edge); }
.wsk .wsk-btn.wsk-ink { background: var(--wsk-ink); color: #FFFFFF; border-color: var(--wsk-ink); --wsk-hbg: #2A2D35; --wsk-hbd: var(--wsk-ink); }
.wsk .wsk-btn.wsk-full { width: 100%; }
.wsk.wsk .wsk-btn:disabled { opacity: .5; }
.wsk .wsk-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.wsk .wsk-tbtn { min-height: var(--wsk-tap); display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--wsk-ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; }
.wsk .wsk-tbtn + .wsk-tbtn { margin-left: 18px; }
.wsk .wsk-link { display: block; margin-top: 12px; height: 48px; line-height: 48px; border-radius: var(--wsk-r-m); background: var(--wsk-mist); padding: 0 14px; font-size: 14.5px; font-weight: 500; color: var(--wsk-ink2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wsk .wsk-views { margin-top: 8px; font-size: var(--wsk-fs-sub); font-weight: 500; color: var(--wsk-ink3); }

/* 켜기 전 기기 점검(동의 칸은 꺼진 채 시작) */
.wsk .wsk-devchk { margin-top: 16px; border-radius: var(--wsk-r-m); border: 1px solid var(--wsk-edge); padding: 12px 14px; text-align: left; }
.wsk .wsk-devchk .wsk-lead { margin-bottom: 6px; font-size: var(--wsk-fs-sub); line-height: 1.55; font-weight: 500; color: var(--wsk-ink2); }
.wsk .wsk-devchk > b { display: block; font-size: 14px; font-weight: 700; color: var(--wsk-ink); }
.wsk .wsk-devchk ul { list-style: none; margin: 6px 0 0; padding: 0; }
.wsk .wsk-devchk li { font-size: var(--wsk-fs-sub); line-height: 1.6; color: var(--wsk-ink2); }
.wsk .wsk-ack { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 10px; min-height: var(--wsk-tap); font-size: 14px; font-weight: 600; color: var(--wsk-ink); cursor: pointer; }
.wsk .wsk-ack input { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; min-height: 0; margin: -11px 0 0; opacity: 0; cursor: pointer; }
.wsk .wsk-ack i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--wsk-edge); background: #FFFFFF; }
.wsk .wsk-ack input:checked + i { background: var(--wsk-ink); border-color: var(--wsk-ink); }
.wsk .wsk-ack input:checked + i::after { content: ''; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wsk .wsk-ack input:focus-visible + i { outline: 3px solid var(--wsk-focus); outline-offset: 2px; }

/* ───────── 4. 확인 창 · 토스트 ───────── */
.wsk.wsk-cf-ov { position: fixed; inset: 0; z-index: 2000; background: var(--wsk-dim); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wsk .wsk-cf { width: min(360px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #FFFFFF; border-radius: 18px; padding: 22px 20px 16px; box-shadow: 0 18px 48px rgba(25, 27, 32, .22); }
.wsk .wsk-cf > b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--wsk-ink); }
.wsk .wsk-cf > p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--wsk-ink2); }
.wsk .wsk-cf > p + p { margin-top: 6px; }
.wsk .wsk-cfb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 18px; }
.wsk .wsk-cfb.wsk-one { grid-template-columns: minmax(0, 1fr); }
.wsk .wsk-cfb button { height: 48px; border-radius: var(--wsk-r-m); display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font-size: var(--wsk-fs-body); font-weight: 600; border: 0; }
.wsk .wsk-cfb .wsk-no { background: var(--wsk-soft); color: var(--wsk-ink); }
.wsk .wsk-cfb .wsk-no { --wsk-hbg: var(--wsk-line); }
.wsk .wsk-cfb .wsk-go { background: var(--wsk-ink); color: #FFFFFF; --wsk-hbg: #2A2D35; }
.wsk .wsk-cfb .wsk-go.wsk-red { background: var(--wsk-red); --wsk-hbg: #951D14; }
.wsk .wsk-cfb .wsk-go:disabled { background: var(--wsk-saveOff); color: #FFFFFF; }
/* 토스트는 위쪽(머리 아래 높이)에 뜬다: 맨 끝 위험 경고·바닥 [저장]을 가리지 않게(검수 minor) */
.wsk.wsk-toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 3000; max-width: min(88vw, 520px); background: var(--wsk-ink); color: #FFFFFF; border-radius: var(--wsk-r-m); padding: 12px 18px; font-size: 14.5px; font-weight: 500; line-height: 1.45; text-align: center; pointer-events: none; opacity: 0; transition: opacity .2s; }
.wsk.wsk-toast.wsk-show { opacity: 1; }

/* ───────── 5. 좁은 화면(휴대폰으로 연 웹) = 앱과 같은 모양 ───────── */
@media (max-width: 639.98px) {
  .wsk.wsk-ov { padding: 0; }
  .wsk.wsk-ov:not(.wsk-sheet-ov) { align-items: stretch; justify-content: stretch; }
  .wsk .wsk-dlg, .wsk .wsk-dlg.wsk-wide { width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .wsk .wsk-hd { padding: calc(14px + env(safe-area-inset-top, 0px)) 8px 12px 8px; }
  .wsk .wsk-hd .wsk-bk { display: inline-flex; }
  .wsk .wsk-hd .wsk-x { display: none; }
  .wsk .wsk-body { padding: 8px var(--wsk-gut) 24px; }
  .wsk .wsk-bar { padding: 10px var(--wsk-gut) calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wsk.wsk-sheet-ov { align-items: flex-end; justify-content: center; }
  .wsk .wsk-sheet, .wsk .wsk-sheet.wsk-wide { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: var(--wsk-r-xl) var(--wsk-r-xl) 0 0; padding: 8px var(--wsk-gut) calc(24px + env(safe-area-inset-bottom, 0px)); box-shadow: none; }
  .wsk .wsk-grab { display: block; }
}
/* 폭 360 휴대폰: 숫자 칸 두 개를 나란히 둘 때 세 자리 값(예 500명)도 단위·[+]와 겹치지 않게 버튼 폭·안 여백만 줄인다 */
@media (max-width: 399.98px) {
  .wsk .wsk-stp { padding-left: 9px; padding-right: 9px; }
  .wsk .wsk-pm { width: 36px; }
  .wsk .wsk-stp > div { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .wsk .wsk-tg i, .wsk .wsk-tg i::after, .wsk.wsk-toast { transition: none; }
}
