/* 轻通知安装、问答和法律正文扩展；公共版式由 SharedDocs 同步。 */
.app-downloads { padding-bottom: 48px; }
.download-hero { display:flex; flex-direction:column; align-items:center; gap:20px; padding:40px 0 28px; text-align:center; }
.download-hero > img { width:56px; height:56px; border-radius:13px; flex:none; }
.download-hero .lead { margin:10px 0 0; }
/* 参考轻智能：平台标题、版本、蓝色安装按钮分层，电脑扫码、手机直达。 */
.install-options { --install-blue:#0866f5; --install-hover:#004ed1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:400px; margin-top:24px; }
.install-card { display:flex; flex-direction:column; align-items:stretch; min-width:0; padding:16px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.install-platform { display:flex; align-items:center; gap:8px; min-height:30px; margin:0; font-size:17px; font-weight:600; line-height:1.3; letter-spacing:0; }
.install-platform > svg, .install-android { flex:none; display:block; }
.install-phone { width:23px; height:28px; }
.install-android { width:26px; height:auto; }
.install-detail { white-space:pre-line; font-size:11px; line-height:1.6; color:var(--muted); margin:8px 0 14px; min-height:36px; max-width:100%; }
.install-button { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; padding:11px 10px; background:var(--install-blue); color:#fff; border:1px solid transparent; border-radius:28px; font-size:12px; font-weight:600; line-height:1.5; text-align:center; }
.install-button:hover { background:var(--install-hover); color:#fff; text-decoration:none; }
.install-button:focus-visible { outline-color:var(--install-blue); border-radius:28px; }
.install-qr { display:block; align-self:center; width:128px; max-width:100%; margin-top:16px; background:#fff; border-radius:6px; overflow:hidden; }
.install-qr img { display:block; width:100%; height:auto; aspect-ratio:1; image-rendering:pixelated; }
.install-caption { font-size:11px; line-height:1.5; text-align:center; color:var(--muted); margin:8px 0 0; }
.install-help-link { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; font-size:13px; }
.public-join.home-connect { margin:0; padding:32px 0; border-top:1px solid var(--line); }
.app-downloads .install-options { max-width:720px; gap:24px; margin:12px auto 0; }
.app-downloads .install-card { padding:24px; border-radius:20px; }
.app-downloads .install-platform { font-size:22px; gap:10px; }
.app-downloads .install-detail { font-size:13px; min-height:42px; margin:10px 0 18px; }
.app-downloads .install-button { min-height:48px; font-size:14px; }
.app-downloads .install-qr { width:144px; margin-top:20px; }
.app-downloads .install-caption { font-size:12px; }
.download-help .install-attribution { font-size:12px; }
.download-help { margin:40px auto 0; max-width:720px; }
.download-help h2 { font-size:20px; margin-bottom:12px; }
.download-help p { font-size:14px; line-height:1.85; }
.download-help p a { text-decoration:underline; text-underline-offset:4px; }
.download-support { display:flex; flex-wrap:wrap; gap:24px; margin-top:24px; }
.download-support a { display:inline-flex; align-items:center; min-height:44px; }
@media(max-width:650px) {
  .download-hero { gap:16px; padding:28px 0 24px; }
  .download-hero > img { width:48px; height:48px; border-radius:11px; }
  .install-qr, .install-caption { display:none; }
  .install-card { padding:14px 12px; }
  .install-platform { font-size:15px; gap:6px; }
  .app-downloads .install-options { grid-template-columns:1fr; gap:16px; max-width:460px; margin-top:8px; }
  .app-downloads .install-card { padding:20px 24px; }
  .app-downloads .install-platform { font-size:20px; }
  .app-downloads .install-detail { margin-bottom:16px; }
  .download-help { max-width:460px; margin-top:32px; }
}
@media(max-width:370px) {
  .install-options { gap:10px; }
  .install-card { padding:12px 10px; }
  .install-platform { font-size:14px; gap:4px; }
  .install-button { padding-inline:5px; font-size:11px; }
  .install-android { width:23px; }
  .install-detail { font-size:10px; }
}
.document .help-shortcuts { margin: 0 0 24px; }
.help-item { border-bottom: 1px solid var(--line); }
.help-item:last-child { border-bottom: 0; }
.help-item summary { padding: 17px 0; font-size: 16px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.help-item summary::marker { color: var(--muted); font-size: 12px; }
.help-item p:last-child, .help-item ol:last-child { margin-bottom: 22px; }
.document h3 { margin: 24px 0 10px; font-size: 17px; }
.document ul, .document ol { margin: 14px 0; padding-left: 1.4em; color: var(--muted); font-size: 15px; line-height: 1.9; }
.document li { margin: 8px 0; overflow-wrap: anywhere; }
.document strong { color: var(--ink); font-weight: 600; }
.document p a, .document li a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.document p a:hover, .document li a:hover { text-decoration-color: currentColor; }
.document .legal-date { margin: 12px 0; color: var(--muted); font-size: 14px; }
.document .hero p + p { margin-top: 14px; }
.legal-toc, .legal-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 24px; font-size: 14px; }
.legal-toc a, .legal-links a { min-height: 44px; }
.document [id] { scroll-margin-top: 24px; }

/* TestFlight 安装指南：复用官网字体、主题和容器，步骤在手机上自然排成一列。 */
.testflight-guide { padding-bottom: 48px; }
.testflight-hero { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; }
.testflight-hero .lead { max-width: none; }
.testflight-requirements { font-size: 13px; }
.testflight-qr { margin: 0; text-align: center; flex: 0 0 auto; }
.testflight-qr img { display: block; margin: 0 auto 10px; background: #fff; border-radius: 6px; }
.testflight-qr figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); }
.testflight-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.testflight-steps > li { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px; border-radius: 16px; background: var(--surface); }
.testflight-illustration, .testflight-app-art { display: block; width: 150px; height: 112px; margin: 0 auto 24px; color: var(--ink); }
.testflight-app-art { position: relative; display: grid; place-items: center; }
.testflight-app-art img { border-radius: 17px; }
.testflight-app-art svg { position: absolute; right: 29px; bottom: 13px; }
.testflight-app-art circle { fill: var(--surface); stroke: var(--line); }
.testflight-step-copy { flex: 1; width: 100%; }
.testflight-number { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 13px; font-weight: 600; }
.testflight-steps h2 { margin-bottom: 10px; font-size: 20px; letter-spacing: -.3px; }
.testflight-steps p { font-size: 14px; line-height: 1.8; }
.testflight-button, .testflight-step-help { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; margin-top: 24px; font-size: 14px; line-height: 1.6; font-weight: 600; text-align: center; border: 1px solid var(--ink); border-radius: 9px; }
.testflight-button { background: var(--ink); color: var(--page); }
.testflight-button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.testflight-step-help { border-color: transparent; justify-content: flex-start; padding-left: 0; }
.testflight-button:hover { text-decoration: none; opacity: .85; }
.testflight-answers { max-width: 780px; margin-top: 32px; }
.testflight-answers .help-item p { padding-bottom: 18px; font-size: 14px; }
@media(max-width:760px) {
  .testflight-hero { gap: 20px; }
  .testflight-steps { gap: 14px; }
  .testflight-steps > li { padding: 20px 16px; }
  .testflight-steps h2 { font-size: 18px; }
}
@media(max-width:650px) {
  .testflight-hero { padding-bottom: 26px; }
  .testflight-hero .lead { margin-bottom: 10px; }
  .testflight-qr { display: none; }
  .testflight-steps { grid-template-columns: 1fr; gap: 16px; }
  .testflight-steps > li { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 14px 18px; padding: 22px; }
  .testflight-illustration, .testflight-app-art { width: 60px; height: 64px; margin: 4px 0 0; align-self: center; }
  .testflight-app-art img { width: 48px; height: 48px; border-radius: 11px; }
  .testflight-app-art svg { width: 22px; height: 22px; right: 0; bottom: 1px; }
  .testflight-number { width: auto; height: auto; border: 0; margin-bottom: 5px; }
  .testflight-steps h2 { font-size: 20px; margin-bottom: 6px; }
  .testflight-button, .testflight-step-help { grid-column: 2; margin-top: 0; }
  .testflight-answers { margin-top: 22px; }
}
