/* Phone content and operation views, independent of the desktop presentation. */
.zm-phone-user-summary,.zm-phone-pager,.zm-phone-home,.zm-phone-bottom,.zm-phone-admin-quick,.zm-phone-fold-toggle,.zm-phone-row-toggle-cell{display:none}
.zm-phone-fold-content{display:contents}
.zm-phone-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
 .zm-phone-public{padding-bottom:calc(70px + env(safe-area-inset-bottom));background:#f7f8f4}
 .zm-phone-public .zm-site-header .zm-utility,.zm-phone-public .zm-brand small{display:none}
 .zm-phone-public .zm-header-main{min-height:66px;padding-block:10px;gap:10px;width:calc(100% - 32px)}
 .zm-phone-public .zm-brand img{width:37px;height:37px}
 .zm-phone-public .zm-brand>span{font-size:19px;line-height:1.3}
 .zm-phone-public .zm-mobile-toggle{min-width:64px;min-height:44px;padding:8px 10px;font-size:14px}
 .zm-phone-public .zm-actions{display:none}
 .zm-phone-public .zm-site-header{position:relative;box-shadow:none;border-bottom:1px solid #e2e7dd}
 .zm-phone-public .zm-mobile-drawer{width:min(90vw,380px);max-height:100dvh;overflow:auto;padding-bottom:env(safe-area-inset-bottom)}
 .zm-phone-public .zm-mobile-group>div>a,.zm-phone-public .zm-mobile-group>div>button{min-height:48px}
 .zm-phone-public .zm-mobile-group section a{min-height:44px;display:flex;align-items:center;line-height:1.45}
 .zm-phone-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:80;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #dce4da;box-shadow:0 -4px 22px #173d2d09}
 .zm-phone-bottom a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:49px;color:#657168;font-size:12px;text-decoration:none}
 .zm-phone-bottom a[aria-current=page]{color:#234f39;font-weight:700}
 .zm-phone-nav-icon{font:25px/1.1 system-ui}
 .home-layout-clear main>.zm-desktop-home-part{display:none}
 .zm-phone-home{display:block;color:#20382a;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif}
 .zm-phone-home *{box-sizing:border-box}
 .zm-phone-home a{text-decoration:none;color:inherit}
 .zm-phone-home h1,.zm-phone-home h2,.zm-phone-home h3,.zm-phone-home p{margin:0}
 .zm-phone-home h2{font-size:20px;line-height:1.45;letter-spacing:.01em}
 .zm-phone-hero{padding:28px 20px 22px;background:linear-gradient(145deg,#eef3e8,#f8f7ef)}
 .zm-phone-kicker{font-size:12px;letter-spacing:.1em;color:#8c744b}
 .zm-phone-hero h1{font-size:29px;line-height:1.35;font-family:'Songti SC','STSong',serif;margin:10px 0 12px;letter-spacing:-.025em}
 .zm-phone-hero .zm-phone-muted{font-size:14px;line-height:1.7;color:#657267;max-width:30em}
 .zm-phone-search{display:flex;gap:8px;background:#fff;border:1px solid #d8e0d3;border-radius:13px;padding:6px;margin-top:21px;box-shadow:0 6px 24px #244f3907}
 .zm-phone-search input{width:0;flex:1;min-width:0;border:0;background:transparent;padding:8px 7px;font:inherit;font-size:16px;line-height:1.5;outline-offset:2px;color:#20382a}
 .zm-phone-search button{flex:0 0 auto;min-height:46px;border:0;border-radius:9px;padding:0 15px;background:#28563e;color:white;font:600 15px system-ui}
 .zm-phone-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:25px}
 .zm-phone-quick a{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;min-height:100px;padding:4px 0}
 .zm-phone-quick-icon{display:grid;place-items:center;width:47px;height:47px;background:#fff;border:1px solid #e2e5d7;border-radius:15px;color:#375943;font:23px 'Songti SC',serif}
 .zm-phone-quick a:nth-child(2) .zm-phone-quick-icon{background:#e4eddd}.zm-phone-quick a:nth-child(3) .zm-phone-quick-icon{background:#f0e7d6;color:#85613f}
 .zm-phone-quick strong{font-size:15px}.zm-phone-quick small{font-size:10px;color:#6b766c;white-space:nowrap;letter-spacing:-.03em}
 .zm-phone-home .zm-phone-memory{display:grid;grid-template-columns:minmax(0,1fr) 102px;align-items:center;gap:12px;margin:20px 16px;padding:20px;border-radius:16px;background:#294e3a;color:#fff;min-width:0}
 .zm-phone-memory small{font-size:11px;color:#d8dfd0}.zm-phone-memory h2{font:21px/1.5 'Songti SC',serif;margin:7px 0 12px}.zm-phone-memory span{font-size:12px;color:#e7d7b8}
 .zm-phone-memory img{width:102px;height:130px;object-fit:cover;object-position:48% center;border-radius:45px 45px 10px 10px;opacity:.9}
 .zm-phone-resources,.zm-phone-reading,.zm-phone-help{margin:26px 16px}
 .zm-phone-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
 .zm-phone-resource-grid a{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:17px 14px;background:white;border:1px solid #e1e6dc;border-radius:13px;gap:7px}
 .zm-phone-resource-grid strong{font-size:17px}.zm-phone-resource-grid span{font-size:11px;line-height:1.6;color:#6a766c}.zm-phone-resource-grid b{color:#8a754f;font-weight:400;align-self:flex-end}
 .zm-phone-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.zm-phone-section-head>a{font-size:12px;color:#778269;min-height:44px;display:flex;align-items:center}
 .zm-phone-home .zm-phone-story{display:grid;grid-template-columns:80px minmax(0,1fr);gap:13px;padding:15px 0;border-top:1px solid #e3e8df;align-items:center}
 .zm-phone-story img{display:block;width:80px;height:68px;object-fit:cover;border-radius:8px}.zm-phone-story small{font-size:10px;color:#7e887b;display:block;margin-bottom:6px}.zm-phone-story h3{font-size:15px;line-height:1.6;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .zm-phone-help{border:1px solid #dedfd1;background:#f1efe4;border-radius:13px;padding:20px}.zm-phone-help h2{font-size:17px}.zm-phone-help p{font-size:13px;line-height:1.7;color:#707666;margin-top:8px}.zm-phone-help>div{display:flex;gap:16px;margin-top:8px}.zm-phone-help a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600}
 .zm-phone-more{padding:0 16px 22px}.zm-phone-more nav{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}.zm-phone-more a{min-height:44px;display:flex;align-items:center;font-size:13px;color:#647267;border-bottom:1px solid #e4e8e0}
 [data-phone-fold]>.zm-phone-fold-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:52px;padding:12px 0;border:0;background:transparent;font:600 15px/1.5 system-ui;text-align:left;color:inherit;cursor:pointer}
 [data-phone-fold]>.zm-phone-fold-toggle>span{font-size:22px;font-weight:400}
 [data-phone-fold]:not(.zm-phone-fold-open)>.zm-phone-fold-content{display:none}
 .zm-phone-public .zm-footer-main{display:block;width:calc(100% - 32px);padding-block:22px}
 .zm-phone-public .zm-footer-main>.zm-footer-brand{padding-bottom:14px}.zm-phone-public .zm-footer-brand p{font-size:12px;line-height:1.7}.zm-phone-public .zm-footer-brand img{width:35px;height:35px}
 .zm-phone-public .zm-footer-main>section{border-top:1px solid #dce4d62e;padding:0}
 .zm-phone-public .zm-footer-main>section .zm-phone-fold-content>h2{display:none}
 .zm-phone-public .zm-footer-main>section .zm-phone-fold-content{padding:0 0 12px}
 .zm-phone-public .zm-footer-partners{margin-top:0!important;padding-block:0!important}.zm-phone-public .zm-footer-partners .zm-phone-fold-content>h2{display:none}
 .zm-phone-public .zm-footer-bottom .zm-shell{display:block;font-size:11px;line-height:1.8}
 .zm-phone-public .zm-footer-bottom nav{flex-wrap:wrap;gap:6px 14px}.zm-phone-public .zm-footer-bottom a{min-height:36px;display:inline-flex;align-items:center}
 /* Phone administration: dedicated shortcuts, summaries and expandable records. */
 .zm-phone-admin{background:#f3f5f1;font-family:system-ui,-apple-system,'PingFang SC',sans-serif}
 .zm-phone-admin .admin-shell{width:calc(100% - 24px);padding:20px 0 35px;max-width:100%}
 .zm-phone-admin .admin-head{align-items:center;gap:10px;margin-bottom:16px}.zm-phone-admin .admin-head h1{font-size:25px;margin:3px 0 6px}.zm-phone-admin .admin-head p{font-size:12px;line-height:1.6}.zm-phone-admin .admin-head .eyebrow{font-size:10px}.zm-phone-admin .admin-head>.button{padding:8px 10px;white-space:nowrap;font-size:12px;min-height:40px}
 .zm-phone-admin .admin-login{display:block;padding:22px;border-radius:14px}.zm-phone-admin .admin-login h2{font-size:21px}.zm-phone-admin .admin-login-form{display:grid;grid-template-columns:1fr;gap:16px;margin-top:22px}.zm-phone-admin .admin-login-form input{width:100%;box-sizing:border-box;min-height:48px;font-size:16px}
 .zm-phone-admin .admin-dashboard{display:block;min-width:0}.zm-phone-admin .admin-toolbar{padding:16px;border-radius:13px;gap:10px;align-items:center;flex-wrap:wrap}.zm-phone-admin .admin-toolbar h2{font-size:21px}.zm-phone-admin [data-generated]{font-size:11px;max-width:40ch;overflow-wrap:anywhere}.zm-phone-admin .admin-toolbar-actions{flex-wrap:nowrap}.zm-phone-admin .admin-toolbar-actions .button{min-height:40px;padding:7px 11px;font-size:13px}
 .zm-phone-admin-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.zm-phone-admin-quick button{min-height:46px;border:1px solid #dee5d9;border-radius:10px;background:#fff;color:#4d5d4e;font:600 13px system-ui}.zm-phone-admin-quick button[aria-current=page]{color:white;background:#315b40;border-color:#315b40}
 .zm-phone-admin .admin-mobile-menu{position:sticky;top:0;z-index:20;margin:0 0 14px;padding:10px 0;background:#f3f5f1;gap:9px;font-size:13px}.zm-phone-admin .admin-mobile-menu select{padding:11px 9px;min-height:46px;border-radius:10px;font-size:16px}
 .zm-phone-admin .admin-table-card{border-radius:13px;min-width:0}.zm-phone-admin .admin-table-head{padding:17px 15px;display:flex;flex-direction:column;align-items:stretch;gap:14px}.zm-phone-admin .admin-table-head h2{font-size:18px}.zm-phone-admin .admin-table-head p{font-size:12px;line-height:1.7}.zm-phone-admin .admin-table-tools{display:flex;flex-wrap:wrap;gap:9px;width:100%;min-width:0}.zm-phone-admin .admin-table-tools input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:46px}.zm-phone-admin .button{min-height:44px;box-sizing:border-box;white-space:normal;line-height:1.45}
 .zm-phone-admin .admin-table-wrap{overflow:visible;padding:0 12px 12px;min-width:0}.zm-phone-admin .admin-table{display:block;width:100%;min-width:0!important;border:0;table-layout:auto}.zm-phone-admin .admin-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.zm-phone-admin .admin-table tbody{display:grid;gap:11px;width:100%}
 .zm-phone-admin .admin-table tr[data-phone-row]{display:block;border:1px solid #e1e6dc;border-radius:11px;padding:6px 13px;background:#fcfdfb;min-width:0}
 .zm-phone-admin .admin-table tr[data-phone-row]>td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;padding:9px 0;border:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;font-size:13px;line-height:1.65;min-width:0;text-align:left;max-width:100%}
 .zm-phone-admin .admin-table td[data-phone-label]::before{content:attr(data-phone-label);color:#7d877b;font-size:12px;font-weight:400}
 .zm-phone-admin .admin-table tr[data-phone-row]>td:first-child{font-weight:650;font-size:14px}.zm-phone-admin .admin-table tr[data-phone-row]:not(.zm-phone-row-open)>.zm-phone-row-extra{display:none}
 .zm-phone-admin .admin-table tr[data-phone-row]>.zm-phone-row-toggle-cell{display:block;padding:4px 0 0;border-top:1px solid #e8ece3}.zm-phone-row-toggle{width:100%;border:0;background:transparent;color:#315b40;min-height:42px;font:600 12px system-ui;text-align:right}
 .zm-phone-admin .admin-table td[colspan]:not(.zm-phone-row-toggle-cell){display:block;white-space:normal;padding:18px 10px;font-size:13px}.zm-phone-admin .admin-table td img{max-width:100%;height:auto}.zm-phone-admin .admin-table td .button{display:inline-flex;align-items:center;justify-content:center;margin:2px;min-width:66px}
 .zm-phone-admin .admin-stat-grid,.zm-phone-admin .admin-search-submit-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.zm-phone-admin .admin-stat-grid article{padding:14px}.zm-phone-admin .admin-stat-grid strong{font-size:25px}.zm-phone-admin .admin-search-submit{padding:13px}.zm-phone-admin .admin-search-submit-log{min-width:0;overflow-wrap:anywhere;font-size:11px}.zm-phone-admin .admin-search-submit-summary strong{font-size:15px}
 .zm-phone-admin form[data-phone-fold]{display:block;padding:0 15px 16px}.zm-phone-admin form[data-phone-fold]>.zm-phone-fold-content{display:grid;grid-template-columns:1fr;gap:12px}.zm-phone-admin form[data-phone-fold] label{min-width:0}.zm-phone-admin form[data-phone-fold] input,.zm-phone-admin form[data-phone-fold] select,.zm-phone-admin form[data-phone-fold] textarea{font-size:16px;width:100%;box-sizing:border-box}.zm-phone-admin form[data-phone-fold] .span-2{grid-column:1/-1}
 .zm-phone-admin .admin-banner-form,.zm-phone-admin .admin-banner-preview,.zm-phone-admin .admin-genealogy-form{max-width:100%;min-width:0;grid-template-columns:1fr}.zm-phone-admin .admin-banner-preview img{max-width:100%}
 .zm-phone-admin :focus-visible,.zm-phone-public :focus-visible{outline:3px solid #a78b55;outline-offset:3px}
}
@media(max-width:360px){.zm-phone-hero{padding:22px 16px 16px}.zm-phone-hero h1{font-size:26px}.zm-phone-quick small{font-size:9px}.zm-phone-home .zm-phone-memory{padding:16px;grid-template-columns:minmax(0,1fr) 86px}.zm-phone-memory img{width:86px;height:125px}.zm-phone-memory h2{font-size:19px}.zm-phone-admin .admin-table tr[data-phone-row]>td{grid-template-columns:72px minmax(0,1fr)}}

@media(max-width:760px){
 .zm-phone-admin .admin-head{flex-direction:row;align-items:center}.zm-phone-admin .admin-head>div>p:not(.eyebrow){display:none}.zm-phone-admin .admin-head>.button{width:auto;max-width:84px;flex-shrink:0}
 .zm-phone-admin .admin-table-tools label{display:flex;align-items:center;gap:8px;font-size:13px}.zm-phone-admin .admin-table-tools input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#315b40}
 .zm-phone-admin [data-user-summary]{display:none}.zm-phone-admin .zm-phone-user-summary{display:block;line-height:1.7;font-size:12px}
 .zm-phone-admin .zm-phone-admin-notes>.zm-phone-fold-toggle{font-size:11px;font-weight:400;min-height:32px;padding:4px 0;color:#7d877b}.zm-phone-admin .zm-phone-admin-notes>.zm-phone-fold-toggle span{font-size:16px}
 .zm-phone-admin .zm-phone-admin-notes .zm-phone-fold-content p{font-size:12px;margin-top:7px}
 .zm-phone-admin .admin-table .zm-phone-row-beyond-page{display:none!important}.zm-phone-admin .zm-phone-pager:not([hidden]){display:block;width:100%;min-height:46px;margin-top:12px;border:1px solid #dce3d7;border-radius:9px;background:#f2f6ed;color:#315b40;font-size:13px}
}
@media(max-width:760px){
 .zm-phone-admin form[data-phone-fold]:not(.zm-phone-fold-open)>.zm-phone-fold-content{display:none}
 .zm-phone-admin form[data-phone-fold] input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#315b40}
}

@media(max-width:760px){.zm-phone-admin .admin-head{display:flex}.zm-phone-admin .admin-head>div{min-width:0;width:auto}}
@media(max-width:760px){
 .zm-phone-public iframe[data-zongmai-service-chat]{top:auto!important;left:auto!important;right:8px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;transform:none!important;max-height:calc(100dvh - 92px - env(safe-area-inset-bottom))}
}
