/* 房源管理·巡查台账导出（patrolLedger 视图）—— 按 PHMS 系统风格（v44 设计令牌）
 * 画布 #f3f4f6 / 白卡 / 主色 #2563eb·#1e3a5f / 圆角软阴影 / Apple 风轻量感。
 * 全部类以 .pl- 作用域前缀，互不污染其它模块（与 safety_report 同款视觉）。 */

.pl-report { max-width: 1000px; margin: 0 auto; padding: 4px 2px 24px; }

/* 页头 */
.pl-head { margin: 6px 0 16px; }
.pl-h1 { font-size: 20px; font-weight: 700; color: #1e3a5f; letter-spacing: .3px; margin: 0 0 4px; }
.pl-sub { margin: 0; color: #6b7280; font-size: 13px; line-height: 1.6; }

/* 通用白卡 */
.pl-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(30,58,95,.05); padding: 16px; margin-bottom: 14px;
}

/* 筛选网格 */
.pl-filters-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 16px; align-items: end;
}
.pl-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-field > label { font-size: 12px; color: #6b7280; font-weight: 500; }
.pl-field input[type=text],
.pl-field select {
  width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 13px; background: #fff; color: #1f2937; font-family: inherit;
}
.pl-field input[type=text]:focus,
.pl-field select:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* 预览卡 */
.pl-preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pl-preview-title { font-size: 15px; font-weight: 600; color: #1e3a5f; }
.pl-preview-sub { font-size: 12px; color: #9ca3af; }
.pl-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.pl-stat { background: #f8fafc; border: 1px solid #eef0f4; border-radius: 10px; padding: 14px 16px; text-align: center; }
.pl-stat-k { font-size: 12px; color: #6b7280; margin-top: 6px; }
.pl-stat-v { font-size: 26px; font-weight: 800; color: #2563eb; line-height: 1.1; }
.pl-stat-size { font-size: 22px; }
.pl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-actions .btn-secondary,
.pl-actions .btn-export { font-size: 14px; padding: 10px 20px; }
.pl-actions .btn-export { min-width: 140px; justify-content: center; }
.pl-msg { min-height: 18px; font-size: 13px; margin-top: 10px; color: #6b7280; }
.pl-msg:empty { margin-top: 0; }

/* 预览摘要抽屉 */
.pl-drawer { margin-top: 14px; background: #f8fafc; border: 1px solid #eef0f4; border-radius: 10px; padding: 14px 16px; }
.pl-drawer-title { font-size: 13px; font-weight: 600; color: #1e3a5f; margin-bottom: 8px; }
.pl-drawer-body { margin: 0; font-size: 13px; line-height: 1.7; color: #374151; white-space: pre-wrap; font-family: inherit; }

@media (max-width: 640px) {
  .pl-stats { grid-template-columns: 1fr; }
  .pl-filters-grid { grid-template-columns: 1fr 1fr; }
}
