:root{font-size:var(--crm-font-size,16px)}body{font-size:1rem}.zz-settings{max-width:900px}.zz-settings label{display:block;margin:14px 0 5px}.zz-settings input,.zz-settings select{display:block;width:100%;margin-top:6px}.zz-settings input[type=checkbox]{width:23px;height:23px;accent-color:var(--primary);margin:0;flex-shrink:0}.zz-settings .card{margin:16px 0;display:block}.zz-settings small{display:block;line-height:1.6}.zz-tabs,.zz-save,.zz-profile{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.zz-tabs{margin:18px 0}.zz-save{margin:18px 0}.zz-tabs button,.zz-save button{min-height:44px}.zz-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border);padding:13px 0}.zz-toggle span{flex:1}.zz-toggle small{color:var(--muted);font-size:.8rem}.zz-colors{display:grid;grid-template-columns:repeat(7,44px);gap:8px;margin:12px 0}.zz-color{width:44px;height:44px;border:3px solid var(--card);border-radius:50%;box-shadow:0 0 0 1px var(--border);color:white;font-size:22px;cursor:pointer}.zz-color[aria-pressed=true]{box-shadow:0 0 0 3px var(--text)}.zz-time{display:grid;grid-template-columns:1fr 1fr;gap:12px}.zz-preview{margin-top:18px;border:1px dashed var(--border);border-radius:10px;padding:16px}.zz-preview button{color:#fff!important;opacity:1!important}.zz-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:22px;font-weight:700}.zz-profile{color:var(--text);text-decoration:none}.zz-settings .input{font-size:1rem}.zz-settings h2{font-size:1.5rem}.zz-settings h3{font-size:1.15rem}[data-crm-densidade=compacta] .card{padding:10px}[data-crm-densidade=compacta] .tabela td,[data-crm-densidade=compacta] .tabela th{padding:5px 7px}[data-crm-tema=escuro]{--bg:#101722;--card:#18212e;--text:#eef2f7;--muted:#b4bfce;--border:#374357;--erro:#ffa3a3;color-scheme:dark}[data-crm-tema=claro]{color-scheme:light}[data-crm-tema=escuro] .input,[data-crm-tema=escuro] select,[data-crm-tema=escuro] textarea{background:#111a27;color:var(--text);border-color:var(--border)}[data-crm-tema=escuro] .modal,[data-crm-tema=escuro] .popup{background:var(--card);color:var(--text)}[data-crm-tema=escuro] .kanban-col{background:#18212e}[data-crm-tema=escuro] .btn-mini,[data-crm-tema=escuro] .btn-sec{background:var(--primary-soft);color:#e6edf9}[data-crm-tema=escuro] .aviso{color:#f3e8bb;background:#363022}[data-crm-tema=escuro] .aviso-ok{color:#d1fae5;background:#153c31}[data-crm-tema=escuro] .sidenav a.ativo{color:#fff;background:var(--primary-soft)}[data-crm-tema=escuro] a{color:#a9c4ff}@media(max-width:430px){.zz-colors{grid-template-columns:repeat(7,38px);gap:5px}.zz-color{width:38px;height:38px}.zz-tabs{gap:6px}.zz-tabs button{font-size:.82rem;padding:9px}.zz-save .btn,.zz-save .btn-sec{flex:1}.zz-settings{padding:0}.topbar{gap:6px}.topbar .zz-profile span{max-width:85px;overflow:hidden;text-overflow:ellipsis}}

.sidenav{display:flex;flex-direction:column;min-height:calc(100dvh - 57px)}.sidenav .zz-settings-nav{margin-top:auto;display:flex;align-items:center;gap:8px;min-height:48px}.zz-settings-nav span{font-size:22px}@media(max-width:760px){.sidenav{max-height:calc(100dvh - 57px);overflow-y:auto}.topbar .zz-profile{font-size:12px}.topbar .zz-profile img{display:none}}
@media(min-width:761px){.sidenav{position:sticky;top:0;height:calc(100dvh - 59px);min-height:0;align-self:flex-start;overflow-y:auto}}.zz-settings-nav{font-weight:600}.zz-settings-nav span{display:inline-block!important}body .sidenav .zz-settings-nav{flex-shrink:0}
.content{font-size:1rem}.content input,.content select,.content textarea,.content .btn,.content .btn-sec{font-size:1em}.content p,.content label,.content dd,.content dt,.content .card-main,.content .tabela{font-size:1em}.content small,.content .muted{font-size:.8em}.content .card-main small{font-size:.82em}
@media(max-width:430px){.zz-colors{grid-template-columns:repeat(auto-fit,38px)}.topbar-brand{flex-shrink:0}.topbar-user{gap:4px;flex-wrap:wrap;justify-content:flex-end}.topbar{flex-wrap:wrap;height:auto;min-height:53px}}@media(max-width:350px){.topbar{gap:4px}.topbar-brand .logo-mark{width:32px;height:28px}.topbar-user .btn-mini,.topbar-user .btn-visao{padding:5px}.topbar-user .zz-profile span{max-width:42px}}
@media(max-width:350px){.sidenav{top:87px!important;height:calc(100dvh - 87px)!important}.topbar-user{width:100%;justify-content:flex-start}}
.zz-queue-slots{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:16px 0}.zz-queue-slots li{padding:13px 16px;border:1px solid var(--border);border-radius:10px;min-width:145px;flex:1}.zz-queue-slots small,.zz-queue-slots strong{display:block}.zz-queue-slots small{font-size:.75rem;margin-bottom:6px;color:var(--muted)}.zz-queue-slots .zz-queue-next{border:2px solid var(--primary);background:var(--primary-soft)}@media(max-width:430px){.zz-queue-slots li{min-width:110px;padding:12px}.zz-queue{overflow-wrap:anywhere}}
/* Roleta surfaces follow the selected theme, including drag preview. */
.page-roleta .roleta-row{background:var(--card);color:var(--text)}
[data-crm-tema=escuro] .roleta-flutuante{background:var(--card);color:var(--text);border-color:#93b4ff;box-shadow:0 18px 36px #0008}
[data-crm-tema=escuro] .roleta-ghost-peso{background:#24334b;color:#eef2f7}
[data-crm-tema=escuro] .roleta-espaco{background:#1d2e46;color:#bfdbfe;border-color:#93b4ff}
[data-crm-tema=escuro] .roleta-arrastando,[data-crm-tema=escuro] .roleta-destino{background:#24334b;color:var(--text)}
[data-crm-tema=escuro] .roleta-arrastando .roleta-nome{color:#eef2f7}
[data-crm-tema=escuro] .page-roleta button:disabled{opacity:.65;color:#cbd5e1;background:#253143;cursor:not-allowed}
[data-crm-tema=escuro] .page-roleta .btn,[data-crm-tema=escuro] .roleta-ghost-grip,[data-crm-tema=escuro] .roleta-ghost-posicao{color:#fff}
