.cm-header-actions{display:flex;align-items:center;gap:10px}.cm-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;min-width:42px;min-height:42px;padding:10px;border:1px solid var(--line,#d9d5cc);border-radius:50%;background:transparent;color:var(--olive,#535c46);cursor:pointer}.cm-theme-toggle svg{width:20px;height:20px}.cm-theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px}.cm-theme-toggle:hover{background:var(--paper-2,#ebe7e0)}.site-nav>.cm-theme-toggle{margin-left:auto}.nav-links{gap:18px}.cm-app-contact .cm-installed-icon{display:block;width:42px;height:42px;object-fit:contain;border-radius:10px}.cm-app-contact .icon{padding:0;background:transparent}.cm-app-contact strong{font-weight:600}
html[data-cm-theme=dark]{--olive:#c0c9ae;--olive-dark:#dce4cf;--olive-soft:#a9b398;--sand:#c1b8a6;--paper:#171c17;--paper-2:#232b22;--ink:#edf0e7;--muted:#b8c0b0;--line:#3d4839;color-scheme:dark}html[data-cm-theme=dark] body{background:var(--paper);color:var(--ink)}html[data-cm-theme=dark] .site-header{background:#1c241bf7;border-top-color:#839372;border-bottom-color:var(--line)}html[data-cm-theme=dark] .brand-mark img{filter:brightness(0) invert(1);opacity:.92}html[data-cm-theme=dark] :is(.areas,.team,.publication-highlights,.publication-highlight,.nav-links.open){background:#1e251e;color:var(--ink)}html[data-cm-theme=dark] :is(.nav-links,.hero-location,.practice-title,.practice-body ul,.ethics){color:var(--muted)}html[data-cm-theme=dark] .nav-links>a:hover{color:var(--olive)}html[data-cm-theme=dark] .filter-button{background:#232c21;color:#c5ceba;border-color:var(--line)}html[data-cm-theme=dark] :is(.button-primary,.filter-button[aria-pressed=true]){background:#667655;border-color:#667655;color:#fff}html[data-cm-theme=dark] .button-primary:hover{background:#788864}html[data-cm-theme=dark] :is(.governance,.site-footer){background:#263222;color:white}html[data-cm-theme=dark] :is(.person,.office,section.contact){background:var(--paper)}html[data-cm-theme=dark] .method{background:var(--paper-2)}html[data-cm-theme=dark] :is(.practice,.value,.values,.process-list li,.office-quote){border-color:var(--line)}html[data-cm-theme=dark] :is(.practice-title,.office-quote,.method-signature){color:var(--ink)}html[data-cm-theme=dark] .publication-highlight{border-color:var(--line)}html[data-cm-theme=dark] :is(input,textarea,select){background:var(--paper-2);color:var(--ink);border-color:var(--line)}
body.cm-link-page .cm-theme-toggle{position:absolute;right:22px;top:20px;z-index:2;color:#e7eddd;border-color:#7b896e}html[data-cm-theme=light] body.cm-link-page{background:#f5f3ef;color:#283321}html[data-cm-theme=light] body.cm-link-page :is(.page,.card,.shell){color:#283321}html[data-cm-theme=light] body.cm-link-page .contact{color:#283321;background:#fffdfa;border-color:#d6d9cd}html[data-cm-theme=light] body.cm-link-page .contact:hover{background:#e8ecdf}html[data-cm-theme=light] body.cm-link-page .contact .label>span{color:#626c58}html[data-cm-theme=light] body.cm-link-page .cm-theme-toggle{color:#535c46;border-color:#c4cbb7}
@media(max-width:1100px){.nav-links{background:#fff}.cm-theme-toggle{margin-left:auto}.site-nav{gap:12px}html[data-cm-theme=dark] .nav-links{background:#20291e}}
@media(max-width:480px){.cm-theme-toggle{width:38px;height:38px;min-width:38px;min-height:38px}.site-nav{gap:9px}.cm-header-actions{gap:8px}}

html[data-cm-theme=dark] body.cm-link-page{--paper:#f6f4ee;--deep:#283421;--sage:#c4cfb8;color:#f6f4ee;background:radial-gradient(ellipse at 15% 0%,#3e4e32 0%,#293722 50%,#202c1b 100%)}html[data-cm-theme=light] body.cm-link-page :is(h1,.intro,.partners,.section-title,footer){color:#535f48}html[data-cm-theme=light] body.cm-link-page .brand-logo{filter:brightness(0);opacity:.78}.cm-app-contact .icon{flex-basis:42px}

/* /link: marca da identidade existente, com contraste próprio em cada tema. */
body.cm-link-page{isolation:isolate}
body.cm-link-page::before{z-index:0;pointer-events:none}
body.cm-link-page .page{z-index:1}
html[data-cm-theme=light] body.cm-link-page::before{filter:brightness(0);opacity:.055}
html[data-cm-theme=dark] body.cm-link-page::before{filter:none;opacity:.045}
html[data-cm-theme=dark] body.cm-link-page .units .contact{background:#2e3c28;color:#f6f4ee;border-color:#56634b}
html[data-cm-theme=dark] body.cm-link-page .units .contact:is(:hover,:focus-visible){background:#3b4c33;color:#f6f4ee}
html[data-cm-theme=dark] body.cm-link-page .units .contact .label strong{color:#f6f4ee}
html[data-cm-theme=dark] body.cm-link-page .units .contact :is(.label span,.icon,.arrow){color:#c4cfb8}
html[data-cm-theme=light] body.cm-link-page .units .contact{background:#fffdfa;color:#283321;border-color:#d6d9cd}
html[data-cm-theme=light] body.cm-link-page .units .contact:is(:hover,:focus-visible){background:#e8ecdf;color:#283321}
html[data-cm-theme=light] body.cm-link-page .units .contact .label strong{color:#283321}
html[data-cm-theme=light] body.cm-link-page .units .contact .label span{color:#626c58}
html[data-cm-theme=light] body.cm-link-page .units .contact :is(.icon,.arrow){color:#535c46}
