/* Mobile follow-up fields reuse the existing list and form surfaces. */
.mobile-followup-summary { display:none; }
@media (max-width: 767px) {
  /* 我的：去重后保持常用设置一屏可读，长资料和放大文字仍可自然滚动。 */
  .profile-page .profile-card { padding:12px 16px; border-radius:16px; display:grid; grid-template-columns:52px minmax(0,1fr); column-gap:12px; align-items:center; }
  .profile-page .profile-card .avatar { width:52px; height:52px; grid-row:1 / 3; border-radius:16px; }
  .profile-page .profile-card h2 { margin:0; font-size:20px; overflow-wrap:anywhere; }
  .profile-page .profile-card p { font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
  .profile-page .profile-signature { grid-column:1 / -1; margin:4px 0 0; min-height:44px; padding:6px 0; }
  .profile-page .settings-list { margin-top:10px; }
  .profile-page .settings-row { min-height:48px; padding:6px 14px; }
  .profile-page .settings-row small { overflow-wrap:anywhere; }
  .profile-page .profile-update-row { min-height:62px; }
  .profile-update-copy { display:grid; gap:3px; min-width:0; }
  .profile-update-copy b { font-weight:500; }
  .profile-page .privacy-note { margin-top:8px; }
  :root { --green:#10733f; --amber:#965000; }
  .filter-chip, .segmented button, .inspection-hub-tabs button { min-height:44px; min-width:44px; }
  .chip-check, .checkbox-row { min-height:44px; }
  .checkbox-row { display:flex; align-items:center; gap:.5rem; }
  .modal-close { min-width:44px; min-height:44px; }
  .mobile-followup-summary { display:grid; gap:.4rem; margin:.7rem 0; padding:.7rem; border-radius:10px; background:#f6f6f8; color:#34363b; font-size:.875rem; line-height:1.5; text-align:start; overflow-wrap:anywhere; }
  .mobile-followup-summary strong { font-size:1em; }
  .followup-date { margin:.4rem 0; font-size:.875rem; line-height:1.5; color:#34363b; overflow-wrap:anywhere; }
  .followup-overdue { color:#a42e00; }
  .review-test-badge { display:inline-block; margin:.25rem; padding:.2rem .5rem; border:1px solid #d7c6ae; border-radius:6px; color:#68451a; background:#fff4e5; font-size:.8125rem; line-height:1.5; white-space:normal; }
  .review-test-filter { margin:.65rem 0; padding:.6rem; border:1px solid var(--line); border-radius:10px; }
  .review-test-filter label { display:flex; align-items:center; gap:.5rem; min-height:44px; font-size:.875rem; line-height:1.5; }
  .review-test-filter input { flex:0 0 auto; width:20px; height:20px; }
  .review-test-filter p { margin:.35rem 0; font-size:.875rem; }
  #hov-followup-details select, #hov-followup-details input, #finding-due-date { width:100%; min-width:0; max-width:100%; min-height:48px; font-size:1rem; box-sizing:border-box; }
  .hov-row, .inspection-list-card, .finding-summary { overflow-wrap:anywhere; }
  .approval-submission-preview { overflow-y:auto; min-height:0; padding:.75rem; overflow-wrap:anywhere; }
  .approval-submission-preview dl { display:grid; grid-template-columns:minmax(0,1fr); gap:.35rem; margin:1rem 0; }
  .approval-submission-preview dt { font-size:.875rem; color:#505661; }
  .approval-submission-preview dd { margin:0 0 .75rem; white-space:pre-wrap; }
  .approval-submission-preview li { margin:.65rem 0; }
  .approval-create-form > [hidden] { display:none !important; }
}
/* 只校准 iPhone 主屏版的一级导航。正常 Home Indicator 仍保留，不重复留浏览器工具栏。 */
body.iphone-root-navigation #bottom-nav { --navigation-safe-bottom:min(var(--safe-bottom),34px); height:calc(70px + var(--navigation-safe-bottom)); padding-bottom:var(--navigation-safe-bottom); transform:translateY(var(--root-nav-shift,0px)); }
/* 延续已记录的 iPhone 主屏等高文档兼容办法；只需1px文档流，不恢复被删除的噪音内容。 */
body.iphone-root-navigation .app-shell { min-height:calc(100dvh + 1px); }
