.thread-back,.thread-lead-btn,.lead-pane-close{display:none}.impersonation-banner{box-sizing:border-box;height:40px}.impersonation-banner+.app-shell{height:calc(100vh - 40px)}@media (width<=900px){.atendimento{grid-template-columns:300px 1fr}.atendimento>.lead-pane{display:none}.atendimento.show-lead>.lead-pane{z-index:70;flex-direction:column;width:auto;padding-top:56px;display:flex;position:fixed;inset:0;overflow:hidden auto}.impersonation-banner+.app-shell .atendimento.show-lead>.lead-pane,.impersonation-banner+.app-shell .atendimento.show-lead>.lead-pane-close{top:40px}.atendimento .thread-lead-btn{display:inline-flex}.atendimento.show-lead>.lead-pane-close{z-index:71;border:none;border-bottom:1px solid var(--border);background:var(--surface);height:52px;color:var(--accent);text-align:left;padding:0 16px;font-size:15px;font-weight:700;display:block;position:fixed;top:0;left:0;right:0}.kpi-row{grid-template-columns:repeat(3,1fr)}.topbar-tenant-switcher{justify-content:center;display:flex;top:60px;left:20px;right:20px;transform:none}.app-shell:has(.topbar-tenant-switcher) .workspace{top:104px}.thread-header{flex-wrap:wrap;row-gap:8px}.thread-actions{flex-wrap:wrap;gap:6px}}@media (width<=640px){.topbar-brand{max-width:44vw;padding:8px 14px;top:10px;left:10px;overflow:hidden}.topbar-brand-name{height:14px}.topbar-profile{gap:2px;padding:4px 6px;top:10px;right:10px}.topbar-profile .profile-name,.topbar-profile .profile-sub,.topbar-profile .team-stack{display:none}.profile-avatar,.profile-logo{width:30px;height:30px}.topbar-settings-btn{width:30px;height:30px;margin-left:0}.topbar-tenant-switcher{top:56px;left:10px;right:10px;transform:none}.topbar-tenant-switcher select,.topbar-tenant-switcher .nsel{width:100%}.workspace{inset:56px 0 78px}.app-shell:has(.topbar-tenant-switcher) .workspace{top:98px}.dock{justify-content:space-between;gap:2px;padding:5px;bottom:8px;left:6px;right:6px;transform:none}.dock:before{display:none}.dock-item{flex:1 1 0;min-width:0;padding:7px 2px 6px;font-size:10px}.dock-item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}.dashboard{gap:16px;padding:16px 12px 24px}.dashboard-header{gap:4px}.dashboard-title{font-size:20px}.kpi-row{grid-template-columns:repeat(2,1fr);gap:10px}.kpi-card{border-radius:16px;padding:13px 13px 12px}.kpi-value{font-size:26px}.report-stats{grid-template-columns:repeat(2,1fr)}.pipeline-card{padding:16px 14px}.pipeline-track{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pipeline-line,.pipeline-line-fill,.pipeline-lead-dots{display:none}.pipeline-node{text-align:center;background:var(--surface-2);flex-direction:column;align-items:center;gap:4px;padding:8px 4px;display:flex}.pipeline-desc{display:none}.pipeline-label{font-size:11.5px;line-height:1.2}.kanban-board{scroll-snap-type:x mandatory;gap:10px;margin:0 -6px;padding:0 6px 8px}.kanban-column{scroll-snap-align:start;flex:0 0 86%;min-width:0;max-width:none;max-height:70vh}.campaign-table{overflow-x:auto}.campaign-table-head,.campaign-row{min-width:780px}.modal-overlay{align-items:flex-end;padding:0}.modal-card{border-radius:20px 20px 0 0;max-width:none;max-height:92dvh;padding:18px 16px 20px}.atendimento{grid-template-columns:minmax(0,1fr)}.atendimento>*{min-width:0}.atendimento .cl-item{grid-template-columns:46px minmax(0,1fr)}.atendimento:not(.has-selection)>.thread-pane,.atendimento.has-selection>.conv-pane{display:none}.atendimento .thread-back{width:36px;height:36px;color:var(--accent);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;margin-left:-6px;font-size:30px;line-height:1;display:flex}.thread-header{flex-wrap:wrap;row-gap:8px;padding:10px 12px}.thread-actions{flex-wrap:wrap;gap:6px;width:100%}.thread-actions .btn{padding:7px 12px;font-size:12px}.app-shell:has(.atendimento.is-active.has-selection) .dock{display:none}.app-shell:has(.atendimento.is-active.has-selection) .workspace{bottom:6px}.thread-messages{padding:14px 10px;overflow-x:hidden}.thread-messages img,.thread-messages video{max-width:100%;height:auto}.kanban-card-top>div{min-width:0}}.sched-when{gap:10px;margin-bottom:10px;display:flex}.sched-field{min-width:0;color:var(--ink-soft);flex-direction:column;flex:1;gap:4px;font-size:12px;font-weight:600;display:flex}.sched-field input,.sched-text{box-sizing:border-box;width:100%;min-height:44px;font:inherit;color:var(--ink);background:var(--surface-2);border:1px solid var(--border);appearance:none;border-radius:10px;padding:8px 11px;font-size:16px;font-weight:500}.sched-text{resize:vertical;min-height:88px;margin-bottom:10px}@media (width<=480px){.sched-when{flex-direction:column}}:root{--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px)}html:after{content:"";height:var(--sat);z-index:20000;pointer-events:none;background:#0f6f82;position:fixed;top:0;left:0;right:0}body{padding-top:var(--sat)}.app-shell{height:calc(100vh - var(--sat));height:calc(100dvh - var(--sat))}.impersonation-banner+.app-shell{height:calc(100vh - 40px - var(--sat));height:calc(100dvh - 40px - var(--sat))}@media (pointer:coarse){.app-shell{height:calc(var(--vvh,100dvh) - var(--sat))}.impersonation-banner+.app-shell{height:calc(var(--vvh,100dvh) - 40px - var(--sat))}}.ag-drawer-overlay,.iv-overlay{padding-top:var(--sat)}.modal-overlay{padding-top:calc(24px + var(--sat))}.fx-page{padding-top:var(--sat)}@media (width<=900px){.atendimento.show-lead>.lead-pane,.atendimento.show-lead>.lead-pane-close{top:var(--sat)}.atendimento.show-lead>.lead-pane{padding-bottom:var(--sab)}.impersonation-banner+.app-shell .atendimento.show-lead>.lead-pane,.impersonation-banner+.app-shell .atendimento.show-lead>.lead-pane-close{top:calc(40px + var(--sat))}}@media (width<=640px){.dock{bottom:max(8px, var(--sab))}.workspace{bottom:calc(78px + max(0px, var(--sab) - 8px))}.app-shell:has(.atendimento.is-active.has-selection) .workspace{bottom:max(6px, var(--sab))}.app-shell:has(.atendimento.is-active.has-selection .thread-composer-input:focus) .workspace{bottom:6px}.ag-fab{bottom:calc(84px + max(0px, var(--sab) - 8px))}}
