/* Shared brand lockup and site footer: homepage + registration + subsequent pages. */
.header .brand,.site-footer .brand,.topbar .brand{display:flex;align-items:center;gap:9px;line-height:1.2;font-size:25px;font-weight:700;letter-spacing:2px}.header .brand>span,.site-footer .brand>span,.topbar .brand>span{display:flex;flex-direction:column;align-items:center;margin:0;font-size:inherit}.header .brand small,.site-footer .brand small,.topbar .brand small{font-size:9px;letter-spacing:2.5px;font-weight:400;line-height:1.3;margin:7px 0 0;color:#797f69}.header .brand img,.site-footer .brand img,.topbar .brand img{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.site-footer{display:block;width:100%;margin:48px 0 0;padding:44px 0 22px;background:#efede6;border-top:1px solid #e0dcd1;color:#34372e}.site-footer>.wrap{width:min(1240px,calc(100% - 80px));margin:auto;text-align:left;border:0;padding:0}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.25fr;gap:35px}.site-footer p{font-size:12px;color:#777568;line-height:1.9;margin:0}.footer-about>p{margin-top:22px}.site-footer h2{font-family:inherit;font-size:14px;font-weight:600;letter-spacing:0;margin:0 0 17px;line-height:1.5}.footer-nav>a,.footer-policy{display:block;font-size:12px;min-height:34px;color:#777568;text-decoration:none}.footer-policy{font-family:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}.footer-phone{font-family:Georgia,serif;font-size:25px;line-height:1.5;color:#697b57;letter-spacing:.5px;display:inline-block;min-height:39px}.footer-store .partner-wechat{margin-top:10px;font-size:11px;max-width:120px;padding:8px 12px;min-height:40px;border:1px solid #d4dcc8;background:#e7ecde;color:#677c51;border-radius:6px;cursor:pointer}.footer-store address{font-size:12px;font-style:normal;color:#777568;line-height:1.9;margin:15px 0 5px}.footer-legal{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #dad6cb;margin-top:35px;padding-top:20px}.footer-legal>p{font-size:10px}.footer-records{display:flex;gap:20px;flex-wrap:wrap}.footer-records>a{font-size:10px;color:#858273;min-height:25px;display:inline-flex;align-items:center}.site-footer .footer-preview{font-size:10px;margin-top:9px;color:#96907f}.site-notice,#wechat-dialog{border:1px solid #e0dfd3;border-radius:12px;background:#faf8f3;padding:26px;color:#34372e;width:min(480px,calc(100% - 36px));max-height:85vh;overflow:auto}.site-notice::backdrop,#wechat-dialog::backdrop{background:#222b2259}.site-notice h2,#wechat-dialog h2{font-family:inherit;font-size:20px;margin:0 0 14px}.site-notice h3{font-size:14px;margin:18px 0 7px}.site-notice p,#wechat-dialog p{font-size:13px;color:#878674;line-height:1.9;margin:10px 0}.site-notice form,#wechat-dialog form{margin-top:20px;text-align:right}.site-notice .button,#wechat-dialog .button{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;min-height:44px;background:#e4e9da;border:1px solid #cdd7bd;border-radius:7px;color:#526346;cursor:pointer}#wechat-dialog input{width:100%;padding:11px;font-size:21px;border:1px solid #dce0d2;border-radius:6px;background:#fffefa}.contact-status:not([hidden]){position:fixed;bottom:95px;left:50%;transform:translateX(-50%);z-index:99;background:#3e4936f0;color:#fff;border-radius:8px;padding:12px 17px;font-size:13px;text-align:center;max-width:calc(100% - 32px);width:max-content}
@media(max-width:760px){.header .brand,.site-footer .brand,.topbar .brand{font-size:22px;gap:7px;letter-spacing:1px}.header .brand small,.site-footer .brand small,.topbar .brand small{font-size:8px;letter-spacing:2px;margin-top:5px}.header .brand img,.site-footer .brand img,.topbar .brand img{width:42px;height:42px}.site-footer{padding:25px 0 calc(94px + env(safe-area-inset-bottom));margin-top:18px}.site-footer>.wrap{width:calc(100% - 40px)}.footer-grid{display:grid;grid-template-columns:1fr;gap:0}.footer-about,.footer-nav[aria-label="页脚服务导航"]{display:none}.footer-store{grid-row:1}.site-footer h2{font-size:13px;margin:0 0 7px}.footer-phone{font-size:25px}.footer-store>p{font-size:11px}.footer-store .partner-wechat{margin-top:9px;min-height:40px}.footer-store address{font-size:12px;margin-top:13px}.footer-store address br{display:none}.footer-nav[aria-label="页脚快捷入口"]{display:flex;flex-wrap:wrap;gap:0 17px;margin-top:18px;padding-top:13px;border-top:1px solid #dad6cb}.footer-nav h2{display:none}.footer-nav>a,.footer-policy{font-size:11px;min-height:40px;display:inline-flex;align-items:center}.footer-legal{display:block;margin-top:12px;padding-top:13px}.footer-records{gap:0 14px;margin-top:5px}.footer-records>a{font-size:10px;min-height:30px}.site-footer .footer-preview{font-size:9px;line-height:1.8;margin-top:8px}body:has(.registration-layout) .site-footer{padding-bottom:30px}}
/* Cross-page mobile and dialog safeguards, October audit. */
[hidden]{display:none!important}dialog{box-sizing:border-box;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto}input,select,textarea{min-width:0}a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait}img{max-width:100%}#wechat-dialog input{overflow-wrap:anywhere}.footer-grid>*,.footer-records{min-width:0}.footer-preview{overflow-wrap:anywhere}@supports(-webkit-touch-callout:none){@media(max-width:760px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important}}
.footer-operator{font-size:11px;line-height:1.9;color:#747568;margin-top:12px;overflow-wrap:anywhere}@media(max-width:760px){.footer-operator{font-size:10px;margin-top:10px}}
/* Equal partner presentation; placement changes only between browser visits. */
.partner-cards>.partner-card:nth-child(n){background:#f0f0e7;border-color:#e0e2d5;box-shadow:none}.partner-team>article,.consultant-grid>article,.partners>article{min-width:0}.partner-team article>img,.consultant-grid article>img,.partner-cards .partner-head>img,.partners article>img{width:60px;height:60px;border-radius:50%;object-fit:cover;object-position:top;flex-shrink:0}.partners article>img{margin-bottom:12px}.partner-team .partner-wechat,.consultant-grid .partner-wechat,.partners .partner-wechat{min-height:44px}.partner-team a[href^="tel:"],.consultant-grid a[href^="tel:"],.partners a[href^="tel:"]{min-height:44px;display:flex;align-items:center}.partner-cards .partner-card>a{min-height:44px}@media(max-width:760px){.partner-team article>img,.consultant-grid article>img,.partner-cards .partner-head>img,.partners article>img{width:44px;height:44px}.partner-cards .partner-head>img{margin-bottom:10px}.partners article>img{margin-bottom:9px}.partner-team,.consultant-grid,.partner-cards,.partners{grid-template-columns:repeat(3,minmax(0,1fr))}.partner-cards>.partner-card:nth-child(n){padding-inline:9px}.partner-cards .partner-card>a{font-size:11px}}@media(max-width:350px){.partner-cards .partner-card>a{font-size:10px}}
/* Responsive image dimensions: HTML width/height reserve aspect ratio, not a fixed display height. */
img{height:auto}.store-section>figure{min-width:0;width:100%}.store-section>figure>img{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:420px;object-fit:cover;object-position:center}.space-photos>figure{min-width:0}.space-photos>figure>img{display:block;width:100%;height:auto;aspect-ratio:8/5;max-height:400px;object-fit:cover;object-position:center}@media(max-width:760px){.store-section>figure>img{aspect-ratio:16/10;max-height:235px}.space-photos>figure>img{aspect-ratio:16/9;max-height:235px}}
/* Mobile footer: fixed navigation rows and a compact contact block. */
@media(max-width:760px){
 .footer-store{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start}
 .footer-store>h2{grid-column:1/-1;margin-bottom:10px}
 .footer-store>.footer-phone{grid-column:1;grid-row:2;font-size:clamp(21px,6vw,25px);white-space:nowrap;min-height:34px}
 .footer-store>p{grid-column:1/-1}
 .footer-store>p:first-of-type{grid-column:1;grid-row:3}
 .footer-store>.partner-wechat{grid-column:2;grid-row:2/4;align-self:center;margin:0;width:100%;min-width:92px;max-width:none;padding:9px 12px;font-size:12px}
 .footer-store>address{grid-column:1/-1;margin:16px 0 5px;line-height:1.8}
 .footer-store>address br{display:block}
 .footer-nav[aria-label="页脚快捷入口"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin-top:18px;padding-top:8px}
 .footer-nav[aria-label="页脚快捷入口"]>a,.footer-nav[aria-label="页脚快捷入口"]>.footer-policy{display:flex;justify-content:center;min-height:44px;font-size:12px;line-height:1.5;white-space:nowrap;border-bottom:1px solid #dedacf;text-align:center}
 .footer-nav[aria-label="页脚快捷入口"]>:last-child:nth-child(even){grid-column:1/-1}
 .footer-legal{margin-top:18px;padding-top:14px}
 .footer-records{display:grid;grid-template-columns:1fr;gap:0;margin-top:5px}
 .footer-records>a{min-height:26px}
}
