/* 正式系统只读详情。录入规则由forms.css负责；纸张排版不进入这一层。 */
.app .record-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px;
  font-size: 16px; line-height: 1.6; }
.app-modal:has(.record-detail) .app-modal__header { height: auto; min-height: 64px; padding-block: 16px; padding-right: 68px; }
.app-modal:has(.record-detail) .app-modal__header h2 { font-size: 18px; line-height: 1.5; }
.app-modal:has(.record-detail) .app-modal__close { top: 10px; width: 44px; height: 44px; }
.app-modal:has(.record-detail) .app-modal__footer .btn { min-height: 48px; font-size: 16px; white-space: nowrap; }
.detail-intro { min-width: 0; }
.detail-intro__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.detail-intro__heading h3 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 24px; line-height: 1.4;
  font-weight: 600; overflow-wrap: anywhere; }
.detail-intro__heading > .app-status { min-height: 28px; font-size: 15px; }
.detail-intro__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 12px; color: var(--app-text-secondary); font-size: 16px; }
.detail-intro__meta > span { min-width: 0; overflow-wrap: anywhere; }
.detail-facts { margin: 0; }
.detail-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 9px 0; }
.detail-facts dt { color: var(--app-text-secondary); font-size: 15px; }
.detail-facts dd { margin: 0; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.detail-facts .phone-link { font-size: inherit; }
.detail-section { min-width: 0; margin: 0; padding-top: 20px; border-top: 1px solid var(--app-line); }
.detail-section > h3 { margin: 0 0 14px; font-size: 18px; line-height: 1.5; font-weight: 600; }
.detail-section > .btn { margin-top: 16px; }
.detail-note { margin: 0; font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-metrics { display: flex; flex-wrap: wrap; gap: 20px 28px; margin: 0; }
.detail-metric { flex: 1 1 110px; min-width: 0; max-width: 100%; }
.detail-metric dt { color: var(--app-text-secondary); font-size: 15px; margin-bottom: 8px; }
.detail-metric dd { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.detail-metric--danger dd { color: var(--app-state-danger); }
.detail-metric--warning dd { color: var(--app-state-warning); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-actions > .btn { flex: 0 0 auto; min-height: 44px; font-size: 16px; white-space: nowrap; }
.record-detail .detail-empty { margin: 0; font-size: 16px; color: var(--app-text-secondary); }

/* 我的账号等只读资料也沿用相同的阅读字号。 */
.app .account-grid dt { font-size: 15px; }
.app .account-grid dd { min-width: 0; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.app .account-grid > div { min-width: 0; }
.app .runtime-stat > span, .app .runtime-stat > small { font-size: 15px; line-height: 1.6; }
.app .runtime-stat > strong { font-size: 26px; }
.app .runtime-store__head { font-size: 15px; flex-wrap: wrap; }
.app .runtime-store__head b { font-size: 17px; }
.app .runtime-store dt { font-size: 15px; }
.app .runtime-store dd { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 599px) {
  .app .record-detail { padding: 20px; }
  .detail-facts > div { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .detail-intro__heading h3 { font-size: 22px; }
}
