/* Approved A identity and shared production refinements. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-wrap:break-word}
.product-detail-link{display:block;width:fit-content;min-height:44px;padding:12px 0;color:var(--brand);text-decoration:underline;text-underline-offset:5px}
.nav-tools select{font-size:16px}
.fanhua-intro{padding-top:64px}
.fanhua-intro h1{font-size:48px;line-height:1.3;margin-bottom:24px}
.practice{background:var(--mist)}
.practice-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}
.practice-heading .lead{max-width:36ch}
.practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.practice-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.practice-media{height:320px;display:flex;align-items:center;justify-content:center;padding:24px;background:#eef3ef}
.practice-media video{height:100%;max-width:100%;object-fit:contain;border-radius:8px}
.practice-media button{padding:0;height:100%;cursor:zoom-in}
.practice-media img{height:100%;width:auto;object-fit:contain}
.practice-copy{padding:24px 32px 32px}
.practice-copy h3{font-size:24px;margin-bottom:12px}
.practice-copy p{font-size:16px;line-height:1.8}
.practice-note{margin-top:24px;max-width:80ch}
.start-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.start-grid h2{margin-bottom:24px}
.start-steps{list-style:none;padding:0;margin:0;counter-reset:steps}
.start-steps li{counter-increment:steps;display:grid;grid-template-columns:40px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.start-steps li:before{content:counter(steps,decimal-leading-zero);font-size:14px;color:var(--brand);padding-top:5px}
.start-steps h3{font-size:20px;margin-bottom:8px}
.start-steps p{font-size:16px;color:var(--muted)}
.faq{margin-top:40px}.faq summary{min-height:48px;padding:12px 0;cursor:pointer;border-bottom:1px solid var(--line)}.faq details>p{padding:16px 0;font-size:15px;line-height:1.8}
.closing{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}
.footer-bottom>.small{min-width:180px}.footer-links{font-size:12px;gap:12px 20px;max-width:390px}
.credits-dialog a{overflow-wrap:anywhere}
dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mobile-menu[open]{max-height:100vh;max-height:100dvh;min-height:100vh;min-height:100dvh;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
.image-pan{max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);overscroll-behavior:contain}
.image-pan>img{max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px)}
.dialog-fallback[open]{display:block;position:fixed;inset:16px;z-index:10000;margin:auto;box-shadow:0 0 0 100vmax #102e4680}
.mini-program .nav{position:static}.mini-program .hero{padding-top:24px}
@media(max-width:899px){.practice-heading,.start-grid{display:block}.practice-heading .lead{margin-top:24px}.start-steps{margin-top:32px}.fanhua-intro h1{font-size:40px}}
@media(max-width:639px){.fanhua-intro{padding-top:32px}.fanhua-intro h1{font-size:32px}.practice-grid{grid-template-columns:1fr;gap:24px}.practice-media{height:280px}.practice-copy{padding:24px}.practice-heading{margin-bottom:24px}.footer-links{max-width:none}.feature-copy,html[lang=en] .feature-copy{min-height:0;margin-bottom:24px}.feature-copy p{min-height:80px}.btn{max-width:100%}}
@media(orientation:landscape) and (max-height:500px){.mobile-menu[open]{overflow:auto}.mobile-menu nav{margin:12px 0}.mobile-menu nav a{min-height:44px;line-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.practice-media video{width:204px;max-width:100%;height:272px}
@media(max-width:639px){.practice-media video{width:174px;height:232px}}

/* An explicit route home on the product page, also visible outside the mobile menu. */
.return-home{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--brand)}
.desktop-links .return-home{color:var(--brand)}
.product-return{display:none}
@media(max-width:639px){.product-return{display:block;padding-top:8px}.product-return .return-home{font-size:14px}.product-return+.fanhua-intro{padding-top:24px}}
