header .m34-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
header .m34-tools .m34-tool{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:9px;border:1px solid #e3e7eb;border-radius:13px;background:#fff;color:#34433f;text-decoration:none;box-shadow:none;flex:0 0 auto}
header .m34-tools .m34-tool svg{display:block;width:24px;height:24px;flex-shrink:0}
header .m34-tools .m34-tool:hover{background:#fff4ea;border-color:#f3caa8;color:#b64a06}
header .m34-tools .m34-tool:focus-visible{outline:3px solid #f07825;outline-offset:3px}
header .m34-tools .m34-tool-badge{position:absolute;right:-4px;top:-5px;min-width:16px;height:16px;padding:0 3px;box-sizing:border-box;border-radius:10px;background:#f56b08;color:#fff;font:700 10px/16px system-ui;text-align:center}
.site-header .header-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
@media(max-width:760px){header .m34-tools{gap:6px}header .m34-tools .m34-tool{width:36px;height:38px;padding:7px;border-radius:11px}header .m34-tools .m34-tool svg{width:22px;height:22px}.site-header .header-inner{flex-wrap:wrap;gap:12px}.site-header .header-actions{margin-left:auto}.site-header .brand-logo img{max-width:120px}.pm-social-page header .nav{flex-wrap:nowrap}}
@media(max-width:360px){header .m34-tools{gap:4px}header .m34-tools .m34-tool{width:32px;height:36px;padding:6px}.site-header .header-actions{gap:4px}.site-header .brand-logo img{max-width:94px}}

/* Identical logo box in both shared headers; never shrink the brand to fit tools. */
header.site-header .brand-logo,.pm-social-page header .brand{flex:0 0 auto}
header.site-header .brand-logo img,.pm-social-page header .pm-logo{display:block;width:145px!important;max-width:none!important;max-height:none!important;height:60px!important;object-fit:contain}
@media(max-width:760px){header.site-header .brand-logo img,.pm-social-page header .pm-logo{width:120px!important;height:50px!important}header.site-header .header-inner{padding-left:16px;padding-right:16px;column-gap:8px}.site-header .mobile-menu-btn{flex:0 0 36px;width:36px;padding:4px}}

header .m34-tools{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px;width:auto!important;height:auto!important;min-width:0}
header .m34-tools .m34-tool{display:flex!important;flex:0 0 36px!important;width:36px!important;height:38px!important;min-width:0!important;margin:0!important;padding:7px!important}
@media(min-width:761px){header .m34-tools .m34-tool{flex-basis:42px!important;width:42px!important;height:42px!important}}
@media(max-width:760px){header.site-header .header-inner{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;padding:12px 16px;height:auto;min-height:74px}header.site-header .header-actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:6px;margin-left:auto;width:auto!important}header.site-header .header-actions>.mobile-menu-btn{flex:0 0 34px;width:34px;min-width:34px;height:38px;min-height:38px}}
@media(max-width:360px){header.site-header .header-inner{padding-left:10px;padding-right:10px;gap:5px}header .m34-tools{gap:3px}header .m34-tools .m34-tool{flex-basis:28px!important;width:28px!important;padding:4px!important}header.site-header .header-actions{gap:4px}header.site-header .header-actions>.mobile-menu-btn{flex-basis:30px;width:30px;min-width:30px}}
