/* 스쿼시 앱 — 공통 · 색은 목업 값을 변수로 옮겼다 */
:root {
  --bg: #F3F4F1; --ink: #16191D; --ink2: #3A414B; --muted: #575E68; --faint: #6B727C;
  --card: #FFFFFF; --line: #E4E6E1; --line2: #ECEDEA; --line3: #D5D8D2; --dash: #A9AEA6; --chip: #E6E7E3; --seg: #C4C8C0;
  --lime: #D4F25A; --lime-ink: #6E8A00; --lime-bg: #F4F9DE; --dark2: #2A2F36;
  --blue: #1E4FC2; --blue-bg: #E3EAFB; --blue-ink: #163C94;
  --orange: #B23A0A; --orange-bg: #FDE8DA; --orange-ink: #5C2006;
  --red: #B4231A; --red-bg: #FBE3E1; --red-ink: #8E1B14; --red-line: #F2C4BF;
  --green: #17603A; --green-bg: #DDF3E4; --green-ink: #0F4A2A;
  --amber: #7A4F00; --amber-bg: #FFF1CC;
  --font: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.4; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--blue); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* 버튼 · 칩 · 태그 · 배지 */
.btn { min-height: 52px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.btn:disabled { background: var(--chip); color: var(--muted); }
.btn.sec { background: #fff; color: var(--ink); border: 1px solid var(--line3); font-size: 15px; }
.btn.warn { background: #fff; color: var(--red); border: 1px solid var(--red-line); font-size: 14px; }
.btn.danger { background: var(--red); }
.btn.sm { min-height: 44px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
.btn.block { width: 100%; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line3); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.chip.sm { min-height: 40px; font-size: 13px; padding: 0 12px; }
.chip.dash { border-style: dashed; border-color: var(--dash); background: transparent; text-decoration: none; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; display: inline-block; }
.tag.home { background: var(--blue-bg); color: var(--blue); }
.tag.away { background: var(--orange-bg); color: var(--orange); }
.tag.lesson { background: var(--lime); color: var(--ink); }
.tag.walk { background: var(--chip); color: var(--ink2); }
.tag.soon { background: var(--amber-bg); color: var(--amber); }
.tag.off { background: var(--chip); color: var(--ink2); }
.tag.lg { font-size: 12px; padding: 3px 8px; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; display: inline-block; }
.badge.used { background: var(--chip); color: var(--ink2); }
.badge.in { background: var(--green-bg); color: var(--green); }
.badge.wait { background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line3); }
.badge.soon { background: var(--amber-bg); color: var(--amber); }
.badge.noshow { background: var(--red-bg); color: var(--red); }
.badge.excused, .badge.paid, .badge.released { background: var(--blue-bg); color: var(--blue); }
.badge.open { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--seg); }
.badge.lg { font-size: 13px; padding: 4px 10px; }
.card { background: var(--card); border-radius: 14px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--chip); }
.seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-size: 14px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(22,25,29,.12); }
.note { font-size: 12px; color: var(--muted); }
.field { min-height: 48px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line3); display: flex; align-items: center; gap: 8px; color: var(--muted); }
.field input { flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; }
.field:focus-within { outline: 3px solid var(--blue); outline-offset: 1px; }
.textarea { width: 100%; min-height: 64px; resize: none; border: 1px solid var(--line3); border-radius: 10px; padding: 8px 10px; font-size: 14px; background: #fff; }
.dl { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.dl > div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.dl dt { width: 64px; flex-shrink: 0; color: var(--muted); }
.dl dd { line-height: 1.5; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); }
.empty { padding: 20px 16px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--muted); text-align: center; }
.ok-box { padding: 10px 12px; border-radius: 12px; background: var(--green-bg); color: var(--green-ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
.err-box { padding: 8px 12px; border-radius: 10px; background: var(--red-bg); color: var(--red-ink); font-size: 13px; line-height: 1.5; }
.boot-err { padding: 24px; color: var(--red); }

/* 시트(확인 창) */
.sheet-back { position: fixed; inset: 0; background: rgba(22,25,29,.45); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 24px rgba(22,25,29,.16); }
.sheet-title { font-size: 18px; font-weight: 900; }
.sheet-text { font-size: 14px; line-height: 1.6; color: var(--ink2); }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-actions .btn { min-height: 52px; font-size: 15px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); padding: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
.icon-btn.plain { background: transparent; border-radius: 0; }

/* 로그인 */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--bg); }
.login-card { width: 100%; max-width: 380px; background: #fff; border-radius: 20px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 28px rgba(22,25,29,.10); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--lime); font-size: 17px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.login h1 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.login-sub { font-size: 13px; color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.login-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.login-field input { min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line3); font-size: 16px; background: #fff; }
.login-err { min-height: 18px; font-size: 13px; color: var(--red); font-weight: 700; }

/* ===== 회원 · 코치 (휴대폰 390) ===== */
.phone { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; display: flex; flex-direction: column; padding-bottom: 86px; }
.phone.wide-bottom { padding-bottom: 190px; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 8px 20px; }
.ph-head h1 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.ph-head .sub { font-size: 13px; color: var(--muted); }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; height: 76px; background: #fff; border-top: 1px solid var(--line); z-index: 20; }
.bnav-in { max-width: 430px; margin: 0 auto; height: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--faint); font-size: 12px; font-weight: 500; }
.bnav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.bnav a svg { stroke-width: 1.8; }
.bnav a[aria-current="page"] svg { stroke-width: 2; }

/* 회원권 카드 */
.cards-wrap { width: 100%; max-width: 430px; overflow: hidden; padding: 4px 0 6px; }
.cards-track { display: flex; gap: 12px; padding: 0 20px; transition: transform .3s ease; }
.pcard { width: 350px; max-width: calc(100vw - 40px); height: 220px; flex-shrink: 0; border-radius: 16px; padding: 18px 20px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border: 1px solid; }
.pcard.court { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 28px rgba(22,25,29,.18); --sub: #B9BEC6; --tagbg: var(--lime); --tagfg: var(--ink); }
.pcard.lessonp { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 10px 28px rgba(22,25,29,.18); --sub: #3A414B; --tagbg: var(--ink); --tagfg: var(--lime); }
.pcard.back { background: #fff; color: var(--ink); border-color: var(--line3); box-shadow: 0 8px 24px rgba(22,25,29,.10); }
.pcard .sub { color: var(--sub); }
.pcard .row { display: flex; justify-content: space-between; align-items: center; position: relative; }
.pcard .vname { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.pcard .vname .tag { background: var(--tagbg); color: var(--tagfg); }
.pcard .ptype { font-size: 21px; font-weight: 900; letter-spacing: -.02em; position: relative; }
.pcard .big { display: flex; align-items: baseline; gap: 4px; }
.pcard .big b { font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.pcard .big b.word { font-size: 34px; }
.pcard .lines { position: absolute; right: -24px; top: 0; opacity: .14; }
.pcard.back .qrrow { display: flex; gap: 18px; align-items: center; height: 100%; }
.pcard.back .qrrow svg.qr { flex-shrink: 0; }
.pager { display: flex; justify-content: center; align-items: center; }
.pager button { width: 44px; height: 32px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; }
.pager i { display: block; height: 8px; border-radius: 4px; transition: width .2s; background: var(--seg); width: 8px; }
.pager [aria-pressed="true"] i { width: 22px; background: var(--ink); }
.usage { margin: 2px 20px 0; background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.segs { display: flex; gap: 4px; }
.segs i { flex: 1; height: 8px; border-radius: 4px; display: block; }
.segs i.u { background: var(--seg); } .segs i.r { border: 2px solid var(--blue); background: #fff; } .segs i.l { background: var(--ink); } .segs i.all { background: var(--lime-ink); }
.usage .info { display: flex; justify-content: space-between; border-top: 1px solid var(--line2); padding-top: 10px; font-size: 13px; }
.sec-h { display: flex; justify-content: space-between; align-items: center; }
.sec-h h2 { font-size: 17px; font-weight: 700; }
.sec-h a { font-size: 14px; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.list-sec { padding: 14px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.up { background: #fff; border-radius: 14px; padding: 8px 8px 8px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.up .when { font-size: 15px; font-weight: 700; }
.up .where { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); }
.up .cancel { min-height: 44px; padding: 0 12px; border: 0; background: transparent; font-size: 14px; font-weight: 700; flex-shrink: 0; }

/* 예약 */
.vchips { display: flex; gap: 8px; padding: 8px 20px 0; overflow-x: auto; }
.vchips .tag { background: var(--orange-bg); color: var(--orange); }
.vchips .chip[aria-pressed="true"] .tag.home { background: #fff; }
.vinfo { display: flex; justify-content: space-between; align-items: center; padding: 0 12px 0 20px; font-size: 13px; color: var(--muted); }
.vinfo a { font-size: 13px; text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 8px; }
.tabs2 { margin: 0 20px; display: grid; grid-template-columns: 1fr 1fr; }
.callout { margin: 8px 20px 0; padding: 8px 12px; border-radius: 12px; background: var(--orange-bg); color: #7A2A08; font-size: 13px; line-height: 1.5; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 6px 12px 0; }
.days button { border: 0; background: transparent; padding: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.days .dow { font-size: 12px; color: var(--muted); } .days .dow.sat { color: var(--blue); } .days .dow.sun { color: #B4231A; }
.days .n { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.days button[aria-pressed="true"] .n { background: var(--ink); color: #fff; }
.days button.lockd .n { color: var(--seg); }
.grid-wrap { padding: 6px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.grow { display: grid; gap: 6px; align-items: center; }
.grow.head { font-size: 12px; color: var(--muted); text-align: center; }
.grow .time { font-size: 13px; font-weight: 700; color: var(--ink2); }
.cell { height: 44px; border-radius: 10px; font-size: 13px; display: flex; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1px solid var(--line3); font-weight: 500; }
.cell:disabled { }
.cell.taken, .cell.past { background: var(--chip); border-color: var(--chip); color: var(--muted); }
.cell.locked { background: transparent; border: 1px dashed var(--seg); color: var(--muted); }
.cell.sel { background: var(--ink); border-color: var(--ink); color: var(--lime); font-weight: 700; }
.lesson-sec { padding: 4px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.lcard { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; }
.lcard.sel { box-shadow: 0 0 0 2px var(--ink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); color: var(--ink2); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lcard .t { font-size: 14px; font-weight: 700; } .lcard .s { font-size: 12px; color: var(--muted); }
.lbtn { min-height: 44px; min-width: 64px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; flex-shrink: 0; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.lbtn.sel { background: var(--ink); color: var(--lime); }
.lbtn:disabled { background: var(--chip); border-color: var(--chip); color: var(--muted); }
.pickbar { position: fixed; left: 0; right: 0; bottom: 76px; z-index: 15; }
.pickbar-in { max-width: 430px; margin: 0 auto; background: #fff; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; padding: 12px 20px; box-shadow: 0 -6px 20px rgba(22,25,29,.06); }
.pickbar p.hint { min-height: 52px; display: flex; align-items: center; font-size: 14px; color: var(--muted); }
.pickrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pickrow .w { font-size: 15px; font-weight: 700; } .pickrow .v { font-size: 13px; color: var(--ink2); } .pickrow .d { font-size: 12px; font-weight: 700; color: var(--blue); } .pickrow .d.away { color: var(--orange); }
.pickrow .btn { min-height: 52px; flex-shrink: 0; }

/* 이용내역 */
.month { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 20px 0; }
.month span { font-size: 17px; font-weight: 700; }
.hsum { margin: 8px 20px 0; background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hsum .top { display: flex; justify-content: space-between; align-items: baseline; }
.hsum .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.hsum .stats b { font-size: 20px; font-weight: 900; display: block; } .hsum .stats span { font-size: 12px; color: var(--muted); }
.hsum .foot { padding-top: 10px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--muted); }
.filt { display: flex; gap: 8px; padding: 14px 20px 0; }
.hrow { background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.hrow .l1, .hrow .l2 { display: flex; justify-content: space-between; align-items: center; }
.hrow .d { font-size: 15px; font-weight: 700; } .hrow .p { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); }
.hrow .chg { font-size: 13px; font-weight: 700; } .hrow .chg.back { color: var(--blue); }
.hrow .note { font-size: 12px; color: var(--muted); }
.hs { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.hs.s-예약 { border: 1px solid var(--blue); color: var(--blue); background: #fff; } .hs.s-사용 { background: var(--ink); color: #fff; }
.hs.s-취소 { background: var(--chip); color: var(--ink2); } .hs.s-노쇼 { background: var(--red); color: #fff; }
.h2s { font-size: 15px; font-weight: 700; color: var(--ink2); }

/* 다른 스쿼시장 · 상세 */
.vl-head { display: flex; align-items: center; gap: 4px; padding: 12px 20px 4px 8px; }
.vl-head h1 { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.vrow { background: #fff; border-radius: 14px; display: flex; align-items: center; }
.vrow a.main { flex: 1; min-width: 0; padding: 12px 4px 12px 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.vrow .name { font-size: 16px; font-weight: 700; } .vrow .meta { font-size: 13px; color: var(--muted); } .vrow .free { font-size: 12px; font-weight: 700; color: var(--blue); } .vrow .free.none { color: var(--muted); }
.vrow .starb { width: 52px; height: 52px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; margin-right: 4px; }
.hero { height: 220px; background: var(--dark2); position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #D5D8D2; font-size: 14px; }
.hero .circ { position: absolute; top: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; border: 0; padding: 0; text-decoration: none; }
.vsec { padding: 18px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.vsec h1 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.infobox { margin: 16px 20px 0; background: #fff; border-radius: 16px; padding: 4px 16px; }
.infobox .r { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.infobox .r:last-child { border-bottom: 0; }
.infobox .r svg { flex-shrink: 0; color: var(--muted); }
.infobox .r .k { font-weight: 700; } .infobox .r .v { color: var(--ink2); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line3); }
.awaybox { margin: 18px 20px 0; background: var(--orange-bg); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; color: var(--orange-ink); }
.awaybox h2 { font-size: 15px; font-weight: 700; } .awaybox ul { list-style: disc; padding-left: 18px; font-size: 13px; line-height: 1.7; }
.ccard { background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.ccard .n { font-size: 14px; font-weight: 700; } .ccard .b { font-size: 12px; color: var(--muted); }
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); }
.stick-in { max-width: 430px; margin: 0 auto; padding: 12px 20px 16px; }
.stick .btn { width: 100%; min-height: 56px; flex-direction: column; gap: 0; }
.stick .btn small { font-size: 12px; color: var(--lime); font-weight: 400; }

/* 마이 */
.me-card { margin: 8px 20px 0; background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.me-card label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.me-card input { min-height: 48px; border-radius: 10px; border: 1px solid var(--line3); padding: 0 12px; font-size: 16px; }

/* 코치 */
.coach-head { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 2px; }
.coach-head .who { font-size: 13px; color: var(--muted); }
.coach-head .t { display: flex; align-items: baseline; justify-content: space-between; }
.coach-head h1 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 20px 0; }
.stat3 > div { background: #fff; border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; }
.stat3 span { font-size: 12px; color: var(--muted); } .stat3 b { font-size: 20px; font-weight: 900; }
.lcard2 { width: 100%; padding: 12px 16px; border-radius: 14px; border: 0; text-align: left; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.lcard2.now { box-shadow: inset 4px 0 0 var(--lime-ink); } .lcard2.done { opacity: .75; } .lcard2.empty { background: transparent; border: 1px dashed var(--dash); }
.lcard2 .l1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .lcard2 .tm { font-size: 16px; font-weight: 900; } .lcard2 .tt { font-size: 14px; font-weight: 700; } .lcard2 .ww { font-size: 13px; color: var(--ink2); }
.cb { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cb.now { background: var(--lime); color: var(--ink); } .cb.wait { background: var(--blue-bg); color: var(--blue); } .cb.done { background: var(--chip); color: var(--ink2); } .cb.empty { color: var(--muted); box-shadow: inset 0 0 0 1px var(--seg); }
.tmr { margin: 14px 20px 0; padding: 12px 16px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.tmr .l { display: flex; justify-content: space-between; font-size: 13px; }
.sheet.phone-sheet { max-height: 88vh; overflow-y: auto; }
.rost { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.rost .nm { font-size: 15px; font-weight: 700; } .rost .sb { font-size: 12px; color: var(--muted); }
.opt { min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 13px; border: 1px solid var(--line3); background: #fff; color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.opt.abs[aria-pressed="true"] { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.opt.sq { padding: 0; min-height: 44px; }
.fgrp { display: flex; flex-direction: column; gap: 5px; } .fgrp > span { font-size: 13px; font-weight: 700; color: var(--ink2); }
.frow { display: flex; gap: 6px; flex-wrap: wrap; } .frow.g7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; } .frow.g5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.slot { background: #fff; border-radius: 14px; padding: 10px 12px 10px 16px; }
.slot .r { display: flex; align-items: center; gap: 10px; } .slot b { font-size: 15px; font-weight: 900; } .slot .a { font-size: 13px; color: var(--ink2); } .slot .c { font-size: 12px; font-weight: 700; color: var(--muted); } .slot .c.has { color: var(--blue); }
.fab { position: fixed; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 390px; bottom: 92px; min-height: 56px; border-radius: 16px; border: 0; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 6px 16px rgba(22,25,29,.2); z-index: 15; }
.mrow { background: #fff; border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.mrow .t { display: flex; align-items: center; gap: 10px; } .mrow .nm { font-size: 15px; font-weight: 700; } .mrow .ps { font-size: 12px; color: var(--muted); } .mrow .nx { font-size: 12px; font-weight: 700; color: var(--blue); text-align: right; } .mrow .nt { font-size: 12px; line-height: 1.5; color: var(--ink2); padding-left: 46px; }
.dark-pay { background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }

/* ===== 데스크 (태블릿) · 본사 (PC) ===== */
.desk { display: flex; height: 100vh; min-width: 1024px; }
.dnav { width: 92px; flex-shrink: 0; background: var(--ink); display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 6px; }
.dnav .vn { font-size: 13px; font-weight: 900; color: var(--lime); padding: 4px 0 10px; }
.dnav a { width: 76px; min-height: 64px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 12px; text-align: center; color: #C9CDD3; font-weight: 500; }
.dnav a[aria-current="page"] { background: var(--dark2); color: var(--lime); font-weight: 700; }
.dnav .out { margin-top: auto; background: transparent; border: 0; color: #9AA0A8; font-size: 12px; min-height: 44px; }
.dmain { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 14px 20px 0; overflow: auto; }
.dside { width: 340px; flex-shrink: 0; background: #fff; border-left: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.dhead { display: flex; align-items: center; justify-content: space-between; min-height: 44px; flex-shrink: 0; }
.dhead h1 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.dhead .sub { font-size: 14px; color: var(--muted); margin-left: 12px; }
.dhead .l { display: flex; align-items: baseline; }
.st4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; flex-shrink: 0; }
.st4 > div { background: #fff; border-radius: 12px; padding: 8px 14px; display: flex; align-items: baseline; justify-content: space-between; }
.st4 span { font-size: 13px; color: var(--muted); } .st4 b { font-size: 22px; font-weight: 900; }
.tl-head { display: grid; grid-template-columns: 52px repeat(var(--nc, 3), minmax(0, 1fr)); margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink2); flex-shrink: 0; }
.tl-head span { padding-left: 6px; }
.tl-scroll { flex: 1; overflow: auto; position: relative; margin-top: 4px; min-height: 300px; }
.tl { position: relative; display: grid; grid-template-columns: 52px repeat(var(--nc, 3), minmax(0, 1fr)); }
.tl .hrs { position: relative; }
.tl .hrs span { position: absolute; left: 0; font-size: 12px; color: var(--muted); }
.tl .col { position: relative; border-left: 1px solid var(--line); }
.tl .blk { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 10px; display: flex; flex-direction: column; justify-content: center; gap: 3px; text-align: left; color: var(--ink); overflow: hidden; background: #fff; border: 0; border-left: 4px solid var(--blue); box-shadow: 0 1px 2px rgba(22,25,29,.08); }
.tl .blk.away { border-left-color: var(--orange); } .tl .blk.lesson { background: var(--lime-bg); border-left-color: var(--lime-ink); } .tl .blk.walkin { border-left-color: var(--muted); }
.tl .blk.lessonopen { background: var(--bg); border: 1px dashed var(--dash); box-shadow: none; }
.tl .blk.past { opacity: .6; } .tl .blk.on { box-shadow: 0 0 0 2px var(--ink); }
.tl .blk.free { background: transparent; border: 1px dashed var(--seg); box-shadow: none; }
.tl .blk .r1 { display: flex; align-items: center; gap: 6px; min-width: 0; } .tl .blk .tt { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .blk .r2 { font-size: 12px; color: var(--muted); white-space: nowrap; } .tl .blk .r3 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink2); white-space: nowrap; }
.tl .now { position: absolute; left: 52px; right: 0; height: 2px; background: var(--red); pointer-events: none; z-index: 2; }
.tl .now span { position: absolute; left: -50px; top: -9px; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); border-radius: 6px; padding: 1px 5px; }
.scan { height: 196px; border-radius: 16px; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; position: relative; overflow: hidden; }
.scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan .t { font-size: 14px; font-weight: 700; z-index: 1; } .scan .s { font-size: 12px; color: #C9CDD3; z-index: 1; }
.soon-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.soon-row .nm { font-size: 14px; font-weight: 700; } .soon-row .sb { font-size: 12px; color: var(--muted); }
.pill-btn { min-height: 44px; min-width: 72px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; flex-shrink: 0; border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.pill-btn.sec { background: #fff; color: var(--ink); border-color: var(--line3); } .pill-btn:disabled { background: var(--green-bg); border-color: var(--green-bg); color: var(--green); }
.link-btn { min-height: 48px; border-radius: 12px; border: 1px solid var(--line3); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 0 12px; }
.btn.l { min-height: 52px; border-radius: 12px; }
.btn.m { min-height: 48px; border-radius: 12px; font-size: 14px; }
.rosterb { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }

/* 회원 (데스크) */
.dsplit { display: flex; flex: 1; min-width: 0; }
.mlist { width: 340px; flex-shrink: 0; padding: 14px 16px 0 20px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); overflow: auto; }
.mrow2 { width: 100%; min-height: 60px; padding: 8px 12px; border-radius: 14px; background: #fff; border: 2px solid transparent; display: flex; align-items: center; gap: 10px; text-align: left; }
.mrow2[aria-pressed="true"] { border-color: var(--ink); }
.mrow2 .av { width: 36px; height: 36px; border-radius: 50%; background: var(--chip); color: var(--ink2); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mrow2[aria-pressed="true"] .av { background: var(--ink); color: var(--lime); }
.mrow2 .nm { font-size: 15px; font-weight: 700; } .mrow2 .ln { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdetail { flex: 1; min-width: 0; padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.todaybar { min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.todaybar.hot { background: var(--amber-bg); }
.pcard2 { flex: 0 0 300px; height: 168px; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.pcard2.court { background: var(--ink); color: #fff; } .pcard2.lessonp { background: var(--lime); color: var(--ink); }
.pcard2 .l1 { display: flex; justify-content: space-between; align-items: flex-start; } .pcard2 .nm { font-size: 14px; font-weight: 700; } .pcard2 .pr { font-size: 12px; opacity: .8; }
.pcard2 .big { display: flex; align-items: baseline; gap: 6px; } .pcard2 .big b { font-size: 34px; font-weight: 900; line-height: 1; } .pcard2 .big b.word { font-size: 26px; } .pcard2 .big span, .pcard2 .pl { font-size: 13px; opacity: .8; }
.pcard2 .segs { gap: 3px; } .pcard2 .segs i { border-radius: 3px; }
.pcard2.court .segs i.u { background: #4A5058; } .pcard2.court .segs i.r { background: transparent; border: 0; box-shadow: inset 0 0 0 2px #8FB0FF; } .pcard2.court .segs i.l, .pcard2.court .segs i.all { background: var(--lime); }
.pcard2.lessonp .segs i.u { background: rgba(22,25,29,.18); } .pcard2.lessonp .segs i.r { background: transparent; border: 0; box-shadow: inset 0 0 0 2px var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.panel h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); }
.prow .a { font-size: 13px; font-weight: 700; } .prow .b { font-size: 12px; color: var(--muted); } .prow .amt { font-size: 14px; font-weight: 700; white-space: nowrap; }
.memo { padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; line-height: 1.6; color: var(--ink2); }
.inline-form { background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-form input { min-height: 44px; border-radius: 10px; border: 1px solid var(--line3); padding: 0 12px; font-size: 14px; }
.sqbtn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line3); background: #fff; font-size: 20px; }

/* 판매 */
.srow { display: flex; align-items: center; gap: 10px; }
.srow > h2 { width: 72px; flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--ink2); }
.srow.top { align-items: flex-start; } .srow.top > h2 { margin-top: 14px; }
.picked { flex: 1; min-height: 52px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.picked .av { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.prods { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prod { min-height: 88px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 2px solid transparent; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; text-align: left; }
.prod[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.prod .l1 { display: flex; justify-content: space-between; align-items: center; gap: 6px; width: 100%; } .prod .nm { font-size: 15px; font-weight: 700; } .prod .ds { font-size: 12px; color: var(--muted); } .prod .pr { font-size: 16px; font-weight: 900; }
.kind-c { background: var(--ink); color: var(--lime); } .kind-l { background: var(--lime); color: var(--ink); } .kind-w { background: var(--chip); color: var(--ink2); }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.meth { min-height: 64px; padding: 8px 12px; border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; text-align: left; border: 2px solid transparent; background: #fff; color: var(--ink); }
.meth .s { font-size: 12px; color: var(--muted); } .meth[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; } .meth[aria-pressed="true"] .s { color: #C9CDD3; }
.meth:disabled { background: var(--chip); color: var(--muted); } .meth:disabled .s { color: var(--muted); }
.mbody { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mbody p { font-size: 14px; line-height: 1.6; } .mbody .r { display: flex; align-items: center; gap: 8px; } .mbody .r > span.k { font-size: 13px; color: var(--muted); width: 56px; }
.sumbox .dl dt { width: auto; } .sumbox .dl > div { font-size: 14px; justify-content: space-between; } .sumbox .dl dd { text-align: right; }
.paytotal { display: flex; justify-content: space-between; align-items: baseline; } .paytotal span { font-size: 15px; font-weight: 700; } .paytotal b { font-size: 28px; font-weight: 900; }
.ledger { margin-top: auto; background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ledger .r { display: flex; justify-content: space-between; font-size: 13px; } .ledger .r b { font-weight: 700; }
.done-box { border-radius: 14px; background: var(--green-bg); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--green-ink); }

/* 레슨 일정 */
.lweek { display: grid; grid-template-columns: 48px repeat(7, minmax(0, 1fr)); background: #fff; border-radius: 16px; overflow: hidden; }
.lweek .ch { display: flex; flex-direction: column; align-items: center; padding: 8px 0 6px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line2); }
.lweek .ch .dw { font-size: 12px; color: var(--muted); } .lweek .ch .dw.sat { color: var(--blue); } .lweek .ch .dw.sun { color: var(--red); } .lweek .ch b { font-size: 15px; font-weight: 700; }
.lweek .rh { height: 120px; padding: 6px 0 0 8px; font-size: 12px; font-weight: 700; color: var(--ink2); border-bottom: 1px solid var(--line2); }
.lweek .gc { min-height: 120px; padding: 4px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.lbk { width: 100%; min-height: 50px; padding: 4px 6px; border-radius: 8px; text-align: left; display: flex; flex-direction: column; border: 0; border-left: 3px solid; overflow: hidden; }
.lbk.c0 { background: var(--blue-bg); border-color: var(--blue); color: var(--blue-ink); } .lbk.c1 { background: var(--lime-bg); border-color: var(--lime-ink); color: var(--ink); }
.lbk.c2 { background: var(--orange-bg); border-color: var(--orange); color: var(--orange-ink); } .lbk.c3 { background: #EEE6FB; border-color: #6A3FC2; color: #3B2078; }
.lbk.on { box-shadow: 0 0 0 2px var(--ink); } .lbk .a { font-size: 12px; font-weight: 700; white-space: nowrap; } .lbk .b { font-size: 11px; white-space: nowrap; } .lbk .c { font-size: 11px; font-weight: 700; white-space: nowrap; }

/* 마감 */
.mtable { background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.mt-row { display: grid; grid-template-columns: 150px 120px minmax(0, 1fr) 110px; gap: 12px; align-items: center; }
.mt-row.hd { padding: 8px 0 6px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mt-row.bd { min-height: 60px; border-bottom: 1px solid var(--line2); }
.mt-row .r { text-align: right; }
.diff { font-size: 14px; font-weight: 700; text-align: right; } .diff.ok { color: var(--green); } .diff.bad { color: var(--red); } .diff.wait { color: var(--amber); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .tile span { font-size: 13px; color: var(--muted); } .tile b { font-size: 24px; font-weight: 900; } .tile small { font-size: 12px; color: var(--ink2); }
.ckrow { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line2); }
.ckrow i { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; font-style: normal; flex-shrink: 0; background: var(--green-bg); color: var(--green); } .ckrow i.no { background: var(--amber-bg); color: var(--amber); }
.warnbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--amber-bg); flex-wrap: wrap; } .warnbar b { font-size: 13px; color: #5C3A00; }

/* 탭 바 (마감 · 정산) */
.tabnav { display: flex; padding: 4px; border-radius: 12px; background: var(--chip); gap: 4px; }
.tabnav a, .tabnav span { min-height: 40px; padding: 0 16px; border-radius: 9px; color: var(--ink2); font-size: 14px; font-weight: 500; text-decoration: none; display: flex; align-items: center; }
.tabnav a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(22,25,29,.12); }
.tabnav .soon-tab { color: #8A9099; }
.prep { margin: 40px auto; max-width: 420px; text-align: center; display: flex; flex-direction: column; gap: 8px; padding: 32px; background: #fff; border-radius: 16px; }
.prep b { font-size: 18px; }

/* 본사 */
.hq { display: flex; height: 100vh; min-width: 1100px; }
.hnav { width: 220px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 12px; gap: 4px; }
.hnav .brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 16px; } .hnav .brand .m { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--lime); font-size: 15px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.hnav .brand b { font-size: 15px; font-weight: 900; display: block; } .hnav .brand small { font-size: 11px; color: var(--muted); }
.hnav a { min-height: 44px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; color: var(--ink); font-weight: 500; }
.hnav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 700; }
.hnav .dis { min-height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #8A9099; }
.hnav .grp { margin: 14px 12px 4px; font-size: 11px; color: var(--muted); }
.hmain { flex: 1; min-width: 0; padding: 22px 28px 0; display: flex; flex-direction: column; gap: 16px; overflow: auto; }
.hmain h1 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; } .hmain .sub { font-size: 14px; color: var(--muted); }
.hside { width: 360px; flex-shrink: 0; background: #fff; border-left: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.st4.lg > div { border-radius: 14px; padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 2px; } .st4.lg b { font-size: 26px; } .st4.lg small { font-size: 12px; color: var(--ink2); }
.vtable { background: #fff; border-radius: 16px; padding: 8px 18px 12px; display: flex; flex-direction: column; }
.vt-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 64px 80px 110px 64px; gap: 10px; align-items: center; padding: 0 8px; }
.vt-row.hd { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.vt-row.bd { min-height: 58px; border: 0; border-bottom: 1px solid var(--line2); border-radius: 10px; background: transparent; text-align: left; width: 100%; }
.vt-row.bd[aria-pressed="true"] { background: var(--bg); box-shadow: inset 3px 0 0 var(--ink); }
.vt-row .r { text-align: right; }
.stt { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; } .stt.live { background: var(--green-bg); color: var(--green); } .stt.paused { background: var(--red-bg); color: var(--red); }
.rule-row { display: flex; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--line2); }
.rule-row:last-child { border-bottom: 0; }
.rules { background: #fff; border-radius: 16px; padding: 4px 20px; display: flex; flex-direction: column; }
.chg-li { padding: 10px 12px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.modal-back { position: fixed; inset: 0; background: rgba(22,25,29,.45); z-index: 40; display: flex; align-items: center; justify-content: center; }
.modal { width: 460px; max-width: 94vw; max-height: 92vh; overflow: auto; background: #fff; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.modal h2 { font-size: 20px; font-weight: 900; }
.modal label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.modal input[type=text], .modal input[type=password], .modal input[type=number], .modal input[type=time] { min-height: 44px; border-radius: 10px; border: 1px solid var(--line3); padding: 0 12px; font-size: 15px; }
.modal .two { gap: 10px; }
@media (max-width: 1100px) { .desk, .hq { min-width: 0; } }
