/* 여기바방 '매물장' — 내 매물 · 공동중개 매물 (2026-11-14). 업무 화면이라 예쁜 것보다 편하게: 가격 크고 진하게, 조건은 늘 보이게, 한 번에 누르기.
   색·글자는 app.css / pro.css 의 변수만 쓴다. */
.ybm-wrap { max-width: 1280px; }
.ybm-head { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ybm-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ybm-head .grow { flex: 1; }
.ybm-head .btn.pri { min-height: 44px; padding: 0 18px; font-size: 15.5px; }
.ybm-tabs { margin: 0; border-bottom: 0; }
.ybm-tabs button { min-height: 40px; padding: 0 14px; font-size: 15.5px; font-weight: 800; }

.ybm-filters { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line, #e3e3df); border-radius: 14px; background: var(--card, #fff); position: sticky; top: 0; z-index: 2; }
.ybm-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.ybm-chips .chip { min-height: 36px; font-weight: 700; }
.ybm-q { flex: 1; min-width: 200px; min-height: 40px; }
.ybm-reset { flex: 0 0 auto; min-height: 40px; white-space: nowrap; }
.kind-tabs .ybm-shortcut { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; min-height: 62px; border: 1px solid var(--line, #e3d4b6); border-radius: 11px; background: var(--soft, #f6f0e3); color: var(--ink, #171c17); text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.ybm-shortcut b { display: block; font-size: 16px; }
.ybm-shortcut-note { display: block; margin-top: 2px; font-size: 12px; color: var(--mute, #626970); }
.ybm-shortcut-arrow { font-size: 23px; line-height: 1; }
.kind-tabs .ybm-shortcut:hover { border-color: var(--ink, #171c17); box-shadow: 0 3px 10px rgba(34, 30, 20, .08); }
.kind-tabs .ybm-shortcut:focus-visible { outline: 2px solid var(--ink, #171c17); outline-offset: 3px; }
.ybm-note { margin: 0 2px 10px; }

.ybm-list { display: flex; flex-direction: column; gap: 6px; }
.ybm-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(170px, .9fr) minmax(0, 1.3fr) minmax(0, 1.1fr); gap: 4px 16px; align-items: center; padding: 12px 16px;
  border: 1px solid var(--line, #e3e3df); border-radius: 12px; background: var(--card, #fff); cursor: pointer; }
.ybm-row:hover { border-color: var(--ink, #111318); box-shadow: 0 2px 10px rgba(17, 19, 24, .08); }
.ybm-row:focus-visible { outline: 2px solid var(--ink, #111318); outline-offset: 2px; }
.ybm-row.off { opacity: .6; }
.ybm-c1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ybm-title { font-size: 16.5px; font-weight: 800; color: var(--ink, #111318); }
.ybm-dong { color: var(--ink2, #2e333b); font-size: 14px; font-weight: 600; }
.ybm-c2 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ybm-deal { font-size: 13.5px; font-weight: 800; color: var(--ink2, #2e333b); }
.ybm-price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink, #111318); white-space: nowrap; }
.ybm-c3 { color: var(--ink2, #2e333b); font-size: 14px; font-weight: 600; }
.ybm-c4 { display: flex; align-items: center; justify-content: flex-end; gap: 6px 8px; flex-wrap: wrap; }
.ybm-office { font-size: 14.5px; color: var(--ink, #111318); }
.ybm-tel { font-size: 15.5px; font-weight: 800; color: var(--ink, #111318); text-decoration: underline; white-space: nowrap; }
.ybm-empty { text-align: center; padding: 36px 20px; } .ybm-empty p { margin: 0 0 10px; } .ybm-empty .hint { max-width: 520px; margin-left: auto; margin-right: auto; }

/* 손님 맞추기 (2026-11-14): 손님 조건 카드 + 맞는 매물 */
.ybm-nav-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 6px; border-radius: 10px; background: var(--bad, #a92e25); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; vertical-align: 1px; }
.ybm-want { padding: 14px 16px; margin-bottom: 10px; } .ybm-want.off { opacity: .6; }
.ybm-want-h { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; } .ybm-want-h .grow { flex: 1; }
.ybm-want-name { font-size: 18px; font-weight: 800; color: var(--ink, #111318); }
.ybm-want-sum { margin-top: 6px; font-size: 15.5px; font-weight: 700; color: var(--ink, #111318); }
.ybm-want-list { margin-top: 10px; } .ybm-want-list .ybm-row { background: var(--soft, #f1f1ee); border-color: transparent; padding: 10px 14px; }
.ybm-want-list .ybm-row:hover { border-color: var(--ink, #111318); }
.ybm-who { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft, #f7ecd9); }
.ybm-who > b { color: var(--warn, #8a5410); font-size: 14.5px; }
.ybm-who-row { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; margin-top: 6px; } .ybm-who-row > b { font-size: 16px; color: var(--ink, #111318); }
.ybm-flabel { font-size: 13px; font-weight: 600; color: var(--ink2, #2e333b); } .ybm-form .f > .ybm-chips { margin-top: 5px; }
html[data-mode="dark"] .ybm-want-list .ybm-row { background: var(--soft); }

/* 상세 · 적는 창 */
.modal.ybm-modal { z-index: 90; }
.modal.ybm-modal > div { max-width: 680px; padding: 20px 22px; }
.modal.ybm-modal.wide > div { max-width: 820px; max-height: 92vh; }
.ybm-dhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ybm-dhead h2 { margin: 0; font-size: 20px; font-weight: 800; } .ybm-dhead .grow { flex: 1; }
.ybm-dprice { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--ink, #111318); color: #fff; margin-bottom: 12px; }
.ybm-dprice b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; } .ybm-dprice span { font-size: 14px; font-weight: 700; color: #d9d6cc; }
.ybm-kv { grid-template-columns: 96px 1fr; font-size: 15px; gap: 6px 12px; } .ybm-kv dt { font-weight: 700; } .ybm-kv dd { color: var(--ink, #111318); font-weight: 600; }
.ybm-private { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft, #f6f0e5); }
.ybm-private > b { font-size: 14.5px; } .ybm-private .ybm-kv { margin-top: 8px; }
.ybm-contact { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft, #f6f0e5); }
.ybm-contact b { font-size: 17px; } .ybm-contact .ybm-tel { font-size: 19px; } .ybm-contact .hint { width: 100%; }
.ybm-share { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line, #e3e3df); border-radius: 12px; }
.ybm-share.on { border-color: var(--ok, #1e6b47); background: var(--ok-soft, #e5f2eb); }
.ybm-share .row { gap: 8px; } .ybm-share input[type="checkbox"] { width: 20px; height: 20px; } .ybm-share b { font-size: 15.5px; } .ybm-share > .hint { display: block; margin-top: 4px; }
.ybm-acts { margin-top: 14px; gap: 8px; } .ybm-acts .btn, .ybm-acts .sel { min-height: 42px; } .ybm-acts .sel { width: auto; flex: none; } .ybm-acts .grow { flex: 1; }
.ybm-form label.f { margin-bottom: 10px; } .ybm-form textarea.in { width: 100%; font-family: inherit; line-height: 1.5; }
.ybm-form .in, .ybm-form .sel { width: 100%; min-height: 42px; }
.ybm-g2, .ybm-g2w, .ybm-g3, .ybm-g4, .ybm-prices { display: grid; gap: 0 10px; }
.ybm-g2 { grid-template-columns: 1fr 1fr; } .ybm-g2w { grid-template-columns: 2fr 1fr; } .ybm-g3 { grid-template-columns: repeat(3, 1fr); } .ybm-g4 { grid-template-columns: repeat(4, 1fr); }
.ybm-prices { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 10px 12px 0; margin-bottom: 10px; border-radius: 12px; background: var(--soft, #f1f1ee); }
.ybm-prices .in { font-size: 17px; font-weight: 800; }
html[data-mode="dark"] :is(.ybm-private, .ybm-contact, .ybm-prices) { background: var(--soft); }
html[data-mode="dark"] .ybm-dprice { background: #eef0f3; color: #111318; } html[data-mode="dark"] .ybm-dprice span { color: #4d535c; }
@media (max-width: 899px) {
  .ybm-row { grid-template-columns: 1fr; gap: 4px; padding: 12px; } .ybm-c4 { justify-content: flex-start; }
  .ybm-filters { position: static; } .ybm-g3, .ybm-g4 { grid-template-columns: 1fr 1fr; } .ybm-g2w { grid-template-columns: 1fr; }
  .ybm-head .btn.pri { width: 100%; }
}
