/* 每周宏观楼市判断（weekly.html）：沿用房价研究页的纸面与衬线，只补表格、理由与图。
   home.css 对 #macromargin-home 下的表格统一右对齐、固定列宽（为数据表设计），这里逐项改回文字表。 */
.weekly-table-wrap { overflow-x: auto; margin: 0 0 18px; }
#macromargin-home .weekly-table { width: 100%; border-collapse: collapse; table-layout: auto; background: #fffdf9; border: 1px solid #e1d8c9; font-size: 14px; }
#macromargin-home .weekly-table th, #macromargin-home .weekly-table td { width: auto; padding: 12px 14px; border-bottom: 1px solid #e8e0d2; text-align: left; vertical-align: top; line-height: 1.75; font-variant-numeric: normal; }
#macromargin-home .weekly-table th { font-weight: 500; font-size: 12px; letter-spacing: .04em; color: #7a7367; background: #efe9dc80; }
#macromargin-home .weekly-table td small { display: block; color: #7a7367; font-size: 12px; }
#macromargin-home .weekly-calls td:first-child, #macromargin-home .weekly-calls td:last-child, #macromargin-home .weekly-calls td:nth-child(4) { white-space: nowrap; }
#macromargin-home .weekly-calls td:nth-child(2) { min-width: 11em; }
#macromargin-home .weekly-calls td:last-child { color: #8e4940; }
#macromargin-home .weekly-record { max-width: 560px; }
#macromargin-home .weekly-record td { font-variant-numeric: tabular-nums; }
#macromargin-home .weekly-record tr:last-child td { font-weight: 500; }
#macromargin-home .weekly-h3 { font: 500 20px/1.5 "Songti SC", "STSong", "Noto Serif SC", serif; margin: 34px 0 10px; }
.weekly-reasons { max-width: 860px; padding-left: 1.4em; }
.weekly-reasons li { font-size: 16px; line-height: 1.95; margin: 12px 0; }
.weekly-reasons strong { font-weight: 500; color: #544123; }
.weekly-figure { margin: 34px 0 14px; padding: 18px 18px 14px; background: #fffdf9; border: 1px solid #e1d8c9; }
.weekly-figure-head { display: grid; gap: 4px; margin-bottom: 6px; }
.weekly-figure-head strong { font: 500 18px/1.5 "Songti SC", "STSong", "Noto Serif SC", serif; }
.weekly-figure-head span { color: #7a7367; font-size: 13px; }
.weekly-figure-scroll { overflow-x: auto; }
.weekly-chart { display: block; width: 100%; height: auto; font-size: 12px; }
.weekly-figure figcaption { margin-top: 10px; color: #7a7367; font-size: 13px; line-height: 1.85; }
.weekly-rules { max-width: 860px; padding-left: 1.2em; }
.weekly-rules li { font-size: 15px; line-height: 1.9; margin: 6px 0; }
@media (max-width: 720px) {
  #macromargin-home .weekly-table:not(.weekly-record) thead { display: none; }
  #macromargin-home .weekly-table:not(.weekly-record), #macromargin-home .weekly-table:not(.weekly-record) tbody,
  #macromargin-home .weekly-table:not(.weekly-record) tr { display: block; }
  #macromargin-home .weekly-table:not(.weekly-record) { border: 0; background: transparent; }
  #macromargin-home .weekly-table:not(.weekly-record) tr { border: 1px solid #e1d8c9; background: #fffdf9; margin-bottom: 12px; }
  #macromargin-home .weekly-table:not(.weekly-record) td { display: block; position: relative; padding: 9px 12px 9px calc(5.5em + 24px); font-size: 14px; white-space: normal; min-width: 0; }
  #macromargin-home .weekly-table:not(.weekly-record) td::before { content: attr(data-label); position: absolute; left: 12px; top: 11px; width: 5.5em; color: #7a7367; font-size: 12px; line-height: 1.6; }
  #macromargin-home .weekly-table:not(.weekly-record) td:last-child { border-bottom: 0; }
  #macromargin-home .weekly-record th, #macromargin-home .weekly-record td { font-size: 14px; padding: 10px 12px; }
  .weekly-reasons li { font-size: 15px; }
  .weekly-figure { padding: 12px 10px 10px; }
  /* 窄屏横向滚动：从最新月份那一端开始显示，往左滑看历史。 */
  .weekly-figure-scroll { direction: rtl; }
  .weekly-chart { min-width: 620px; direction: ltr; }
}
