/* Maintained v31: keyboard focus, text resizing and narrow layout safeguards. */
:focus-visible{outline:3px solid #178b52;outline-offset:3px}
.wrap,.wrap>*{min-width:0}
h1,h2,h3,p,.btn,.foot,.links{overflow-wrap:anywhere}
.brand{flex-shrink:0}.brand .mark{flex-shrink:0}
.btn{height:auto;white-space:normal;text-align:center;padding-block:10px;max-width:100%}
.mobile-menu{max-width:calc(100vw - 40px);max-height:calc(100dvh - 90px);overflow-y:auto}
@media(max-width:760px){.nav{height:auto;min-height:76px;flex-wrap:wrap;padding-block:12px;gap:12px}.mobile-menu{top:100%}.hero-grid,.map-shell{grid-template-columns:minmax(0,1fr)}.grid3,.grid-3,.grid-4,.grid2,.split,.steps{grid-template-columns:minmax(0,1fr)}}
/* Avoid overflowing grid tracks and contact buttons in Brand & Licensing panels. */
.brand-licensing .grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.brand-licensing .grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.brand-licensing .logo-card,.brand-licensing .card,.brand-licensing .note{min-width:0}
.brand-licensing .links{align-items:stretch;gap:12px}
.brand-licensing .links .btn{flex:0 1 auto;max-width:100%}
@media(max-width:900px){.brand-licensing .grid2,.brand-licensing .grid3{grid-template-columns:minmax(0,1fr)}}
[hidden]{display:none !important}
.brand{max-width:100%;min-width:0}.brand>span:last-child{min-width:0;overflow-wrap:anywhere}
.note,.note strong,code,.code{overflow-wrap:anywhere}
.actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.actions button{min-width:0;white-space:normal;overflow-wrap:anywhere;height:auto}
.brand{overflow-wrap:anywhere}

/* The map and received-link pages share the standard footer link set. */
.compact-site-footer{padding:34px 20px 48px;border-top:1px solid #e7eaec;font-size:13px;color:#697178}
.compact-site-footer .foot{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.compact-site-footer .footlinks{display:flex;gap:18px;flex-wrap:wrap}
.compact-site-footer a{color:inherit;text-decoration:none}

/* Explicit flow spacing keeps role badges, inset panels and descriptions separate. */
.brand-licensing .logo-card{gap:24px}
.brand-licensing .logo-card>div{display:grid;gap:18px;min-width:0}
.brand-licensing .logo-card .owner-badge,.brand-licensing .logo-card .licensee-badge{justify-self:start;max-width:100%;white-space:normal}
.brand-licensing .logo-card h3,.brand-licensing .logo-card>div>p,.brand-licensing .logo-card>.small{margin:0}
.brand-licensing .logo-card .card{margin:0;min-width:0}
#technical-material .documentation-topics .card{cursor:default}
#technical-material .intro a{text-decoration:underline;text-underline-offset:3px}
.sitemap-page .page-links{display:grid;gap:12px;list-style:none;padding:0}
.sitemap-page .page-links a{text-decoration:underline;text-underline-offset:3px}

/* Match Home's existing 920px layout breakpoint: no gap with hidden desktop links. */
@media(max-width:920px){
 .home-page nav.desktop-nav{display:none !important}
 .home-page .menu-toggle{display:flex !important;align-items:center;justify-content:center}
 .home-page .nav{height:auto;min-height:76px;flex-wrap:wrap;gap:12px;padding-block:12px}
 .home-page .mobile-menu{top:100%}
}
