/* Studio LegalMark V51 — phone adjacent to Contact; contrast and legibility, no layout removal. */
body.lm46-site .lm51-phone-link{
 display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:7px!important;
 color:#123c5b!important; text-decoration:none!important; font:700 12px/1.2 Arial,Helvetica,sans-serif!important;
 white-space:nowrap!important; min-height:38px; padding:5px 2px; border-radius:3px;
}
body.lm46-site .lm51-phone-link svg {flex:none;width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.lm46-site .lm51-phone-link:hover,body.lm46-site .lm51-phone-link:focus-visible{color:#006ba6!important;text-decoration:underline!important;text-underline-offset:4px!important}
body.lm46-site[data-lm-layout="home"] .lm46-header:not(.lm48-scrolled) .lm51-phone-link{color:#fff!important}
body.lm46-site[data-lm-layout="home"] .lm46-header:not(.lm48-scrolled) .lm51-phone-link:hover{color:#dcf3ff!important}
/* Keep the full navigation usable at mid-width rather than squashing phone and links together. */
@media(max-width:1360px){ html body.lm46-site .lm46-primary-nav{display:none!important} html body.lm46-site .lm46-header-tools{margin-left:auto!important} }
@media(min-width:761px) and (max-width:1000px){body.lm46-site .lm51-phone-link{font-size:12px!important;gap:6px!important}}
@media(max-width:760px){
 body.lm46-site .lm51-phone-link{display:inline-flex!important;min-width:38px!important;min-height:38px!important;width:38px!important;height:38px!important;padding:0!important;gap:0!important;flex:0 0 38px!important;border:1px solid #cfdfec;border-radius:50%;background:#fff!important;color:#0a5483!important;box-sizing:border-box}
 body.lm46-site .lm51-phone-link svg{width:19px;height:19px}
 body.lm46-site .lm51-phone-label{display:none!important}
 body.lm46-site[data-lm-layout="home"] .lm46-header:not(.lm48-scrolled) .lm51-phone-link{background:#ffffff16!important;border-color:#ffffff80!important;color:#fff!important}
 body.lm46-site .lm46-header-tools{margin-left:auto!important;gap:4px!important}
}
@media(max-width:390px){
 html body.lm46-site .lm46-header-main{padding-left:6px!important;padding-right:6px!important;gap:0!important}
 body.lm46-site .lm46-brand{min-width:0!important;padding-left:2px!important;padding-right:1px!important;gap:5px!important}
 body.lm46-site .lm46-brand img{width:26px!important;height:31px!important}
 body.lm46-site .lm46-brand-text strong{font-size:14px!important}
 body.lm46-site .lm46-brand-text small{font-size:6px!important;letter-spacing:0!important}
 body.lm46-site .lm46-header-tools{gap:2px!important}
 body.lm46-site .lm51-phone-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;flex-basis:34px!important}
 body.lm46-site .lm46-wa-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
 body.lm46-site .lm46-search-trigger{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:4px!important}
 body.lm46-site .lm46-menu-trigger{padding-left:1px!important;padding-right:1px!important;min-width:31px!important}
}
/* Readability fixes: replace pastel-on-white text in key conversion and editorial components. */
body.lm46-site .spa-main .spa-section-heading > p:last-child,
body.lm46-site .spa-main .spa-challenge p,
body.lm46-site .spa-main .spa-method-copy > p:not(.spa-kicker),
body.lm46-site .spa-main .spa-method-points span,
body.lm46-site .spa-main .spa-value-row p,
body.lm46-site .spa-main .spa-scenario p,
body.lm46-site .spa-main .spa-faq-header > p,
body.lm46-site .spa-main .spa-faq-list details > div{color:#344e62!important}
body.lm46-site .spa-main .spa-form-subtitle,
body.lm46-site .spa-main .spa-form-final{color:#405b70!important}
body.lm46-site .spa-main .spa-hero .spa-lead{color:#e1edf6!important}
body.lm46-site .spa-main .spa-hero-copy .spa-overline{color:#b8e0f6!important}
body.lm46-site .spa-main .spa-contact-intro > p:not(.spa-kicker){color:#e0edf7!important}
body.lm46-site .spa-main .spa-nda{color:#c4dded!important}
body.lm46-site .spa-main .spa-services-list p,
body.lm46-site .spa-main .spa-services-intro > p{color:#d4e7f3!important}
body.lm46-site #marchi-del-mese .lm29-heading h2,
body.lm46-site #marchi-del-mese .lm29-heading > p,
body.lm46-site #marchi-del-mese .lm29-brand-footer p{color:#f1f8ff!important}
body.lm46-site #marchi-del-mese .lm29-brand-caption h3{color:#f5faff!important}
body.lm46-site #operazioni-private-market h2{color:#0a2941!important}
body.lm46-site .lm46-hero-intro,body.lm46-site .lm46-story-caption>span{color:#e1eaf2!important}
body.lm46-site .lm46-header-tools a:focus-visible,
body.lm46-site .lm46-header-tools button:focus-visible,
body.lm46-site .spa-main a:focus-visible,
body.lm46-site .spa-main button:focus-visible,
body.lm46-site .spa-main input:focus-visible{outline:2px solid #169fe0!important;outline-offset:3px!important}
