/* Isolate the shared menu from older page-wide nav rules. */
body header.shared-header nav.shared-panel{display:block;width:100%;max-width:none;min-width:0;grid-template-columns:none;align-items:normal;gap:0;float:none;text-align:left}
body header.shared-header nav.shared-panel[hidden]{display:none!important}
.shared-header .shared-panel-heading{width:100%;min-width:0;display:flex;justify-content:space-between;align-items:center}
.shared-header .shared-links{width:100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.shared-header .shared-links a{min-width:0;width:auto;max-width:100%;justify-content:flex-start;text-align:left;white-space:normal;overflow-wrap:normal;word-break:normal}
.shared-header .shared-links a span{min-width:0;overflow-wrap:break-word}
.shared-header .shared-links a img{flex-shrink:0;object-fit:contain}
@media(max-width:760px){.shared-header .shared-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){.shared-header .shared-links{grid-template-columns:minmax(0,1fr)}}
/* Keep password visibility inside the field on a single line. */
body[data-account-page="signup"] .email-account-form button.password-visibility.quiet-button{width:54px;max-width:54px;min-width:0;white-space:nowrap;word-break:normal;overflow-wrap:normal;padding:4px;font-size:12px}
body[data-account-page="signup"] .email-account-form label:has([name="password"]){min-width:0}
body[data-account-page="signup"] .email-account-form [name="password"]{padding-right:62px!important}
body[data-account-page="signup"] .site-footer a{color:#42654f}
@media(max-width:350px){body[data-account-page="signup"] .email-account-form>label:has([name="kind"]),body[data-account-page="signup"] #professionalRoleLabel{grid-column:1/-1}}
