/* 보러 간 집 — 화면 모양. 원래 있던 거 app.css에서 가져와 색만 바꿈(2026-11-30). 뼈대는 공용 myosu.css */
:root { --c: #b8501c; --c-deep: #9a4318; --c-soft: #fbe6d9; --bg: #fbf6f2; }

.file-in { position: fixed; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.page h1 { font-size: 22px; }
.center { text-align: center; margin-top: 8px; }
.sec { margin: 26px 2px 10px; font-size: 16px; font-weight: 800; }
.sec small { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: 4px; }
.fine.left { text-align: left; }
.hero svg { display: block; margin: 8px auto 0; }
.summary .count small { font-size: 16px; color: var(--ink-2); font-weight: 700; }
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 6px -20px 2px; padding: 2px 20px 6px; scrollbar-width: none; }
.chip { flex: none; border: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.chip.on { background: var(--c); color: #fff; box-shadow: none; }

/* 지금 할 일 (하나만) */
.now { margin-top: 14px; padding: 16px 18px 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 2px solid var(--c-soft); }
.now-k { margin: 0; font-size: 12px; font-weight: 800; color: var(--c); letter-spacing: .02em; }
.now h3 { margin: 2px 0 4px; font-size: 19px; }
.now > p:not(.now-k) { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.now .primary, .now .secondary { margin-top: 0; }
.journey { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.journey i { flex: 1; height: 6px; border-radius: 3px; background: #e7ebee; }
.journey i.done { background: var(--c); }
.journey i.cur { background: linear-gradient(90deg, var(--c) 50%, #e7ebee 50%); } /* .now(카드)와 이름이 겹치면 칸이 상자가 됨 */
.journey span { flex: none; margin-left: 6px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
button.link { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--c-deep); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }

/* 겹쳐 찍기 (우리 강점) */
.ovl { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.ovl-art { flex: none; display: block; height: auto; }
.ovl b { display: block; font-size: 15px; line-height: 1.4; }
.ovl span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.ovl-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.ovl--steps { align-items: flex-start; }
.ovl ol, .ovl-how ol { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ovl-how { padding: 0 4px; }
.ovl-how .ovl-art { margin: 6px auto 10px; max-width: 100%; }
.ovl-how ol { font-size: 15px; color: var(--ink); }
.ovl-how li { margin-bottom: 6px; }
.spot-ref { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px; border-radius: 12px; background: var(--c-soft); }
.spot-ref img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; opacity: .75; }
.spot-ref span { font-size: 13px; color: var(--c-deep); font-weight: 700; }

/* 첫 화면 고르기: 공용 버튼 + 한 줄 설명 */
.choice-cap { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--ink-2); }
.choice-cap + .secondary { margin-top: 12px; }

/* 이 집의 기록 */
.sec-row { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 10px; }
.sec-row .sec { margin: 0; }
.item .ic { flex: none; font-style: normal; font-size: 20px; width: 36px; height: 36px; border-radius: 12px; background: var(--c-soft); display: flex; align-items: center; justify-content: center; }
.item > div { flex: 1; min-width: 0; }
.explain ol { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.explain li { margin-bottom: 4px; }
.fl-help { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 한 줄 카드: 왼쪽 글, 오른쪽 버튼 */
.row-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.row-card b { display: block; font-size: 15px; }
.row-card span { display: block; font-size: 13px; color: var(--ink-2); }
.pill { flex: none; border: 0; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; }
.pill--soft { background: var(--c-soft); color: var(--c-deep); }
.primary + .secondary { margin-top: 10px; }

/* 목록 */
.list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.item b { display: block; font-size: 15px; }
.item span { display: block; font-size: 13px; color: var(--ink-2); }
.item--flat { cursor: default; }
.tag { flex: none; font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: #eef0f2; color: var(--ink-2); }
.tag--asked { background: #fff1e6; color: #9a3412; }
.tag--fixed { background: var(--c-soft); color: var(--c-deep); }
.tag--refused { background: #fde8e8; color: #9b1c1c; }


/* 집 보기 카드 */
.cards { display: grid; gap: 10px; margin-top: 14px; }
.vcard { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
.vcard img, .vcard-noimg { flex: none; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: var(--c-soft); display: flex; align-items: center; justify-content: center; }
.vcard b { display: block; font-size: 16px; }
.vcard span { display: block; font-size: 13px; color: var(--ink-2); }
.vcard .off { color: #d4d7dc; }

/* 입력 */
.form { display: grid; gap: 14px; }
.fl { display: grid; gap: 6px; }
.fl > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fl input, .fl select, .fl textarea, .memo, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; background: #fff; }
.fl input:focus, .memo:focus, .form textarea:focus, .fl select:focus { outline: none; border-color: var(--c); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 64px; height: 42px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.seg button.on { border-color: var(--c); background: var(--c-soft); color: var(--c-deep); }
.seg--wrap button { flex: 0 0 auto; padding: 0 12px; font-size: 14px; height: 38px; }
.stars { display: flex; gap: 4px; }
.star { border: 0; background: none; font-size: 30px; line-height: 1; color: #d4d7dc; padding: 2px; }
.star.on { color: #f5b83d; }
.ftitle { display: block; font-size: 15px; }

/* 집 보기 점검 */
.checks { padding: 4px 14px; }
.ck { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ck-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ck-top > div:first-child, .ck-name { flex: 1; min-width: 0; }
.ck:last-child { border-bottom: 0; }
.ck b { display: block; font-size: 15px; }
.ck span { display: block; font-size: 12px; color: var(--muted); }
.tri { display: flex; flex: none; background: #f1f3f5; border-radius: 10px; padding: 3px; }
.tri button { border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 6px 8px; border-radius: 8px; }
.tri .t-good { background: var(--c); color: #fff; }
.tri .t-ok { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.tri .t-bad { background: #c2410c; color: #fff; }

/* 사진 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid--s { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.ph { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e9eceb; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--add { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c-deep); font-weight: 700; font-size: 13px; }
.ph--add span { font-size: 28px; line-height: 1; }
.ph--none { display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.ph-n { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(194, 65, 12, .92); color: #fff; padding: 2px 6px; border-radius: 6px; }
.mk { position: absolute; transform: translate(-50%, -50%); border: 3px solid #e5484d; border-radius: 50%; height: 0; pointer-events: none; }
.ph .mk { border-width: 2px; }

/* 찍기 체크리스트 */
.prog { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; }
.prog-bar { flex: 1; height: 10px; border-radius: 6px; background: #e3e7e6; overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: var(--c); border-radius: 6px; }
.prog b { flex: none; font-size: 14px; }
.spots { display: grid; gap: 8px; }
.spot { background: var(--surface); border-radius: 16px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow); }
.spot-top { display: flex; gap: 10px; align-items: center; }
.spot-top > i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; }
.spot--done .spot-top > i { background: var(--c); border-color: var(--c); }
.spot-top > div { flex: 1; min-width: 0; }
.spot-top b { display: block; font-size: 15px; }
.spot-top span { display: block; font-size: 12px; color: var(--muted); }
.sticky { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); margin-top: 18px; z-index: 5; }
.sticky .primary { margin-top: 0; }

/* 흠집 표시 */
.mark-box { position: relative; margin-top: 8px; border-radius: 16px; overflow: hidden; background: #111; cursor: crosshair; }
.mark-box img { display: block; width: 100%; height: auto; pointer-events: none; }
.mk--edit em { position: absolute; top: -12px; right: -12px; width: 22px; height: 22px; border-radius: 50%; background: #e5484d; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.marks { display: grid; gap: 8px; margin-top: 12px; }
.mrow { display: flex; gap: 8px; align-items: center; }
.mrow em { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e5484d; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mrow input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: 16px; }

/* 미리보기·확인서 */
.doc-preview, .doc { position: relative; background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-top: 12px; overflow: hidden; }
.wm { position: absolute; right: -36px; top: 18px; transform: rotate(35deg); background: #c2410c; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 40px; }
.dp-k { margin: 0; color: var(--c-deep); font-size: 13px; font-weight: 800; }
.doc-preview h2, .doc h2 { margin: 2px 0 4px; font-size: 22px; letter-spacing: -0.03em; }
.doc h3, .doc-preview h3 { margin: 18px 0 8px; font-size: 15px; }
.doc-meta { margin: 0; font-size: 13px; color: var(--ink-2); }
.doc-note { margin: 8px 0 0; font-size: 13px; color: var(--c-deep); font-weight: 700; }
.dp-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.dp-n div { background: var(--c-soft); border-radius: 12px; padding: 10px; text-align: center; }
.dp-n b { display: block; font-size: 24px; color: var(--c-deep); line-height: 1.2; }
.dp-n span { font-size: 12px; color: var(--ink-2); }
.dp-miss { font-size: 13px; color: #9a3412; background: #fff6ed; border-radius: 10px; padding: 8px 10px; margin: 8px 0 0; }
.dp-ok { font-size: 13px; color: var(--c-deep); font-weight: 700; margin: 8px 0 0; }
.defects { display: grid; gap: 10px; }
.df { display: flex; gap: 10px; align-items: flex-start; }
.df .ph { flex: none; width: 92px; }
.df b { display: block; font-size: 14px; }
.df b small { color: var(--muted); font-weight: 600; }
.df span { display: block; font-size: 13px; color: var(--ink-2); }
.spotblock { margin-top: 12px; }
.spotblock > b { font-size: 13px; }
.rec { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.rec b { font-size: 13px; }
.rec p { margin: 4px 0 0; }
.rec code { background: #f1f3f5; padding: 1px 5px; border-radius: 4px; }
.big-n { font-size: 32px; font-weight: 800; color: var(--c-deep); margin: 10px 0; }
.big-n small { font-size: 15px; color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-size: 12px; }

/* 값 상자 */
.price { margin-top: 14px; background: var(--surface); border-radius: var(--r); padding: 16px 18px; box-shadow: inset 0 0 0 2px var(--c), var(--shadow); }
.price-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price-top b { font-size: 16px; }
.price-top em { font-style: normal; font-weight: 800; font-size: 18px; color: var(--c-deep); }
.price ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.price li { font-size: 14px; color: var(--ink-2); padding-left: 20px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-weight: 800; }
.price s { color: var(--muted); }

/* 들어올 때·나갈 때 나란히 */
.pair { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); margin-top: 10px; }
.doc .pair { box-shadow: inset 0 0 0 1px var(--line); }
.pair--changed { box-shadow: inset 0 0 0 2px #c2410c; }
.pair-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pair-top b { font-size: 15px; }
.pair-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pair-ph span:not(.ph) { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; text-align: center; }

/* 문제 기록 타임라인 */
.tl { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--c-soft); display: grid; gap: 14px; }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.tl em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--c-deep); }
.tl p { margin: 2px 0 0; font-size: 15px; }
.tl-x { position: absolute; right: 0; top: -4px; border: 0; background: none; color: var(--muted); font-size: 20px; width: 32px; height: 32px; }
.issue { margin-top: 12px; }
.sum { margin-top: 12px; background: #f6f8f8; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.sum p { margin: 4px 0; }
.sum em { font-style: normal; font-weight: 800; color: var(--c-deep); margin-right: 6px; }
.sum small { color: var(--muted); }

/* 비교 표 */
.cmp { margin-top: 8px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow-x: auto; }
.cmp-row { display: grid; grid-template-columns: 76px repeat(var(--n), minmax(96px, 1fr)); border-bottom: 1px solid var(--line); font-size: 13px; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > span { padding: 10px 8px; color: var(--muted); font-weight: 700; background: #fafbfb; }
.cmp-row > div { padding: 10px 8px; }
.cmp-head img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 4px; }
.cmp-head b { font-size: 14px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.dot.g { background: var(--c); } .dot.o { background: #a3a8b0; } .dot.b { background: #c2410c; }

/* 링크 상태 */
.links { margin-top: 12px; }
.links > b { font-size: 15px; }
.lk { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 8px 0 0; }
.lk .ok { color: var(--c-deep); }

/* 받는 사람 */
.ack { margin-top: 8px; background: var(--surface); border-radius: var(--r); padding: 16px 18px; box-shadow: inset 0 0 0 2px var(--c), var(--shadow); }
.ack b { display: block; font-size: 16px; }
.ack span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.ack input { width: 100%; margin-top: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; }

/* 기다림 */
.busy { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 20; background: rgba(21, 23, 28, .92); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: sp 0.8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* 겹쳐 찍기 카메라 · 크게 보기 */
.cam, .zoom { position: fixed; inset: 0; z-index: 40; background: #000; display: flex; align-items: center; justify-content: center; }
.cam video, .cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cam img { opacity: .4; pointer-events: none; }
.cam-bar { position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; justify-content: space-around; align-items: center; }
.cam-shot { width: 72px; height: 72px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.3); }
.cam-x, .cam-o { border: 0; background: rgba(0,0,0,.5); color: #fff; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.zoom .cam-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; font-size: 22px; }
.cam-top { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px; right: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.55); color: #fff; text-align: center; }
.cam-top b { display: block; font-size: 15px; }
.cam-top span { display: block; margin-top: 2px; font-size: 13px; opacity: .9; }
.cam-grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255,255,255,.28) calc(33.33% - .5px), rgba(255,255,255,.28) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.28) calc(66.66% - .5px), rgba(255,255,255,.28) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
  linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255,255,255,.28) calc(33.33% - .5px), rgba(255,255,255,.28) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.28) calc(66.66% - .5px), rgba(255,255,255,.28) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.zoom img { max-width: 100%; max-height: 100%; }
.app .card { margin-top: 12px; }
.app .chips + .tl { margin-top: 16px; }
.row-card .tiny { flex: none; white-space: nowrap; }

/* 찍은 곳 작은 사진 아래: 흠집 표시 안내 */
.mark-tip { margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: var(--c-deep); }

/* 문제 기록: 지금 할 일 버튼 두 개, 기록 머리 작은 버튼, 단계 창 */
.now .secondary { margin-top: 10px; }
.row-btns { display: flex; gap: 6px; }
.step-form { padding: 0 4px 4px; gap: 12px; }
.step-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; }
.tag--open { background: #eef0f2; color: var(--ink-2); }

/* 한 장도 안 찍고 미리보기를 누르면: 버튼은 흐리게, 첫 곳을 잠깐 강조 */
.primary[aria-disabled="true"] { opacity: .55; box-shadow: none; }
.spot--hint { outline: 3px solid var(--c); outline-offset: 2px; transition: outline-color .3s; }

/* 확인서 샘플 */
.sample-tabs { margin-top: 14px; }
.doc--sample { position: relative; overflow: hidden; }
.doc--sample::before { content: attr(data-wm); position: absolute; left: 50%; top: 180px; transform: translateX(-50%) rotate(-24deg); font-size: 110px; font-weight: 900; color: rgba(15,118,110,.08); pointer-events: none; white-space: nowrap; }

/* 작은 사진: 비율을 지켜 가운데에(흠집 동그라미 위치가 맞게) */
.ph-in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; }
.ph-in--w { width: 100%; }
.ph-in--h { height: 100%; }
.ph-in img { width: 100%; height: 100%; object-fit: fill; }

/* 확인서 만들기 전 점검: 아직 확인서가 아님을 맨 위에 */
.check-note { margin: 12px 2px 0; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: #8a5300; font-size: 14px; font-weight: 700; line-height: 1.5; }

/* 보러 간 집: 목적·점검 묶음·내 항목·사진 태그 (2026-11-29) */
.summary .count--two { font-size: 18px; }
.summary .count--two b { font-size: 34px; }
.ptag { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; color: var(--c-deep); background: var(--c-soft); padding: 2px 7px; border-radius: 999px; margin-bottom: 3px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three input { min-width: 0; }
.note-card { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.note-card p { margin: 0; }
.extlinks, .maps { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.extlinks a, .maps a { color: var(--c-deep); font-weight: 700; font-size: 13px; }
.cgrp { margin-top: 10px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.cgrp > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; cursor: pointer; }
.cgrp > summary::-webkit-details-marker { display: none; }
.cgrp > summary::after { content: "›"; font-size: 20px; color: var(--muted); transform: rotate(90deg); margin-left: 8px; }
.cgrp[open] > summary::after { transform: rotate(-90deg); }
.cgrp > summary b { font-size: 16px; flex: 1; }
.cgrp > summary span { font-size: 13px; color: var(--muted); font-weight: 700; }
.cgrp .checks { padding: 0 14px 8px; border-top: 1px solid var(--line); }
.ck-name { text-align: left; border: 0; background: none; padding: 0; color: inherit; font: inherit; }
.ck-note { display: block; font-style: normal; font-size: 12px; color: var(--c-deep); margin-top: 2px; }
.ck--bad .ck-name b { color: #c2410c; }
.mine { font-size: 11px; color: var(--c-deep); font-weight: 700; }
.ck-sub { margin-top: 8px; }
.ck-sub .ph { width: 56px; flex: none; }
.ck-memo { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; }
.ck-phs, .ck-sub { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ck-phs { margin-top: 8px; width: 100%; }
.ck-add { border: 0; background: var(--c-soft); color: var(--c-deep); font-weight: 700; font-size: 13px; height: 36px; padding: 0 12px; border-radius: 999px; }
.ck-more { display: block; width: 100%; margin: 6px 0 4px; height: 44px; border: 1.5px dashed var(--line); background: none; border-radius: 12px; color: var(--c-deep); font-weight: 700; font-size: 14px; }
.ck-group { margin: 12px 0 0; font-size: 13px; font-weight: 800; color: var(--c); }
.ph-tag { position: absolute; right: 5px; top: 5px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.92); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.tagpick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 2px 8px; }
.tagpick .chip { height: 38px; }
.fl-cap { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 12px 0 4px; }
.pickph .ph { cursor: pointer; }
.line-link { display: block; width: 100%; margin-top: 10px; text-align: left; border: 0; background: none; padding: 10px 4px; color: var(--c-deep); font-weight: 700; font-size: 14px; min-height: 44px; }
.cmp-head small { display: block; font-size: 11px; color: var(--muted); }
.cmp-row small { display: block; color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.cmp .bad { color: #c2410c; }
.cmp-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.two .fl, .two input, .two select { min-width: 0; }
.two input, .two select { width: 100%; box-sizing: border-box; }
.ck-addnote { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--c); margin-top: 3px; }
.chip--add { background: none; box-shadow: none; border: 1.5px dashed var(--line); color: var(--c-deep); }
.homes-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 2px; border: 0; background: var(--surface); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 16px; text-align: left; min-height: 48px; }
.homes-btn b { font-size: 15px; }
.homes-btn span { font-size: 13px; color: var(--c-deep); font-weight: 700; }
.item--on { box-shadow: 0 0 0 2px var(--c); }
.tbl td small { display: block; color: var(--ink-2); font-size: 12px; }
/* 3단계: 여러 번 다녀온 기록, 끝난 계약 보기 */
.visit { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; display: grid; gap: 8px; }
.visit-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.visit-top b { font-size: 14px; color: var(--c-deep); }
.visit-cap { margin: 14px 0 6px; font-size: 13px; font-weight: 800; color: var(--c-deep); }
.past-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--c-soft); box-shadow: none; }
.past-banner b { flex: 1 1 100%; font-size: 15px; }
.past-banner span { flex: 1; font-size: 13px; color: var(--ink-2); }
/* 보러 간 집: 적는 대로 저장 표시, 집 정보 접기 (2026-11-30) */
.savebar { margin: 2px 4px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.savebar--fail { color: #b3261e; }
.cgrp--info { margin-top: 18px; }
.cgrp--info > summary { gap: 10px; }
.cgrp--info > summary b { flex: none; }
.cgrp--info > summary .sum { flex: 1; min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; background: none; padding: 0; height: auto; border-radius: 0; }
.fold-body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }

/* 문서 모양 (2026-11-30 대표님: 확인서가 아래로 늘어놓은 느낌) — 머리 정보 표, 숫자 세 칸, 곳별 사진 격자 */
.doc-head { padding-bottom: 14px; border-bottom: 2px solid var(--ink, #1d2321); margin-bottom: 4px; }
.doc-head h2 { margin: 4px 0 12px; font-size: 24px; }
.doc-info { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc-info > div { padding: 9px 12px; border-top: 1px solid var(--line); }
.doc-info > div:nth-child(-n+2) { border-top: 0; }
.doc-info > div:nth-child(2n) { border-left: 1px solid var(--line); }
.doc-info > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.doc-info > div.wide { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
.doc-info dt { font-size: 12px; color: var(--muted); }
.doc-info dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; word-break: keep-all; }
.doc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.doc-stats > div { background: var(--c-soft); border-radius: 12px; padding: 10px 8px; text-align: center; }
.doc-stats b { display: block; font-size: 22px; color: var(--c-deep); line-height: 1.1; }
.doc-stats span { font-size: 12px; color: var(--ink-2); }
.spotgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.spotgrid figure { margin: 0; }
.spotgrid figcaption { margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--ink-2); word-break: keep-all; }
.doc .rec { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #f6f7f6; border: 1px solid var(--line); }
.visit-l { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.visit-l small { font-weight: 500; color: var(--muted); }
.visit-l input { margin-top: 6px; }

/* 「우리 집으로 옮기기」 안내 창 (세부기획 5-1) */
.hand-path { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 12px; flex-wrap: wrap; }
.tchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 800; font-size: 14px; }
.tchip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hand-arrow { font-weight: 800; color: var(--c-deep); }
.hand-list { margin: 10px 0 6px; font-size: 14px; }
.hand-list dt { margin-top: 8px; font-weight: 800; color: var(--c-deep); font-size: 13px; }
.hand-list dd { margin: 3px 0 0 0; padding-left: 12px; position: relative; line-height: 1.5; }
.hand-list dd::before { content: "·"; position: absolute; left: 2px; }
/* 계약함(원래 있던 거로 옮긴 집) */
.moved-card { display: flex; gap: 12px; align-items: center; justify-content: space-between; border: 2px solid #cfe6e2; background: #f3f9f8; }
.moved-card b { display: block; color: #0b5a54; }
.moved-card span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.moved-card .pill { flex: none; display: inline-flex; align-items: center; background: #0f766e; color: #fff; text-decoration: none; white-space: nowrap; }
.vcard--moved { opacity: .78; }
.vcard--moved .ptag { background: #dcefeb; color: #0b5a54; }
