/* Header alignment patch: loaded after style.css to isolate navigation layout. */
.mdnice-body .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mdnice-body .site-top,.mdnice-body .top-inner{height:60px}
.mdnice-body .top-inner{gap:0;padding-top:0;padding-bottom:0}
.mdnice-body .header-menu{display:block;flex:1;min-width:0;height:60px;margin:0 0 0 27px;border:0;box-shadow:none;background:transparent}
.mdnice-body .header-menu .category-inner{width:100%;height:60px;margin:0;padding:0;gap:22px;overflow-x:auto;scrollbar-width:none}
.mdnice-body .header-menu .category-inner::-webkit-scrollbar{display:none}
.mdnice-body .header-menu .category-inner a{height:60px;line-height:60px;font-size:14px}
.mdnice-body .top-nav{display:flex;align-items:center;height:60px;margin-left:29px}
.mdnice-body .top-nav a{display:flex;align-items:center;height:60px;padding:0 12px;line-height:1;white-space:nowrap}
.mdnice-body .header-actions{display:flex;align-items:center;flex:0 0 auto;gap:17px;margin-left:auto}
.mdnice-body .search-form{display:block;flex:0 0 38px;width:38px;height:38px;margin:0}
.mdnice-body .search-form input{top:3px;right:35px;height:32px;line-height:32px}
.mdnice-body .search-form:focus-within input{width:190px}
.mdnice-body .search-form.is-open{z-index:20}
.mdnice-body .search-form.is-open input{width:220px;padding:0 13px;opacity:1;pointer-events:auto;border:1px solid #d8e1e5;box-shadow:0 5px 18px rgba(18,45,56,.12)}
.mdnice-body .search-form.is-open .search-button{background:#e7f1f5}
.mdnice-body .search-form .search-button{top:1px;right:0;display:grid;width:36px;height:36px;padding:0;place-items:center;line-height:1}
.mdnice-body .search-form svg{display:block;width:18px;height:18px}
.mdnice-body .header-actions .dgmp-header-wrap{display:flex!important;align-items:center;flex:0 0 auto}
.mdnice-body .header-actions .dgmp-user-trigger{min-height:32px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#333!important;font:14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important;white-space:nowrap}
.mdnice-body .header-actions .dgmp-user-trigger:hover{background:transparent!important;color:#4c9ab8!important}
.mdnice-body .header-actions .dgmp-open-login svg{display:none}
.mdnice-body .header-actions .dgmp-user-trigger svg{width:16px;height:16px}
.mdnice-body .header-actions .dgmp-user-trigger span{display:inline!important}
.mdnice-body .header-actions .dgmp-user-menu{top:calc(100% + 14px);right:0}
@media(max-width:640px){.mdnice-body .top-inner{padding-left:24px;padding-right:24px}.mdnice-body .header-menu{margin-left:17px}.mdnice-body .header-menu .category-inner{gap:18px}.mdnice-body .header-menu .category-inner a{height:60px;line-height:60px}.mdnice-body .header-actions{gap:12px}.mdnice-body .header-actions .dgmp-user-trigger{font-size:13px!important}.mdnice-body .search-form:focus-within input,.mdnice-body .search-form.is-open input{width:180px}}
