:root{--bg:#f4f7fc;--surface:#fff;--line:#dbe5f2;--text:#0f172a;--muted:#5f6f88;--brand-navy:#031534;--brand-blue:#0064f6;--brand-cyan:#12a5ff;--ok:#18ad85;--ok-bg:#d8f6ec;--warn:#f3b31f;--warn-bg:#fff2cf;--danger:#f05447;color:var(--text);background:var(--bg);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(90% 140% at 0 0,#eaf2ff 0%,#f7f9fd 54%,#f3f6fa 100%);min-width:320px;margin:0}.auth-page{place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:14px;width:min(420px,100%);padding:28px;display:grid;box-shadow:0 18px 48px #12234224}.auth-card img{object-fit:contain;justify-self:center;width:54px;height:54px}.auth-card h1{font-size:30px}.auth-card p{color:var(--muted);margin:-6px 0 4px}.auth-card label{color:#2b3d5c;gap:6px;font-weight:700;display:grid}.auth-card input{border:1px solid var(--line);color:#10213d;border-radius:10px;height:46px;padding:0 12px;font-size:15px}.auth-error{color:brown;background:#fff1f1;border:1px solid #f1a3a3;border-radius:10px;padding:10px 12px;font-size:14px}.auth-success{color:#0f7f61;background:#ecfbf4;border:1px solid #8cdcc5;border-radius:10px;padding:10px 12px;font-size:14px}.link-btn{color:var(--brand-blue);cursor:pointer;background:0 0;border:none;min-height:36px;font-weight:700}.app-shell{grid-template-columns:228px 1fr;min-height:100vh;display:grid}.app-shell.collapsed{grid-template-columns:92px 1fr}.sidebar{color:#d9e8ff;background:linear-gradient(#021127 0%,#031638 72%,#031231 100%);flex-direction:column;justify-content:flex-start;height:100vh;padding:26px 14px 18px;display:flex;position:sticky;top:0;overflow:hidden}.sidebar-footer{position:absolute;bottom:18px;left:14px;right:14px}.brand{cursor:pointer;align-items:center;gap:10px;margin-bottom:32px;padding:0 8px;display:flex}.brand-icon{background:0 0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.brand-icon img{object-fit:contain;width:100%;height:100%}.brand strong{letter-spacing:.08em;font-size:33px}nav{flex-direction:column;gap:6px;display:flex}nav a{color:#d8e3f7;border:1px solid #0000;border-radius:12px;align-items:center;gap:11px;padding:12px 10px;text-decoration:none;display:flex}nav a.active{background:linear-gradient(95deg,#0060ef,#0c74ff);border-color:#ffffff24}.user-box{border-top:1px solid #ffffff2e;align-items:center;gap:10px;margin-top:28px;padding:18px 10px 12px;display:flex}.avatar{color:#fff;background:#0d6cff;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.user-box span{color:#93a7c8;font-size:13px;display:block}.logout-btn{color:#d9e8ff;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;margin:8px 10px;padding:10px;display:flex}.app-shell.collapsed .brand strong,.app-shell.collapsed nav a span,.app-shell.collapsed .user-box strong,.app-shell.collapsed .user-box span,.app-shell.collapsed .logout-btn{display:none}.app-shell.collapsed .sidebar{align-items:center}.app-shell.collapsed .brand{padding:0}.app-shell.collapsed .user-box{border:0;padding:0}.app-shell.collapsed .sidebar-footer{left:50%;right:auto;transform:translate(-50%)}.main-content{min-width:0;padding:20px 18px 24px}.page-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.title-area{align-items:flex-start;gap:16px;display:flex}.menu-btn{border:1px solid var(--line);background:#fff;border-radius:12px;width:54px;height:54px}h1{margin:0;font-size:34px}.title-area p{color:var(--muted);margin:6px 0 0;font-size:16px}.header-controls{align-items:center;gap:12px;display:flex}.company-picker{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:10px;min-width:380px;height:56px;padding:0 14px;display:flex}.company-picker-logo{border:1px solid var(--line);background:#fff;border-radius:8px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid;overflow:hidden}.company-picker-logo img{object-fit:contain;width:100%;height:100%}.company-picker.loading{background:#f3f8ff;border-color:#8dbdff;position:relative}.company-picker.loading:after{content:"";border:2px solid #b7d3f8;border-top-color:var(--brand-blue);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}.company-picker select{appearance:none;color:#1f2f4b;background:0 0;border:none;outline:none;width:100%;font-size:16px}.company-name{color:#1f2f4b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;font-weight:700;overflow:hidden}.notif-btn,.help-btn{color:#3b4f72;background:0 0;border:none;position:relative}.notif-btn span{background:var(--brand-blue);color:#fff;border-radius:9px;place-items:center;width:18px;height:18px;font-size:11px;display:grid;position:absolute;top:-8px;right:-10px}.toolbar{justify-content:space-between;margin:12px 0;display:flex}.toolbar.left-actions{justify-content:flex-start}.whatsapp-status{border:1px solid var(--line);color:#3f506d;white-space:nowrap;background:#fff;border-radius:10px;align-items:center;gap:8px;height:40px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.whatsapp-status span{border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 3px #0000000a}.whatsapp-status.enabled span{background:#13b981}.whatsapp-status.restricted span{background:#f3b31f}.whatsapp-status.checking span{background:#4d8cf5;animation:1s ease-in-out infinite pulseStatus}.whatsapp-status.disconnected span{background:#e24a4a}@keyframes pulseStatus{0%,to{opacity:.45}50%{opacity:1}}.filtros-disparos{gap:10px;margin:0 0 10px;display:flex}.filtros-disparos input,.filtros-disparos select{border:1px solid var(--line);color:#1f2f4b;background:#fff;border-radius:10px;height:40px;padding:0 12px;font-size:13px}.filtros-disparos input{min-width:300px}.action-buttons{align-items:center;gap:14px;display:flex}.async-status{color:var(--muted);white-space:nowrap;font-size:14px;font-weight:600}.loading-icon{animation:.9s linear infinite loading-spin}@keyframes loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-icon{animation:none}}.primary,.secondary,.ghost-btn,.icon-btn,.trash-btn{cursor:pointer;border-radius:12px;font-weight:600}.primary,.secondary{border:1px solid #0364f5;align-items:center;gap:10px;height:54px;padding:0 22px;display:inline-flex}.primary{color:#fff;background:linear-gradient(100deg,#0054d9,#0b79ff)}.primary:disabled,.secondary:disabled{cursor:not-allowed;opacity:.65}.upload-button:has(input:disabled){cursor:not-allowed;opacity:.65}.secondary{color:#0654c9;background:#fff}.empresa-label{color:#476182;margin:2px 0 10px;font-size:14px}.error-banner{color:var(--danger);background:#ffefed;border:1px solid #ffc8c2;border-radius:10px;margin:0 0 14px;padding:10px 12px}.page-loading{z-index:20;color:#214f83;background:#edf6ff;border:1px solid #9cc8ff;border-radius:12px;gap:3px;margin:0 0 14px;padding:12px 14px;display:grid;position:sticky;top:16px;box-shadow:0 10px 24px #1452961f}.page-loading strong{color:#123b67}.page-loading span{color:#47688e;font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}.info-banner{color:#24507f;background:#edf5ff;border:1px solid #bfdbff;border-radius:10px;margin:0 0 14px;padding:10px 12px;font-size:14px}.toast-wrap{z-index:1200;gap:10px;max-width:min(420px,100vw - 36px);display:grid;position:fixed;bottom:18px;right:18px}.toast{border:1px solid var(--line);color:#1f2f4b;background:#fff;border-radius:10px;padding:11px 13px;font-size:14px;box-shadow:0 10px 26px #0f1e3a26}.toast.success{color:#0f7f61;background:#ecfbf4;border-color:#8cdcc5}.toast.error{color:brown;background:#fff1f1;border-color:#f1a3a3}.toast.info{color:#1f4e8f;background:#eef5ff;border-color:#b9d6ff}.section-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:18px;overflow:hidden}.section-card.orange{border-left:4px solid var(--warn)}.section-card.green{border-left:4px solid var(--ok)}.section-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.section-title-wrap{align-items:center;gap:14px;display:flex}.section-title-wrap h2{margin:0;font-size:24px}.section-title-wrap p{color:var(--muted);margin:5px 0 0;font-size:14px}.section-icon{border:3px solid;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.section-card.orange .section-icon{color:#f2aa0d}.section-card.green .section-icon{color:#18ad85}.chip{border-radius:6px;margin-left:8px;padding:3px 7px;font-size:12px}.chip.orange{color:#fff;background:#ffbe1f}.chip.green{color:#fff;background:#14bf91}.section-actions{gap:10px;display:flex}.pager{justify-content:flex-end;align-items:center;gap:10px;padding:10px 14px 12px;display:flex}.pager span{color:#566b8f;font-size:12px}.ghost-btn,.icon-btn,.trash-btn{border:1px solid var(--line);color:#1962dc;background:#fff}.ghost-btn{height:44px;padding:0 18px}.refresh-btn{justify-content:center;align-items:center;gap:8px;display:inline-flex}.refresh-btn:disabled{cursor:wait;opacity:.7}.view-mode-btn{white-space:nowrap}.view-mode-btn.active{background:#eef5ff;border-color:#9fc6ff}.icon-btn,.trash-btn{width:44px;height:44px}.table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.queue-progress{border-bottom:1px solid var(--line);background:#fffaf0;gap:8px;padding:10px 14px;display:grid}.queue-progress>div:first-child{color:#664a08;justify-content:space-between;gap:12px;font-size:13px;display:flex}.queue-progress-track{background:#ffe8af;border-radius:999px;height:10px;overflow:hidden}.queue-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#f0a400,#0b79ff);min-width:4px;height:100%;transition:width .35s;display:block}table{border-collapse:collapse;table-layout:auto;width:100%;min-width:1460px}th,td{text-align:left;color:#2e4062;white-space:nowrap;text-overflow:clip;border-bottom:1px solid #edf2f8;padding:10px 12px;font-size:13px;overflow:visible}th:first-child,td:first-child{width:70px}th:nth-child(2),td:nth-child(2){width:190px}th:nth-child(3),td:nth-child(3){width:230px}th:nth-child(4),td:nth-child(4){width:150px}th:nth-child(5),td:nth-child(5){white-space:normal;text-overflow:clip;word-break:break-word;width:280px;overflow:visible}th:nth-child(6),td:nth-child(6){width:120px}th:nth-child(7),td:nth-child(7){width:130px}th:nth-child(8),td:nth-child(8){width:90px}th:nth-child(9),td:nth-child(9){width:95px}th:nth-child(10),td:nth-child(10),th:nth-child(11),td:nth-child(11){text-align:center;width:70px}th{color:#566b8f}.msg-col{font-size:16px}.msg-col.clickable{cursor:pointer}.table-loading-cell{text-align:center;color:#566b8f;padding:22px;font-weight:700}.error-row td.erro-true{color:#d93d3d;text-align:center;background:#ffe7e7}.error-row td{background:#fff7f7}.erro-indicator{color:#fff;background:#e24a4a;border-radius:999px;place-items:center;width:20px;height:20px;font-size:13px;font-weight:900;line-height:1;display:inline-grid}.expired-row td{background:#fff1f1;border-top-color:#ffc9c9}.expired-row td:nth-child(8){color:#bf2525;font-weight:700}.pending-func-row td{background:#fff9e8}a{color:#0a67f6;text-decoration:none}.status{border-radius:20px;padding:4px 10px;font-size:12px;font-weight:700}.status.pending{color:#cc7b00;background:var(--warn-bg)}.status.ok{color:#0f9f77;background:var(--ok-bg)}.modal-backdrop{z-index:999;background:#07112473;place-items:center;display:grid;position:fixed;inset:0}.report-box{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:14px;display:grid}.report-box .filtros-disparos,.report-box .info-banner{grid-column:1/-1}.report-box p{background:#f8fbff;border:1px solid #e2ebf8;border-radius:10px;margin:0;padding:12px 14px}.dashboard-empty{place-items:center;min-height:220px;padding:28px;display:grid}.daily-chart{border-top:1px solid var(--line);gap:12px;padding:14px;display:grid}.daily-chart-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.daily-chart-head strong{color:#10213d;font-size:18px}.daily-chart-head span{color:var(--muted);font-size:13px}.daily-line-chart{background:#f8fbff;border:1px solid #e2ebf8;border-radius:10px;min-height:260px;padding:10px;overflow-x:auto}.daily-line-chart svg{width:100%;min-width:720px;height:260px;display:block}.daily-line-chart line{stroke:#c9d8ec;stroke-width:2px}.daily-line-chart polyline{fill:none;stroke:#0b79ff;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.daily-line-chart circle{fill:#18ad85;stroke:#fff;stroke-width:3px}.daily-line-chart text{text-anchor:middle;fill:#4f6384;font-size:20px}.daily-line-chart .chart-value{fill:#10213d;font-weight:700}.daily-line-chart .chart-label{font-size:18px}.cost-summary{border-bottom:1px solid var(--line)}.cost-list{gap:10px;padding:14px;display:grid}.cost-row{border:1px solid #e2ebf8;border-left:4px solid var(--warn);background:#f8fbff;border-radius:10px;grid-template-columns:minmax(180px,1fr) minmax(140px,.7fr) minmax(150px,.45fr);align-items:center;gap:12px;padding:12px 14px;display:grid}.cost-row.em_aberto{border-color:#f7d78b;border-left-color:var(--warn);background:#fffaf0}.cost-row.vencido{border-color:#f3b2ad;border-left-color:var(--danger);background:#fff3f2}.cost-row.pago{border-color:#a8e2cf;border-left-color:var(--ok);background:#f0fbf7}.cost-row strong,.cost-row span,.cost-status{display:block}.cost-row strong{color:#10213d}.cost-row span,.cost-status{color:#5b6d88;font-size:13px}.cost-status{gap:6px;font-weight:700;display:grid}.cost-status select{border:1px solid var(--line);color:#10213d;background:#fff;border-radius:9px;height:38px;padding:0 10px;font-weight:800}.settings-grid{grid-template-columns:minmax(260px,1.2fr) minmax(220px,1fr);gap:12px;padding:14px;display:grid}.settings-panel{background:#f8fbff;border:1px solid #e2ebf8;border-radius:10px;align-content:start;gap:6px;padding:14px;display:grid}.settings-panel span,.settings-panel small{color:#5b6d88;font-size:13px}.settings-panel strong{color:#10213d;font-size:18px}.settings-panel-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.user-profile-panel label{color:#566b8f;gap:5px;font-size:13px;font-weight:700;display:grid}.user-profile-panel input{border:1px solid var(--line);width:100%;min-width:0;height:42px;color:var(--text);font:inherit;background:#fff;border-radius:10px;padding:0 12px}.compact-btn{justify-self:start;min-height:42px;padding:0 14px}.company-profile-panel{grid-template-columns:1fr;gap:14px}.company-profile-main{grid-template-columns:82px minmax(0,1fr);align-items:start;gap:12px;display:grid}.company-profile-details{gap:10px;min-width:0;display:grid}.company-profile-details div{gap:3px;display:grid}.company-profile-details strong{overflow-wrap:anywhere;line-height:1.15}.company-logo-preview{border:1px solid var(--line);background:#fff;border-radius:14px;place-items:center;width:70px;height:70px;display:grid;overflow:hidden}.company-logo-preview img{object-fit:contain;width:100%;height:100%}.settings-upload-panel{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center}.company-upload-inline{border-top:1px solid #e2ebf8;grid-column:auto;padding-top:12px}.settings-upload-title{color:#1f2f4b;align-items:center;gap:10px;display:flex}.settings-upload-title div{gap:3px;display:grid}.upload-button{color:#fff;cursor:pointer;background:linear-gradient(100deg,#0054d9,#0b79ff);border:1px solid #0364f5;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 18px;font-weight:700;display:inline-flex}.upload-button input{display:none}.form-modal{width:min(560px,92vw);max-height:90vh}.group-modal{width:min(980px,100vw - 32px)}.group-modal .modal-body{overflow-x:hidden}.group-modal .filtros-disparos{grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) minmax(150px,.55fr);display:grid}.group-modal .filtros-disparos input,.group-modal .filtros-disparos select{width:100%;min-width:0}.form-modal header{flex-direction:column;align-items:flex-start;gap:4px;padding-right:56px;position:relative}.form-modal header span{margin-top:0}.form-modal header button{margin-left:0;position:absolute;top:12px;right:14px}.form-grid{gap:12px;display:grid}.form-grid label{color:#2b3d5c;gap:6px;font-size:13px;font-weight:600;display:grid}.form-grid input,.form-grid select{border:1px solid var(--line);color:#1f2f4b;background:#fff;border-radius:10px;height:42px;padding:0 12px;font-size:14px}.phone-input-row{grid-template-columns:20px 76px minmax(0,1fr);align-items:center;gap:8px;display:grid}.phone-plus{color:#5b6f91;text-align:center;font-size:18px;font-weight:800}.form-grid .phone-ddi-input{text-align:center}.form-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:6px;margin-bottom:10px;display:grid}.automa-desc{border:1px solid var(--line);color:#5b6d88;background:#f8fbff;border-radius:8px;padding:10px 12px;font-size:13px}.func-checklist{border:1px solid var(--line);border-radius:10px;gap:0;max-height:220px;padding:0;display:grid;overflow:auto}.func-check-head{color:#607392;background:#f8fbff;border-bottom:1px solid #e6edf7;grid-template-columns:1fr 72px;align-items:center;padding:7px 10px;font-size:12px;font-weight:700;display:grid}.func-check-head span:first-child{text-align:left}.func-check-head span:last-child{text-align:center}.select-all-wrap{justify-content:center;align-items:center;gap:6px;display:inline-flex}.func-check-empty{color:#607392;text-align:center;padding:14px 10px;font-size:13px;font-weight:700}.func-check-item{color:#2e4062;white-space:nowrap;grid-template-columns:1fr 72px;align-items:center;column-gap:10px;padding:8px 10px;font-size:14px;font-weight:500;display:grid}.func-check-item span{text-align:left;white-space:nowrap;text-overflow:ellipsis;gap:2px;min-width:0;display:grid;overflow:hidden}.func-check-item span strong,.func-check-item span small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.func-check-item span small{color:#7f92ad;font-size:12px;font-weight:500}.func-check-item:nth-child(odd){background:#fff}.func-check-item:nth-child(2n){background:#f5f7fb}.func-check-item input[type=checkbox]{accent-color:#0b6bff;justify-self:end;width:14px;height:14px;margin:0}.func-check-item em{justify-self:start;margin-left:6px;font-style:normal}.func-check-item.pending-func-item,.func-check-item.pending-func-item:nth-child(odd),.func-check-item.pending-func-item:nth-child(2n){background:#fff6d8}.func-check-item.pending-func-item span strong,.func-check-item.pending-func-item span small{color:#6f4e00}.selected-funcs{border:1px solid var(--line);background:#fbfdff;border-radius:10px;gap:6px;padding:8px 10px;display:grid}.selected-funcs strong{color:#324969;font-size:13px}.selected-funcs-list{color:#496287;gap:0;max-height:120px;font-size:13px;display:grid;overflow:auto}.selected-func-row{grid-template-columns:1fr 72px;align-items:center;gap:8px;padding:7px 8px;display:grid}.selected-func-row span{text-align:left;gap:2px;min-width:0;display:grid}.selected-func-row span strong,.selected-func-row span small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.selected-func-row span small{color:#7f92ad;font-size:12px;font-weight:500}.selected-func-row:nth-child(odd){background:#fff}.selected-func-row:nth-child(2n){background:#f5f7fb}.mini-remove{color:#5f6f88;cursor:pointer;background:#fff;border:1px solid #c8d6eb;border-radius:6px;justify-self:center;width:24px;height:24px;line-height:1}.modal-card{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(720px,92vw);max-height:80vh;overflow:hidden}.modal-card header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 14px;display:flex}.modal-card header span{color:var(--muted);font-size:12px}.modal-card header button{border:1px solid var(--line);background:#fff;border-radius:8px;width:30px;height:30px;margin-left:auto}.modal-body{max-height:calc(80vh - 58px);padding:12px 14px;overflow:auto}.form-modal .modal-body{max-height:calc(90vh - 120px);padding-bottom:22px}.modal-body article{border:1px solid var(--line);border-radius:10px;max-width:76%;margin-bottom:10px;padding:10px 12px}.modal-body article.me{background:#eaf3ff;border-color:#9fc6ff;border-bottom-right-radius:4px;margin-left:auto}.modal-body article.other{background:#eefcf4;border-color:#c8ead8;border-bottom-left-radius:4px;margin-right:auto}.modal-body article small{color:var(--muted);margin-bottom:6px;font-weight:600;display:block}.modal-body article p{margin:0}.terms-backdrop{z-index:1100}.help-backdrop{z-index:1250}.help-modal{width:min(680px,94vw);max-height:86vh}.help-tabs{gap:8px;padding:12px 14px 0;display:flex}.help-tabs button{border:1px solid var(--line);color:#395579;cursor:pointer;background:#fff;border-radius:10px;min-height:38px;padding:0 16px;font-weight:700}.help-tabs button.active{color:#0654c9;background:#eaf3ff;border-color:#0b79ff}.help-content{max-height:calc(86vh - 126px);padding:14px;overflow:auto}.tutorial-status{background:#f8fbff;border:1px solid #d8e6f8;border-radius:10px;gap:4px;margin-bottom:12px;padding:12px;display:grid}.tutorial-status span{color:#0b79ff;text-transform:uppercase;font-size:12px;font-weight:800}.tutorial-status strong{color:#10213d;font-size:18px}.tutorial-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.tutorial-list li{background:#fff;border:1px solid #e2ebf8;border-radius:10px;grid-template-columns:34px 1fr;gap:10px;padding:10px;display:grid}.tutorial-list li.active{background:#eef6ff;border-color:#0b79ff}.tutorial-list li>span{color:#0654c9;background:#edf5ff;border-radius:999px;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.tutorial-list strong,.faq-list strong{color:#10213d}.tutorial-list p,.faq-list p{color:#506785;margin:4px 0 0;line-height:1.35}.faq-list{gap:10px;display:grid}.faq-list article{background:#f8fbff;border:1px solid #e2ebf8;border-radius:10px;padding:12px}.help-actions,.tutorial-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.help-actions{margin-top:14px}.tutorial-active .main-content>:not(.tutorial-highlight),.tutorial-active .main-content section:not(.tutorial-highlight){opacity:.42}.tutorial-highlight{z-index:5;outline-offset:4px;border-radius:12px;outline:3px solid #0b79ff;position:relative;box-shadow:0 14px 40px #0b79ff38;opacity:1!important}.tutorial-popover{z-index:1300;background:#fff;border:1px solid #b7d4ff;border-radius:14px;gap:8px;width:min(420px,100vw - 36px);padding:14px;display:grid;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 50px #0f1e3a3d}.tutorial-popover>span{color:#0b79ff;text-transform:uppercase;font-size:12px;font-weight:800}.tutorial-popover strong{color:#10213d;font-size:18px}.tutorial-popover p{color:#506785;margin:0;line-height:1.4}.terms-modal{gap:14px;width:min(640px,100vw - 28px);max-height:calc(100dvh - 32px);padding:22px;display:grid}.terms-header{border-bottom:0!important;padding:0!important}.terms-header strong{color:#10213d;font-size:28px}.terms-header small{color:var(--muted);margin-top:2px;font-size:13px;display:block}.terms-icon{width:58px;height:58px;color:var(--brand-blue);background:#eef5ff;border-radius:50%;flex:0 0 58px;place-items:center;display:grid}.terms-body{border:1px solid var(--line);border-radius:10px;height:min(50dvh,430px);overflow:hidden}.terms-body iframe{background:#fff;border:0;width:100%;height:100%}.terms-note{color:#1150bc;background:#eef5ff;border:1px solid #b9d6ff;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;font-weight:700;display:flex}.terms-check{color:#10213d;align-items:center;gap:10px;font-size:18px;font-weight:700;display:flex}.terms-check input{width:24px;height:24px}.terms-confirm{justify-content:center;width:min(180px,100%)}@media (width<=1200px){.app-shell{grid-template-columns:92px 1fr}.brand strong,nav a span,.user-box strong,.user-box span,.logout-btn{display:none}.sidebar{align-items:center}.user-box{border:0;padding:0}h1{font-size:30px}.title-area p{font-size:16px}.company-picker{min-width:250px}}@media (width<=900px){.app-shell,.app-shell.collapsed{min-height:100vh;display:block}.sidebar,.app-shell.collapsed .sidebar{z-index:50;height:auto;min-height:unset;align-items:stretch;padding:10px 12px;position:sticky;top:0;overflow:visible}.sidebar>div:first-child{align-items:center;gap:10px;display:flex}.brand,.app-shell.collapsed .brand{flex:none;margin:0;padding:0}.brand-icon{width:38px;height:38px}nav{-webkit-overflow-scrolling:touch;flex-direction:row;flex:auto;gap:6px;min-width:0;padding:2px 0;display:flex;overflow-x:auto}nav a{border-radius:10px;flex:none;justify-content:center;width:42px;height:42px;padding:0}.sidebar-footer,.app-shell.collapsed .sidebar-footer{display:none}.main-content{padding:16px 12px 22px}.page-header{flex-direction:column;align-items:stretch;gap:12px}.header-controls{align-items:stretch;width:100%}.company-picker{flex:auto;min-width:0;height:48px}.notif-btn,.help-btn{border:1px solid var(--line);background:#fff;border-radius:10px;width:44px;min-width:44px;height:48px}h1{font-size:28px;line-height:1.12}.title-area p{font-size:14px}.toolbar,.toolbar.left-actions{display:block}.action-buttons,.filtros-disparos{flex-wrap:wrap;width:100%}.action-buttons>button,.filtros-disparos input,.filtros-disparos select{flex:220px;min-width:0}.primary,.secondary{justify-content:center;height:48px;padding:0 16px}.section-header{flex-direction:column;align-items:flex-start;gap:10px}.section-title-wrap{width:100%}.section-actions{justify-content:flex-end;width:100%}.section-title-wrap h2{font-size:21px}.section-icon{width:42px;min-width:42px;height:42px}table{min-width:980px}th,td{padding:9px 10px;font-size:12px}.pager{justify-content:space-between}.modal-backdrop{align-items:start;padding:10px;overflow:auto}.modal-card,.form-modal{width:min(100%,720px);max-height:calc(100dvh - 20px);margin:0 auto}.group-modal{width:min(100%,860px)}.group-modal .filtros-disparos{grid-template-columns:repeat(2,minmax(0,1fr))}.group-modal .filtros-disparos select{grid-column:1/-1}.modal-body{max-height:calc(100dvh - 92px)}.form-modal .modal-body{max-height:calc(100dvh - 132px)}}@media (width<=560px){.sidebar,.app-shell.collapsed .sidebar{padding:8px}.sidebar>div:first-child{gap:8px}.brand-icon{width:34px;height:34px}nav a{width:38px;height:38px}.main-content{padding:14px 8px 18px}h1{font-size:24px}.header-controls{gap:8px}.company-picker{height:44px;padding:0 10px}.company-picker select,.company-name{font-size:14px}.notif-btn,.help-btn{width:40px;min-width:40px;height:44px}.action-buttons{gap:8px}.action-buttons>button,.filtros-disparos input,.filtros-disparos select{flex-basis:100%}.section-card{border-radius:10px;margin-bottom:12px}.section-header,.report-box,.modal-body{padding:10px}.section-title-wrap{gap:10px}.section-title-wrap h2{font-size:19px}.section-title-wrap p{font-size:13px}.section-actions,.form-actions{grid-template-columns:1fr;display:grid}.cost-row,.settings-grid,.settings-upload-panel{grid-template-columns:1fr}.company-profile-main{grid-template-columns:62px 1fr}.company-logo-preview{width:54px;height:54px}.group-modal .filtros-disparos{grid-template-columns:1fr}.section-actions .ghost-btn,.section-actions .icon-btn,.form-actions button,.help-actions button,.tutorial-actions button{width:100%}.help-modal{width:94vw;max-height:88vh}.help-tabs{grid-template-columns:1fr 1fr;display:grid}.tutorial-popover{width:calc(100vw - 20px);bottom:10px;right:10px}.ghost-btn{height:40px}table{min-width:860px}.modal-card header{align-items:flex-start}.modal-body article{max-width:100%}.func-check-head,.func-check-item,.selected-func-row{grid-template-columns:minmax(0,1fr) 44px}.select-all-wrap{font-size:0}.toast-wrap{max-width:calc(100vw - 16px);bottom:8px;right:8px}}
