body:has(.referral-page) .gestao-install-prompt{display:none!important}
.topbar:has(.topbar-referral){gap:12px}
.topbar:has(.topbar-referral) .topbar-left,.topbar:has(.topbar-referral) .breadcrumb{min-width:0}
.topbar:has(.topbar-referral) .breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar:has(.topbar-referral) .topbar-actions{flex:0 0 auto}
.topbar-referral{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #c3db71;border-radius:14px;background:#eef8ca;color:#173a35;font:750 12px/1.3 system-ui,sans-serif;text-align:left;white-space:nowrap;cursor:pointer}
.topbar-referral>svg{width:21px;height:21px;flex:none}
.topbar-referral>span{display:grid;gap:2px}
.topbar-referral small{color:#36513a;font-size:10px;font-weight:600}
.topbar-referral:hover,.topbar-referral[aria-current="page"]{border-color:#97b437;background:#e0f0a4}
.topbar-referral:focus-visible{outline:3px solid #1567e8;outline-offset:3px}
html.web-theme-dark .topbar-referral{border-color:#647f3d;background:#293b22;color:#f0f7df}
html.web-theme-dark .topbar-referral small{color:#c2d6b5}
html.web-theme-dark .topbar-referral:hover,html.web-theme-dark .topbar-referral[aria-current="page"]{background:#38502d;border-color:#92b95f}
/* Keep every top-bar action available without consuming the mobile breadcrumb. */
@media(max-width:1280px){
  .topbar-referral{width:44px;height:44px;padding:0}
  .topbar-referral>span{display:none}
}
@media(max-width:1100px){
  .topbar:has(.topbar-referral) .unit-switcher{position:relative;width:44px;min-width:44px;max-width:44px;flex:0 0 44px;padding:0;justify-content:center}
  .topbar:has(.topbar-referral) .unit-switcher>span{display:none}
  .topbar:has(.topbar-referral) .unit-switcher>select{position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:none;opacity:0;cursor:pointer}
  .topbar:has(.topbar-referral) .ecosystem-switcher-trigger{width:44px;min-width:44px;padding:0;justify-content:center}
  .topbar:has(.topbar-referral) .ecosystem-switcher-trigger>span,.topbar:has(.topbar-referral) .ecosystem-switcher-trigger>svg:last-child{display:none}
}
@media(max-width:560px){
  .schedule-editor .field input:not([type="checkbox"]):not([type="radio"]),.schedule-editor .field select,.schedule-editor .field textarea{font-size:16px;min-height:44px}
  .topbar-left{min-width:0}
  .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-actions{flex:none;gap:6px}
  .topbar:has(.topbar-referral){gap:6px}
}
@media(max-width:350px){.topbar:has(.topbar-referral) .topbar-actions{gap:3px}}
