/* 3차 다듬기: 안쪽 화면 완성도 */
body { font-feature-settings: "ss06"; }
.top { box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.nav a { transition: background .15s, color .15s; }
.nav a:hover { background: #f4f4f2; }
.card { border-color: #e9e9e6; box-shadow: 0 1px 2px rgba(17,17,17,.03); }
.btn { transition: opacity .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn.line:hover { background: #fafaf9; }
h1 { font-size: 26px; font-weight: 800; }
.head { margin-bottom: 26px; }
.stat { box-shadow: 0 1px 2px rgba(17,17,17,.03); background: #fff; }
.stat > a:hover { background: #fafaf9; }
.stat b { font-size: 30px; font-weight: 800; }
.row, .list > li { transition: background .12s; }
a.row:hover, .tb tr.click:hover td { background: #fafaf9; }
a.row { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 8px; }
.tag { border-radius: 999px; padding: 5px 9px; }
.flash { background: #111; color: #fff; border-color: #111; display: flex; align-items: center; gap: 10px; }
.flash.err { background: #fff5f4; color: var(--warn); border-color: #f0cfcb; }
.flash a { color: inherit; }

/* 이름 첫 글자 동그라미 */
.av { width: 38px; height: 38px; border-radius: 50%; background: #f1f1ef; color: #333; display: inline-grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.av.lg { width: 56px; height: 56px; font-size: 22px; }
.who2 { display: flex; align-items: center; gap: 12px; min-width: 0; }
.headwho { display: flex; align-items: center; gap: 16px; }

/* 오늘 화면 시간표 */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 58px 14px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; position: relative; }
.tl li + li { border-top: 1px solid var(--line); }
.tl .t { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 16px; }
.tl .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #111; background: #fff; justify-self: center; }
.tl li.done .dot { background: #111; }
.tl li.done .t { color: var(--faint); }
.tl .nm { font-weight: 700; }

/* 차트 작성: 직접 적는 칸은 해당 선택을 눌렀을 때만 */
.qrow .in.mini { display: none; }
.qrow .opt:has(input:checked) + .in.mini { display: block; }
.qrow.yn .opts:has(input[value="y"]:checked) .in.mini { display: block; }
.qrow > b { color: #333; }

.opt:hover span { border-color: #111; }
.savebar { position: sticky; bottom: 0; z-index: 15; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); margin: 22px -20px 0; padding: 12px 20px; display: flex; gap: 8px; justify-content: flex-end; }
.savebar .btn.main { min-width: 220px; }
.fc { box-shadow: 0 1px 2px rgba(17,17,17,.03); background: #fff; }
.fc-kinds input:checked + span { background: #111; color: #fff; border-color: #111; box-shadow: none; }
.fc-kinds input:checked + span i { box-shadow: 0 0 0 2px #fff; }

/* 문서 */
.doc { box-shadow: 0 1px 2px rgba(17,17,17,.03), 0 20px 50px -40px rgba(17,17,17,.25); }
.doc h1 { font-size: 24px; letter-spacing: -0.04em; }
.pk.on { background: #111; color: #fff; border-color: #111; }

/* 로그인 · 가입: 사진과 나란히 */
.authsplit { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.authsplit .authpage { min-height: 0; }
.authside { position: relative; background: #efece8; overflow: hidden; }
.authside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.authside .cap { position: absolute; left: 44px; right: 44px; bottom: 44px; background: rgba(255,255,255,.92); border-radius: 16px; padding: 24px 26px; text-align: left; }
.authside .cap b { display: block; font-size: 20px; letter-spacing: -0.03em; color: #111; margin-bottom: 6px; }
.authside .cap span { color: #555; font-size: 14.5px; line-height: 1.7; }

.empty { padding: 44px 0; }
.empty b { display: block; color: #111; font-size: 16px; margin-bottom: 4px; }

@media (max-width: 960px) {
  .authsplit { grid-template-columns: 1fr; }
  .authside { display: none; }
}
@media (max-width: 720px) {
  h1 { font-size: 22px; }
  .savebar { margin: 18px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); bottom: 49px; }
  .savebar .btn { flex: 1; min-width: 0; padding: 0 10px; }
  .savebar .btn.main { flex: 2; }
  .tl li { grid-template-columns: 50px 12px 1fr auto; gap: 8px; }
  .av.lg { width: 46px; height: 46px; font-size: 18px; }
}
@media print { .savebar { display: none; } .doc { box-shadow: none; } }
/* 로고: 심볼과 글자가 함께 든 그림을 쓴다 */
.brand { font-size: 0; gap: 0; }
.brand::before { width: 97px; height: 30px; background-image: url(/img/logo-full.png?v=4); background-position: left center; }
.brand small { font-size: 12px; margin-left: 10px; }
.authbox .brand { font-size: 0; }
.authbox .brand::before { width: 123px; height: 38px; }
.sitefoot .brand::before { width: 84px; height: 26px; }
/* 이용료 결제 */
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.paybox { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.paybox h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.payamt { font-size: 15px; margin: 12px 0 14px; }
.payamt b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.cardreg { margin-top: 14px; }
.cardreg summary { list-style: none; cursor: pointer; }
.cardreg summary::-webkit-details-marker { display: none; }
.cardreg[open] summary { display: none; }
.cardreg form { margin-top: 4px; }
@media (max-width: 720px) { .paygrid { grid-template-columns: 1fr; } }
/* 요금제 고르기 */
.planpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.planpick label { cursor: pointer; }
.planpick input { position: absolute; opacity: 0; pointer-events: none; }
.planpick span { display: block; border: 1px solid #d5d5d2; border-radius: 12px; padding: 12px 14px; height: 100%; }
.planpick b { display: block; font-size: 15px; }
.planpick em { display: block; font-style: normal; font-weight: 700; font-size: 15px; margin: 2px 0 4px; }
.planpick i { display: block; font-style: normal; font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.planpick input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
@media (max-width: 720px) { .planpick { grid-template-columns: 1fr; } }

/* 결제 개월 수 고르기 */
.monthpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 14px; }
.monthpick label { cursor: pointer; }
.monthpick input { position: absolute; opacity: 0; pointer-events: none; }
.monthpick span { display: block; border: 1px solid #d5d5d2; border-radius: 10px; padding: 10px 12px; }
.monthpick b { display: block; font-size: 14px; }
.monthpick em { font-style: normal; font-size: 15px; font-weight: 700; }
.monthpick input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; }

/* 시술 메뉴 */
.svcact { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.svcedit { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.svcedit .in { flex: 1; min-width: 0; }
.svcedit .btn { flex: none; }
.svcrow .name { font-weight: 600; }
.svcform { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 14px; margin: 4px 0 10px; background: #f7f7f5; border-radius: 12px; }
.svcform:has([name=category_id]) { grid-template-columns: 2fr 1fr 1fr 1fr auto; }
.svcform.add { margin: 14px 0 0; }
.svcform .field { margin-bottom: 0; min-width: 0; }
.svcform .btn { height: 44px; }
.svcpick { margin: -6px 0 20px; }
.card > .svcpick { margin: 12px 0 0; }
.svctabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 8px; scrollbar-width: none; }
.svctabs::-webkit-scrollbar { display: none; }
.svctabs button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--sub); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.svctabs button.on { background: #f1f1ef; color: #111; }
.svcset { display: flex; flex-wrap: wrap; gap: 6px; }
.svcchip { height: 38px; padding: 0 13px; border: 1px solid #d5d5d2; border-radius: 999px; background: #fff; color: #222; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: border-color .12s, background .12s; }
.svcchip em { font-style: normal; font-size: 12px; color: var(--faint); }
.svcchip:hover { border-color: #111; }
.svcchip.on { background: #111; border-color: #111; color: #fff; }
.svcchip.on em { color: rgba(255,255,255,.65); }
@media (max-width: 720px) {
  .svcform, .svcform:has([name=category_id]) { grid-template-columns: 1fr 1fr; }
  .svcform .field:first-of-type, .svcform .btn { grid-column: 1 / -1; }
  .svcrow { flex-wrap: wrap; }
  .svcrow .grow { flex-basis: 100%; }
}

/* 발송 방법 고르기 */
.modepick { display: grid; gap: 8px; margin-bottom: 16px; }
.modepick label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #d9d9d6; border-radius: 12px; cursor: pointer; transition: border-color .12s, background .12s; }
.modepick label:has(input:checked) { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.modepick label.off { cursor: default; opacity: .55; }
.modepick input { margin-top: 3px; accent-color: #111; width: 17px; height: 17px; flex: none; }
.modepick b { display: block; font-size: 15.5px; }
.modepick em { display: block; font-style: normal; font-size: 13.5px; color: var(--sub); margin-top: 2px; line-height: 1.5; }
.modebox { padding: 16px; margin-bottom: 8px; background: #f7f7f5; border-radius: 12px; }
.modebox .in { background: #fff; }
.modebox .field:last-child, .modebox .fieldrow:last-child .field { margin-bottom: 0; }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: #444; }

/* 방문 접수 */
.poster { min-height: 100vh; background: #f4f4f2; padding: 24px 16px 60px; }
.posterbar { max-width: 620px; margin: 0 auto 16px; display: flex; justify-content: space-between; }
.postersheet { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 64px 40px 56px; text-align: center; box-shadow: 0 20px 50px -30px rgba(0,0,0,.3); }
.postershop { font-size: 20px; font-weight: 600; color: #555; }
.postersheet h1 { font-size: 54px; letter-spacing: -0.04em; margin: 6px 0 10px; }
.posterlead { font-size: 20px; color: #333; }
.posterqr { width: min(340px, 78%); margin: 36px auto; }
.posterqr svg { width: 100%; height: auto; display: block; }
.postersteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 17px; color: #444; counter-reset: st; }
.postersteps li { counter-increment: st; }
.postersteps li::before { content: counter(st); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #111; color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; }
@media print { .posterbar { display: none; } .poster { background: #fff; padding: 0; } .postersheet { box-shadow: none; max-width: none; padding-top: 30mm; } @page { size: A4; margin: 12mm; } }
.ckrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ckrow:first-of-type { border-top: 0; }
.ckrow.seen { opacity: .5; }
.ckrow .time { font-variant-numeric: tabular-nums; font-weight: 700; width: 48px; flex: none; }
.cklink { display: flex; gap: 8px; margin: 12px 0; }
.cklink .in { flex: 1; min-width: 0; font-size: 14px; }

/* 고객 방문 기록 */
.recfind { display: grid; grid-template-columns: 1fr 170px auto; gap: 8px; margin-bottom: 16px; }
.recform .search { margin-bottom: 10px; }
.recfilter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.recfilter .in { width: auto; flex: 1 1 140px; height: 40px; font-size: 14.5px; }
.recfilter .sub { font-size: 13px; }
.recday { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.recday:first-child { border-top: 0; padding-top: 4px; }
.recdate b { display: block; font-size: 15.5px; }
.recdate span { font-size: 12.5px; color: var(--sub); }
.recitems { display: grid; gap: 4px; min-width: 0; }
.recitem { display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; }
a.recitem:hover { background: #f6f6f4; }
.recitem .name { font-weight: 600; margin-right: 4px; }
.recdetail { display: block; margin-top: 2px; white-space: pre-line; }
.rectype { flex: none; width: 62px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 0; border-radius: 6px; background: #f1f1ef; color: #444; margin-top: 1px; }
.rectype.t-chart { background: #111; color: #fff; }
.rectype.t-reservation { background: #fff; box-shadow: inset 0 0 0 1px #111; color: #111; }
.reccal { align-self: start; }
.recmonth { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.recmonth b { font-size: 17px; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-variant-numeric: tabular-nums; }
.calhead span { font-size: 12px; color: var(--sub); padding: 4px 0; }
.calgrid > a, .calgrid > span { aspect-ratio: 1; display: grid; place-content: center; border-radius: 10px; font-size: 14.5px; color: #b0b0ad; position: relative; }
.calgrid > a.has { color: #111; font-weight: 700; background: #f4f4f2; }
.calgrid > a.has:hover { background: #e9e9e6; }
.calgrid > a.on { background: #111; color: #fff; }
.calgrid > .today { box-shadow: inset 0 0 0 1px #111; }
.calgrid i { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; gap: 2px; justify-content: center; }
.calgrid u, .callegend u { width: 5px; height: 5px; border-radius: 50%; background: #9b9b9b; display: inline-block; text-decoration: none; }
u.t-chart { background: #111; }
u.t-reservation { background: #fff; box-shadow: inset 0 0 0 1.5px #111; }
u.t-consent { background: #6f6f6c; }
.calgrid a.on u { background: #fff; box-shadow: none; }
.callegend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.callegend span { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 1023px) { .grid.side.rec .reccal { order: -1; } }
@media (max-width: 720px) {
  .recfind { grid-template-columns: 1fr auto; }
  .recfind [name=q] { grid-column: 1 / -1; }
  .recday { grid-template-columns: 1fr; gap: 6px; }
  .recdate b, .recdate span { display: inline; margin-right: 6px; }
}

/* 예약 달력 (주 · 월) */
.viewseg a { display: block; padding: 6px 14px; font-size: 13.5px; font-weight: 600; border-left: 1px solid #d5d5d2; color: #555; }
.viewseg a:first-child { border-left: 0; }
.viewseg a.on { background: #111; color: #fff; }
.mcgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mchead span { text-align: center; font-size: 12.5px; color: var(--sub); padding: 2px 0 8px; }
.mcgrid > a, .mcgrid > .blank { min-height: 108px; border-radius: 10px; padding: 8px; display: block; }
.mcgrid > a { border: 1px solid var(--line); background: #fff; transition: border-color .12s; overflow: hidden; }
.mcgrid > a:hover { border-color: #111; }
.mcgrid > a.past { background: #fafaf9; }
.mcgrid > a.today { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.mcgrid > a b { font-size: 15px; }
.mcgrid > a em { float: right; font-style: normal; font-size: 11.5px; font-weight: 700; background: #111; color: #fff; border-radius: 6px; padding: 2px 6px; }
.mcgrid > a span { display: block; font-size: 12.5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }
.mcgrid > a span i { font-style: normal; color: var(--sub); }
.mcgrid > a span.wait { color: var(--sub); }
.mcgrid > a span.more { color: var(--faint); }
table.wk { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
table.wk th, table.wk td { border: 1px solid var(--line); vertical-align: top; }
table.wk thead th { padding: 8px 4px; font-weight: 500; background: #fafaf9; }
table.wk thead th.today { background: #111; }
table.wk thead th.today a { color: #fff; }
table.wk thead th small { color: inherit; opacity: .7; font-size: 12.5px; }
table.wk thead th b { font-size: 16px; }
table.wk tr > th:first-child { width: 60px; font-size: 12.5px; color: var(--sub); font-weight: 500; padding: 8px 4px; text-align: center; background: #fafaf9; }
table.wk td { height: 58px; padding: 3px; }
table.wk td.today { background: #fbfbfa; }
.wkitem { display: block; border-radius: 8px; background: #111; color: #fff; padding: 6px 8px; font-size: 13px; line-height: 1.35; margin-bottom: 3px; }
.wkitem span { display: block; font-size: 11.5px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wkitem em { font-style: normal; font-size: 11px; font-weight: 700; }
.wkitem.s-done { background: #ececea; color: #555; }
.wkitem.s-wait { background: #fff; color: #111; box-shadow: inset 0 0 0 1.5px #111; }
.wkitem.s-cancel, .wkitem.s-noshow { background: #fff; color: #9b9b9b; box-shadow: inset 0 0 0 1px #dededb; text-decoration: line-through; }
@media (max-width: 720px) {
  .mcgrid > a, .mcgrid > .blank { min-height: 64px; padding: 5px 4px; }
  .mcgrid > a span { display: none; }
  .mcgrid > a em { float: none; display: block; width: fit-content; margin-top: 4px; font-size: 10.5px; padding: 2px 4px; }
}

/* 설정 화면 탭 */
.tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 18px; padding: 4px; background: #efefec; border-radius: 12px; scrollbar-width: none; width: fit-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 9px 16px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: #666; white-space: nowrap; }
.tabs a:hover { color: #111; }
.tabs a.on { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(17,17,17,.12); }
[data-pane] > .card + .card, [data-pane] > .card + form.card, [data-pane] > form + .card, [data-pane] > form + form.card { margin-top: 16px; }

/* 시술 메뉴 표 */
.tabs a .num { font-size: 12px; font-weight: 600; color: #9b9b9b; margin-left: 3px; }
.card.svcedit { display: flex; }
.card.svcedit[hidden] { display: none; }
table.svctb { width: 100%; border-collapse: collapse; margin-top: 6px; }
table.svctb th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--sub); padding: 8px 10px; border-bottom: 1px solid #111; }
table.svctb td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.svctb tbody tr:not(.editrow):hover td { background: #fafaf9; }
table.svctb .r { text-align: right; }
table.svctb td.name { font-weight: 600; font-size: 15.5px; }
table.svctb td.act { width: 1%; white-space: nowrap; text-align: right; }
table.svctb td.act form { display: inline-block; margin-left: 4px; }
table.svctb tr.editrow td { padding: 0 0 10px; border-bottom: 1px solid var(--line); }
table.svctb tr.editrow .svcform { margin: 0; }
@media (max-width: 720px) {
  table.svctb thead { display: none; }
  table.svctb tr:not(.editrow) { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  table.svctb td { padding: 0; border: 0; }
  table.svctb td.name { grid-column: 1; }
  table.svctb td.act { grid-column: 2; grid-row: 1 / span 3; width: auto; align-self: center; }
  table.svctb td.r { text-align: left; }
  table.svctb tr.editrow, table.svctb tr.editrow td { display: block; }
  table.svctb tr.editrow[hidden] { display: none; }
}

/* 1:1 문의 */
.qa { border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; }
.qa summary { display: flex; gap: 12px; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary b { display: block; font-size: 15.5px; }
.qabody { padding: 2px 0 18px; }
.qaanswer { margin-top: 14px; padding: 14px 16px; background: #f6f6f4; border-radius: 12px; }
.badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #c0392b; color: #fff; font-size: 11.5px; font-weight: 700; font-style: normal; display: inline-grid; place-items: center; }

/* 사람 모양 아이콘 */
.av .ic { width: 55%; height: 55%; color: #6b6b68; stroke-width: 1.7; }
.who2 { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.who2 .tag { flex: none; }

/* 예약 달력: 실제 달력처럼 */
.monthcal { padding: 14px; }
.mcgrid { gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.mcgrid.mchead { border: 0; }
.mchead span { padding: 4px 0 10px; font-weight: 600; }
.mchead span:first-child { color: #c0392b; }
.mchead span:last-child { color: #2f5f9e; }
.mcgrid > a, .mcgrid > .blank { min-height: 124px; border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 8px 10px; }
.mcgrid > .blank { background: #fafaf9; }
.mcgrid > a:hover { background: #f6f6f4; border-color: var(--line); }
.mcgrid > a.today { box-shadow: inset 0 0 0 2px #111; border-color: var(--line); }
.mcgrid > a.today b { background: #111; color: #fff; border-radius: 50%; width: 26px; height: 26px; display: inline-grid; place-items: center; font-size: 14px; }
.mcgrid > a.sun b { color: #c0392b; }
.mcgrid > a.sat b { color: #2f5f9e; }
.mcgrid > a.today b { color: #fff; }
.mcgrid > a span { border-left: 3px solid #111; padding-left: 5px; margin-top: 4px; line-height: 1.35; }
.mcgrid > a span.wait { border-left-color: #c9c9c5; border-left-style: dashed; }
.mcgrid > a span.done { border-left-color: #c9c9c5; color: #8a8a87; }
.mcgrid > a span u { text-decoration: none; color: var(--sub); }
.mcgrid > a span.more { border-left-color: transparent; }
.mclegend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 12px; }
.mclegend span { display: inline-flex; align-items: center; gap: 6px; }
.mclegend .lg { width: 3px; height: 13px; background: #111; display: inline-block; }
.mclegend .lg.wait, .mclegend .lg.done { background: #c9c9c5; }
@media (max-width: 720px) {
  .monthcal { padding: 8px; }
  .mcgrid > a, .mcgrid > .blank { min-height: 62px; padding: 5px 3px; text-align: center; }
  .mcgrid > a em { margin: 4px auto 0; }
}

tr.click td { vertical-align: middle; }

/* 차트 그림: 여자 · 남자 고르기 */
.fc-sex { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; }
.fc-sex .seg span { padding: 6px 14px; font-size: 13.5px; }
.fc-stage svg.fig-body_side { max-width: 230px; }
.faces .fig-body_side { max-height: 320px; margin: 0 auto; }

/* 알림톡 건수 · 잔액 */
.wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.wallet > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.wallet span { display: block; font-size: 12.5px; color: var(--sub); }
.wallet b { font-size: 22px; letter-spacing: -0.02em; }
.wallet b small { font-size: 13px; font-weight: 500; color: var(--sub); }
.wallet em { display: block; font-style: normal; font-size: 12.5px; color: var(--sub); }
