/* 결차트 화면 공통 스타일 */
:root {
  --ink: #111;
  --sub: #6a6a6a;
  --faint: #9b9b9b;
  --line: #e7e7e5;
  --soft: #f6f6f4;
  --bg: #fff;
  --warn: #b42318;
  --r: 12px;
  --w: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 15px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 15px; font-weight: 600; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.num { font-variant-numeric: tabular-nums; }
.sub { color: var(--sub); }
.small { font-size: 13px; }
.warn { color: var(--warn); }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-line; }

/* 틀 */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; height: 58px; gap: 28px; }
.brand { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; }
.brand small { font-size: 12px; font-weight: 500; color: var(--sub); margin-left: 8px; letter-spacing: 0; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 7px 12px; border-radius: 8px; color: var(--sub); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); font-weight: 700; background: var(--soft); }
.top .who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--sub); }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--sub); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
main.page { padding: 28px 0 96px; }
.tabbar { display: none; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.head .sub { margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 10px; display: block; }
.crumb:hover { color: var(--ink); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: opacity .15s; }
.btn:hover { opacity: .86; }
.btn.line { background: #fff; color: var(--ink); border-color: #cfcfcc; }
.btn.line:hover { opacity: 1; border-color: var(--ink); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.danger { background: #fff; color: var(--warn); border-color: #e4c3bf; }
.btn[disabled] { opacity: .35; cursor: default; }

/* 카드 · 목록 */
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: #fff; }
.card + .card { margin-top: 16px; }
.card > h2 { margin-bottom: 14px; }
.card .cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card .cardhead h2 { margin: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.grid > .card + .card { margin-top: 0; }
.stack > * + * { margin-top: 16px; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li, .row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.list > li:first-child, .row:first-child { border-top: 0; }
.list .grow, .row .grow { flex: 1; min-width: 0; }
.list .time { width: 54px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.rowlink { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
a.rowlink:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.name { font-weight: 600; }
.empty { padding: 34px 0; text-align: center; color: var(--sub); }

table.tb { width: 100%; border-collapse: collapse; }
.tb th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--sub); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tb td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tb tr:last-child td { border-bottom: 0; }
.tb tr.click { cursor: pointer; }
.tb tr.click:hover td { background: #fafaf9; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tag { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: 6px; border: 1px solid #d5d5d2; color: #444; white-space: nowrap; }
.tag.fill { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag.mute { color: var(--faint); border-color: var(--line); }
.tag.red { color: var(--warn); border-color: #e4c3bf; }

.stat { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; }
.stat > * { padding: 18px 22px; border-left: 1px solid var(--line); display: block; }
.stat > *:first-child { border-left: 0; }
.stat b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--sub); }

.flash { border: 1px solid var(--ink); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.flash.err { border-color: #e4c3bf; color: var(--warn); }
.notice { background: var(--soft); border-radius: 10px; padding: 12px 16px; font-size: 14px; }

/* 입력 */
.field { display: block; margin-bottom: 16px; }
.field > span, .label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.in, select.in, textarea.in { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d5d5d2; border-radius: 10px; background: #fff; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
textarea.in { height: auto; padding: 11px 13px; line-height: 1.6; resize: vertical; min-height: 96px; }
select.in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.in:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.07); }
.in::placeholder { color: #b3b3b0; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fieldrow.three { grid-template-columns: 1fr 1fr 1fr; }
.hint { font-size: 13px; color: var(--sub); margin-top: 6px; }
.err { font-size: 13px; color: var(--warn); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #111; flex: none; }
.seg { display: inline-flex; border: 1px solid #d5d5d2; border-radius: 10px; overflow: hidden; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 15px; font-size: 14px; font-weight: 500; border-left: 1px solid #d5d5d2; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -4px; }
.formfoot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 22px; }
.search { display: flex; gap: 8px; }
.search .in { flex: 1; }
.narrow { max-width: 640px; }
.mid { max-width: 820px; }
.hp { position: absolute; left: -9999px; }

/* 고객 찾기 */
.pick { position: relative; }
.pick ul { position: absolute; z-index: 10; left: 0; right: 0; top: 48px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ink); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.pick li { padding: 9px 10px; border-radius: 7px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.pick li:hover, .pick li.on { background: var(--soft); }
.pick li span { color: var(--sub); font-size: 13px; }
.picked { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 10px; font-weight: 600; }

/* 날짜 띠 */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.days a { border: 1px solid var(--line); border-radius: 10px; padding: 9px 4px; text-align: center; line-height: 1.3; }
.days a small { display: block; font-size: 12px; color: var(--sub); }
.days a b { font-size: 17px; font-variant-numeric: tabular-nums; }
.days a i { display: block; font-style: normal; font-size: 11.5px; color: var(--sub); min-height: 16px; }
.days a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.days a.on small, .days a.on i { color: #c9c9c9; }
.days a.today:not(.on) { border-color: var(--ink); }
.datenav { display: flex; align-items: center; gap: 8px; }
.datenav input { width: 160px; }

/* 얼굴 차트 */
.fc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fc-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.fc-kinds { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.fc-kinds label { cursor: pointer; }
.fc-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fc-kinds span { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; }
.fc-kinds i, .legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.fc-kinds input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 700; }
.fc-stage { background: #fff; display: flex; justify-content: center; padding: 8px; }
.fc-stage svg { width: 100%; max-width: 460px; height: auto; display: none; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.fc-stage svg.on { display: block; }
.fc-foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.face { display: block; width: 100%; height: auto; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.faces figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; overflow: hidden; }
.faces figcaption, .cap { font-size: 12px; color: var(--sub); text-align: center; padding-bottom: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #444; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* 점수 */
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.score { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.score b { font-size: 14px; font-weight: 600; width: 52px; }
.dots5 { display: inline-flex; gap: 4px; }
.dots5 label { cursor: pointer; }
.dots5 input { position: absolute; opacity: 0; pointer-events: none; }
.dots5 span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d5d5d2; border-radius: 9px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dots5 input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.bar5 { display: inline-flex; gap: 3px; vertical-align: middle; }
.bar5 i { width: 16px; height: 6px; border-radius: 2px; background: #e4e4e1; }
.bar5 i.f { background: var(--ink); }
.kv { display: grid; grid-template-columns: 76px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--sub); }
.kv dd { margin: 0; }

/* 방문 이력 */
.visit { display: grid; grid-template-columns: 108px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.visit:first-child { border-top: 0; padding-top: 4px; }
.visit .thumb { border: 1px solid var(--line); border-radius: 10px; background: #fcfcfb; padding: 4px; }
.visit .when { font-weight: 700; font-variant-numeric: tabular-nums; }
.hist { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.hist .col { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.photos .ph { position: relative; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; border: 1px solid var(--line); }
.photos form { position: absolute; right: 6px; top: 6px; }

/* 동의서 문서 */
.doc { border: 1px solid var(--line); border-radius: var(--r); padding: 34px 36px; }
.doc h1 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.doc .docsub { text-align: center; color: var(--sub); font-size: 13px; margin-bottom: 26px; }
.doc .body { white-space: pre-line; margin-bottom: 22px; }
.doc ol { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc ol li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc ol li .box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 5px; margin-top: 2px; display: grid; place-items: center; }
.doc ol li .box.on::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg) translateY(-1px); }
.doc .signrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 28px; }
.doc .signimg { width: 240px; height: 96px; border-bottom: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: center; }
.doc .signimg img { max-height: 92px; }
.doc .meta { font-size: 12px; color: var(--sub); margin-top: 20px; word-break: break-all; }

/* 서명 화면 */
.signpage { max-width: 760px; margin: 0 auto; padding: 22px 20px 60px; }
.signpage .shopname { font-size: 13px; color: var(--sub); margin-bottom: 4px; }
.agree { list-style: none; margin: 18px 0; padding: 0; }
.agree li { border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.agree label { display: flex; gap: 12px; padding: 14px; cursor: pointer; align-items: flex-start; }
.agree input { width: 22px; height: 22px; accent-color: #111; flex: none; margin: 1px 0 0; }
.agree li:has(input:checked) { border-color: var(--ink); }
.pad { position: relative; border: 1px solid #cfcfcc; border-radius: var(--r); background: #fff; height: 220px; overflow: hidden; }
.pad canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.pad .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #c2c2bf; font-size: 15px; pointer-events: none; }
.pad .base { position: absolute; left: 28px; right: 28px; bottom: 54px; border-bottom: 1px dashed #d9d9d6; pointer-events: none; }
.padfoot { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 20px; font-size: 13px; color: var(--sub); }

/* 로그인 */
.authpage { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.authbox { width: 100%; max-width: 400px; }
.authbox.wide { max-width: 480px; }
.authbox .brand { display: block; margin-bottom: 30px; font-size: 22px; }
.authbox h1 { margin-bottom: 6px; }
.authbox .lead { color: var(--sub); margin-bottom: 26px; }
.authbox .foot { margin-top: 22px; font-size: 14px; color: var(--sub); text-align: center; }
.authbox .foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; padding: 0 10px; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .off { color: #c9c9c6; }

@media (max-width: 960px) {
  .side { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  h1 { font-size: 21px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: 52px; }
  .top .nav { display: none; }
  .top .who { margin-left: auto; }
  .top .who .me { display: none; }
  main.page { padding: 20px 0 110px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { text-align: center; padding: 14px 0 13px; font-size: 13.5px; font-weight: 500; color: var(--faint); }
  .tabbar a.on { color: var(--ink); font-weight: 700; box-shadow: inset 0 2px 0 var(--ink); }
  .g2, .fieldrow.three { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .stat { grid-template-columns: 1fr 1fr; }
  .stat > *:nth-child(3) { border-left: 0; }
  .stat > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat > * { padding: 14px 16px; }
  .stat b { font-size: 22px; }
  .scores { grid-template-columns: 1fr; }
  .doc { padding: 24px 18px; }
  .doc .signrow { flex-direction: column; align-items: stretch; }
  .visit { grid-template-columns: 84px 1fr; gap: 14px; }
  .hide-m { display: none !important; }
  .days a { padding: 7px 2px; }
  .days a b { font-size: 15px; }
  .formfoot .btn { flex: 1; }
}
@media print {
  .top, .tabbar, .noprint, .flash { display: none !important; }
  main.page { padding: 0; }
  .doc { border: 0; padding: 0; }
  body { font-size: 12.5pt; }
}
.only-m { display: none; }
@media (max-width: 720px) { .only-m { display: inline; } }
[hidden] { display: none !important; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand::before { content: ""; width: 24px; height: 24px; background: url(/img/logo.png?v=2) center/contain no-repeat; flex: none; }
.authbox .brand { display: flex; }
.authbox .brand::before { width: 30px; height: 30px; }
.sitefoot .brand { display: flex; }

/* 구글 계정으로 가입 · 로그인 */
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 54px; border: 1px solid #dadce0; border-radius: 12px; background: #fff; font-size: 16px; font-weight: 600; color: #1f1f1f; transition: border-color .12s, box-shadow .12s; }
.gbtn:hover { border-color: #111; box-shadow: 0 6px 18px -12px rgba(0,0,0,.4); }
.kbtn { background: #FEE500; border-color: #FEE500; color: rgba(0,0,0,.85); }
.kbtn:hover { border-color: #e6cf00; }
.orline { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: 13px; color: var(--sub); }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.joinsteps { list-style: none; counter-reset: js; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.joinsteps li { counter-increment: js; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; }
.joinsteps li::before { content: counter(js); grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; background: #f1f1ef; display: grid; place-items: center; font-size: 13.5px; font-weight: 700; }
.joinsteps b { font-size: 15px; }
.joinsteps span { font-size: 13.5px; color: var(--sub); }

/* PC 카드 결제창이 떠 있는 동안 */
.paydim { position: fixed; inset: 0; z-index: 90; background: rgba(17,17,17,.5); display: grid; place-items: center; padding: 20px; }
.paydim > div { background: #fff; border-radius: 16px; padding: 26px 28px; max-width: 380px; display: grid; gap: 8px; text-align: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.paydim b { font-size: 17px; }
.paydim span { font-size: 14px; color: var(--sub); }
.paydim .btn { justify-self: center; margin-top: 10px; }

/* 첫 화면: 처음 시작 안내 */
.startguide { margin-bottom: 16px; }
.startguide ol { list-style: none; margin: 14px 0; padding: 0; }
.startguide li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.startguide li > i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; }
.startguide li.done > i { background: #d9d9d5; }
.startguide li > div { flex: 1; min-width: 0; }
.startguide li b { display: block; }
.startguide li div span { font-size: 13.5px; color: var(--sub); }

.tb th.r, .tb td.r { text-align: right; padding-right: 0; padding-left: 12px; }
.passnote { margin: -4px 0 10px; }
.passnote summary { cursor: pointer; font-size: 13.5px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.passnote summary::-webkit-details-marker { display: none; }
.passnote form { margin-top: 10px; padding: 14px; background: var(--soft); border-radius: 12px; display: grid; gap: 10px; }
.passnote .fieldrow { margin: 0; }
.passnote .field { margin-bottom: 0; }

.is-installed .hide-installed { display: none !important; }

/* 시술 후 주의사항 */
.careform { padding: 16px; background: var(--soft); border-radius: 12px; margin-bottom: 14px; }
.careform textarea.in { line-height: 1.6; min-height: 200px; }
.carerow { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.carerow .grow { flex: 1; min-width: 0; }
.carerow .svcact { margin-left: auto; flex: none; }
.carerow b { display: block; font-size: 15.5px; }
.carerow .carebody { margin-top: 6px; font-size: 13.5px; color: #555; line-height: 1.55; }
.carepick { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 8px 0; border-top: 1px dashed var(--line); align-items: start; }
.carepick:first-of-type { border-top: 0; }
.carepick > b { font-size: 13px; color: var(--sub); font-weight: 600; padding-top: 7px; }
.carepick > div { display: flex; flex-wrap: wrap; gap: 6px; }
.carepick .chip { position: relative; cursor: pointer; }
.carepick .chip input { position: absolute; opacity: 0; pointer-events: none; }
.carepick .chip span { display: inline-block; padding: 6px 12px; border: 1px solid #dededb; border-radius: 999px; background: #fff; font-size: 13.5px; }
.carepick .chip.taken span { color: #9b9b9b; border-style: dashed; }
.carepick .chip input:checked + span { background: #111; border-color: #111; color: #fff; border-style: solid; }
.carepick .chip input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
@media (max-width: 720px) { .carepick { grid-template-columns: 1fr; gap: 4px; } .carepick > b { padding-top: 0; } .carerow { flex-direction: column; gap: 8px; } }

/* 고객이 여는 주의사항 화면 */
.carepage { min-height: 100vh; background: #f6f6f4; padding: 28px 16px 48px; }
.caredoc { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 32px 26px 26px; box-shadow: 0 20px 50px -34px rgba(0,0,0,.35); }
.careshop { font-size: 13.5px; font-weight: 700; color: var(--sub); letter-spacing: -0.01em; }
.caredoc h1 { font-size: 26px; line-height: 1.3; letter-spacing: -0.03em; margin: 8px 0 12px; }
.carewho { color: #555; font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.carelist { list-style: none; counter-reset: care; margin: 6px 0 0; padding: 0; }
.carelist li { counter-increment: care; position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.6; word-break: keep-all; }
.carelist li::before { content: counter(care); position: absolute; left: 0; top: 17px; width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.carecall { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.carecall p { font-size: 14.5px; color: #555; }
.carecall .btn span { font-weight: 500; margin-left: 6px; opacity: .8; }
.carefoot { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--faint); }

/* 카카오 로그인 */
.kakaonote { margin-top: 12px; text-align: center; font-size: 14px; color: #555; }
.idlogin { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
.idlogin summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: #333; display: flex; align-items: baseline; gap: 8px; }
.idlogin summary::-webkit-details-marker { display: none; }
.idlogin summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid #777; border-bottom: 1.6px solid #777; transform: rotate(45deg); margin-left: auto; align-self: center; }
.idlogin[open] summary::after { transform: rotate(-135deg); }
.idlogin summary span { font-weight: 400; font-size: 12.5px; color: var(--sub); }
.idlogin form { margin-top: 16px; }
.inviterow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin: -2px 0 10px; background: var(--soft); border-radius: 10px; font-size: 13px; }
.inviterow > span { flex: 1; min-width: 200px; word-break: break-all; }
.inviterow form { margin: 0; }
