/* 부동산 이해관계자 페이지 전용 스타일 */
.sh-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 60px; }

.sh-head { text-align: center; padding: 28px 0 18px; }
.sh-head-badge { display: inline-block; font-size: 0.8rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0f766e, #0891b2); padding: 6px 16px; border-radius: 30px; margin-bottom: 14px; }
.sh-head h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; color: #1e293b; }
.sh-sub { font-size: 0.98rem; line-height: 1.7; color: #64748b; margin: 0 auto; max-width: 600px; }
.sh-sub b { color: #475569; }

.sh-card { background: #fff; border: 1px solid #eef0f3; border-radius: 16px; padding: 22px; margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.03); }

/* 흐름 */
.sh-flow h2 { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin: 0 0 16px; }
.sh-flow-chain { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sh-flow-stage { flex: 1; min-width: 110px; text-align: center; background: #f0fdfa; border: 1px solid #99f6e4;
  border-radius: 11px; padding: 12px 8px; font-size: 0.9rem; font-weight: 700; color: #0f766e; line-height: 1.4; }
.sh-flow-stage small { display: block; font-size: 0.74rem; font-weight: 500; color: #14b8a6; margin-top: 3px; }
.sh-flow-arrow { display: flex; align-items: center; color: #5eead4; font-weight: 700; }
.sh-flow-note { margin: 16px 0 0; font-size: 0.9rem; color: #475569; background: #f8fafc; border-radius: 10px; padding: 12px 14px; }
.sh-flow-note b { color: #0f766e; }

/* 단계 구분선 */
.sh-stage-divider { text-align: center; margin: 28px 0 14px; position: relative; }
.sh-stage-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e2e8f0; }
.sh-stage-divider span { position: relative; background: linear-gradient(135deg,#0f766e,#0891b2); color: #fff;
  font-size: 0.82rem; font-weight: 800; padding: 6px 18px; border-radius: 30px; letter-spacing: -0.01em; }

/* 액터 카드 */
.sh-actor-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.sh-actor-ico { font-size: 2rem; flex: none; }
.sh-actor-head h2 { font-size: 1.22rem; font-weight: 800; color: #1e293b; margin: 0; letter-spacing: -0.02em; }
.sh-actor-tag { font-size: 0.8rem; font-weight: 600; color: #0891b2; }
.sh-rows { display: flex; flex-direction: column; gap: 1px; }
.sh-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1f5f9; }
.sh-row:last-child { border-bottom: none; }
.sh-k { font-size: 0.82rem; font-weight: 700; color: #64748b; padding-top: 1px; }
.sh-v { font-size: 0.92rem; line-height: 1.62; color: #334155; }
.sh-v a { color: #0e7490; font-weight: 600; }
.sh-risk .sh-k { color: #dc2626; }
.sh-risk .sh-v { color: #475569; }

/* 요약 표 */
.sh-summary h2 { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin: 0 0 14px; }
.sh-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 460px; }
.sh-table th { background: #f0fdfa; color: #0f766e; font-weight: 800; text-align: left; padding: 10px 12px; border-bottom: 2px solid #99f6e4; white-space: nowrap; }
.sh-table td { padding: 9px 12px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.sh-table td:first-child { font-weight: 700; color: #1e293b; white-space: nowrap; }

/* 맺음 */
.sh-closing { background: linear-gradient(135deg,#f0fdfa,#ecfeff); border-color: #99f6e4; }
.sh-closing p { font-size: 0.96rem; line-height: 1.75; color: #475569; margin: 0; }
.sh-closing b { color: #0f766e; }

/* 관련 도구 */
.sh-tools-sec h2 { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin: 0 0 14px; }
.sh-tools-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.sh-tool { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border-radius: 12px;
  background: #f8fafc; border: 1px solid #eef0f3; text-decoration: none; font-size: 0.9rem; font-weight: 700;
  color: #1e293b; transition: all .12s; }
.sh-tool small { font-size: 0.74rem; font-weight: 500; color: #94a3b8; }
.sh-tool:hover { background: #f0fdfa; border-color: #5eead4; transform: translateY(-1px); }

/* 면책 */
.sh-disclaimer { background: #fafbfc; }
.sh-disclaimer p { font-size: 0.84rem; line-height: 1.7; color: #94a3b8; margin: 0; }
.sh-disclaimer b { color: #64748b; }

@media (max-width: 560px) {
  .sh-head h1 { font-size: 1.5rem; }
  .sh-tools-grid { grid-template-columns: 1fr 1fr; }
  .sh-row { grid-template-columns: 78px 1fr; gap: 9px; }
}

@media (prefers-color-scheme: dark) {
  .sh-head h1, .sh-actor-head h2, .sh-summary h2, .sh-tools-sec h2, .sh-tool, .sh-flow h2 { color: #e2e8f0; }
  .sh-card { background: #1a1f29; border-color: #2b3340; }
  .sh-sub, .sh-v, .sh-closing p, .sh-table td { color: #cbd5e1; }
  .sh-flow-stage { background: #0f2e2b; border-color: #134e4a; color: #5eead4; }
  .sh-flow-note { background: #232a36; color: #cbd5e1; }
  .sh-table th { background: #0f2e2b; color: #5eead4; border-color: #134e4a; }
  .sh-table td:first-child { color: #e2e8f0; }
  .sh-row { border-color: #2b3340; }
  .sh-closing { background: #0f2e2b; border-color: #134e4a; }
  .sh-tool { background: #232a36; border-color: #2b3340; }
  .sh-tool:hover { background: #0f2e2b; border-color: #14b8a6; }
  .sh-disclaimer { background: #232a36; }
  .sh-risk .sh-k { color: #f87171; }
}

/* 사고 지점 */
.sh-weak h2 { font-size: 1.15rem; font-weight: 800; color: #1e293b; margin: 0 0 14px; }
.sh-weak-item { padding: 13px 15px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 11px; margin-bottom: 9px; }
.sh-weak-h { font-size: 0.95rem; font-weight: 800; color: #b91c1c; margin-bottom: 5px; }
.sh-weak-item p { font-size: 0.9rem; line-height: 1.6; color: #475569; margin: 0; }
.sh-weak-note { margin: 14px 0 0; font-size: 0.92rem; line-height: 1.6; color: #475569; background: #f8fafc; border-radius: 10px; padding: 13px 15px; }
.sh-weak-note b { color: #b91c1c; }
@media (prefers-color-scheme: dark) {
  .sh-weak h2 { color: #e2e8f0; }
  .sh-weak-item { background: #2a1515; border-color: #5c2020; }
  .sh-weak-h { color: #f87171; }
  .sh-weak-item p, .sh-weak-note { color: #cbd5e1; }
  .sh-weak-note { background: #232a36; }
  .sh-weak-note b { color: #f87171; }
}
