/* 차트 양식 화면 */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pickcard { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.pickcard:hover { border-color: var(--ink); }
.pickfig { width: 64px; height: 76px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: #fcfcfb; display: grid; place-items: center; overflow: hidden; padding: 3px; }
.pickfig svg { max-height: 68px; width: auto; }
.picktxt b { display: block; font-size: 16px; letter-spacing: -0.02em; }

.qtable { border-top: 1px solid var(--line); }
.qrow { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qrow:last-child { border-bottom: 0; padding-bottom: 0; }
.qrow > b { font-size: 14px; font-weight: 600; }
.qrow > .opts:first-child { grid-column: 1 / -1; }
.qrow.yn { grid-template-columns: 1fr auto; }
.qrow .q { font-size: 15px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 8px 13px; border: 1px solid #d5d5d2; border-radius: 9px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.in.mini { width: 150px; height: 36px; font-size: 14px; padding: 0 10px; border-radius: 9px; }

.fc-stage svg.fig-eyes, .fc-stage svg.fig-lips { max-width: 620px; }
.fc-stage svg.fig-body_front, .fc-stage svg.fig-body_back { max-width: 330px; }
.faces .fig-body_front, .faces .fig-body_back { max-height: 320px; margin: 0 auto; }
.fc-bar + .fc-bar { padding-top: 10px; }

.dsec { margin-top: 24px; }
.dsec h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1.5px solid var(--ink); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th, .dtable td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: middle; }
.dtable th { width: 92px; font-weight: 600; white-space: nowrap; }
.dtable td.yn { width: 1%; white-space: nowrap; text-align: right; padding-right: 0; }
.dhead th { color: var(--sub); font-weight: 500; width: 76px; }
.pk { display: inline-block; padding: 2px 8px; margin: 1px 2px 1px 0; border-radius: 6px; color: #b5b5b1; border: 1px solid transparent; }
.pk.on { color: var(--ink); font-weight: 700; border-color: var(--ink); }
.dcheck { list-style: none; margin: 0; padding: 0; }
.dcheck li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dcheck .box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; margin-top: 3px; display: grid; place-items: center; }
.dcheck .box.on::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg) translateY(-1px); }
.doc .faces figure { background: #fff; }
.signdoc { margin-top: 16px; padding: 22px 20px; }
.signdoc .dsec:first-of-type { margin-top: 0; }
.signdoc .agree { margin: 0; }

.bcard { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-top: 12px; background: #fff; }
.bhead { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bhead input.in { flex: 1; min-width: 180px; }
.cmp td, .cmp th { min-width: 150px; }
.cmp td:first-child, .cmp th:first-child { min-width: 84px; }
.cmpfig { width: 130px; border: 1px solid var(--line); border-radius: 8px; background: #fcfcfb; padding: 3px; }
@media (max-width: 720px) {
  .qrow { grid-template-columns: 1fr; gap: 6px; }
  .qrow.yn { grid-template-columns: 1fr; }
  .dtable th { width: 74px; }

}
@media print {
  .doc .dsec { margin-top: 14px; break-inside: avoid; }
  .doc .faces svg { max-height: 230px; }
}
.dtable td.yn .opts { flex-wrap: nowrap; justify-content: flex-end; }
.dtable td.yn .opt span { white-space: nowrap; padding: 8px 10px; }
.fc-stage svg { max-width: 430px; }
.fc-stage svg.fig-eyes { max-width: 760px; }
.fc-stage svg.fig-lips { max-width: 460px; }
.fc-stage svg.fig-body_front, .fc-stage svg.fig-body_back { max-width: 340px; }
.faces svg { max-height: 330px; margin: 0 auto; }
.doc .faces figure, .faces figure { background: #fff; }
.pickfig { background: #fff; }
.visit .thumb, .cmpfig { background: #fff; overflow: hidden; }
.visit .thumb svg { max-height: 130px; margin: 0 auto; }
.face image, .fc-stage image, .pickfig image { mix-blend-mode: multiply; }
.faces figure { display: flex; flex-direction: column; }
.faces figure svg { margin: auto; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
.fgrid .field { margin-bottom: 8px; }
@media (max-width: 720px) { .fgrid { grid-template-columns: 1fr 1fr; } }
