/* Vida & Saúde | Painel do Fitoterapeuta | V215
   Responsividade real desktop, tablet e mobile sem zoom/scale.
   Corrige shell global, 1024 compacto e Início em 430/390/360. */

/* Ajuste pontual para o rótulo mais longo da navegação em desktop. */
@media (min-width:1366px){
  body.professional-responsive-v215 .professional-nav-item[data-professional-nav="professional-settings"] .client-sidebar-nav-label,
  body.professional-responsive-v215 .professional-nav-item[data-professional-nav="professional-settings"] .v8730-nav-label{
    font-size:12.4px!important;
  }
}

/* 1024 até 1151: desktop compacto real. Mantém o menu lateral porque o motor móvel começa em 1023px. */
@media (min-width:1024px) and (max-width:1151px){
  body.professional-responsive-v215 .professional-shell{
    grid-template-columns:196px minmax(0,1fr)!important;
    grid-template-rows:84px minmax(0,1fr)!important;
  }
  body.professional-responsive-v215 .professional-sidebar{
    width:196px!important;min-width:196px!important;padding-inline:10px!important;
  }
  body.professional-responsive-v215 .professional-sidebar-head{
    height:122px!important;min-height:122px!important;padding-top:0!important;
  }
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark,
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark picture,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark img,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark img{
    width:124px!important;height:116px!important;min-width:124px!important;min-height:116px!important;flex-basis:124px!important;
  }
  body.professional-responsive-v215 .professional-nav{padding-bottom:62px!important}
  body.professional-responsive-v215 .professional-nav-item,
  body.professional-responsive-v215 .client-sidebar-nav-item{
    height:36px!important;min-height:36px!important;padding-inline:7px!important;gap:7px!important;
  }
  body.professional-responsive-v215 .client-sidebar-nav-label,
  body.professional-responsive-v215 .v8730-nav-label{
    font-size:10.5px!important;line-height:1!important;
  }
  body.professional-responsive-v215 .professional-nav-icon{
    width:19px!important;height:19px!important;min-width:19px!important;flex-basis:19px!important;
  }
  body.professional-responsive-v215 .professional-nav-icon-svg{width:18px!important;height:18px!important}
  body.professional-responsive-v215 .professional-sidebar-foot{left:18px!important;right:18px!important;bottom:14px!important}
  body.professional-responsive-v215 .client-sidebar-secure-note{min-height:43px!important;padding:6px 8px!important;grid-template-columns:19px minmax(0,1fr)!important;column-gap:6px!important}
  body.professional-responsive-v215 .client-sidebar-secure-note svg{width:18px!important;height:18px!important}
  body.professional-responsive-v215 .client-sidebar-secure-note span{font-size:9.4px!important}
  body.professional-responsive-v215 .client-sidebar-secure-note span::after{font-size:7.5px!important}

  body.professional-responsive-v215 .professional-mobile-bar{
    height:84px!important;min-height:84px!important;padding:0 14px 0 18px!important;
    grid-template-columns:minmax(165px,.85fr) minmax(220px,1fr) auto!important;gap:10px!important;overflow:hidden!important;
  }
  body.professional-responsive-v215 .professional-header-title{font-size:25px!important}
  body.professional-responsive-v215 .professional-header-summary{font-size:10.5px!important;margin-top:5px!important;max-width:190px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.professional-responsive-v215 .professional-global-search{width:100%!important;max-width:none!important;height:42px!important;min-height:42px!important}
  body.professional-responsive-v215 .professional-global-search input{height:38px!important;min-height:38px!important;font-size:10.5px!important}
  body.professional-responsive-v215 .professional-search-key{height:22px!important;padding-inline:5px!important;font-size:8px!important}
  body.professional-responsive-v215 .professional-header-actions{gap:6px!important;min-width:0!important}
  body.professional-responsive-v215 .professional-security-pill{display:none!important}
  body.professional-responsive-v215 .professional-header-notifications{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
  body.professional-responsive-v215 .professional-header-notification-icon{width:21px!important;height:21px!important}
  body.professional-responsive-v215 .professional-header-identity{
    min-width:42px!important;width:42px!important;height:42px!important;padding:0!important;display:block!important;
  }
  body.professional-responsive-v215 .professional-header-avatar{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  body.professional-responsive-v215 .professional-header-account-copy,
  body.professional-responsive-v215 .professional-profile-chevron{display:none!important}
  body.professional-responsive-v215 .professional-profile-menu{right:0!important;top:48px!important}
  body.professional-responsive-v215 .professional-main{
    height:calc(100vh - 84px)!important;padding:0 14px 20px 16px!important;
  }

  /* Início em desktop compacto: não espremer quatro colunas centrais. */
  body.professional-responsive-v215 .v193-home{gap:12px!important}
  body.professional-responsive-v215 .v193-home-hero{
    min-height:205px!important;height:auto!important;grid-template-columns:150px minmax(0,1fr)!important;
    padding:16px 20px 16px 18px!important;gap:16px!important;
  }
  body.professional-responsive-v215 .v193-home-hero::after{width:48%!important;height:100%!important;opacity:.16!important}
  body.professional-responsive-v215 .v193-home-emblem{width:142px!important;height:142px!important}
  body.professional-responsive-v215 .v193-home-emblem img{width:136px!important;height:136px!important}
  body.professional-responsive-v215 .v193-home-copy{position:relative!important;z-index:2!important}
  body.professional-responsive-v215 .v193-home-copy h2{font-size:28px!important;margin-bottom:7px!important}
  body.professional-responsive-v215 .v193-home-copy p{font-size:10.5px!important;line-height:1.45!important;max-width:430px!important}
  body.professional-responsive-v215 .v193-home-actions{margin-top:10px!important;gap:8px!important}
  body.professional-responsive-v215 .v193-home-actions .btn{min-height:40px!important;padding-inline:14px!important}
  body.professional-responsive-v215 .v193-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.professional-responsive-v215 .v193-kpi{min-height:104px!important;padding:11px 12px!important}
  body.professional-responsive-v215 .v193-home-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.professional-responsive-v215 .v193-home-main>.v193-card,
  body.professional-responsive-v215 .v193-copilot{min-height:245px!important}
  body.professional-responsive-v215 .v193-home-bottom{grid-template-columns:1fr!important;gap:10px!important}
}

/* Mobile e tablet. O runtime já usa max-width:1023px para abrir/fechar o drawer. */
@media (max-width:1023px){
  html,body.professional-responsive-v215{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.professional-responsive-v215 #route-professional-panel{
    width:100%!important;height:100dvh!important;min-height:100dvh!important;padding:0!important;margin:0!important;overflow:hidden!important;background:#fbf8f2!important;
  }
  body.professional-responsive-v215 .professional-shell{
    width:100%!important;height:100dvh!important;min-height:100dvh!important;margin:0!important;padding:0!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px minmax(0,1fr)!important;gap:0!important;background:#fbf8f2!important;overflow:hidden!important;
  }

  /* Cabeçalho móvel */
  body.professional-responsive-v215 .professional-mobile-bar{
    grid-column:1!important;grid-row:1!important;position:relative!important;z-index:180!important;
    width:100%!important;height:64px!important;min-height:64px!important;margin:0!important;padding:7px 10px!important;
    display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;
    border:0!important;border-bottom:1px solid #e8dece!important;border-radius:0!important;background:#fbf8f2!important;box-shadow:0 4px 14px rgba(48,39,24,.04)!important;overflow:visible!important;
  }
  body.professional-responsive-v215 .professional-mobile-menu-button{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;
    display:grid!important;place-items:center!important;border:1px solid #dccfb9!important;border-radius:11px!important;background:#fffdf9!important;color:#16483e!important;box-shadow:0 3px 10px rgba(45,37,24,.04)!important;
  }
  body.professional-responsive-v215 .professional-mobile-menu-label{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
  body.professional-responsive-v215 .professional-mobile-menu-icon{width:20px!important;height:15px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
  body.professional-responsive-v215 .professional-mobile-menu-icon i{display:block!important;width:20px!important;height:1.5px!important;border-radius:99px!important;background:#16483e!important}
  body.professional-responsive-v215 .professional-header-context-icon{display:none!important}
  body.professional-responsive-v215 .professional-mobile-current,
  body.professional-responsive-v215 .professional-header-context{display:block!important;min-width:0!important;margin:0!important;padding:0!important}
  body.professional-responsive-v215 .professional-header-eyebrow{display:block!important;margin:0 0 2px!important;color:#7b866f!important;font-size:7.5px!important;font-weight:800!important;letter-spacing:.14em!important;line-height:1!important}
  body.professional-responsive-v215 .professional-header-title-line{display:block!important;min-width:0!important}
  body.professional-responsive-v215 .professional-header-title{margin:0!important;color:#0d4438!important;font:700 18px/1.05 Arial,"Helvetica Neue",sans-serif!important;letter-spacing:-.02em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.professional-responsive-v215 .professional-header-title-dot{display:none!important}
  body.professional-responsive-v215 .professional-header-summary{display:block!important;margin:3px 0 0!important;color:#6c756f!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.professional-responsive-v215 .professional-global-search{display:none!important}
  body.professional-responsive-v215 .professional-header-actions{justify-self:end!important;display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0!important}
  body.professional-responsive-v215 .professional-security-pill{display:none!important}
  body.professional-responsive-v215 .professional-header-notifications{
    position:relative!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#315249!important;box-shadow:none!important;
  }
  body.professional-responsive-v215 .professional-header-notification-icon{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important}
  body.professional-responsive-v215 .professional-header-notification-label{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
  body.professional-responsive-v215 .professional-header-identity{
    position:relative!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;margin:0!important;display:block!important;border:0!important;background:transparent!important;box-shadow:none!important;
  }
  body.professional-responsive-v215 .professional-header-avatar{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!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;font-size:10px!important;font-weight:800!important;overflow:hidden!important;
  }
  body.professional-responsive-v215 .professional-header-account-copy,
  body.professional-responsive-v215 .professional-profile-chevron{display:none!important}
  body.professional-responsive-v215 .professional-profile-menu{position:fixed!important;right:10px!important;top:58px!important;width:min(220px,calc(100vw - 20px))!important;z-index:1150!important}

  /* Drawer móvel */
  body.professional-responsive-v215 .professional-sidebar{
    position:fixed!important;z-index:1100!important;inset:0 auto 0 0!important;width:min(86vw,320px)!important;min-width:0!important;height:100dvh!important;min-height:100dvh!important;
    margin:0!important;padding:0 12px 14px!important;display:flex!important;flex-direction:column!important;
    border:1px solid #b98b35!important;border-left:0!important;border-radius:0 16px 16px 0!important;
    background:linear-gradient(180deg,#083f35 0%,#05382f 54%,#022d27 100%)!important;box-shadow:18px 0 38px rgba(11,42,35,.24)!important;
    transform:translateX(-104%)!important;transition:transform .24s ease!important;overflow:hidden!important;visibility:hidden!important;pointer-events:none!important;
  }
  body.professional-responsive-v215 .professional-sidebar.is-mobile-open{
    transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important;
  }
  body.professional-responsive-v215 .professional-sidebar-head{
    flex:0 0 auto!important;height:92px!important;min-height:92px!important;margin:0!important;padding:10px 4px 7px!important;display:grid!important;grid-template-columns:64px minmax(0,1fr) 40px!important;align-items:center!important;gap:10px!important;border:0!important;background:transparent!important;overflow:visible!important;
  }
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark{
    grid-column:1!important;width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark picture,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark picture,
  body.professional-responsive-v215 .professional-sidebar .professional-logo-mark img,
  body.professional-responsive-v215 .professional-sidebar .client-sidebar-brand-mark img{
    width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  body.professional-responsive-v215 .client-sidebar-brand-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;color:#f6ead0!important}
  body.professional-responsive-v215 .v173-brand-kicker{color:#d7b565!important;font-size:7px!important;font-weight:800!important;letter-spacing:.16em!important}
  body.professional-responsive-v215 .client-sidebar-brand-copy strong{color:#fff4dc!important;font-size:15px!important;line-height:1.05!important}
  body.professional-responsive-v215 .v173-brand-subtitle{color:#d5c8aa!important;font-size:9px!important}
  body.professional-responsive-v215 .professional-sidebar-close{
    grid-column:3!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(225,188,108,.35)!important;border-radius:10px!important;background:rgba(255,255,255,.05)!important;color:#f4dfb6!important;
  }
  body.professional-responsive-v215 .professional-sidebar-close span{position:relative!important;width:17px!important;height:17px!important;display:block!important}
  body.professional-responsive-v215 .professional-sidebar-close span::before,
  body.professional-responsive-v215 .professional-sidebar-close span::after{content:""!important;position:absolute!important;left:8px!important;top:1px!important;width:1.5px!important;height:16px!important;border-radius:99px!important;background:#f4dfb6!important}
  body.professional-responsive-v215 .professional-sidebar-close span::before{transform:rotate(45deg)!important}
  body.professional-responsive-v215 .professional-sidebar-close span::after{transform:rotate(-45deg)!important}
  body.professional-responsive-v215 .professional-nav{
    position:relative!important;z-index:2!important;flex:1 1 auto!important;min-height:0!important;margin:0!important;padding:2px 0 8px!important;display:flex!important;flex-direction:column!important;gap:1px!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;overscroll-behavior:contain!important;
  }
  body.professional-responsive-v215 .professional-nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  body.professional-responsive-v215 .professional-nav-group{display:block!important;margin:0!important;padding:0!important;border:0!important}
  body.professional-responsive-v215 .professional-nav-group+.professional-nav-group{margin-top:8px!important}
  body.professional-responsive-v215 .professional-nav-group-label{display:block!important;padding:8px 10px 5px!important;color:#adba9c!important;font-size:7px!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important}
  body.professional-responsive-v215 .professional-nav-item,
  body.professional-responsive-v215 .client-sidebar-nav-item{
    width:100%!important;height:43px!important;min-height:43px!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:10px!important;background:transparent!important;box-shadow:none!important;color:#f0e4cb!important;text-align:left!important;
  }
  body.professional-responsive-v215 .professional-nav-item.is-active,
  body.professional-responsive-v215 .client-sidebar-nav-item.is-active,
  body.professional-responsive-v215 .professional-nav-item[aria-current="page"]{
    color:#fff8e8!important;background:linear-gradient(90deg,rgba(222,177,77,.31),rgba(214,179,108,.12))!important;border-color:#bd9140!important;box-shadow:0 0 14px rgba(209,160,66,.22)!important;
  }
  body.professional-responsive-v215 .professional-nav-icon{width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;display:grid!important;place-items:center!important;color:#dfb85f!important}
  body.professional-responsive-v215 .professional-nav-icon-svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important}
  body.professional-responsive-v215 .client-sidebar-nav-label,
  body.professional-responsive-v215 .v8730-nav-label{min-width:0!important;color:inherit!important;font-size:12.5px!important;font-weight:500!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:normal!important}
  body.professional-responsive-v215 .professional-sidebar-foot{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;margin:6px 6px 0!important;padding:0!important;border:0!important}
  body.professional-responsive-v215 .client-sidebar-secure-note{width:100%!important;min-height:46px!important;padding:7px 9px!important;display:grid!important;grid-template-columns:21px minmax(0,1fr)!important;align-items:center!important;column-gap:8px!important;border:1px solid #c99a42!important;border-radius:10px!important;background:rgba(255,255,255,.045)!important;color:#f4e3bf!important}
  body.professional-responsive-v215 .client-sidebar-secure-note svg{width:20px!important;height:20px!important;stroke:#e3b95f!important;fill:none!important}
  body.professional-responsive-v215 .client-sidebar-secure-note span{font-size:9.5px!important;font-weight:700!important}
  body.professional-responsive-v215 .client-sidebar-secure-note span::after{content:"\A LGPD • Criptografado"!important;white-space:pre!important;color:#d2c7ae!important;font-size:7.5px!important;font-weight:400!important}
  body.professional-responsive-v215 .professional-nav-backdrop{
    position:fixed!important;z-index:1050!important;inset:0!important;width:100%!important;height:100dvh!important;margin:0!important;padding:0!important;border:0!important;background:rgba(7,32,27,.46)!important;backdrop-filter:blur(2px)!important;
  }
  body.professional-responsive-v215 .professional-nav-backdrop[hidden]{display:none!important}

  /* Workspace móvel */
  body.professional-responsive-v215 .professional-main{
    grid-column:1!important;grid-row:2!important;width:100%!important;height:calc(100dvh - 64px)!important;min-height:0!important;margin:0!important;padding:12px 11px 18px!important;display:block!important;overflow-x:hidden!important;overflow-y:auto!important;background:#fbf8f2!important;overscroll-behavior:contain!important;scrollbar-gutter:auto!important;
  }
  body.professional-responsive-v215 .professional-section{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
  body.professional-responsive-v215 .professional-section>*{max-width:100%;min-width:0}
}

/* Início em tablet/mobile. */
@media (min-width:621px) and (max-width:1023px){
  body.professional-responsive-v215 .v193-home{gap:12px!important}
  body.professional-responsive-v215 .v193-home-hero{
    min-height:190px!important;grid-template-columns:125px minmax(0,1fr)!important;padding:16px 18px!important;gap:14px!important;text-align:left!important;
  }
  body.professional-responsive-v215 .v193-home-hero::after{width:44%!important;height:100%!important;opacity:.13!important}
  body.professional-responsive-v215 .v193-home-emblem{width:118px!important;height:118px!important;margin:0!important}
  body.professional-responsive-v215 .v193-home-emblem img{width:112px!important;height:112px!important}
  body.professional-responsive-v215 .v193-home-copy{position:relative!important;z-index:2!important}
  body.professional-responsive-v215 .v193-home-copy h2{font-size:27px!important}
  body.professional-responsive-v215 .v193-home-copy p{max-width:500px!important;font-size:10.5px!important}
  body.professional-responsive-v215 .v193-home-actions{justify-content:flex-start!important;flex-direction:row!important}
  body.professional-responsive-v215 .v193-home-actions .btn{width:auto!important;min-width:150px!important}
  body.professional-responsive-v215 .v193-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.professional-responsive-v215 .v193-home-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:620px){
  body.professional-responsive-v215 .v193-home{gap:10px!important;padding-bottom:12px!important}
  body.professional-responsive-v215 .v193-home-hero{
    min-height:auto!important;height:auto!important;grid-template-columns:1fr!important;padding:15px 14px 16px!important;gap:9px!important;text-align:center!important;
  }
  body.professional-responsive-v215 .v193-home-hero::after{width:100%!important;height:100%!important;opacity:.08!important;background-position:right bottom!important}
  body.professional-responsive-v215 .v193-home-emblem{width:104px!important;height:104px!important;margin:0 auto!important}
  body.professional-responsive-v215 .v193-home-emblem img{width:98px!important;height:98px!important}
  body.professional-responsive-v215 .v193-home-copy{position:relative!important;z-index:2!important}
  body.professional-responsive-v215 .v193-home-copy h2{font-size:25px!important;line-height:1.05!important;margin-bottom:6px!important}
  body.professional-responsive-v215 .v193-home-copy p{font-size:10.5px!important;line-height:1.45!important;max-width:350px!important;margin-inline:auto!important}
  body.professional-responsive-v215 .v193-home-actions{margin-top:10px!important;justify-content:center!important;flex-direction:column!important;gap:7px!important}
  body.professional-responsive-v215 .v193-home-actions .btn{width:100%!important;min-width:0!important;min-height:42px!important}
  body.professional-responsive-v215 .v193-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.professional-responsive-v215 .v193-kpi{min-height:102px!important;padding:10px!important;grid-template-columns:38px minmax(0,1fr)!important;column-gap:8px!important}
  body.professional-responsive-v215 .v193-kpi-icon{width:38px!important;height:38px!important}
  body.professional-responsive-v215 .v193-kpi-icon svg{width:20px!important;height:20px!important}
  body.professional-responsive-v215 .v193-kpi-copy small{font-size:9.5px!important;line-height:1.15!important}
  body.professional-responsive-v215 .v193-kpi-copy strong{font-size:22px!important}
  body.professional-responsive-v215 .v193-kpi-foot{font-size:7.5px!important;gap:4px!important}
  body.professional-responsive-v215 .v193-spark{width:43px!important}
  body.professional-responsive-v215 .v193-home-main{grid-template-columns:1fr!important;gap:8px!important}
  body.professional-responsive-v215 .v193-home-main>.v193-card,
  body.professional-responsive-v215 .v193-copilot{min-height:210px!important}
  body.professional-responsive-v215 .v193-card{padding:12px!important}
  body.professional-responsive-v215 .v193-card-title h3{font-size:14px!important}
  body.professional-responsive-v215 .v193-home-bottom{grid-template-columns:1fr!important;gap:8px!important}
  body.professional-responsive-v215 .v193-finance-card{padding:12px!important}
  body.professional-responsive-v215 .v214-finance-head-meta{gap:4px!important}
  body.professional-responsive-v215 .v214-finance-period{min-height:28px!important;font-size:8px!important}
  body.professional-responsive-v215 .v214-finance-body{grid-template-columns:1fr!important;gap:10px!important}
  body.professional-responsive-v215 .v193-finance-copy{padding:0!important}
  body.professional-responsive-v215 .v193-finance-chart{height:76px!important}
  body.professional-responsive-v215 .v193-quote{min-height:170px!important;padding:22px 46px 24px 56px!important}
  body.professional-responsive-v215 .v193-quote p{font-size:13px!important;line-height:1.5!important}
}

@media (max-width:390px){
  body.professional-responsive-v215 .professional-mobile-bar{grid-template-columns:42px minmax(0,1fr) auto!important;padding-inline:8px!important;gap:7px!important}
  body.professional-responsive-v215 .professional-mobile-menu-button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  body.professional-responsive-v215 .professional-header-notifications{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  body.professional-responsive-v215 .professional-header-identity{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
  body.professional-responsive-v215 .professional-header-avatar{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:9px!important}
  body.professional-responsive-v215 .professional-header-summary{font-size:8px!important}
  body.professional-responsive-v215 .professional-main{padding:10px 9px 15px!important}
  body.professional-responsive-v215 .v193-home-kpis{gap:7px!important}
  body.professional-responsive-v215 .v193-kpi{padding:9px!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:6px!important}
  body.professional-responsive-v215 .v193-kpi-icon{width:34px!important;height:34px!important}
  body.professional-responsive-v215 .v193-kpi-icon svg{width:18px!important;height:18px!important}
  body.professional-responsive-v215 .v193-kpi-copy small{font-size:8.6px!important}
  body.professional-responsive-v215 .v193-kpi-copy strong{font-size:20px!important}
  body.professional-responsive-v215 .v193-kpi-foot{font-size:7px!important}
  body.professional-responsive-v215 .v193-spark{width:36px!important}
}

/* =========================================================
   V215 | Homologação estrutural das 13 áreas
   Neutraliza calibrações desktop tardias que ainda forçavam
   largura mínima em 1024 e no shell móvel.
   ========================================================= */

/* 1024 compacto: Clientes e Atendimentos deixam de preservar tabelas largas. */
@media (min-width:1024px) and (max-width:1151px){
  body.professional-responsive-v215 #professional-clients .v196-clients-workspace{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-clients .v196-client-profile{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-toolbar{
    grid-template-columns:minmax(0,1fr) repeat(2,minmax(108px,.34fr))!important;
    grid-auto-flow:row!important;height:auto!important;min-height:0!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-search-field{grid-column:1/-1!important}
  body.professional-responsive-v215 #professional-clients .v196-more-filter{width:100%!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-table-head{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"identity menu" "objective objective" "status plan" "last next"!important;
    gap:8px!important;min-height:0!important;padding:12px!important;margin:8px 10px!important;
    border:1px solid #e7ddd0!important;border-radius:12px!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-client-row .v196-client-identity{grid-area:identity!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-objective{grid-area:objective!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-status{grid-area:status!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-plan{grid-area:plan!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-last{grid-area:last!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-next{grid-area:next!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .v196-row-menu{grid-area:menu!important}

  body.professional-responsive-v215 #professional-attendances .v199-attendance-toolbar{
    grid-template-columns:minmax(0,1fr) repeat(2,minmax(120px,.42fr))!important;
    gap:8px!important;align-items:end!important;
  }
  body.professional-responsive-v215 #professional-attendances .v199-search-field{grid-column:1/-1!important}
  body.professional-responsive-v215 #professional-attendances .v199-clear-button{width:100%!important;min-width:0!important;justify-self:stretch!important}
  body.professional-responsive-v215 #professional-attendances .v199-table-head{display:none!important}
  body.professional-responsive-v215 #professional-attendances .v199-attendance-row{
    grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-height:0!important;
    padding:12px!important;margin:8px 10px!important;border:1px solid #e7ddd0!important;border-radius:12px!important;
  }
}

@media (max-width:1023px){
  /* Garantia global: grids das áreas não podem expandir o track além do workspace. */
  body.professional-responsive-v215 .professional-section,
  body.professional-responsive-v215 .professional-section>*{box-sizing:border-box!important;min-width:0!important}

  /* Clientes */
  body.professional-responsive-v215 #professional-clients .v196-clients-hero{
    width:100%!important;height:auto!important;min-height:0!important;grid-template-columns:82px minmax(0,1fr)!important;
    gap:12px!important;padding:15px!important;margin-bottom:12px!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-clients-hero-emblem{width:74px!important;height:74px!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-hero-copy h3{font-size:20px!important}
  body.professional-responsive-v215 #professional-clients .v196-gold-button{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}
  body.professional-responsive-v215 #professional-clients .v196-metric-card{
    width:100%!important;height:auto!important;min-height:100px!important;grid-template-columns:40px minmax(0,1fr)!important;gap:7px!important;padding:10px!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-metric-icon{width:38px!important;height:38px!important;font-size:18px!important}
  body.professional-responsive-v215 #professional-clients .v196-spark{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-workspace{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  body.professional-responsive-v215 #professional-clients .v196-client-profile{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-toolbar{
    width:100%!important;min-height:0!important;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;gap:8px!important;padding:10px!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-search-field{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-clients .v196-filter-field,
  body.professional-responsive-v215 #professional-clients .v196-filter-field select,
  body.professional-responsive-v215 #professional-clients .v196-more-filter{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-table-head{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row{
    width:auto!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"identity menu" "objective objective" "status plan" "last next"!important;
    gap:8px!important;min-height:0!important;padding:12px!important;margin:8px!important;
    border:1px solid #e7ddd0!important;border-radius:12px!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-client-row .v196-client-identity{grid-area:identity!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-objective{grid-area:objective!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-status{grid-area:status!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-plan{grid-area:plan!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-last{grid-area:last!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .is-next{grid-area:next!important}
  body.professional-responsive-v215 #professional-clients .v196-client-row .v196-row-menu{grid-area:menu!important}

  /* Agenda */
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero{
    width:100%!important;min-height:0!important;height:auto!important;grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;padding:18px!important;
  }
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-emblem{display:none!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-actions{
    width:100%!important;min-width:0!important;justify-self:stretch!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-actions .btn{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.professional-responsive-v215 #professional-agenda .v197-metric-card{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-workspace{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-left,
  body.professional-responsive-v215 #professional-agenda .v197-agenda-right{grid-column:auto!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-left>*,
  body.professional-responsive-v215 #professional-agenda .v197-agenda-right>*{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}

  /* Atendimentos */
  body.professional-responsive-v215 #professional-attendances .v199-attendance-hero{width:100%!important;height:auto!important;min-height:0!important}
  body.professional-responsive-v215 #professional-attendances .v199-highlight-card,
  body.professional-responsive-v215 #professional-attendances .v199-highlight-empty{
    grid-template-columns:minmax(0,1fr)!important;padding:18px!important;gap:12px!important;
  }
  body.professional-responsive-v215 #professional-attendances .v199-highlight-avatar{width:92px!important;height:92px!important;justify-self:center!important}
  body.professional-responsive-v215 #professional-attendances .v199-highlight-copy{text-align:center!important}
  body.professional-responsive-v215 #professional-attendances .v199-highlight-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.professional-responsive-v215 #professional-attendances .v199-highlight-actions .btn{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-attendances .v199-attendance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.professional-responsive-v215 #professional-attendances .v199-metric-card{
    width:100%!important;height:auto!important;min-height:104px!important;grid-template-columns:42px minmax(0,1fr)!important;gap:7px!important;padding:10px!important;
  }
  body.professional-responsive-v215 #professional-attendances .v199-spark{display:none!important}
  body.professional-responsive-v215 #professional-attendances .v199-attendance-toolbar{
    width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;align-items:end!important;
  }
  body.professional-responsive-v215 #professional-attendances .v199-search-field{grid-column:1/-1!important;width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-attendances .v199-filter-field,
  body.professional-responsive-v215 #professional-attendances .v199-filter-field input,
  body.professional-responsive-v215 #professional-attendances .v199-filter-field select,
  body.professional-responsive-v215 #professional-attendances .v199-clear-button{width:100%!important;min-width:0!important;justify-self:stretch!important}
  body.professional-responsive-v215 #professional-attendances .v199-table-head{display:none!important}
  body.professional-responsive-v215 #professional-attendances .v199-attendance-row{
    width:auto!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-height:0!important;
    padding:12px!important;margin:8px!important;border:1px solid #e7ddd0!important;border-radius:12px!important;
  }
  body.professional-responsive-v215 #professional-attendances .v199-table-footer{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important}

  /* Carlos Copilot */
  body.professional-responsive-v215 #professional-copilot .copilot203-hero{
    width:100%!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important;padding:18px!important;gap:12px!important;
  }
  body.professional-responsive-v215 #professional-copilot .copilot203-bot{display:none!important}
  body.professional-responsive-v215 #professional-copilot .copilot203-hero-actions{
    width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important;
  }
  body.professional-responsive-v215 #professional-copilot .copilot203-hero-actions .btn{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-copilot .copilot203-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.professional-responsive-v215 #professional-copilot .copilot203-grid{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-copilot .copilot203-side{grid-template-columns:minmax(0,1fr)!important}

  /* Configurações: remove crescimento por min-content dos cards internos. */
  body.professional-responsive-v215 #professional-settings .settings172-profile{
    width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
  }
  body.professional-responsive-v215 #professional-settings .settings172-profile>*{
    width:100%!important;max-width:100%!important;min-width:0!important;grid-column:1!important;grid-row:auto!important;box-sizing:border-box!important;
  }
  body.professional-responsive-v215 #professional-settings .v172-profile-hero{
    grid-template-columns:minmax(0,1fr)!important;min-height:0!important;gap:12px!important;padding:17px!important;
  }
  body.professional-responsive-v215 #professional-settings .settings204-hero-emblem{width:88px!important;height:88px!important}
  body.professional-responsive-v215 #professional-settings .settings172-hero-actions{width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.professional-responsive-v215 #professional-settings .settings172-hero-actions button{width:100%!important;min-width:0!important}
  body.professional-responsive-v215 #professional-settings .settings172-summary .v172-profile-fields{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.professional-responsive-v215 #professional-settings .settings172-summary .v172-profile-field{width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.professional-responsive-v215 #professional-settings .settings172-protection-grid,
  body.professional-responsive-v215 #professional-settings .settings172-plan-grid{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-settings .settings172-bottom-actions{width:100%!important;flex-wrap:wrap!important}
  body.professional-responsive-v215 #professional-settings .settings172-bottom-actions button{flex:1 1 150px!important;min-width:0!important}
}

@media (max-width:620px){
  body.professional-responsive-v215 #professional-clients .v196-clients-toolbar,
  body.professional-responsive-v215 #professional-attendances .v199-attendance-toolbar{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-clients .v196-search-field,
  body.professional-responsive-v215 #professional-attendances .v199-search-field{grid-column:auto!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-actions,
  body.professional-responsive-v215 #professional-attendances .v199-highlight-actions,
  body.professional-responsive-v215 #professional-copilot .copilot203-hero-actions,
  body.professional-responsive-v215 #professional-settings .settings172-hero-actions{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-agenda .v197-agenda-metrics{grid-template-columns:minmax(0,1fr)!important}
  body.professional-responsive-v215 #professional-settings .settings172-summary .v172-profile-fields{grid-template-columns:minmax(0,1fr)!important}
}

@media (max-width:1023px){
  body.professional-responsive-v215 #professional-consents .consents202-hero{overflow:hidden!important}
  body.professional-responsive-v215 #professional-consents .consents202-hero-leaves{
    left:auto!important;right:0!important;width:min(320px,85vw)!important;max-width:85%!important;
  }
}

/* Mobile: os assets desktop de Clientes/Agenda continham o botão já rasterizado.
   Em tela estreita usamos a folhagem limpa para impedir duplicação visual. */
@media (max-width:620px){
  body.professional-responsive-v215 #professional-clients .v196-clients-hero{
    grid-template-columns:minmax(0,1fr)!important;text-align:left!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-clients-hero-emblem{display:none!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-hero-copy h3{font-size:23px!important;line-height:1.12!important;max-width:310px!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-hero-copy p{font-size:10.5px!important;line-height:1.45!important;max-width:320px!important}
  body.professional-responsive-v215 #professional-clients .v196-clients-hero::after{
    right:0!important;top:0!important;width:100%!important;height:100%!important;
    background:url('../img/hero-leaves-gold.png') right bottom/cover no-repeat!important;opacity:.20!important;
  }
  body.professional-responsive-v215 #professional-clients .v196-clients-hero::before{z-index:1!important}

  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero:before{
    right:0!important;top:0!important;width:100%!important;height:100%!important;
    background:url('../img/hero-leaves-gold.png') right bottom/cover no-repeat!important;opacity:.22!important;filter:none!important;
  }
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-copy,
  body.professional-responsive-v215 #professional-agenda .v197-agenda-hero-actions{position:relative!important;z-index:2!important}
}
