header.mmg-header{position:fixed;inset:0 0 auto;z-index:100;height:88px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:#1f1f1f;font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif}
.mmg-shared-navigation{padding-top:88px}
.mmg-header::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(255,253,249,.72),rgba(255,253,249,.12));transition:background 180ms,box-shadow 180ms;pointer-events:none}
.mmg-header[data-scrolled="true"]::before,.mmg-header[data-night="true"]::before,.mmg-header.menu-open::before{background:rgba(255,253,249,.97);box-shadow:0 1px 0 #c09a5e26}
.mmg-shell{box-sizing:border-box;width:calc(100% - 96px);max-width:1824px;height:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mmg-brand{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:8px 0;text-decoration:none}
.mmg-brand img{display:block;object-fit:contain;flex-shrink:0;max-width:none;border:0;margin:0;filter:none}
.mmg-logo-icon{width:52px;height:52px}.mmg-logo-type{width:178px;height:49px}
.mmg-nav{display:flex;align-items:center;gap:clamp(16px,1.8vw,30px);height:100%;margin:0;padding:0}
.mmg-nav a,.mmg-nav summary,.mmg-consult{font-size:14px;line-height:1.5;letter-spacing:.02em;text-decoration:none;font-weight:500;color:inherit}
.mmg-home,.mmg-trigger{display:flex;align-items:center;gap:4px;height:100%;box-sizing:border-box;position:relative;white-space:nowrap;cursor:pointer}
.mmg-trigger{list-style:none;padding:0;border:0;background:none}.mmg-trigger::-webkit-details-marker{display:none}.mmg-trigger>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;margin-left:4px;font-size:0;line-height:0;color:#746c62;transform-origin:center;transition:transform 180ms ease,color 180ms ease}.mmg-trigger>span::before{content:"";display:block;width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.mmg-item{height:100%;padding:0;border:0;background:none}.mmg-item[open]>.mmg-trigger>span{transform:rotate(180deg)}
.mmg-item[open]>.mmg-trigger,.mmg-item[open]>.mmg-trigger>span{color:#b64b00}
@media(min-width:1200px){.mmg-item[open]>.mmg-trigger::before{content:"";position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ff8a00;pointer-events:none}}
.mmg-home[aria-current="page"]::after,.mmg-item[open]>.mmg-trigger::after,.mmg-item.current>.mmg-trigger::after{content:"";position:absolute;bottom:20px;left:50%;transform:translateX(-50%);height:2px;width:22px;background:#ff8a00;border-radius:9px}
.mmg-home[aria-current="page"],.mmg-item.current>.mmg-trigger{font-weight:600}
.mmg-consult{display:flex;align-items:center;justify-content:center;gap:18px;flex-shrink:0;min-height:44px;padding:0 22px;border-radius:30px;background:linear-gradient(135deg,#ffb347,#ff8a00);color:#292016;border:1px solid #fff6;transition:box-shadow 180ms,transform 180ms}.mmg-consult>span{font-size:21px}
.mmg-consult:hover{box-shadow:0 6px 20px #b2651924;transform:translateY(-1px)}
.mmg-panel{box-sizing:border-box;position:fixed;left:50%;top:96px;transform:translateX(-50%);width:min(1020px,calc(100vw - 64px));display:grid;grid-template-columns:190px repeat(4,minmax(0,1fr));gap:16px;padding:24px 26px 22px;background:#fffdf9;border:1px solid #c09a5e33;border-radius:16px;box-shadow:0 16px 52px #40271126;max-height:calc(100dvh - 112px);overflow:auto;text-align:left}
.mmg-intro{border-right:1px solid #c09a5e2e;padding-right:22px;display:flex;flex-direction:column;align-items:flex-start}.mmg-intro>small{font-size:10px;font-weight:600;letter-spacing:.16em;color:#995016}.mmg-intro>strong{font-size:22px;font-weight:600;margin:8px 0;color:#1f1f1f}.mmg-intro>p{font-size:13px;line-height:1.7;color:#746c62;margin:0 0 18px}.mmg-intro>a{font-size:13px;font-weight:600;margin-top:auto;min-height:36px;display:flex;gap:10px;align-items:center}
.mmg-column-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}.mmg-column-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;color:#ac611c;background:#fff0db;border-radius:9px}.mmg-column-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.mmg-column-heading h3{font-size:15px;font-weight:600;line-height:1.4;color:#1f1f1f;margin:0 0 3px}.mmg-column-heading p{font-size:11px;line-height:1.4;color:#7d756c;margin:0}.mmg-column>a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:36px;font-size:14px;color:#42566b}.mmg-column>a>span{opacity:0;transform:translateX(-3px);transition:opacity 180ms,transform 180ms;color:#b64b00}.mmg-column>a:hover,.mmg-intro>a:hover{color:#b64b00}.mmg-column>a:hover>span,.mmg-column>a:focus-visible>span{opacity:1;transform:translateX(0)}
.mmg-header a:focus-visible,.mmg-header summary:focus-visible,.mmg-header button:focus-visible{outline:2px solid #a65006;outline-offset:5px;border-radius:4px}
.mmg-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;padding:10px;border:1px solid #c09a5e55;border-radius:9px;background:#fffdf9;color:#1f1f1f}.mmg-menu-toggle span{width:20px;height:2px;background:currentColor;border-radius:2px}
@media(max-width:1199px){header.mmg-header{height:80px}.mmg-shell{width:calc(100% - 48px);gap:16px}.mmg-logo-icon{width:48px;height:48px}.mmg-logo-type{width:164px;height:45px}.mmg-consult{margin-left:auto}.mmg-menu-toggle{display:flex}.mmg-nav{display:none;position:fixed;inset:80px 0 0;width:100%;height:calc(100dvh - 80px);box-sizing:border-box;overflow:auto;background:#fffdf9;padding:20px 24px 48px}.menu-open .mmg-nav{display:block}.mmg-home,.mmg-trigger{min-height:52px;font-size:16px;justify-content:space-between}.mmg-home[aria-current]::after,.mmg-item[open]>.mmg-trigger::after,.mmg-item.current>.mmg-trigger::after{left:0;transform:none;bottom:8px}.mmg-item{height:auto;border-bottom:1px solid #e6e0d8}.mmg-panel{position:static;transform:none;width:100%;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 0 24px;gap:24px;border:0;border-radius:0;box-shadow:none}.mmg-intro{grid-column:1/-1;border:0;padding:0;display:block}.mmg-intro>small,.mmg-intro>strong,.mmg-intro>p{display:none}.mmg-intro>a{min-height:36px}.mmg-column>a{min-height:44px}.mmg-column-heading{margin-bottom:8px}.mmg-home{width:max-content}}
@media(max-width:767px){.mmg-shell{width:calc(100% - 32px);gap:10px}.mmg-logo-type{width:130px;height:40px}.mmg-logo-icon{width:44px;height:48px}.mmg-brand{gap:7px}.mmg-consult{min-height:40px;padding:0 13px;font-size:12px;gap:8px}.mmg-consult>span{display:none}.mmg-panel{grid-template-columns:1fr;gap:18px}.mmg-column>a{padding:0 4px}.mmg-nav{padding:12px 24px 48px}.mmg-column-heading p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mmg-header *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:767px){.mmg-logo-icon{width:48px;height:48px}.mmg-consult{min-height:44px}}
.mmg-site-footer{padding:45px max(32px,calc((100vw - 1180px)/2)) 28px;display:flex;align-items:center;flex-wrap:wrap;gap:22px 36px;background:#fffdf9;color:#1f1f1f;font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;line-height:1.65}.mmg-site-footer .footer-brand{display:flex;align-items:center;gap:10px;flex-shrink:0;text-decoration:none}.mmg-site-footer .footer-brand img{display:block;object-fit:contain;max-width:none}.mmg-site-footer>p{font-size:12px;color:#746c62;margin:0}.mmg-site-footer nav{display:flex;gap:24px;margin-left:auto;flex-wrap:wrap;font-size:12px}.mmg-site-footer nav a{min-height:44px;display:inline-flex;align-items:center;color:inherit;text-decoration:none}.mmg-site-footer>small{width:100%;padding-top:20px;border-top:1px solid #e6e0d8;font-size:11px;color:#7d7469}
@media(max-width:1199px){.mmg-site-footer{padding:36px 32px 24px}.mmg-site-footer nav{margin-left:0}}
@media(max-width:767px){.mmg-site-footer{padding:32px 20px 24px;gap:18px}.mmg-site-footer>p{width:100%;font-size:11px}.mmg-site-footer nav{gap:16px}.mmg-site-footer nav a{font-size:11px}.mmg-site-footer .footer-brand img:first-child{width:44px;height:44px}.mmg-site-footer .footer-brand img:last-child{width:150px;height:42px}}
@media(max-width:1199px){.mmg-shared-navigation{padding-top:80px}header.mmg-header:not([data-ready]){position:relative;height:auto;background:#fffdf9}.mmg-header:not([data-ready]) .mmg-shell{flex-wrap:wrap;padding:12px 0}.mmg-header:not([data-ready]) .mmg-nav{display:block;position:static;height:auto;order:4;padding:0;width:100%;overflow:visible}.mmg-header:not([data-ready]) .mmg-menu-toggle{display:none}}

/* Keep each link arrow beside its own label, inside the same column. */
.mmg-header .mmg-column>a{justify-content:flex-start;gap:8px}
.mmg-header .mmg-column>a>span{flex:0 0 auto;transform:none}
.mmg-header .mmg-column>a:focus-visible{color:#b64b00}
.mmg-header .mmg-column>a:is(:hover,:focus-visible)>span{opacity:1;transform:none}

/* Mobile navigation rows must not inherit the desktop 100% height. */
@media(max-width:1199px){
 .mmg-header .mmg-nav{height:calc(100vh - 80px);height:calc(100dvh - 80px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:max(32px,env(safe-area-inset-bottom));}
 .mmg-header .mmg-nav>.mmg-home,.mmg-header .mmg-trigger{height:56px;min-height:56px;width:100%;font-size:16px;line-height:1.5;align-items:center;justify-content:space-between;}
 .mmg-header .mmg-item{height:auto;min-width:0;}
 .mmg-header .mmg-nav>.mmg-home{border-bottom:1px solid #e6ded2;}
 .mmg-header .mmg-panel{min-width:0;}
 .mmg-header .mmg-column{min-width:0;}
 .mmg-header .mmg-column>a{min-height:44px;height:auto;white-space:normal;overflow-wrap:anywhere;padding:8px 4px;}
 .mmg-header .mmg-intro>a{padding:8px 4px;}
 .mmg-header .mmg-trigger>span{font-size:18px;}
 .mmg-header.menu-open .mmg-menu-toggle{position:relative;}
 .mmg-header.menu-open .mmg-menu-toggle span{position:absolute;}
 .mmg-header.menu-open .mmg-menu-toggle span:first-child{transform:rotate(45deg);}
 .mmg-header.menu-open .mmg-menu-toggle span:nth-child(2){opacity:0;}
 .mmg-header.menu-open .mmg-menu-toggle span:last-child{transform:rotate(-45deg);}
}

/* Preserve zero-size glyph after existing mobile overrides. */
.mmg-header .mmg-trigger>span{font-size:0}
