/* 중개 도우미 앱 화면 모양 (22단계a: index.html에서 나눔) */
  body { margin: 0; font-family: sans-serif; background: #F3F5F1; color: #16202A; -webkit-tap-highlight-color: transparent; }
  header { position: sticky; top: 0; z-index: 5; background: #F3F5F1; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; border-bottom: 1px solid #D8DED8; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  header h1 { margin: 0; font-size: 22px; display: inline; }
  header .ver { font-size: 13px; color: #7F8B95; margin-left: 6px; }
  .btn { border: 1px solid #D8DED8; background: #fff; border-radius: 10px; height: 38px; padding: 0 12px; font-size: 14px; color: #16202A; }
  .btn.on { background: #16202A; color: #fff; border-color: #16202A; }
  .btn.small { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
  a.btn { display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }
  .btn.danger { border-color: #C4372C; color: #C4372C; }
  .big { width: 100%; height: 48px; font-size: 16px; border-radius: 10px; border: 0; background: #1D4F7C; color: #fff; }
  main { padding: 4px 16px calc(90px + env(safe-area-inset-bottom, 0px)); max-width: 720px; margin: 0 auto; }
  h2 { font-size: 20px; margin: 18px 0 4px; }
  h3 { font-size: 15px; margin: 22px 0 8px; color: #4B5966; }
  .box { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 14px; margin-top: 12px; }
  label { display: block; font-size: 14px; font-weight: bold; margin-top: 12px; }
  input { width: 100%; box-sizing: border-box; height: 44px; margin-top: 6px; padding: 0 10px; font-size: 15px; border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; }
  .hint { font-size: 13px; color: #4B5966; margin: 6px 0 0; }
  .ok { color: #2F7A45; font-weight: bold; }
  .bad { color: #C4372C; font-weight: bold; }
  .row-end { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
  /* 바로가기 */
  .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 84px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #D8DED8; color: #16202A; text-decoration: none; box-sizing: border-box; }
  .tile b { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
  .tile span { font-size: 12px; color: #7F8B95; overflow-wrap: anywhere; }
  .tile.main { background: #16202A; border-color: #16202A; color: #fff; }
  .tile.main span { color: #C9D1CA; }
  .tile.empty { border-style: dashed; background: transparent; }
  .list a, .list .item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 2px; border-bottom: 1px solid #E8ECE7; color: #16202A; text-decoration: none; }
  .list b { font-weight: 600; }
  .list span { font-size: 13px; color: #7F8B95; text-align: right; overflow-wrap: anywhere; }
  .edit-line { display: flex; gap: 6px; margin-top: 6px; }
  .edit-line input { margin-top: 0; height: 36px; font-size: 14px; flex: 1; min-width: 0; }
  .tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .msg { padding: 12px; border-radius: 10px; margin-top: 12px; font-size: 14px; }
  .msg.bad { background: #F8E3DF; border: 1px solid #C4372C; font-weight: normal; color: #16202A; }
  .skel { height: 64px; border-radius: 10px; background: #E8ECE7; margin-top: 8px; }
  #err { display: none; background: #F8E3DF; border: 2px solid #C4372C; padding: 12px; border-radius: 10px; margin-top: 12px; }
  #toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #16202A; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; z-index: 40; }
  nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: #fff; border-top: 1px solid #D8DED8; padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 10; }
  nav button { flex: 1; min-width: 0; height: 60px; border: 0; background: none; font-size: 14px; color: #7F8B95; padding: 0 2px; white-space: nowrap; position: relative; }
  nav button[data-ld]::after { content: ""; position: absolute; top: 11px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #E8A317; animation: navld .9s ease-in-out infinite alternate; } /* 23단계g61: 뒤에서 받는 중 */
  @keyframes navld { from { opacity: .3; } to { opacity: 1; } }
  nav button.on { color: #1D4F7C; font-weight: bold; }
  /* 실거래 */
  .tabhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .tabhead h2 small { font-size: 13px; color: #7F8B95; font-weight: normal; margin-left: 4px; }
  #stkTools .btn { white-space: nowrap; flex: 0 0 auto; } /* 23단계g191: 「⏳ 만드는 중…」이 오래 보여도 「지금 시세」가 두 줄로 깨지지 않게 */
  .seg { display: inline-flex; border: 1px solid #D8DED8; border-radius: 10px; overflow: hidden; background: #fff; margin-top: 10px; }
  .seg button { border: 0; background: none; height: 36px; padding: 0 14px; font-size: 14px; color: #4B5966; }
  .seg button + button { border-left: 1px solid #D8DED8; }
  .seg button.on { background: #16202A; color: #fff; font-weight: bold; }
  .filters { display: flex; gap: 8px; margin-top: 10px; }
  .filters input, .filters select { margin-top: 0; height: 40px; font-size: 14px; border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; padding: 0 8px; }
  .filters input { flex: 1 1 auto; min-width: 0; }
  .filters select { flex: 0 0 auto; max-width: 40%; }
  .sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #D8DED8; border: 1px solid #D8DED8; border-radius: 10px; overflow: hidden; margin-top: 12px; }
  .sum div { background: #fff; padding: 9px 12px; }
  .sum dt { font-size: 12px; color: #7F8B95; }
  .sum dd { margin: 0; font-weight: bold; font-size: 16px; }
  .note { background: #FFF4D6; color: #7A5300; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }
  .mon { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 4px; padding-bottom: 6px; border-bottom: 1px solid #D8DED8; }
  .mon b { font-size: 15px; }
  .mon span { font-size: 13px; color: #7F8B95; }
  .tr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid #E8ECE7; align-items: baseline; }
  .tr .d { font-size: 13px; color: #7F8B95; }
  .tr .t { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
  .tr .t small { font-weight: normal; color: #4B5966; font-size: 13px; }
  .tr .s { font-size: 13px; color: #4B5966; }
  .tr .p { text-align: right; }
  .tr .p b { font-size: 17px; white-space: nowrap; }
  .tr .p span { display: block; font-size: 12px; color: #7F8B95; white-space: nowrap; }
  .tr.cx .t, .tr.cx .p b { text-decoration: line-through; color: #7F8B95; }
  .tag { display: inline-block; font-size: 11px; font-weight: bold; padding: 0 6px; border-radius: 5px; border: 1px solid #C4372C; color: #C4372C; margin-left: 4px; vertical-align: 1px; }
  .tag.plain { border-color: #C9D1CA; color: #4B5966; }
  .more { width: 100%; margin: 14px 0; }
  .chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .chip { height: 38px; border: 1px solid #D8DED8; background: #fff; border-radius: 9px; font-size: 14px; color: #16202A; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chip.on { background: #1D4F7C; border-color: #1D4F7C; color: #fff; font-weight: bold; }
  .ctl { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
  .ctl .seg button { padding: 0 11px; }
  .filters select.grow { flex: 1 1 0; max-width: none; min-width: 0; }
  .tr .p b em { font-style: normal; font-weight: normal; font-size: 12px; color: #7F8B95; margin-right: 3px; }
  .note b { color: #5A3D00; }
  /* 아파트 단지별 */
  .seg.wide { display: flex; width: 100%; box-sizing: border-box; }
  .seg.wide button { flex: 1; }
  .tr[data-k] { cursor: pointer; }
  .tr[data-k] .t::after { content: ' ›'; color: #7F8B95; font-weight: normal; }
  .listhead { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 2px; }
  .listhead b { font-size: 15px; }
  .listhead span { font-size: 13px; color: #7F8B95; }
  .cxi { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 2px; border: 0; border-bottom: 1px solid #E8ECE7; background: none; text-align: left; color: #16202A; font: inherit; cursor: pointer; }
  .cxi .l { min-width: 0; }
  .cxi .l b { display: block; font-size: 15px; overflow-wrap: anywhere; }
  .cxi .l span { font-size: 13px; color: #4B5966; }
  .cxi .r { text-align: right; flex: 0 0 auto; }
  .cxi .r b { display: block; font-size: 16px; white-space: nowrap; }
  .cxi .r span { font-size: 12px; color: #7F8B95; white-space: nowrap; }
  .sheet { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 15; background: #F3F5F1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .sheet-head { position: sticky; top: 0; z-index: 2; background: #F3F5F1; display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; border-bottom: 1px solid #D8DED8; }
  .sheet-head .btn { flex: 0 0 auto; }
  .sheet-title { min-width: 0; }
  .sheet-title b { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-title span { font-size: 12px; color: #7F8B95; }
  .sheet-body { padding: 0 16px calc(30px + env(safe-area-inset-bottom, 0px)); max-width: 720px; margin: 0 auto; }
  .achips { display: flex; gap: 6px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scrollbar-width: none; }
  .achips::-webkit-scrollbar { display: none; }
  .achip { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #D8DED8; background: #fff; border-radius: 9px; font-size: 13px; font-weight: bold; text-align: left; line-height: 1.3; color: #16202A; }
  .achip span { display: block; font-size: 11px; font-weight: normal; color: #7F8B95; }
  .achip.on { background: #1D4F7C; border-color: #1D4F7C; color: #fff; }
  .achip.on span { color: #D6E4F0; }
  .stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #D8DED8; border: 1px solid #D8DED8; border-radius: 10px; overflow: hidden; margin-top: 12px; }
  .stats3 div { background: #fff; padding: 9px 10px; min-width: 0; }
  .stats3 dt { font-size: 12px; color: #7F8B95; }
  .stats3 dd { margin: 0; font-weight: bold; font-size: 16px; }
  .stats3 dd small { display: block; font-size: 11px; font-weight: normal; color: #7F8B95; overflow-wrap: anywhere; }
  .chart { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 8px 8px; margin-top: 12px; }
  .chart svg { display: block; width: 100%; height: auto; }
  .chart .grid { stroke: #E8ECE7; stroke-width: 1; }
  .chart .ax { fill: #7F8B95; font-size: 10px; }
  .chart .pt { fill: #2a78d6; stroke: #fff; stroke-width: 1.5; }
  .chart .pj { fill: #eb6834; stroke: #fff; stroke-width: 1.5; }
  .chart .lbl { fill: #16202A; font-size: 11px; font-weight: bold; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
  .chart .sel { fill: none; stroke: #16202A; stroke-width: 2; }
  .chart .hit { fill: transparent; cursor: pointer; }
  .legend { display: flex; gap: 14px; font-size: 12px; color: #4B5966; padding: 0 4px 6px; }
  .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2a78d6; margin-right: 5px; }
  .legend i.j { background: #eb6834; border-radius: 1px; transform: rotate(45deg) scale(0.85); }
  .tip { font-size: 13px; color: #4B5966; margin: 6px 4px 0; min-height: 18px; }
  .tip b { color: #16202A; }
  /* 공시 */
  .di { display: block; padding: 12px 2px; border-bottom: 1px solid #E8ECE7; color: #16202A; text-decoration: none; }
  .di .dh { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
  .di .dh b { font-size: 14px; margin-right: 2px; }
  .di .dtt { font-size: 15px; font-weight: 600; margin-top: 3px; line-height: 1.4; overflow-wrap: anywhere; }
  .di .ds { font-size: 12px; color: #7F8B95; margin-top: 3px; }
  .tag.imp { border-color: #1D4F7C; color: #1D4F7C; }
  .list .item b small { font-weight: normal; color: #7F8B95; font-size: 12px; }
  #dtEditBox h3 { margin-top: 16px; }
  /* 경매 */
  .aui { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 11px 12px; margin-top: 8px; color: #16202A; font: inherit; cursor: pointer; }
  .aui .ah { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
  .aui .ah b { font-size: 15px; margin-left: 3px; }
  .aui .ah small { color: #7F8B95; font-size: 12px; margin-left: 3px; }
  .aui .ah .tag, .ar .tag { margin-left: 0; }
  .aui .ah .tag.plain:first-child { margin-left: 0; }
  .aui .hot { font-size: 14px; }
  .aui .aa { font-size: 14px; margin-top: 5px; line-height: 1.4; overflow-wrap: anywhere; }
  .aui .aa small, .aui .ap span, .aui .am span { color: #7F8B95; font-size: 12px; }
  .aui .ap { margin-top: 5px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .aui .ap b { font-size: 17px; }
  .aui .am { font-size: 13px; color: #4B5966; margin-top: 3px; }
  .aui .am b.pr { color: #16202A; font-size: 14px; }
  .ar { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
  .tag.new { border-color: #1D4F7C; color: #fff; background: #1D4F7C; }
  .tag.down { border-color: #2F7A45; color: #2F7A45; }
  .tag.soon { border-color: #A15C00; color: #A15C00; }
  .kv { margin: 12px 0 0; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 2px 12px; }
  .kv div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid #E8ECE7; }
  .kv div:last-child { border-bottom: 0; }
  .kv dt { font-size: 13px; color: #7F8B95; }
  .kv dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
  .sheet-body h3 small { font-weight: normal; color: #7F8B95; font-size: 12px; }
  .sheet-body .list .item span small { color: #C4372C; }
  .ai details { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; margin-top: 8px; padding: 0 12px; }
  .ai summary { font-weight: bold; font-size: 14px; padding: 11px 0; cursor: pointer; }
  .ai details p, .ai details ul { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
  .ai details ul { padding-left: 18px; }
  .ai details li { margin-bottom: 4px; }
  .notes { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 4px 12px; }
  .notes p { margin: 8px 0; font-size: 13px; line-height: 1.5; color: #4B5966; }
  /* 매물장 */
  .lsi .ah { flex-wrap: nowrap; }
  .lsi .ah b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
  .lsi .ah small.lsd { flex: 0 0 auto; margin-left: 6px; }
  .lsi .ah small.lspid { flex: 0 0 auto; margin-left: 6px; color: #7F8B95; font-size: 11.5px; } /* 23단계g142: 매물번호 */
  .lsi .ap b { font-size: 17px; }
  .lsi .ap b + b { margin-left: 2px; }
  .lsnote { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #7F8B95 !important; }
  .tag.st { margin-left: 0; }
  .lsi .ah .tag { flex: 0 0 auto; white-space: nowrap; }
  #lsScan { flex: 0 0 auto; white-space: nowrap; }
  .mon.lg { flex-wrap: wrap; gap: 2px 10px; }
  .mon.lg b { white-space: nowrap; }
  .kv.wide div { grid-template-columns: 104px minmax(0, 1fr); }
  /* 18단계a: 매물구성 */
  .tag.bun { border-color: #6B4FA0; color: #6B4FA0; margin-left: 0; }
  .bunline { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
  .bunline .tag { margin-left: 0; }
  .parts { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 2px 12px; margin-top: 10px; }
  details.cond .parts { border: 0; padding: 0; margin: 0 0 8px; }
  .pt { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid #E8ECE7; }
  .pt:last-child { border-bottom: 0; }
  .pt .pa { font-weight: bold; color: #6B4FA0; text-align: center; background: #F1ECF8; border-radius: 6px; padding: 2px 0; align-self: start; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pt b { font-size: 14px; overflow-wrap: anywhere; }
  .pt small { color: #7F8B95; }
  .pt.dim { opacity: .7; }
  .psum { font-size: 14px; margin: 8px 2px 0; line-height: 1.5; }
  .psum small { color: #7F8B95; }
  .lsi.sib { margin-top: 8px; }
  div.lsc { box-sizing: border-box; } /* 상세의 '최근 수정' 상자가 폰 폭보다 10px 넓던 것 */
  /* 18단계b: 구성 넣기 */
  details.ptool { margin-top: 12px; }
  details.ptool > summary { font-weight: bold; color: #6B4FA0; }
  .btn.ptgo { border-color: #6B4FA0; color: #6B4FA0; font-weight: bold; }
  details.ptool[open] { padding-bottom: 10px; }
  .ptgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .ptgrid label { font-size: 13px; font-weight: normal; color: #4B5966; margin-top: 0; }
  .ptgrid input, .ptgrid select { width: 100%; box-sizing: border-box; }
  .ptool textarea { width: 100%; box-sizing: border-box; margin-top: 8px; font: inherit; font-size: 14px; }
  .ptu { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 4px 10px; max-height: 320px; overflow: auto; }
  .ptg { padding: 6px 0; border-bottom: 1px solid #E8ECE7; }
  .ptg:last-child { border-bottom: 0; }
  .ptg > b { display: block; font-size: 13px; color: #4B5966; margin-bottom: 2px; }
  .ptg label { display: block; font-size: 14px; font-weight: normal; margin: 2px 0; color: #16202A; }
  .ptg label small { color: #7F8B95; }
  .ptg label.dim { opacity: .55; }
  .ptg input[type=checkbox] { width: auto; height: auto; margin: 0 6px 0 0; vertical-align: -2px; }
  .ptool .btn.blue { background: #1D4F7C; border-color: #1D4F7C; color: #fff; font-weight: bold; }
  .ptool .btn:disabled { opacity: .45; }
  .ptgrid input, .ptgrid select { height: 40px; margin-top: 3px; }
  .ptgrid select { border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; padding: 0 8px; font-size: 15px; color: #16202A; }
  .note.good { background: #E4F3E8; color: #1F5A33; }
  .tag.off { border-color: #C9D1CA; color: #7F8B95; text-decoration: line-through; }
  details.cond { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; margin-top: 10px; padding: 0 12px; }
  details.cond summary { font-size: 14px; padding: 10px 0; color: #4B5966; cursor: pointer; }
  details.cond summary b { color: #1D4F7C; }
  .condgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .condgrid label { font-size: 13px; font-weight: normal; color: #4B5966; margin-top: 0; }
  .condgrid input { height: 38px; margin-top: 4px; font-size: 15px; }
  .cond .row-end { margin: 10px 0 12px; }
  .lsc { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 12px; margin-top: 8px; color: #16202A; font: inherit; cursor: pointer; }
  .lsc .ah { display: flex; align-items: center; gap: 4px; }
  .lsc .ah b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .lsc .ah .tag { margin-left: 0; flex: 0 0 auto; }
  .chg { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px; font-size: 13px; margin-top: 5px; line-height: 1.45; }
  .chg dt { color: #7F8B95; overflow-wrap: anywhere; }
  .chg dd { margin: 0; overflow-wrap: anywhere; }
  .chg del { color: #7F8B95; }
  .chg ins { text-decoration: none; font-weight: bold; }
  .tag.del { border-color: #C4372C; color: #fff; background: #C4372C; }
  /* 23단계g144: 상태 칩 (매물 상세) */
  .stq { margin-top: 10px; }
  .stq .stqh { display: block; font-size: 12px; color: #7F8B95; }
  .stq .achips { margin-top: 4px; flex-wrap: wrap; overflow: visible; }
  .stq .achip { min-height: 34px; }
  .stq .achip:disabled { opacity: 1; cursor: default; }
  .stq .achip.arm { background: #FFF4D6; border-color: #D9A400; color: #5C4300; }
  .stq .stqm { display: block; font-size: 12px; color: #55606A; margin-top: 4px; }
  .stq .stqm.bad { color: #B3261E; }
  .stq .stqm.yt { color: #1D4F7C; } /* 23단계g159 */
  .stqyt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #33414D; margin-top: 6px; cursor: pointer; } .stqyt input { width: 18px; height: 18px; flex: none; }
  .callrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
  .callrow a.btn { height: 40px; font-size: 15px; font-weight: bold; }
  .callrow a.btn.call { background: #1D4F7C; border-color: #1D4F7C; color: #fff; }
  .callrow small { display: block; width: 100%; font-size: 12px; color: #7F8B95; margin-top: 2px; }
  .notes a { color: #1D4F7C; }
  .readonly { font-size: 12px; color: #7F8B95; margin-top: 14px; }
  .lsi .ap b.muted { color: #7F8B95; font-weight: normal; font-size: 14px; }
  /* 신규매물 (네이버 바로보기·저장) */
  textarea { width: 100%; box-sizing: border-box; margin-top: 6px; padding: 8px 10px; font-size: 15px; border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; font-family: inherit; resize: vertical; }
  .tile span.old { color: #A15C00; }
  .howto { margin: 0 0 12px; padding-left: 18px; font-size: 13px; line-height: 1.55; color: #4B5966; }
  .howto li { margin-bottom: 6px; }
  .nvi .ah { flex-wrap: nowrap; }
  .nvi .ah .tag { flex: 0 0 auto; white-space: nowrap; }
  .nvi .ah b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .nvi .aa { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4B5966; }
  #nvSt { margin-top: 6px; }
  .nvf { padding: 10px 12px; }
  .nvfh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .nvf textarea { min-height: 44px; font-size: 14px; }
  .nvf select.nvsel { width: 100%; height: 38px; margin-top: 4px; font-size: 15px; border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; padding: 0 6px; }
  .nvf label { margin-top: 8px; }
  .nvf .condgrid label { margin-top: 8px; }
  .nvsum { padding: 10px 12px; }
  .nvsum b { display: block; font-size: 17px; }
  .nvsum span { font-size: 13px; color: #7F8B95; }
  .nvsum p { margin: 6px 0 0; font-size: 14px; color: #4B5966; }
  .nvi .ap b { font-size: 15px; }
  [hidden] { display: none !important; }
  .ubar { height: 8px; background: #E5E9E4; border-radius: 4px; overflow: hidden; margin: 4px 0 10px; }
  .ubar i { display: block; height: 100%; background: #2F7A45; border-radius: 4px; }
  .ubar i.warn { background: #C08A1A; }
  .ubar i.bad { background: #C4372C; }
  .uline { font-size: 13.5px; margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; }
  .uline span { color: #4B5966; }
  /* 저장된 자료 표시 (빠르게 열기) */
  header > div:first-child { min-width: 0; display: flex; align-items: center; flex-wrap: nowrap; }
  #fresh { display: inline-flex; align-items: center; margin-left: 8px; background: #16202A; color: #fff; font-size: 12px; padding: 4px 9px; border-radius: 12px; white-space: nowrap; min-width: 0; overflow: hidden; }
  #fresh.fail { background: #8A4B12; }
  #fresh button { border: 0; background: #fff; color: #16202A; border-radius: 9px; font-size: 12px; padding: 1px 7px; margin-left: 5px; }
  header.fresh-on .ver { display: none; }
.tools-box{margin:4px 0 12px}
.toolgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.toolgrid .btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:8px 10px;line-height:1.3;white-space:normal;height:auto;min-height:52px}
.toolgrid .btn small{font-size:11px;color:#7F8B95;font-weight:400;margin-top:2px}
/* 15단계: 네이버 캡처 */
.capsheet, .capview { z-index: 30; }
.capview { z-index: 32; }
.capdh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.capdh label.btn { margin-top: 0; display: inline-flex; align-items: center; cursor: pointer; font-weight: normal; }
.capdrop.over { border-color: #1D4F7C; box-shadow: 0 0 0 2px #D6E4F0; }
.capitem { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid #E8ECE7; padding-top: 10px; margin-top: 10px; }
.capitem img { width: 64px; height: 96px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid #D8DED8; flex: 0 0 auto; background: #EEF1EC; }
.capinfo { min-width: 0; flex: 1; }
.capinfo b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capinfo span { font-size: 12px; color: #7F8B95; }
.capinfo .tools { margin-top: 4px; }
.capempty { font-size: 13px; color: #7F8B95; padding: 10px 0 2px; }
label.capchk { display: flex; align-items: center; gap: 8px; font-weight: normal; }
label.capchk input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
.capbox { padding: 10px 12px; }
.capbox .capdh b { font-size: 15px; }
.capprev { margin-top: 8px; max-height: 260px; overflow: hidden; border-radius: 8px; border: 1px solid #D8DED8; cursor: pointer; position: relative; background: #EEF1EC; min-height: 80px; }
.capprev img { display: block; width: 100%; }
.capprev span { position: absolute; right: 8px; bottom: 8px; background: rgba(22,32,42,.82); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 8px; }
.agbox { padding: 10px 12px; }
.agbox .agn { font-size: 15px; font-weight: bold; }
.agbox .tools a { text-decoration: none; }
.agbox ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: #4B5966; }
.lbox { padding: 10px 12px; }
.lmatch { display: block; width: 100%; text-align: left; background: #F7F9F6; border: 1px solid #D8DED8; border-radius: 8px; padding: 8px 10px; margin-top: 6px; font: inherit; color: #16202A; cursor: pointer; }
.lmatch b { font-size: 14px; margin-left: 4px; }
.lmatch span.ls2 { display: block; font-size: 12px; color: #4B5966; margin-top: 2px; }
.tag.ok { border-color: #2F7A45; color: #fff; background: #2F7A45; }
.lnone { font-size: 13px; margin: 6px 0 0; }
input.aifill, textarea.aifill, select.aifill { background: #EAF2FB; border-color: #8DB3D9; }
.aidiff { font-size: 12px; color: #A15C00; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.aidiff .btn { height: 26px; font-size: 12px; padding: 0 8px; }
.ainote { background: #EAF2FB; color: #1D3F60; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin-top: 10px; }
.vwg { margin-top: 14px; font-size: 13px; color: #4B5966; display: flex; justify-content: space-between; align-items: center; }
.vwimg { position: relative; margin-top: 6px; overflow-x: auto; background: #EEF1EC; min-height: 120px; border-radius: 4px; }
.vwimg img { display: block; width: 100%; }
.vwimg.zoom img { width: 220%; max-width: none; }
.vwdel { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 15px; border: 0; background: rgba(22,32,42,.7); color: #fff; font-size: 16px; }
.capi { font-size: 12px; color: #1D4F7C; margin-left: 4px; }
/* 16단계: 내 주식 (오르면 빨강, 내리면 파랑) */
.up { color: #C4372C !important; }
.dn { color: #1D5FB0 !important; }
.mk { display: flex; gap: 6px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; scrollbar-width: none; }
.mk::-webkit-scrollbar { display: none; }
.mk span { flex: 0 0 auto; background: #fff; border: 1px solid #D8DED8; border-radius: 9px; padding: 5px 9px; font-size: 12px; color: #4B5966; white-space: nowrap; }
.mk span b { color: #16202A; font-size: 13px; margin: 0 3px; }
.sum dd.up, .sum dd.dn { font-size: 16px; }
.sum dd small { font-size: 12px; font-weight: normal; margin-left: 3px; }
.stkfind { margin-top: 10px; }
.stkfind input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid #C9D3CC; border-radius: 10px; background: #fff; }
.stkfind .fr { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E0E5DF; border-radius: 10px; padding: 8px 10px; margin-top: 6px; min-width: 0; }
.stkfind .fr b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.stkfind .fr b small { color: #7F8B95; font-weight: normal; font-size: 12px; margin-left: 4px; }
.stkfind .fr .btn { flex: 0 0 auto; }
.sk { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 12px; margin-top: 8px; color: #16202A; font: inherit; cursor: pointer; }
.sk .sh { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.sk .sh b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sk .sh small { color: #7F8B95; font-size: 12px; flex: 0 0 auto; }
.sk .sh .pr { margin-left: auto; font-weight: bold; white-space: nowrap; flex: 0 0 auto; font-size: 14px; }
.sk .why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.sk .why .tag { margin-left: 0; }
.sk .wt { font-size: 13px; color: #4B5966; margin-top: 6px; line-height: 1.5; }
.sk .wt div { overflow-wrap: anywhere; }
.sk .my { font-size: 12px; color: #4B5966; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #E0E5DF; }
.tag.k1 { border-color: #1D4F7C; color: #fff; background: #1D4F7C; }
.tag.k2 { border-color: #C4372C; color: #C4372C; }
.tag.k3 { border-color: #1D5FB0; color: #1D5FB0; }
.tag.k4 { border-color: #A15C00; color: #A15C00; }
.tag.k5 { border-color: #C4372C; color: #fff; background: #C4372C; }
.tag.k6 { border-color: #2F7A45; color: #fff; background: #2F7A45; }
.hr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px 12px; padding: 11px 2px; width: 100%; border: 0; border-bottom: 1px solid #E8ECE7; background: none; text-align: left; font: inherit; color: #16202A; cursor: pointer; align-items: center; }
.hr .n { min-width: 0; }
.hr .n b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr .n span { font-size: 12px; color: #7F8B95; }
.hr .n i { font-style: normal; color: #A15C00; }
.hr .y { text-align: right; font-weight: bold; font-size: 15px; white-space: nowrap; }
.hr .y small, .hr .v small { display: block; font-size: 11px; font-weight: normal; color: #7F8B95; }
.hr .v { text-align: right; font-size: 13px; white-space: nowrap; color: #4B5966; }
.stkfoot { font-size: 12px; color: #7F8B95; margin: 16px 2px 0; line-height: 1.55; }
details.more2 { margin-top: 8px; }
details.more2 summary { font-size: 13px; color: #4B5966; padding: 8px 2px; cursor: pointer; }
.lad { margin: 12px 0 0; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 2px 12px; }
.lad div { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid #E8ECE7; font-size: 14px; align-items: baseline; }
.lad div:last-child { border-bottom: 0; }
.lad dt { font-size: 13px; color: #7F8B95; }
.lad dd { margin: 0; font-weight: bold; }
.lad span { font-size: 12px; color: #7F8B95; text-align: right; }
.lad div.now { background: #FFF4D6; margin: 0 -12px; padding: 7px 12px; }
.lad div.now dt, .lad div.now span { color: #7A5300; }
.chart .ma { fill: none; stroke: #eb6834; stroke-width: 1.4; stroke-dasharray: 4 3; }
.chart .ln { fill: none; stroke: #2a78d6; stroke-width: 2; }
.chart .vb { fill: #C9D1CA; }
.legend i.ma { background: #eb6834; border-radius: 0; height: 3px; vertical-align: 3px; }
/* 16단계b: AI 분석 */
.tag.k7 { border-color: #1D5FB0; color: #fff; background: #1D5FB0; }
.sk .ai1 { margin-top: 7px; font-size: 14px; line-height: 1.45; display: flex; gap: 6px; align-items: baseline; }
.sk .ai1 .tag { margin-left: 0; flex: 0 0 auto; }
.sk .ai1 b { font-weight: 600; overflow-wrap: anywhere; }
.aibox { background: #fff; border: 1px solid #C9D7E6; border-radius: 10px; padding: 12px; margin-top: 10px; }
/* 23단계g190: 내 주식 — 새 자료를 못 만든 까닭 · 🩺 KB 연결 점검 결과 */
.stkfail p { margin: 6px 0 0; overflow-wrap: anywhere; }
.kbres { background: #fff; border: 1px solid #D8DED8; border-radius: 8px; padding: 8px 10px; margin-top: 8px; font-size: 13px; color: #16202A; line-height: 1.5; }
.kbres p { margin: 4px 0; overflow-wrap: anywhere; }
.kbres ol { margin: 6px 0; padding-left: 18px; }
.kbres li { margin: 3px 0; overflow-wrap: anywhere; }
.kbres small { color: #7F8B95; }
.aibox .aihead { display: flex; gap: 8px; align-items: baseline; }
.aibox .aihead .tag { margin-left: 0; flex: 0 0 auto; font-size: 12px; }
.aibox .aihead b { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.aibox p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.aibox p.muted { color: #4B5966; font-size: 13px; }
.aibox h4 { margin: 14px 0 0; font-size: 13px; color: #1D4F7C; }
.aibox ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.55; }
.aibox ul li { margin-bottom: 4px; }
.aibox .sc b { color: #16202A; }
.aibox .refs a { display: block; font-size: 13px; color: #1D4F7C; text-decoration: none; padding: 5px 0; border-bottom: 1px solid #EEF1EC; overflow-wrap: anywhere; }
.aibox .refs a small { color: #7F8B95; }
.aibox .aifoot { font-size: 12px; color: #7F8B95; margin-top: 10px; }
.aiwait { font-size: 14px; color: #4B5966; }
/* 16단계c: 주간 점검 */
#stkSheet { z-index: 17; }
#wkSheet { z-index: 16; }
.wkbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; text-align: left; background: #EAF2FB; border: 1px solid #C9D7E6; border-radius: 10px; padding: 10px 12px; margin-top: 12px; color: #16202A; font: inherit; cursor: pointer; }
.wkbox b { font-size: 15px; }
.wkbox span { display: block; font-size: 12px; color: #4B5966; margin-top: 2px; }
.wkbox i { font-style: normal; color: #1D4F7C; font-weight: bold; flex: 0 0 auto; }
.wkbox > div { min-width: 0; }
.wkbox > .btn { flex: 0 0 auto; }
div.wkbox { cursor: default; }
.wkneed { background: #FFF6E0; border-color: #EBCB8B; margin-top: 12px; }
/* 17단계a: 쇼츠 분석 */
#shkSheet { z-index: 16; }
a.hr { text-decoration: none; }
.hr .n span.sl { white-space: normal; color: #4B5966; }
.shkv { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.shkv .vt { display: flex; gap: 8px; align-items: baseline; }
.shkv .vt a { flex: 1 1 auto; min-width: 0; font-weight: bold; font-size: 14px; color: #16202A; text-decoration: none; overflow-wrap: anywhere; }
.shkv .vt .num { flex: 0 0 auto; text-align: right; font-weight: bold; white-space: nowrap; font-size: 14px; }
.shkv .vt .num small { display: block; font-size: 11px; font-weight: normal; color: #7F8B95; }
.shkv .vm { font-size: 12px; color: #7F8B95; margin-top: 3px; }
.shkv .vn { font-size: 13px; color: #4B5966; line-height: 1.55; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #E0E5DF; }
.shkv .vn p { margin: 3px 0 0; overflow-wrap: anywhere; }
.shkv .vn b { color: #1D4F7C; font-weight: bold; }
.shkv .tag { margin-left: 0; margin-right: 4px; }
.idea { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.idea b { font-size: 15px; overflow-wrap: anywhere; }
.idea .hk { font-size: 14px; margin-top: 5px; color: #16202A; overflow-wrap: anywhere; }
.idea .wy { font-size: 12px; color: #7F8B95; margin-top: 4px; overflow-wrap: anywhere; }
.idea .tag { margin-left: 6px; vertical-align: 1px; }
.idea .mk { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: bold; color: #1D4F7C; border: 1px solid #C9D6E3; border-radius: 8px; padding: 5px 10px; text-decoration: none; background: #F4F8FC; }
.wkgrp { margin-top: 14px; }
.wkgrp h4 { margin: 0 0 2px; font-size: 14px; }
.hr .n span.wl { color: #4B5966; white-space: normal; }
.cand { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.cand .ch { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cand .ch b { font-size: 16px; }
.cand .ch small { color: #7F8B95; font-size: 12px; }
.cand .ch .pr { margin-left: auto; font-weight: bold; white-space: nowrap; }
.cand p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }
.cand p.mu { font-size: 13px; color: #4B5966; }
.cand .src { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cand .src .tag { margin-left: 0; }
.cand .refs a { display: block; font-size: 13px; color: #1D4F7C; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
/* 23단계g13: 매물 목록 — 동네 이름 검색 · 📍 지도 · 🗺 지도로 보기 (번호 핀) */
.listhead.wmap { align-items: center; }
.listhead.wmap span { flex: 1 1 auto; text-align: right; min-width: 0; }
.listhead .lsmapbtn { flex: 0 0 auto; margin: 0 0 0 8px; white-space: nowrap; }
.lsmapa { display: inline-block; white-space: nowrap; font-size: 12px; line-height: 1.4; color: #1D4F7C; background: #EEF4FA; border: 1px solid #C3D5E8; border-radius: 12px; padding: 2px 9px; margin-left: 6px; vertical-align: 1px; }
.lsno { flex: 0 0 auto; display: inline-block; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 5px; border-radius: 10px; background: #E5322D; color: #fff; font-size: 12px; font-weight: bold; line-height: 20px; text-align: center; margin-right: 3px; }
.lsmapbox { margin-top: 8px; }
.lsmapbox .hint { margin: 6px 0 0; }
.lsmapwrap { position: relative; width: 100%; border: 1px solid #D8DED8; border-radius: 10px; overflow: hidden; background: #EEF1F5; }
.lsmapwrap img { display: block; width: 100%; height: 100%; }
.lsmapwrap.old img { opacity: .45; }
.lsmapwrap.wait { display: flex; align-items: center; justify-content: center; color: #7F8B95; font-size: 14px; }
.lspin { position: absolute; transform: translate(-50%, calc(-100% - 6px)); min-width: 24px; height: 24px; box-sizing: border-box; padding: 0 6px; margin: 0; border-radius: 12px; border: 2px solid #fff; background: #E5322D; color: #fff; font: bold 12px/20px sans-serif; box-shadow: 0 1px 4px rgba(0,0,0,.45); cursor: pointer; white-space: nowrap; }
.lspin::after { content: ''; position: absolute; left: 50%; top: 100%; margin: 2px 0 0 -5px; border-style: solid; border-width: 6px 5px 0; border-color: #E5322D transparent transparent; }
.lspin:active { background: #B5201C; }
.lsi.flash { box-shadow: 0 0 0 3px #E5322D; }
details.lsother { padding-bottom: 2px; }
details.lsother[open] { padding-bottom: 10px; }
details.lsother summary { line-height: 1.45; }
/* 23단계g14: 손가락으로 확대·이동하는 지도 (Leaflet) · 그림 지도 ＋/－ */
.lsmapwrap.live { aspect-ratio: 6 / 5; z-index: 0; isolation: isolate; }
.lsmapwrap.live .lswait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7F8B95; font-size: 14px; }
.lsmapwrap.live .leaflet-container, .lsmapwrap.live.leaflet-container { font: 12px/1.4 sans-serif; background: #EEF1F5; }
.lsmk { background: none; border: 0; }
.lsmk .lspin { left: 0; top: 0; }
.lsmaprow { display: flex; align-items: flex-start; gap: 8px; }
.lsmaprow .hint { flex: 1 1 auto; min-width: 0; }
.lsmaprow .btn { flex: 0 0 auto; margin-top: 6px; white-space: nowrap; }
.lszoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.lszoom button { width: 36px; height: 36px; padding: 0; border: 1px solid #C9D1D9; border-radius: 8px; background: rgba(255,255,255,.95); color: #16202A; font-size: 20px; line-height: 1; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: pointer; }
.lszoom button.w { font-size: 11px; }
.lszoom button:disabled { opacity: .45; }
/* 23단계g16: 매물 ✏️ 고치기 */
.tools .btn.edgo { border-color: #1D4F7C; color: #1D4F7C; font-weight: bold; }
.btn.primary { background: #1D4F7C; border-color: #1D4F7C; color: #fff; }
.btn.primary:disabled { opacity: .6; }
.lsedit > small { color: #7F8B95; font-size: 12px; }
.lsedit label { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 8px; margin: 8px 0 0; font-size: 13px; font-weight: normal; color: #4B5966; }
.lsedit label > span:first-child { padding-top: 12px; }
.lsedit label em { font-style: normal; color: #7F8B95; font-size: 11px; }
.lsedit input, .lsedit select, .lsedit textarea { margin-top: 0; }
.lsedit input, .lsedit select { height: 40px; font-size: 15px; }
.lsedit select { width: 100%; border: 1px solid #C9D1CA; border-radius: 8px; background: #fff; padding: 0 8px; color: #16202A; }
.lsedit small { display: block; font-size: 11.5px; color: #7F8B95; margin-top: 3px; }
.lsedit .edmore { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed #D8DED8; font-size: 13px; font-weight: 700; color: #4B5966; } /* 23단계g142: 그 밖의 장부 칸 */
.lsedit .edmore small { font-weight: 400; }
/* 23단계g266: ✏️ 고치기 💰 분양권 금액 (분양가 → 옵션 종류 → 옵션가 → 프리미엄 → 총매매가 → 중도금 → 실투자금) */
.lsedit .bunhd { margin: 12px 0 0; padding: 8px 10px 4px; border: 1px solid #E8D9B5; border-bottom: 0; border-radius: 10px 10px 0 0; background: #FFFCF3; font-size: 13px; font-weight: 700; color: #5B4300; }
.lsedit .bunhd small { display: block; font-weight: 400; color: #8A7340; }
.lsedit .bunhd .btn { margin-top: 6px; }
.lsedit label.bunf { margin: 0; padding: 6px 10px 2px; background: #FFFCF3; border-left: 1px solid #E8D9B5; border-right: 1px solid #E8D9B5; }
.lsedit label.bunf.bunauto input { background: #FBF7EA; }
.lsedit .bunwide { background: #FFFCF3; border-left: 1px solid #E8D9B5; border-right: 1px solid #E8D9B5; padding: 2px 10px 6px; }
.lsedit .bunwide > .bunpanel { margin-top: 0; }
.lsedit .bunwide:empty { display: none; }
.lsedit .bunwide > small { display: block; }
.lsedit .bunend { height: 8px; border: 1px solid #E8D9B5; border-top: 0; border-radius: 0 0 10px 10px; background: #FFFCF3; margin-bottom: 4px; }
.lsedit textarea.bunkind { width: 100%; min-height: 44px; font-size: 14.5px; line-height: 1.45; }
.lsedit small.buntot a, .lsedit small.bunkindh a { color: #1D4F7C; }
.lsedit .bunpanel { margin-top: 6px; background: #fff; border: 1px solid #EADFC2; border-radius: 10px; padding: 6px 8px; }
.lsedit .bunpanel .bpg { padding: 5px 0; border-bottom: 1px dashed #F0E6CC; font-size: 12.5px; color: #4B5966; }
.lsedit .bunpanel .bpg > b { color: #16202A; margin-right: 6px; }
.lsedit button.bunchip { border: 1px solid #D9CBA4; background: #fff; border-radius: 14px; font-size: 12.5px; padding: 4px 10px; margin: 3px 4px 0 0; color: #33414D; cursor: pointer; font-family: inherit; text-align: left; white-space: normal; }
.lsedit button.bunchip small { display: inline; color: #8A7340; }
.lsedit button.bunchip.on { background: #5B4300; border-color: #5B4300; color: #fff; }
.lsedit button.bunchip.on small { color: #F3E3B8; }
.lsedit button.bunchip.pick { border-color: #5B4300; box-shadow: 0 0 0 1px #5B4300 inset; }
.lsedit small.edw { color: #1D4F7C; }
/* 23단계g145: 고르기 단추 (옵션·관리비포함·주차) · 🏢 대장에서 넣은 값 */
.lsedit .qc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lsedit .qc button { border: 1px solid #C9D3CD; background: #fff; border-radius: 16px; font-size: 13px; min-height: 34px; padding: 4px 12px; color: #33414D; cursor: pointer; font-family: inherit; }
.lsedit .qc button.on { background: #1F3B5B; border-color: #1F3B5B; color: #fff; }
.lsedit small.edauto { color: #11573A; }
.lsedit small.edpy { color: #1D4F7C; } /* 23단계g146 */
.lsedit .edbld { margin: 8px 0 0; } .lsedit .edbld small { color: #55606A; }
@media (max-width: 380px) { .lsedit label { grid-template-columns: 1fr; gap: 2px; } .lsedit label > span:first-child { padding-top: 0; } }
/* 23단계g17: 비고 줄 지우기 · 전체 고치기 */
.ednotes { margin-top: 10px; border-top: 1px solid #E8ECE7; padding-top: 8px; }
.ednh { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #4B5966; }
.ednl { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #E8ECE7; font-size: 13.5px; color: #33414D; line-height: 1.45; }
.ednl span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ednl.del span { text-decoration: line-through; color: #A0A9B1; }
.ednd { flex: 0 0 auto; width: 34px; height: 30px; padding: 0; border: 1px solid #D8DED8; border-radius: 8px; background: #fff; font-size: 15px; cursor: pointer; }
.ednl.del .ednd { border-color: #1D4F7C; color: #1D4F7C; }
.ednotes textarea { margin-top: 6px; font-size: 14px; }
/* 23단계g34: 실거래 — 거래 줄 🧮 계산 · 🏢 단지 정보 카드 · 평형 */
.tr .p a.calcb { display: inline-block; margin-top: 5px; font-size: 12px; color: #1D4F7C; text-decoration: none; border: 1px solid #C9D6E2; border-radius: 7px; padding: 3px 8px; background: #fff; white-space: nowrap; }
details.cxinfo { background: #fff; border: 1px solid #D8DED8; border-radius: 10px; margin-top: 12px; padding: 0 12px; }
details.cxinfo > summary { display: flex; gap: 8px; align-items: baseline; padding: 11px 0; cursor: pointer; list-style: none; }
details.cxinfo > summary::-webkit-details-marker { display: none; }
details.cxinfo > summary b { flex: 0 0 auto; font-size: 14px; }
details.cxinfo > summary span { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #4B5966; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.cxinfo > summary::after { content: '▾'; color: #7F8B95; flex: 0 0 auto; }
details.cxinfo[open] > summary::after { content: '▴'; }
details.cxinfo[open] > summary span { white-space: normal; }
.cxin { padding-bottom: 10px; }
.cxin .tools { margin-top: 10px; }
.cxdl { margin: 0; }
.cxdl div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid #EEF1ED; font-size: 13.5px; }
.cxdl dt { color: #7F8B95; }
.cxdl dd { margin: 0; overflow-wrap: anywhere; line-height: 1.45; }
.cxtypes { margin-top: 8px; font-size: 13.5px; }
.cxtypes span { display: inline-block; margin: 4px 6px 0 0; padding: 4px 8px; border-radius: 8px; background: #EEF3F8; color: #1D4F7C; font-weight: bold; }
.cxtypes span small { font-weight: normal; color: #4B5966; font-size: 11.5px; }
.achip i.pyt { font-style: normal; font-weight: bold; }
.achip i.pyt.est { font-weight: normal; }
.tr .s { word-break: keep-all; overflow-wrap: anywhere; } /* 23단계g34: 「24평형」 같은 낱말이 줄 끝에서 갈라지지 않게 */
#rtList, #cxBody { padding-bottom: 64px; } /* 23단계g34: 맨 아래 거래의 🧮 계산이 떠 있는 🧮 계산기 단추에 가리지 않게 (끝까지 올리면 보임) */
#auBody { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } /* 23단계g79: 경매 상세 맨 아래 💬 더 물어보기 「묻기」가 떠 있는 🧮 계산기 단추(탭 줄 위로 올라가 있음)에 가리지 않게 */
.tr .t small.nodong { color: #9AA4AD; font-size: 12px; margin-left: 6px; } /* 23단계g36: 「동은 등기 뒤 공개」 */
/* 23단계g56: 🏘 상가주택 — 임대내역 표 · 가격 분석 · 공적자료 · 임대내역 고치기 */
table.sgjt { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #D8DED8; border-radius: 10px; overflow: hidden; font-size: 13px; margin-top: 8px; }
table.sgjt th { background: #F3F5F2; color: #4B5966; font-weight: normal; font-size: 12px; text-align: left; padding: 6px 6px; border-bottom: 1px solid #D8DED8; white-space: nowrap; }
table.sgjt td { padding: 6px 6px; border-bottom: 1px solid #EEF1ED; vertical-align: top; overflow-wrap: anywhere; color: #16202A; }
table.sgjt td.n, table.sgjt th:nth-last-child(-n+2) { text-align: right; white-space: nowrap; }
table.sgjt tr.vac td { color: #8A5A00; background: #FFFBEF; }
table.sgjt tfoot td { font-weight: bold; background: #F7F9F6; border-bottom: 0; }
table.sgjt.flr th:nth-last-child(2) { text-align: left; }
details.cond table.sgjt { margin: 0 0 8px; }
.sgjbox { padding: 10px 14px; }
.sgjrate { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: #4B5966; font-weight: normal; margin: 0 0 4px; }
.sgjrate input { width: 64px; height: 34px; margin: 0; font-size: 15px; text-align: right; }
.sgjrate small { color: #7F8B95; font-size: 11.5px; }
dl.sgjc { margin: 4px 0 0; }
dl.sgjc div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid #EEF1ED; font-size: 13.5px; }
dl.sgjc div:first-child { border-top: 0; }
dl.sgjc div.tot { background: #F4F7F3; margin: 0 -6px; padding: 6px; border-radius: 6px; }
dl.sgjc div.tot dd { font-size: 15px; }
dl.sgjc dt { color: #7F8B95; }
dl.sgjc dd { margin: 0; overflow-wrap: anywhere; line-height: 1.45; }
dl.sgjc dd small { color: #7F8B95; font-size: 11.5px; }
dl.sgjc dd .muted { color: #7F8B95; }
dl.sgjc .sgjm i { font-style: normal; color: #9AA4AD; }
dl.sgjc .btn.small { margin-top: 4px; }
small.sgjf { display: block; color: #7F8B95; font-size: 11.5px; margin-top: 6px; }
.sgjpf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sgjpf small { color: #7F8B95; font-size: 11.5px; flex: 1 1 auto; }
.sgjmemo { background: #FBF8EE; border-color: #E7DDBE; }
.sgjed .sgjr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 34px; gap: 6px; padding: 8px 0; border-bottom: 1px dashed #E8ECE7; align-items: start; }
.sgjed .sgjr .w { grid-column: 1 / -1; }
.sgjed .sgjr label { display: block; margin: 0; }
.sgjed .sgjr label span { display: block; font-size: 11.5px; color: #7F8B95; padding: 0; }
.sgjed .sgjr input, .sgjed .sgjr select { height: 38px; font-size: 14.5px; }
.sgjed .sgjr .ednd { height: 38px; }
.sgjed .sgjr.del input, .sgjed .sgjr.del select { text-decoration: line-through; color: #A0A9B1; background: #F5F6F4; }
.sgjed .sgjr.del .ednd { border-color: #1D4F7C; color: #1D4F7C; }
.sgjed .sgjr.new { background: #F6FAF7; }
.sgjed > small { display: block; margin-top: 6px; }

/* 23단계g75: 경매 관심물건 — 끝난 물건(낙찰·취하 등)은 접어 둠 */
.auend > summary { cursor: pointer; padding: 10px 2px; color: #3E4A55; font-size: 14px; list-style-position: inside; }
.auend > summary small { color: #7F8B95; font-size: 12px; margin-left: 4px; }
.auend .aui { opacity: .78; }

/* 23단계g76: 분양권 단지 창 (분양권 거래 줄을 누르면) */
.tr[data-ps] { cursor: pointer; }
.tr[data-ps] .t::after { content: ' ›'; color: #7F8B95; font-weight: normal; }
.pstbl { overflow-x: auto; margin-top: 10px; -webkit-overflow-scrolling: touch; }
.pstbl table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pstbl th { text-align: right; font-weight: normal; color: #7F8B95; padding: 4px; border-bottom: 1px solid #E8ECE7; white-space: nowrap; vertical-align: bottom; }
.pstbl td { text-align: right; padding: 6px 4px; border-bottom: 1px solid #F0F2EF; vertical-align: top; white-space: nowrap; }
.pstbl th:first-child, .pstbl td:first-child { text-align: left; }
.pstbl th small, .pstbl td small { display: block; font-size: 10.5px; color: #9AA4AD; font-weight: normal; }
.pstbl td b.pos { color: #C4372C; }
.pstbl td b.neg { color: #1D4F7C; }
details.psalt { margin-top: 8px; }
details.psalt > summary { cursor: pointer; font-size: 13px; color: #1D4F7C; padding: 4px 0; }
.psalts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.psalts > b { flex: 1 0 100%; font-size: 13px; }
.psalts .achip { max-width: 100%; white-space: normal; }
.chart .pl { stroke: #C4372C; stroke-width: 1.5; stroke-dasharray: 5 4; }
.legend i.pl { width: 14px; height: 0; border-radius: 0; background: none; border-top: 2px dashed #C4372C; vertical-align: middle; transform: none; }
/* 23단계g78: 📤 보내기 (창 머리 오른쪽 · 카톡·문자·복사 — js/share.js) */
.sheet-head .shbtn { margin-left: auto; }
.sheet-head .shbtn[hidden] { display: none; }
.sheet-title { flex: 0 1 auto; }
.rtshare { display: flex; justify-content: flex-end; margin: -2px 0 8px; }
/* 23단계g79: 📊 청약 결과 (분양권 단지 창) */
.pstbl td small.sh { color: #C4372C; font-weight: bold; } /* 23단계g79: 청약 미달은 빨간 글씨 */
.cmpall { font-size: 12.5px; line-height: 1.6; color: #2B3742; padding: 4px 0 6px; overflow-wrap: anywhere; }
.cmpall > div { border-bottom: 1px dashed #E8ECE7; padding: 3px 0; }
.cmpsp { font-size: 13px; line-height: 1.6; margin: 10px 0 0; overflow-wrap: anywhere; }
.pscmp .spin { display: inline-block; width: 12px; height: 12px; border: 2px solid #C9D6E2; border-top-color: #1D4F7C; border-radius: 50%; animation: pscmpspin .8s linear infinite; margin-right: 6px; vertical-align: -1px; }
@keyframes pscmpspin { to { transform: rotate(360deg); } }
/* 23단계g80: ☆ 관심물건 넣기 · 별점·목표입찰가·메모 · 관심 빼기 (경매 상세) */
.auin { border: 1px solid #E6D9A2; background: #FFFBEA; border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.auin-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.auin-h small { color: #7F8B95; font-size: 12px; }
.auin-r { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.auin-r > span { flex: 0 0 70px; font-size: 13px; color: #4B5966; }
.auin label.auin-r { font-weight: normal; font-size: 14px; margin-top: 8px; }
.auin-r input, .auin-r textarea { flex: 1 1 160px; width: auto; min-width: 0; margin-top: 0; box-sizing: border-box; border: 1px solid #CBD3CB; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 15px; font-weight: normal; background: #fff; color: #16202A; }
.auin-r input { height: 42px; }
.auin-r textarea { resize: vertical; min-height: 46px; }
.auin-stars { display: flex; gap: 2px; }
.auin-st { border: 0; background: none; font-size: 26px; line-height: 1; color: #C9A227; padding: 2px 3px; cursor: pointer; font-family: inherit; }
.auin-raw { font-size: 12px; color: #7F8B95; }
.auin-tx { margin: 4px 0 0 78px; font-size: 12.5px; color: #1D4F7C; }
.auin-tx:empty { display: none; }
.auin-e { margin: 8px 0 0; font-size: 13px; color: #8A2A20; background: #FBE9E7; border-radius: 8px; padding: 6px 9px; line-height: 1.5; }
.auin .tools { margin-top: 10px; }
.auin .tools .auin-del { margin-left: auto; color: #C4372C; border-color: #E8B9B4; }
.auin-f { margin: 6px 0 0; font-size: 11.5px; color: #7F8B95; line-height: 1.5; }
/* 23단계g132: 📂 이 매물로 만든 것 (매물 상세) */
.hubbox { padding: 10px 14px; }
.hubbox .hubr { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid #EEF1EC; font-size: 14px; line-height: 1.45; }
.hubbox .hubr:first-child { border-top: 0; }
.hubbox .hubr .ic { flex: 0 0 22px; text-align: center; }
.hubbox .hubr small { display: block; color: #5B6770; font-size: 12px; margin-top: 1px; }
.hubbox .hubr a { color: #1D4F7C; text-decoration: underline; text-underline-offset: 2px; }
.hubbox details.hubln { margin-top: 8px; border-top: 1px dashed #D9DFD9; padding-top: 6px; }
.hubbox details.hubln summary { cursor: pointer; font-size: 13px; color: #1D4F7C; }
.hubbox details.hubln summary small { color: #5B6770; margin-left: 4px; }
/* 23단계g134: 🏢 단지 카드 (실거래 단지 창) */
.cxcard { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #D8DED8; }
.cxcard > b { font-size: 14px; } .cxcard > small { color: #7F8B95; font-size: 12px; margin-left: 4px; }
.cxcard .cxdl { margin-top: 6px; } .cxcard .tag.warn { border-color: #D9A400; background: #FFF4D6; color: #7A5300; }
.cxcard .cxtr { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 8px; background: #F3F5F1; font-size: 13px; }
.cxcard .cxtr small, .cxcard dd small { color: #7F8B95; font-size: 11px; }
/* 23단계g155: ☑ 여러 건 상태 바꾸기 */
#lsPickBar { position: sticky; top: 0; z-index: 5; background: #FFFBEA; border: 1px solid #E5C24A; border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 13.5px; }
#lsPickBar .pkrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
#lsPickBar .achip.arm { background: #FFF4D6; border-color: #D9A400; color: #5C4300; font-weight: bold; }
#lsPickBar small { color: #6B7280; }
#lsPickBar small.pknote { color: #1D4F7C; } /* 23단계g159 */
#lsList.picking .lsi { padding-left: 34px; position: relative; }
#lsList.picking .lsi::before { content: '☐'; position: absolute; left: 10px; top: 10px; font-size: 18px; color: #9AA5AE; }
#lsList.picking .lsi.sel { background: #FFF8DC; border-color: #D9A400; }
#lsList.picking .lsi.sel::before { content: '☑'; color: #8A6A00; }
#lsPickBtn.on { background: #FFF4D6; border-color: #D9A400; }
/* 23단계g159: 🏢 단지 카드 채우기 한 줄 (실거래 단지 목록 아래) */
.cxfill { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 12px 0 4px; padding: 9px 11px; border: 1px solid #D5DEE6; border-radius: 10px; background: #F6F9FC; font-size: 13px; color: #33414D; line-height: 1.5; }
.cxfill small { color: #6B7280; }
.cxfill .btn { flex: none; }
/* 23단계g194: 📊 가격 위치 (매물 카드 · 아파트 매매) — 점 = 비교 사례(층·면적 맞춘 값) · 세로선 = 중간값 · 주황 = 이 집 호가 */
.ppbox { padding: 10px 14px; }
.ppb { border: 1px solid #E3E8EE; border-radius: 10px; padding: 9px 12px 10px; background: #fff; margin: 2px 0 6px; }
.ppb-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.ppb-h b { font-size: 14px; color: #1A2E4A; }
.ppb-h span { font-size: 12px; color: #6B7280; }
.ppb-bar { position: relative; height: 38px; margin: 0 8px; }
.ppb-l { position: absolute; left: 0; right: 0; top: 22px; height: 3px; border-radius: 2px; background: #D5DAE0; }
.ppb-d { position: absolute; top: 18px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #9AA3AF; border: 2px solid #fff; box-sizing: border-box; }
.ppb-m { position: absolute; top: 13px; width: 2px; height: 21px; margin-left: -1px; background: #1A2E4A; }
.ppb-me { position: absolute; top: 15px; width: 17px; height: 17px; margin-left: -8.5px; border-radius: 50%; background: #E8720C; border: 3px solid #fff; box-sizing: border-box; box-shadow: 0 0 0 1.5px #E8720C; }
.ppb-me em { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: bold; color: #E8720C; white-space: nowrap; line-height: 1; }
.ppb-sc { display: flex; justify-content: space-between; font-size: 11.5px; color: #7F8B95; }
.ppb-t { font-size: 13px; color: #16202A; margin-top: 4px; line-height: 1.45; }
.ppb-t b { color: #1A2E4A; }
.ppb-t b.g { color: #C25A00; }
table.ppt td.d { white-space: nowrap; }
table.ppt th:nth-child(2) { text-align: left; }

/* 23단계g238: 🎬 콘텐츠 탭 「이어서 하기」 줄 */
.ct-row{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 12px;margin-top:6px;border:1px solid #D5DBE3;border-radius:12px;background:#fff;text-decoration:none;color:#16202A;box-sizing:border-box}
.ct-row .ct-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.ct-row .ct-t b{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-row .ct-t small{font-size:11.5px;color:#4B5966}
.ct-row em{font-style:normal;font-size:12px;font-weight:700;color:#1D4F7C;white-space:nowrap}
.ct-row i{font-style:normal;color:#6B7280}

  /* 23단계g247: 매물 카드 — 📑 등기부 확인 한 줄 */
  .lsdeed { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 44px; box-sizing: border-box; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #EEF3F8; border: 1px solid #C9D6E3; color: #16202A; font-size: 14px; line-height: 1.5; text-decoration: none; }
  .lsdeed i { margin-left: auto; font-style: normal; color: #4B5966; font-size: 18px; }
  .lsdeed.old { background: #F1F2F0; border-color: #D8DED8; color: #5E6A75; }
