/* Scoped CONAGRIM public professional profile redesign 2026-10-26. */
main.professional-profile-page.cg-profile-redesign {
  background:#f0f1f5!important;color:#050607;min-height:100vh;
}
.cg-profile-redesign .public-header {
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:none!important;min-height:79px!important;height:79px!important;
  background:#f0f1f5!important;border:0!important;box-shadow:none!important;padding:12px 30px!important;
}
.cg-profile-redesign .public-header-brand {
  margin:0!important;width:min(962px,calc(100% - 144px))!important;
  max-width:962px!important;min-height:57px!important;height:57px!important;
  padding:0 25px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  border:1px solid #d0d1d4!important;border-radius:999px!important;background:#fff!important;
  box-shadow:none!important;
}
.cg-profile-redesign .public-header-brand img{object-fit:contain!important;object-position:left center!important;max-width:160px!important;max-height:42px!important}
.cg-profile-redesign .public-header-nav,
.cg-profile-redesign .public-header-actions,
.cg-profile-redesign .public-menu-trigger {display:none!important}
.cg-profile-redesign .public-support-profile-shell {
  width:100%!important;max-width:1430px!important;margin:0 auto!important;padding:25px 43px 40px!important;
}
.cg-profile-redesign .support-profile-view {
  position:relative!important;display:grid!important;grid-template-columns:400px minmax(0,1fr)!important;
  gap:24px!important;align-items:start!important;max-width:1330px!important;margin:0 auto!important;
  padding:0 0 36px!important;
}
.cg-profile-redesign .support-profile-back {
  position:absolute!important;top:-77px!important;left:0!important;z-index:10!important;
  width:46px!important;height:46px!important;border-radius:50%!important;background:#fff!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  color:#080909!important;font-size:0!important;gap:0!important;white-space:nowrap!important;
  text-decoration:none!important;
}
.cg-profile-redesign .support-profile-back svg{width:23px!important;height:23px!important;flex-shrink:0!important}
.cg-profile-redesign .support-profile-hero {
  position:relative!important;display:block!important;grid-column:1!important;grid-row:1!important;
  height:558px!important;min-height:558px!important;padding:0!important;margin:0!important;
  border:10px solid #fff!important;border-radius:45px!important;background:#191c20!important;
  box-shadow:none!important;overflow:visible!important;
}
.cg-profile-redesign .support-profile-hero:has(.support-profile-verified-badge) {border-color:#159bee!important}
.cg-profile-redesign .support-profile-avatar {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  border-radius:34px!important;overflow:hidden!important;display:grid!important;place-items:center!important;
  background:#25292f!important;color:#fff!important;font-size:58px!important;font-weight:700!important;z-index:0!important;
}
.cg-profile-redesign .support-profile-avatar img {width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.cg-profile-redesign .support-profile-avatar::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.98),rgba(0,0,0,.48) 28%,transparent 56%);
}
.cg-profile-redesign .support-profile-hero:has(.support-profile-verified-badge) .support-profile-avatar::after{
  background:linear-gradient(to top,rgba(0,145,248,.98),rgba(0,145,248,.52) 24%,transparent 55%);
}
.cg-profile-redesign .support-profile-identity {
  position:absolute!important;left:16px!important;right:12px!important;bottom:75px!important;
  display:flex!important;flex-direction:column-reverse!important;align-items:flex-start!important;gap:3px!important;
  color:#fff!important;z-index:2!important;min-width:0!important;
}
.cg-profile-redesign .support-profile-name-row {gap:6px!important;max-width:100%!important;display:flex!important;align-items:center!important}
.cg-profile-redesign .support-profile-identity h1 {
  color:#fff!important;text-shadow:0 1px 3px #0005!important;font-size:clamp(20px,2vw,27px)!important;
  font-weight:700!important;line-height:1.14!important;letter-spacing:-.03em!important;
  margin:0!important;overflow-wrap:anywhere!important;
}
.cg-profile-redesign .support-profile-identity .support-profession-pill {
  background:none!important;border:0!important;padding:0!important;
  color:#fff!important;font-size:18px!important;line-height:1.4!important;font-weight:400!important;
  box-shadow:none!important;
}
.cg-profile-redesign .support-profile-identity>p {display:none!important}
.cg-profile-redesign .support-profile-verified-badge{
  flex:0 0 22px!important;width:22px!important;height:22px!important;filter:none!important;
}
.cg-profile-redesign .support-profile-verified-badge svg{width:22px!important;height:22px!important}
.cg-profile-redesign .public-support-profile-actions {
  position:absolute!important;top:7px!important;left:calc(100% + 24px)!important;
  width:calc((min(100vw - 86px,1330px) - 424px))!important;
  display:flex!important;flex-direction:row-reverse!important;align-items:center!important;
  justify-content:flex-start!important;gap:12px!important;z-index:8!important;min-width:0!important;
}
.cg-profile-redesign .public-support-profile-actions>.profile-share-wrap{width:145px!important;max-width:145px!important;flex:0 0 145px!important}
.cg-profile-redesign .public-support-profile-actions .profile-primary-action,
.cg-profile-redesign .public-support-profile-actions .profile-hero-share{
  width:145px!important;min-width:145px!important;max-width:145px!important;
  height:47px!important;min-height:47px!important;max-height:47px!important;
  padding:0 8px!important;border-radius:11px!important;font-size:16px!important;font-weight:400!important;
  line-height:1.2!important;white-space:nowrap!important;gap:7px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;
  box-shadow:none!important;
}
.cg-profile-redesign .public-support-profile-actions .profile-primary-action {
  color:#070707!important;background:#9bd436!important;border:1px solid #9bd436!important;
  font-size:0!important;
}
.cg-profile-redesign .public-support-profile-actions .profile-primary-action::after{content:"Contactar";font-size:16px!important}
.cg-profile-redesign .public-support-profile-actions .profile-hero-share{
  color:#070707!important;background:transparent!important;border:1px solid #cdd0d3!important;
  flex-direction:row-reverse!important;
}
.cg-profile-redesign .public-support-profile-actions .profile-hero-share svg {width:18px!important;height:18px!important}
.cg-profile-redesign .profile-share-menu {z-index:25!important}
.cg-profile-redesign .cg-profile-heading {
  grid-column:2!important;grid-row:1!important;display:flex;align-items:center;gap:8px;
  position:relative;z-index:2;margin:11px 310px 0 0!important;min-width:0;min-height:45px;
}
.cg-profile-redesign .cg-profile-heading h1 {
  color:#020202!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.035em!important;
  font-size:36px!important;margin:0!important;overflow-wrap:anywhere;
}
.cg-profile-redesign .cg-profile-heading .verified-glow-badge {width:23px!important;height:23px!important;flex:0 0 23px;filter:none!important}
.cg-profile-redesign .cg-profile-heading .verified-glow-badge svg {width:23px!important;height:23px!important;fill:#159bee!important;stroke:#fff!important}
.cg-profile-redesign .support-profile-grid {
  grid-column:2!important;grid-row:1!important;min-width:0!important;
  display:flex!important;flex-direction:column!important;gap:22px!important;
  padding-top:89px!important;margin:0!important;
}
.cg-profile-redesign .support-profile-grid>.support-profile-section {
  order:10;display:block!important;min-width:0!important;
  width:100%!important;margin:0!important;padding:22px 23px!important;
  background:#fff!important;border:0!important;border-radius:29px!important;box-shadow:none!important;
}
.cg-profile-redesign .support-profile-grid>.cg-section-about{order:1!important;min-height:110px!important}
.cg-profile-redesign .support-profile-grid>.cg-section-services{order:2!important;min-height:150px!important}
.cg-profile-redesign .support-profile-grid>.cg-section-portfolio{order:3!important;min-height:160px!important}
.cg-profile-redesign .support-profile-grid .profile-form-section-head{margin:0 0 13px!important;padding:0!important}
.cg-profile-redesign .support-profile-grid .profile-form-section-head h3{
  font-size:18px!important;font-weight:400!important;line-height:1.25!important;color:#697486!important;margin:0!important;
}
.cg-profile-redesign .support-profile-grid .profile-form-section-head p{display:none!important}
.cg-profile-redesign .support-profile-bio{
  font-size:17px!important;line-height:1.55!important;color:#080808!important;margin:0!important;
  white-space:pre-line!important;
}
.cg-profile-redesign .support-profile-tags{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}
.cg-profile-redesign .support-profile-tags>span{
  width:100%!important;min-height:66px!important;display:flex!important;
  align-items:center!important;justify-content:center!important;text-align:center!important;
  background:#fff!important;color:#050505!important;border:1px solid #e4e5e7!important;
  border-radius:12px!important;padding:8px!important;font-size:15px!important;font-weight:400!important;
  line-height:1.4!important;
}
.cg-profile-redesign .cg-section-portfolio .profile-portfolio-grid{
  display:flex!important;flex-wrap:nowrap!important;gap:22px!important;
  padding:8px 45px 3px 0!important;overflow-x:auto!important;scroll-behavior:smooth!important;
  scrollbar-width:none!important;margin-top:0!important;
}
.cg-profile-redesign .cg-section-portfolio .profile-portfolio-grid::-webkit-scrollbar{display:none}
.cg-profile-redesign .cg-section-portfolio .profile-portfolio-item{
  flex:0 0 95px!important;width:95px!important;min-width:95px!important;height:95px!important;
  aspect-ratio:1!important;border-radius:13px!important;overflow:hidden!important;
}
.cg-profile-redesign .cg-section-portfolio{position:relative!important}
.cg-profile-redesign .cg-portfolio-next{
  position:absolute;top:70px;right:20px;border:0;border-radius:100%;width:36px;height:36px;
  background:#020304;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.cg-profile-redesign .cg-portfolio-next:disabled {opacity:.4;cursor:default}
.cg-profile-redesign .cg-profile-socials {
  position:absolute;left:15px;bottom:20px;z-index:2;display:flex;align-items:center;gap:8px;
}
.cg-profile-redesign .cg-profile-socials a{
  width:27px;height:27px;display:flex;align-items:center;justify-content:center;
  color:#fff!important;font-weight:750!important;text-decoration:none!important;
  font-size:16px;line-height:1;
}
.cg-profile-redesign .cg-profile-socials svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}
.cg-profile-redesign .cg-profile-star {
  position:absolute;right:16px;bottom:15px;z-index:3;display:flex;gap:7px;align-items:center;
  min-width:73px;height:41px;background:#05334b;color:#fff;border:0;border-radius:23px;
  padding:0 11px;cursor:pointer;justify-content:center;font:inherit;font-size:17px;font-weight:700;
}
.cg-profile-redesign .cg-profile-star svg{width:22px;height:22px;color:#9bd436;fill:transparent;stroke:#9bd436;stroke-width:1.8}
.cg-profile-redesign .cg-profile-star[aria-pressed="true"] svg{fill:#9bd436}
.cg-profile-redesign .cg-profile-star:disabled{opacity:.65;cursor:wait}
.cg-profile-redesign .cg-profile-star:focus-visible,
.cg-profile-redesign .public-support-profile-actions button:focus-visible{outline:3px solid #159bee!important;outline-offset:3px!important}
@media (max-width:1100px) and (min-width:801px){
  .cg-profile-redesign .support-profile-view{grid-template-columns:330px minmax(0,1fr)!important}
  .cg-profile-redesign .support-profile-hero{height:515px!important;min-height:515px!important}
  .cg-profile-redesign .public-support-profile-actions{width:calc(min(100vw - 86px,1330px) - 354px)!important}
  .cg-profile-redesign .cg-profile-heading h1{font-size:30px!important}
  .cg-profile-redesign .support-profile-tags{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .cg-profile-redesign .public-header{height:77px!important;padding:10px 16px!important}
  .cg-profile-redesign .public-header-brand{width:calc(100% - 60px)!important;min-height:55px!important;height:55px!important;padding-left:18px!important;margin-left:50px!important}
  .cg-profile-redesign .public-support-profile-shell{padding:20px 16px 45px!important}
  .cg-profile-redesign .support-profile-view{display:flex!important;flex-direction:column!important;gap:18px!important}
  .cg-profile-redesign .support-profile-back{top:-72px!important;left:0!important}
  .cg-profile-redesign .support-profile-hero{width:min(100%,420px)!important;min-height:490px!important;height:490px!important;align-self:center!important;margin-top:65px!important}
  .cg-profile-redesign .cg-profile-heading{order:-2!important;min-height:0!important;margin:0!important;width:100%!important}
  .cg-profile-redesign .cg-profile-heading h1{font-size:30px!important}
  .cg-profile-redesign .public-support-profile-actions{
    top:-2px!important;left:0!important;width:100%!important;justify-content:flex-start!important;
    flex-direction:row-reverse!important;z-index:8!important;
  }
  .cg-profile-redesign .public-support-profile-actions .profile-primary-action,
  .cg-profile-redesign .public-support-profile-actions .profile-hero-share{width:145px!important;max-width:145px!important;min-width:145px!important}
  .cg-profile-redesign .support-profile-grid{width:100%!important;display:flex!important;padding-top:0!important;gap:16px!important}
  .cg-profile-redesign .support-profile-tags{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:380px){
  .cg-profile-redesign .public-support-profile-actions{gap:6px!important}
  .cg-profile-redesign .public-support-profile-actions .profile-primary-action,
  .cg-profile-redesign .public-support-profile-actions .profile-hero-share{width:135px!important;min-width:135px!important;max-width:135px!important}
  .cg-profile-redesign .cg-profile-heading h1{font-size:26px!important}
  .cg-profile-redesign .support-profile-hero{height:445px!important;min-height:445px!important}
}

/* Seven requested follow-up fixes. Applied exclusively to public profiles and directory cards. */
/* 1 — eliminate initial legacy-to-modern layout flicker; reveal fallback if JS is blocked. */
main.professional-profile-page:not(.cg-profile-redesign) .public-support-profile-shell {
  opacity:0;
  animation:cgProfileSafeFallback 0s linear 3s forwards;
}
@keyframes cgProfileSafeFallback{to{opacity:1}}

/* 2 — community safety is secondary surface, not a prominent content card. */
main.professional-profile-page.cg-profile-redesign .support-profile-grid > .public-profile-safety-section{
  background:#f0f1f5!important;
  border:0!important;box-shadow:none!important;
  border-radius:0!important;padding:13px 10px!important;
  margin:0!important;min-height:0!important;
}
main.professional-profile-page.cg-profile-redesign .public-profile-safety-section .profile-form-section-head h3{
  font-size:15px!important;color:#66707b!important;font-weight:400!important;
}
main.professional-profile-page.cg-profile-redesign .public-profile-safety-section .profile-form-section-head p{
  display:block!important;font-size:13px!important;font-weight:400!important;color:#707784!important;
}
main.professional-profile-page.cg-profile-redesign .public-profile-safety-section .profile-report-trigger{
  background:transparent!important;border-color:#cfd3d8!important;color:#6b7280!important;
  font-weight:400!important;
}

/* 3 — profile photo/card remains visible while the details scroll. */
@media(min-width:801px){
  main.professional-profile-page.cg-profile-redesign .support-profile-hero{
    position:sticky!important;
    top:102px!important;
    align-self:start!important;
  }
}
@media(max-width:800px){
  main.professional-profile-page.cg-profile-redesign .support-profile-hero{
    position:relative!important;top:auto!important;
  }
}

/* 4 — actual home-page header styling: full-width fixed top bar, logo left and links right.
   Preserve original functional React header/menu and all link handlers. */
main.professional-profile-page,
main.professional-profile-page.cg-profile-redesign{background:#f0f1f5!important}
main.professional-profile-page .public-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;max-width:none!important;height:78px!important;min-height:78px!important;
  margin:0!important;padding:0 max(28px,calc((100vw - 1400px)/2 + 34px))!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fffffffa!important;border:0!important;border-bottom:1px solid #e9ece6!important;
  border-radius:0!important;box-shadow:none!important;
  color:#131723!important;z-index:120!important;
  transform:none!important;backdrop-filter:none!important;
}
main.professional-profile-page .public-header-brand{
  width:auto!important;max-width:190px!important;min-width:0!important;
  height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  background:none!important;border:0!important;border-radius:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
}
main.professional-profile-page .public-header-brand .brand-logo{
  width:178px!important;max-width:178px!important;display:inline-flex!important;
}
main.professional-profile-page .public-header-brand img{
  width:100%!important;max-width:178px!important;max-height:43px!important;object-fit:contain!important;
}
main.professional-profile-page .public-header-nav{
  display:flex!important;align-items:center!important;gap:24px!important;margin-left:auto!important;
}
main.professional-profile-page .public-header-nav a[href="/normativas"],
main.professional-profile-page .public-header-nav a[href="/herramientas"]{display:none!important}
main.professional-profile-page .public-header-nav a{
  font-size:14px!important;font-weight:650!important;color:#626a75!important;
  text-decoration:none!important;
}
main.professional-profile-page .public-header-nav a.is-active{color:#131723!important}
main.professional-profile-page .public-header-actions{
  display:flex!important;align-items:center!important;gap:16px!important;
  margin-left:25px!important;
}
main.professional-profile-page .public-support-profile-shell{
  margin-top:78px!important;
  padding-top:62px!important;
}
main.professional-profile-page.cg-profile-redesign .support-profile-back{
  top:-50px!important;
}

/* 5 — quote modal must outrank all header/card stacking contexts.
   The actions are moved out of the sticky card by the profile enhancer. */
main.professional-profile-page.cg-profile-redesign .public-support-profile-actions{
  position:absolute!important;top:7px!important;right:0!important;left:auto!important;
  width:auto!important;max-width:calc(100% - 420px)!important;
  display:flex!important;flex-direction:row-reverse!important;z-index:auto!important;
}
main.professional-profile-page .quote-modal-backdrop{
  position:fixed!important;z-index:2147483000!important;
  inset:0!important;
}
main.professional-profile-page .quote-modal{z-index:2147483001!important}
main.professional-profile-page .profile-share-wrap{z-index:11!important}

/* 6 — quote dialog controls: omit the professional card and shield;
   all input titles and submit CTA use normal weight. */
main.professional-profile-page .quote-modal .quote-professional-card{display:none!important}
main.professional-profile-page .quote-modal .quote-modal-heading>svg{display:none!important}
main.professional-profile-page .quote-modal .quote-form-grid label>span,
main.professional-profile-page .quote-modal .quote-form-grid label,
main.professional-profile-page .quote-modal .quote-privacy,
main.professional-profile-page .quote-modal .quote-privacy span{
  font-weight:400!important;
}
main.professional-profile-page .quote-modal .quote-submit-row button,
main.professional-profile-page .quote-modal .quote-submit-row button *{
  font-weight:400!important;
}

/* 4 — header layout on mobile follows home navigation with the same menu. */
@media(max-width:1050px){
  main.professional-profile-page .public-header-nav{display:none!important}
  main.professional-profile-page .public-header-actions>.public-login-link{display:none!important}
  main.professional-profile-page .public-menu-trigger{display:flex!important}
}
@media(max-width:800px){
  main.professional-profile-page .public-header{
    padding-inline:16px!important;
    height:74px!important;min-height:74px!important;
  }
  main.professional-profile-page .public-header-brand .brand-logo{width:152px!important}
  main.professional-profile-page .public-support-profile-shell{margin-top:74px!important;padding-top:48px!important}
  main.professional-profile-page.cg-profile-redesign .support-profile-back{top:-42px!important}
  main.professional-profile-page.cg-profile-redesign .public-support-profile-actions{
    left:0!important;right:auto!important;top:48px!important;
    max-width:100%!important;
  }
  main.professional-profile-page.cg-profile-redesign .support-profile-hero{margin-top:65px!important}
}
@media(max-width:380px){
  main.professional-profile-page.cg-profile-redesign .public-support-profile-actions{gap:6px!important}
}

/* 7 — directory star uses the same green as the detailed profile.
   Coloring complements the component's native star icon and existing count. */
.public-directory-page .directory-photo-card__pulse .pulse-heart__heart,
.public-directory-page .directory-photo-card__pulse .pulse-heart__heart svg {
  color:#9bd436!important;
}

/* Home header's approved compact-on-scroll behavior (profile-scoped). */
main.professional-profile-page .public-header{
  transition:width .42s cubic-bezier(.22,1,.36,1),height .42s cubic-bezier(.22,1,.36,1),
             top .42s cubic-bezier(.22,1,.36,1),border-radius .42s cubic-bezier(.22,1,.36,1),
             box-shadow .32s,background .32s,border-color .32s!important;
}
main.professional-profile-page .public-header.cg-home-header-compact{
  top:12px!important;left:50%!important;right:auto!important;
  width:min(970px,calc(100vw - 40px))!important;
  height:62px!important;min-height:62px!important;
  transform:translateX(-50%)!important;
  border:1px solid #d2dacde0!important;border-radius:999px!important;
  background:#ffffffdb!important;backdrop-filter:blur(20px) saturate(1.35)!important;
  box-shadow:0 16px 48px #1317231f,0 2px 10px #1317230a!important;
  padding-inline:22px!important;
}
main.professional-profile-page .public-header.cg-home-header-compact .public-header-brand .brand-logo{
  width:145px!important;
}
main.professional-profile-page .public-header.cg-home-header-compact .public-header-nav{gap:17px!important}
@media(max-width:800px){
  main.professional-profile-page .public-header.cg-home-header-compact{padding-inline:14px!important}
}

/* 2026-10-26 follow-up — scoped changes only. */
main.professional-profile-page.cg-profile-redesign .support-profile-hero .support-profile-identity {
  bottom:84px!important;
  left:16px!important;
  right:16px!important;
  max-width:calc(100% - 32px)!important;
}
main.professional-profile-page.cg-profile-redesign .support-profile-hero .support-profile-name-row{
  width:100%!important;max-width:100%!important;align-items:flex-start!important;
}
main.professional-profile-page.cg-profile-redesign .cg-profile-province{
  display:inline!important;font-weight:400!important;font-size:inherit!important;color:inherit!important;
}
main.professional-profile-page.cg-profile-redesign .cg-profile-socials svg{
  fill:currentColor!important;stroke:none!important;width:23px!important;height:23px!important;
}
main.professional-profile-page.cg-profile-redesign .cg-profile-socials a[aria-label="Instagram"] svg{
  fill:currentColor!important;stroke:none!important;
}
/* Quote inputs: black focus, no green glow. */
main.professional-profile-page .quote-modal .quote-request-form input:focus,
main.professional-profile-page .quote-modal .quote-request-form select:focus,
main.professional-profile-page .quote-modal .quote-request-form textarea:focus,
main.professional-profile-page .quote-modal .quote-request-form input:focus-visible,
main.professional-profile-page .quote-modal .quote-request-form select:focus-visible,
main.professional-profile-page .quote-modal .quote-request-form textarea:focus-visible{
  border-color:#101010!important;
  outline:none!important;
  box-shadow:0 0 0 1px #101010!important;
  --tw-ring-color:transparent!important;
}
main.professional-profile-page .quote-modal .quote-request-form label:focus-within,
main.professional-profile-page .quote-modal .quote-form-grid label:focus-within{
  color:#111!important;border-color:transparent!important;box-shadow:none!important;
}
/* Remove only the filter modal's micro eyebrow, retain heading. */
body:has(main.public-directory-page) .directory-filter-overlay .directory-filter-modal>header>div>span:first-child{
  display:none!important;
}
@media(max-width:800px){
  /* Name and all following elements now share natural document flow.
     Long names push the actions/card down instead of overlapping them. */
  main.professional-profile-page.cg-profile-redesign .support-profile-view{
    display:flex!important;flex-direction:column!important;gap:18px!important;
  }
  main.professional-profile-page.cg-profile-redesign .cg-profile-heading{
    order:-3!important;position:relative!important;display:flex!important;
    width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;
    margin:34px 0 0!important;padding:0!important;align-items:flex-start!important;
  }
  main.professional-profile-page.cg-profile-redesign .cg-profile-heading h1{
    line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;
  }
  main.professional-profile-page.cg-profile-redesign .public-support-profile-actions{
    order:-2!important;position:static!important;top:auto!important;right:auto!important;
    bottom:auto!important;left:auto!important;
    display:flex!important;flex-direction:row-reverse!important;justify-content:flex-end!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;gap:12px!important;z-index:auto!important;
  }
  main.professional-profile-page.cg-profile-redesign .support-profile-hero{
    order:-1!important;position:relative!important;margin-top:0!important;
    align-self:center!important;
  }
  main.professional-profile-page.cg-profile-redesign .support-profile-grid{
    order:0!important;position:relative!important;width:100%!important;
    padding-top:0!important;
  }
  main.professional-profile-page.cg-profile-redesign .support-profile-back{
    top:-48px!important;
  }
  main.professional-profile-page.cg-profile-redesign .support-profile-hero .support-profile-identity{
    bottom:83px!important;
  }
  .cg-mobile-action-dock{
    position:fixed;bottom:0;left:0;right:0;z-index:250;
    background:#fff;border-top:1px solid #e5e7eb;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
    box-shadow:0 -8px 28px #15192210;
    transform:translate3d(0,115%,0);opacity:0;visibility:hidden;
    pointer-events:none;
    transition:transform .37s cubic-bezier(.18,.9,.23,1),opacity .28s ease,visibility .37s;
    will-change:transform;
  }
  .cg-mobile-action-dock.is-visible{
    transform:translateZ(0);opacity:1;visibility:visible;pointer-events:auto;
  }
  .cg-mobile-action-dock-inner{
    width:min(100%,420px);margin-inline:auto;
    display:flex;gap:12px;align-items:center;justify-content:stretch;
  }
  .cg-mobile-action-dock button{
    min-width:0;flex:1 1 0;height:47px;min-height:47px;padding:0 10px;
    border-radius:11px;font-size:15px;font-weight:400;line-height:1.2;
    display:flex;align-items:center;justify-content:center;gap:8px;
    touch-action:manipulation;cursor:pointer;
  }
  .cg-mobile-action-dock .cg-mobile-dock-share{
    border:1px solid #cdd0d3;background:#fff;color:#090909;
  }
  .cg-mobile-action-dock .cg-mobile-dock-contact{
    border:1px solid #9bd436;background:#9bd436;color:#070707;
  }
  .cg-mobile-action-dock .cg-mobile-dock-share svg{
    width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;
  }
  main.professional-profile-page.cg-profile-redesign:has(.cg-mobile-dock-marker.is-active) .profile-share-menu{
    position:fixed!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;
    left:16px!important;right:16px!important;top:auto!important;
    z-index:255!important;
  }
  body:has(.quote-modal-backdrop) .cg-mobile-action-dock{opacity:0!important;pointer-events:none!important;visibility:hidden!important}
}
@media(min-width:801px){
  .cg-mobile-action-dock{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .cg-mobile-action-dock{transition:none!important}
}
