/* Vida & Saúde | Painel do Fitoterapeuta | V212
   Homologação 1:1 do MENU LATERAL + CABEÇALHO desktop.
   Referência: imagens aprovadas 1448x1086. Sem scale/zoom artificial. */

@media (min-width:1024px){
  body.professional-shell-v212 #route-professional-panel{
    padding:0!important;margin:0!important;width:100%!important;min-height:100vh!important;overflow:hidden!important;
    background:#fbf8f2!important;
  }
  body.professional-shell-v212 .professional-shell{
    width:100%!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;gap:0!important;
    display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;grid-template-rows:108px minmax(0,1fr)!important;
    background:#fbf8f2!important;overflow:hidden!important;
  }

  /* SIDEBAR 1:1 */
  body.professional-shell-v212 .professional-sidebar{
    grid-column:1!important;grid-row:1 / span 2!important;
    width:240px!important;min-width:240px!important;height:100vh!important;min-height:100vh!important;
    position:relative!important;top:auto!important;left:auto!important;margin:0!important;padding:0 15px 14px!important;
    border:1px solid #b98b35!important;border-left:1px solid #b98b35!important;border-radius:0 16px 16px 0!important;
    background:
      radial-gradient(circle at 63% 8%,rgba(212,169,78,.13),transparent 18%),
      radial-gradient(circle at 26% 91%,rgba(102,145,91,.14),transparent 22%),
      linear-gradient(180deg,#083f35 0%,#05382f 52%,#022d27 100%)!important;
    box-shadow:inset 0 0 0 1px rgba(255,237,190,.09),5px 0 16px rgba(22,64,53,.08)!important;
    overflow:hidden!important;z-index:50!important;
  }
  body.professional-shell-v212 .professional-sidebar::before{
    content:""!important;display:block!important;position:absolute!important;left:-8px!important;right:-20px!important;bottom:0!important;height:178px!important;
    opacity:.42!important;pointer-events:none!important;
    background:
      radial-gradient(ellipse at 26% 92%,transparent 0 16%,rgba(114,153,94,.35) 17% 18%,transparent 19%),
      radial-gradient(ellipse at 42% 75%,transparent 0 12%,rgba(145,161,100,.26) 13% 14%,transparent 15%),
      linear-gradient(122deg,transparent 0 53%,rgba(180,158,87,.10) 54% 55%,transparent 56%)!important;
  }
  body.professional-shell-v212 .professional-sidebar-head{
    height:205px!important;min-height:205px!important;padding:17px 0 0!important;margin:0!important;
    display:flex!important;align-items:flex-start!important;justify-content:center!important;overflow:visible!important;
    border:0!important;background:transparent!important;
  }
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark{
    width:195px!important;height:181px!important;min-width:195px!important;min-height:181px!important;flex:0 0 195px!important;
    margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{
    width:195px!important;height:181px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;display:block!important;
    filter:drop-shadow(0 8px 10px rgba(0,0,0,.18))!important;
  }
  body.professional-shell-v212 .client-sidebar-brand-copy,
  body.professional-shell-v212 .professional-sidebar-close,
  body.professional-shell-v212 .professional-nav-group-label{display:none!important}

  body.professional-shell-v212 .professional-nav{
    position:relative!important;z-index:2!important;flex:1 1 auto!important;min-height:0!important;margin:0!important;padding:0 0 5px!important;
    display:flex!important;flex-direction:column!important;gap:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;overscroll-behavior:contain!important;
  }
  body.professional-shell-v212 .professional-nav::-webkit-scrollbar{display:none!important}
  body.professional-shell-v212 .professional-nav-group{
    display:contents!important;margin:0!important;padding:0!important;border:0!important;
  }
  body.professional-shell-v212 .professional-nav-item,
  body.professional-shell-v212 .client-sidebar-nav-item{
    width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0 10px!important;
    display:flex!important;align-items:center!important;gap:10px!important;
    border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;
    color:#f2e5ca!important;font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1!important;text-align:left!important;
    transition:background .17s ease,border-color .17s ease,box-shadow .17s ease,color .17s ease!important;
  }
  body.professional-shell-v212 .professional-nav-item:hover,
  body.professional-shell-v212 .client-sidebar-nav-item:hover{
    color:#fff8e8!important;background:rgba(255,255,255,.045)!important;border-color:rgba(217,175,86,.24)!important;transform:none!important;
  }
  body.professional-shell-v212 .professional-nav-item.is-active,
  body.professional-shell-v212 .client-sidebar-nav-item.is-active,
  body.professional-shell-v212 .professional-nav-item[aria-current="page"]{
    color:#fff9eb!important;
    background:linear-gradient(90deg,rgba(226,183,87,.34) 0%,rgba(214,179,108,.18) 67%,rgba(209,161,67,.08) 100%)!important;
    border-color:#c89a45!important;
    box-shadow:0 0 0 1px rgba(255,225,161,.10),0 0 18px rgba(209,160,66,.36),inset 0 1px rgba(255,255,255,.16)!important;
  }
  body.professional-shell-v212 .professional-nav-item.is-active::before,
  body.professional-shell-v212 .client-sidebar-nav-item.is-active::before{display:none!important}
  body.professional-shell-v212 .professional-nav-icon{
    width:25px!important;height:25px!important;min-width:25px!important;flex:0 0 25px!important;padding:0!important;
    display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    color:#e2bd70!important;
  }
  body.professional-shell-v212 .professional-nav-icon-svg{
    width:22px!important;height:22px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.55!important;
  }
  body.professional-shell-v212 .professional-nav-item.is-active .professional-nav-icon,
  body.professional-shell-v212 .client-sidebar-nav-item.is-active .professional-nav-icon{color:#fff0c6!important}
  body.professional-shell-v212 .client-sidebar-nav-label,
  body.professional-shell-v212 .v8730-nav-label{
    color:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
  }

  body.professional-shell-v212 .professional-sidebar-foot{
    position:absolute!important;z-index:3!important;left:39px!important;right:39px!important;bottom:34px!important;margin:0!important;padding:0!important;border:0!important;display:block!important;
  }
  body.professional-shell-v212 .client-sidebar-secure-note{
    width:100%!important;min-height:52px!important;padding:8px 12px!important;margin:0!important;
    display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;
    color:#f4e3bf!important;border:1px solid #c99a42!important;border-radius:10px!important;background:rgba(255,255,255,.045)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.06)!important;
  }
  body.professional-shell-v212 .client-sidebar-secure-note svg{
    grid-column:1!important;grid-row:1 / span 2!important;width:23px!important;height:23px!important;stroke:#e3b95f!important;fill:none!important;stroke-width:1.6!important;
  }
  body.professional-shell-v212 .client-sidebar-secure-note span{
    grid-column:2!important;color:#f6e8cc!important;font-size:11px!important;font-weight:700!important;line-height:1.15!important;
  }
  body.professional-shell-v212 .client-sidebar-secure-note span::after{
    content:"\A LGPD • Criptografado"!important;white-space:pre!important;color:#d2c7ae!important;font-size:9px!important;font-weight:400!important;line-height:1.25!important;
  }
  body.professional-shell-v212 .client-sidebar-logout{display:none!important}

  /* HEADER 1:1 */
  body.professional-shell-v212 .professional-mobile-bar{
    grid-column:2!important;grid-row:1!important;
    width:100%!important;height:108px!important;min-height:108px!important;margin:0!important;padding:0 29px 0 31px!important;
    display:grid!important;grid-template-columns:minmax(250px,1fr) 350px auto!important;align-items:center!important;gap:25px!important;
    border:0!important;border-bottom:0!important;border-radius:0!important;background:#fbf8f2!important;box-shadow:none!important;overflow:visible!important;
  }
  body.professional-shell-v212 .professional-mobile-menu-button,
  body.professional-shell-v212 .professional-header-context-icon,
  body.professional-shell-v212 .professional-header-eyebrow,
  body.professional-shell-v212 .professional-header-title-dot{display:none!important}
  body.professional-shell-v212 .professional-mobile-current,
  body.professional-shell-v212 .professional-header-context{
    display:block!important;align-self:center!important;justify-self:start!important;min-width:0!important;margin:0!important;padding:0!important;
  }
  body.professional-shell-v212 .professional-header-title-line{display:block!important;margin:0!important;padding:0!important}
  body.professional-shell-v212 .professional-header-title{
    margin:0!important;padding:0!important;color:#0c4338!important;font-family:Arial,"Helvetica Neue",sans-serif!important;
    font-size:31px!important;font-weight:700!important;line-height:1.05!important;letter-spacing:-.035em!important;
  }
  body.professional-shell-v212 .professional-header-summary{
    display:block!important;margin:8px 0 0!important;padding:0!important;color:#454d49!important;font-size:14px!important;font-weight:400!important;line-height:1.2!important;white-space:nowrap!important;
  }
  body.professional-shell-v212 .professional-global-search{
    justify-self:center!important;width:365px!important;height:45px!important;min-height:45px!important;margin:0!important;padding:0 11px 0 13px!important;
    display:grid!important;grid-template-columns:20px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;
    border:1px solid #ded3c2!important;border-radius:11px!important;background:#fffdf9!important;box-shadow:none!important;
  }
  body.professional-shell-v212 .professional-global-search svg{width:19px!important;height:19px!important;stroke:#5f6c67!important;fill:none!important;stroke-width:1.8!important}
  body.professional-shell-v212 .professional-global-search input{
    width:100%!important;height:41px!important;min-height:41px!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;
    color:#354b45!important;font-size:12px!important;font-weight:400!important;
  }
  body.professional-shell-v212 .professional-global-search input::placeholder{color:#8a918e!important;opacity:1!important}
  body.professional-shell-v212 .professional-search-key{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;height:24px!important;padding:0 7px!important;border:1px solid #ddd3c3!important;border-radius:6px!important;
    color:#7e827f!important;background:#f9f6ef!important;font-size:9px!important;font-weight:600!important;white-space:nowrap!important;
  }
  body.professional-shell-v212 .professional-header-actions{
    justify-self:end!important;display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:0!important;white-space:nowrap!important;
  }
  body.professional-shell-v212 .professional-header-notifications{
    position:relative!important;width:43px!important;height:43px!important;min-width:43px!important;min-height:43px!important;padding:0!important;margin:0!important;
    display:grid!important;place-items:center!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;color:#334943!important;
  }
  body.professional-shell-v212 .professional-header-notifications:hover{background:#f3eee5!important}
  body.professional-shell-v212 .professional-header-notification-icon{width:24px!important;height:24px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.55!important}
  body.professional-shell-v212 .professional-header-notification-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  body.professional-shell-v212 .professional-header-notification-count{
    position:absolute!important;top:-2px!important;right:-1px!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border:2px solid #fbf8f2!important;border-radius:999px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;background:#c89432!important;color:#fff!important;font-size:9px!important;font-weight:800!important;line-height:1!important;
  }
  body.professional-shell-v212 .professional-header-notification-count[hidden]{display:none!important}
  body.professional-shell-v212 .professional-security-pill{
    height:39px!important;min-height:39px!important;padding:0 13px!important;display:flex!important;align-items:center!important;gap:7px!important;
    border:1px solid #d5ddc5!important;border-radius:10px!important;background:#eef2e4!important;color:#386b3c!important;box-shadow:none!important;
    font-size:11px!important;font-weight:700!important;
  }
  body.professional-shell-v212 .professional-security-pill svg{width:15px!important;height:15px!important;stroke:#3f7844!important;fill:none!important;stroke-width:1.8!important}
  body.professional-shell-v212 .professional-header-identity{
    position:relative!important;min-width:194px!important;height:56px!important;padding:0 27px 0 0!important;margin:0!important;
    display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;column-gap:10px!important;align-items:center!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#253b35!important;cursor:pointer!important;user-select:none!important;
  }
  body.professional-shell-v212 .professional-header-identity:focus-visible{outline:2px solid #c99a42!important;outline-offset:4px!important;border-radius:10px!important}
  body.professional-shell-v212 .professional-header-avatar{
    grid-column:1!important;grid-row:1 / span 2!important;width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;margin:0!important;
    display:grid!important;place-items:center!important;border:1px solid #d7cdbb!important;border-radius:50%!important;background:linear-gradient(145deg,#e7ebdd,#f2ddb1)!important;color:#31584d!important;
    box-shadow:0 3px 10px rgba(55,45,31,.08)!important;font-size:12px!important;font-weight:800!important;overflow:hidden!important;
    background-size:cover!important;background-position:center!important;
  }
  body.professional-shell-v212 .professional-header-account-copy{grid-column:2!important;grid-row:1 / span 2!important;display:flex!important;flex-direction:column-reverse!important;align-self:center!important;gap:3px!important;min-width:0!important}
  body.professional-shell-v212 .professional-header-account-copy small{display:block!important;margin:0!important;color:#4b5551!important;font-size:11px!important;font-weight:400!important;line-height:1!important}
  body.professional-shell-v212 .professional-header-name{display:block!important;max-width:145px!important;margin:0!important;color:#202e2a!important;font-size:14px!important;font-weight:700!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.professional-shell-v212 .professional-profile-chevron{
    position:absolute!important;right:0!important;top:50%!important;width:18px!important;height:18px!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;color:#223e36!important;pointer-events:none!important;
  }
  body.professional-shell-v212 .professional-profile-chevron svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
  body.professional-shell-v212 .professional-profile-menu{
    position:absolute!important;right:0!important;top:63px!important;width:205px!important;padding:7px!important;z-index:120!important;
    border:1px solid #dfd2bd!important;border-radius:12px!important;background:#fffdf9!important;box-shadow:0 16px 34px rgba(40,51,45,.16)!important;
  }
  body.professional-shell-v212 .professional-profile-menu[hidden]{display:none!important}
  body.professional-shell-v212 .professional-profile-menu button{
    width:100%!important;min-height:38px!important;padding:0 11px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#354d46!important;text-align:left!important;font-size:11px!important;font-weight:600!important;cursor:pointer!important;
  }
  body.professional-shell-v212 .professional-profile-menu button:hover{background:#f5f0e7!important;color:#785822!important}
  body.professional-shell-v212 .professional-profile-menu button[data-logout]{color:#8c3f39!important}

  /* CONTEÚDO alinhado à referência depois do shell */
  body.professional-shell-v212 .professional-main{
    grid-column:2!important;grid-row:2!important;width:100%!important;height:calc(100vh - 108px)!important;min-height:0!important;margin:0!important;padding:2px 30px 28px 29px!important;
    overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:auto!important;background:#fbf8f2!important;
  }
  body.professional-shell-v212 .professional-section{width:100%!important;max-width:none!important;margin:0!important}
}

@media (min-width:1024px) and (max-width:1279px){
  body.professional-shell-v212 .professional-shell{grid-template-columns:220px minmax(0,1fr)!important;grid-template-rows:94px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-sidebar{width:220px!important;min-width:220px!important;padding-inline:12px!important}
  body.professional-shell-v212 .professional-sidebar-head{height:178px!important;min-height:178px!important;padding-top:8px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:178px!important;height:166px!important;min-width:178px!important;min-height:166px!important;flex-basis:178px!important}
  body.professional-shell-v212 .professional-nav-item,body.professional-shell-v212 .client-sidebar-nav-item{height:45px!important;min-height:45px!important;padding-inline:11px!important;gap:9px!important}
  body.professional-shell-v212 .client-sidebar-nav-label{font-size:12px!important}
  body.professional-shell-v212 .professional-nav-icon{width:23px!important;height:23px!important;min-width:23px!important;flex-basis:23px!important}
  body.professional-shell-v212 .professional-nav-icon-svg{width:20px!important;height:20px!important}
  body.professional-shell-v212 .professional-sidebar-foot{margin-inline:10px!important}
  body.professional-shell-v212 .professional-mobile-bar{height:94px!important;min-height:94px!important;padding:0 22px 0 26px!important;grid-template-columns:minmax(210px,1fr) minmax(280px,340px) auto!important;gap:14px!important}
  body.professional-shell-v212 .professional-header-title{font-size:27px!important}
  body.professional-shell-v212 .professional-header-summary{font-size:12px!important;margin-top:6px!important}
  body.professional-shell-v212 .professional-global-search{width:100%!important;max-width:340px!important}
  body.professional-shell-v212 .professional-security-pill{padding-inline:10px!important;font-size:10px!important}
  body.professional-shell-v212 .professional-header-actions{gap:9px!important}
  body.professional-shell-v212 .professional-header-identity{min-width:165px!important;grid-template-columns:44px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-header-avatar{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
  body.professional-shell-v212 .professional-header-name{font-size:12px!important;max-width:110px!important}
  body.professional-shell-v212 .professional-header-account-copy small{font-size:10px!important}
  body.professional-shell-v212 .professional-main{height:calc(100vh - 94px)!important;padding:0 22px 24px!important}
}

@media (max-height:850px) and (min-width:1024px){
  body.professional-shell-v212 .professional-sidebar-head{height:154px!important;min-height:154px!important;padding-top:4px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:160px!important;height:148px!important;min-width:160px!important;min-height:148px!important;flex-basis:160px!important}
  body.professional-shell-v212 .professional-nav-item,body.professional-shell-v212 .client-sidebar-nav-item{height:42px!important;min-height:42px!important}
  body.professional-shell-v212 .professional-sidebar-foot{bottom:22px!important}
}

@media (prefers-reduced-motion:reduce){
  body.professional-shell-v212 *,body.professional-shell-v212 *::before,body.professional-shell-v212 *::after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}


/* V212: faixa de homologação principal 1366–1600px a 100% */
@media (min-width:1366px) and (max-width:1600px) and (min-height:850px){
  body.professional-shell-v212 .professional-sidebar{width:245px!important;min-width:245px!important}
  body.professional-shell-v212 .professional-shell{grid-template-columns:245px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-mobile-bar{padding-left:29px!important;padding-right:30px!important}
  body.professional-shell-v212 .professional-main{padding-left:24px!important;padding-right:30px!important}
}
/* Notebook 1280/1366: composição própria, sem scale/zoom. */
@media (min-width:1024px) and (max-width:1365px){
  body.professional-shell-v212 .professional-sidebar-foot{left:22px!important;right:22px!important;bottom:22px!important}
  body.professional-shell-v212 .client-sidebar-secure-note{min-height:48px!important;padding:7px 9px!important}
}

/* V212: proteção contra sobreposição em notebooks de baixa altura. */
@media (min-width:1024px) and (max-height:850px){
  body.professional-shell-v212 .professional-sidebar-head{height:146px!important;min-height:146px!important;padding-top:2px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:148px!important;height:140px!important;min-width:148px!important;min-height:140px!important;flex-basis:148px!important}
  body.professional-shell-v212 .professional-nav{padding-bottom:76px!important;overflow:hidden!important}
  body.professional-shell-v212 .professional-nav-item,
  body.professional-shell-v212 .client-sidebar-nav-item{height:38px!important;min-height:38px!important;padding-inline:9px!important}
  body.professional-shell-v212 .client-sidebar-nav-label,
  body.professional-shell-v212 .v8730-nav-label{font-size:12px!important}
  body.professional-shell-v212 .professional-nav-icon{width:21px!important;height:21px!important;min-width:21px!important;flex-basis:21px!important}
  body.professional-shell-v212 .professional-nav-icon-svg{width:19px!important;height:19px!important}
  body.professional-shell-v212 .professional-sidebar-foot{left:26px!important;right:26px!important;bottom:18px!important}
}
@media (min-width:1024px) and (max-height:740px){
  body.professional-shell-v212 .professional-sidebar-head{height:126px!important;min-height:126px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:128px!important;height:120px!important;min-width:128px!important;min-height:120px!important;flex-basis:128px!important}
  body.professional-shell-v212 .professional-nav-item,
  body.professional-shell-v212 .client-sidebar-nav-item{height:36px!important;min-height:36px!important}
  body.professional-shell-v212 .professional-sidebar-foot{bottom:12px!important}
  body.professional-shell-v212 .client-sidebar-secure-note{min-height:44px!important}
}

/* Remove qualquer superfície herdada atrás da marca da sidebar. */
body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
}

/* V212 | Notebook 1280–1365: composição própria, sem compressão artificial. */
@media (min-width:1280px) and (max-width:1365px){
  body.professional-shell-v212 .professional-shell{
    grid-template-columns:228px minmax(0,1fr)!important;
    grid-template-rows:96px minmax(0,1fr)!important;
  }
  body.professional-shell-v212 .professional-sidebar{width:228px!important;min-width:228px!important;padding-inline:12px!important}
  body.professional-shell-v212 .professional-sidebar-head{height:154px!important;min-height:154px!important;padding-top:4px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{
    width:158px!important;height:148px!important;min-width:158px!important;min-height:148px!important;flex-basis:158px!important;
  }
  body.professional-shell-v212 .professional-mobile-bar{
    height:96px!important;min-height:96px!important;padding:0 18px 0 24px!important;
    grid-template-columns:minmax(195px,.82fr) minmax(250px,315px) minmax(0,auto)!important;gap:11px!important;
  }
  body.professional-shell-v212 .professional-header-title{font-size:27px!important}
  body.professional-shell-v212 .professional-header-summary{font-size:12px!important;margin-top:6px!important;max-width:260px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.professional-shell-v212 .professional-global-search{width:100%!important;max-width:315px!important;height:43px!important;min-height:43px!important}
  body.professional-shell-v212 .professional-header-actions{gap:7px!important;min-width:0!important}
  body.professional-shell-v212 .professional-header-notifications{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  body.professional-shell-v212 .professional-security-pill{height:37px!important;min-height:37px!important;padding-inline:9px!important;font-size:9.5px!important}
  body.professional-shell-v212 .professional-header-identity{
    min-width:154px!important;width:154px!important;height:50px!important;padding-right:18px!important;
    grid-template-columns:42px minmax(0,1fr)!important;column-gap:8px!important;
  }
  body.professional-shell-v212 .professional-header-avatar{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  body.professional-shell-v212 .professional-header-name{max-width:90px!important;font-size:11.5px!important}
  body.professional-shell-v212 .professional-header-account-copy small{font-size:9px!important}
  body.professional-shell-v212 .professional-profile-chevron{right:0!important}
  body.professional-shell-v212 .professional-main{height:calc(100vh - 96px)!important;padding:0 18px 24px 22px!important}
}

/* V212 | 1366 notebook: mantém identidade completa sem truncar o perfil. */
@media (min-width:1366px) and (max-width:1439px){
  body.professional-shell-v212 .professional-mobile-bar{
    grid-template-columns:minmax(230px,.9fr) minmax(300px,340px) minmax(315px,auto)!important;
    gap:14px!important;padding-right:22px!important;
  }
  body.professional-shell-v212 .professional-global-search{width:100%!important;max-width:340px!important}
  body.professional-shell-v212 .professional-header-actions{gap:9px!important;min-width:0!important}
  body.professional-shell-v212 .professional-header-identity{min-width:178px!important;width:178px!important}
  body.professional-shell-v212 .professional-header-name{max-width:128px!important;font-size:12.5px!important}
  body.professional-shell-v212 .professional-security-pill{padding-inline:10px!important;font-size:10px!important}
}


/* V212 | Autoridade final de geometria desktop.
   Consolida 1448, 1366 e 1280 sem scale e mantém o menu rolável com scrollbar invisível. */
@media (min-width:1440px){
  body.professional-shell-v212 .professional-shell{grid-template-columns:240px minmax(0,1fr)!important;grid-template-rows:108px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-sidebar{width:240px!important;min-width:240px!important}
  body.professional-shell-v212 .professional-mobile-bar{height:108px!important;min-height:108px!important;padding:0 29px 0 31px!important;grid-template-columns:minmax(250px,1fr) 350px auto!important;gap:23px!important}
  body.professional-shell-v212 .professional-main{height:calc(100vh - 108px)!important;padding:2px 29px 28px 31px!important}
  body.professional-shell-v212 .professional-sidebar-head{height:205px!important;min-height:205px!important;padding-top:17px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:190px!important;height:177px!important;min-width:190px!important;min-height:177px!important;flex-basis:190px!important}
  body.professional-shell-v212 .professional-nav-item,body.professional-shell-v212 .client-sidebar-nav-item{height:50px!important;min-height:50px!important}
}
@media (min-width:1366px) and (max-width:1439px){
  body.professional-shell-v212 .professional-shell{grid-template-columns:228px minmax(0,1fr)!important;grid-template-rows:96px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-sidebar{width:228px!important;min-width:228px!important;padding-inline:13px!important}
  body.professional-shell-v212 .professional-mobile-bar{height:96px!important;min-height:96px!important;padding:0 24px 0 27px!important;grid-template-columns:minmax(220px,1fr) minmax(300px,338px) auto!important;gap:14px!important}
  body.professional-shell-v212 .professional-main{height:calc(100vh - 96px)!important;padding:0 24px 24px 27px!important}
  body.professional-shell-v212 .professional-sidebar-head{height:146px!important;min-height:146px!important;padding-top:2px!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:148px!important;height:140px!important;min-width:148px!important;min-height:140px!important;flex-basis:148px!important}
  body.professional-shell-v212 .professional-nav{padding-bottom:70px!important}
  body.professional-shell-v212 .professional-nav-item,body.professional-shell-v212 .client-sidebar-nav-item{height:38px!important;min-height:38px!important}
  body.professional-shell-v212 .professional-sidebar-foot{left:25px!important;right:25px!important;bottom:16px!important}
}
@media (min-width:1280px) and (max-width:1365px){
  body.professional-shell-v212 .professional-shell{grid-template-columns:220px minmax(0,1fr)!important;grid-template-rows:94px minmax(0,1fr)!important}
  body.professional-shell-v212 .professional-sidebar{width:220px!important;min-width:220px!important;padding-inline:12px!important}
  body.professional-shell-v212 .professional-mobile-bar{height:94px!important;min-height:94px!important;padding:0 20px 0 24px!important;grid-template-columns:minmax(205px,1fr) minmax(270px,316px) auto!important;gap:12px!important}
  body.professional-shell-v212 .professional-main{height:calc(100vh - 94px)!important;padding:0 20px 22px 24px!important}
  body.professional-shell-v212 .professional-sidebar-head{height:124px!important;min-height:124px!important;padding-top:0!important}
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark picture,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-shell-v212 .professional-sidebar .professional-logo-mark img,
  body.professional-shell-v212 .professional-sidebar .client-sidebar-brand-mark img{width:126px!important;height:118px!important;min-width:126px!important;min-height:118px!important;flex-basis:126px!important}
  body.professional-shell-v212 .professional-nav{padding-bottom:64px!important}
  body.professional-shell-v212 .professional-nav-item,body.professional-shell-v212 .client-sidebar-nav-item{height:35px!important;min-height:35px!important;padding-inline:8px!important;gap:8px!important}
  body.professional-shell-v212 .client-sidebar-nav-label{font-size:11.5px!important}
  body.professional-shell-v212 .professional-sidebar-foot{left:21px!important;right:21px!important;bottom:11px!important}
}
@media (min-width:1024px){
  body.professional-shell-v212 .professional-nav{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
  body.professional-shell-v212 .professional-nav::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
}
