@keyframes notifIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (width<=1200px){.grid-sim,.grid-cobrancas{grid-template-columns:1fr}}@media (width<=960px){.grid-2,.grid-form-table{grid-template-columns:1fr}.grid-3-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.grid-3-stats{grid-template-columns:1fr}}@media (width<=1100px){.metrics-grid{grid-template-columns:repeat(3,1fr)}.charts-row{grid-template-columns:1fr}.topbar-search{width:220px}}@media (width<=900px){.sidebar{z-index:100;width:320px;min-width:320px;height:100%;transition:left .25s;position:fixed;top:0;left:-320px}.sidebar.open{left:0}.sidebar-collapse-btn{display:none}.hamburger{justify-content:center;align-items:center;display:flex}.layout-body{width:100%}.metrics-grid{grid-template-columns:repeat(2,1fr)}.stats-row{grid-template-columns:repeat(2,1fr)!important}.topbar-search,.topbar-search-center,.search-shortcut{display:none}.bar-row{grid-template-columns:90px 1fr 36px 90px}}@media (width<=600px){.page-content{gap:14px;padding:16px}.topbar{padding:12px 16px}.topbar-title{font-size:16px}.topbar-subtitle{display:none}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{gap:10px;padding:14px}.metric-value{font-size:18px}.stats-row{gap:10px;grid-template-columns:repeat(2,1fr)!important}.tab-btn{padding:8px 14px;font-size:13px}.table-toolbar{flex-direction:column;align-items:stretch}.search-box{max-width:100%}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.data-table{font-size:13px}.data-table thead th,.data-table tbody td{padding:10px 12px}.bar-row{grid-template-columns:72px 1fr 28px}.bar-revenue,.user-info,.topbar-icon-btn:last-of-type{display:none}}html.dark .card,html.dark .stat-card,html.dark .metric-card{background:#131e30;border-color:#1e2d45}html.dark .metric-value,html.dark .chart-title{color:#f1f5f9}html.dark .badge-dot,html.dark .notif-badge{border-color:#131e30}.dashboard-container{width:100%;padding:28px 32px}.dashboard-header{margin-bottom:24px}.dashboard-header h1{color:#1e293b;margin-bottom:4px;font-size:20px;font-weight:700;line-height:1.3}.dashboard-header p{color:#94a3b8;font-size:13px}.stats-grid{grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px;display:grid}.stat-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;gap:8px;min-height:112px;padding:13px 15px;transition:transform .2s;display:flex;box-shadow:0 1px 2px #0f172a0a}.stat-card:hover{transform:translateY(-2px)}.stat-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.stat-title{color:#8a94a6;font-size:12px;font-weight:500;line-height:1.3}.stat-value{color:#0f172a;font-size:20px;font-weight:700;line-height:1.1}.stat-trend{align-items:center;gap:4px;margin-top:auto;font-size:12px;font-weight:600;display:inline-flex}.stat-trend svg{width:13px;height:13px}.stat-trend.positive{color:#10b981}.stat-trend.negative{color:#ef4444}.stat-icon{color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.stat-icon svg{width:16px;height:16px}.bg-blue{background-color:#2563eb}.bg-green{background-color:#10b981}.bg-purple{background-color:#7c3aed}.bg-orange{background-color:#f59e0b}.bg-red{background-color:#f43f5e}.bg-blue-light{color:#3b82f6;background-color:#eff6ff}.bg-green-light{color:#10b981;background-color:#ecfdf5}.bg-purple-light{color:#8b5cf6;background-color:#f5f3ff}.bg-orange-light{color:#f59e0b;background-color:#fffbeb}.bg-red-light{color:#ef4444;background-color:#fef2f2}.charts-grid-top,.charts-grid-bottom{gap:20px;margin-bottom:20px;display:flex}.chart-card.large{flex:2;min-width:0}.chart-card.small{flex:1;min-width:0}.chart-card.small.donut-card{flex:1.3;min-width:0}.chart-card{background:#fff;border:1px solid #f1f5f9;border-radius:14px;flex-direction:column;padding:22px;display:flex;box-shadow:0 1px 3px #0000000d}.card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.card-header h3{color:#1e293b;font-size:14px;font-weight:600}.export-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;transition:color .15s,background .15s;display:flex}.export-btn:hover{color:#3b82f6;background:#f0f7ff}.chart-area-wrapper{flex:1;height:260px;min-height:260px;display:flex}.chart-y-axis{color:#94a3b8;text-align:right;flex-direction:column;flex-shrink:0;justify-content:space-between;width:44px;padding-bottom:24px;padding-right:10px;font-size:10px;display:flex}.chart-y-axis span{line-height:1;display:block}.chart-inner{flex-direction:column;flex:1;min-width:0;display:flex}.chart-svg-container{border-top:1px solid #f1f5f9;border-bottom:1px solid #e2e8f0;border-left:1px solid #e2e8f0;flex:1;position:relative;overflow:visible}.area-chart{width:100%;height:100%;display:block}.chart-x-labels{justify-content:space-between;height:24px;margin-top:6px;padding:0 2px;display:flex}.chart-x-labels span{color:#94a3b8;font-size:10px}.donut-chart-wrapper{flex-direction:column;flex:1;justify-content:flex-start;align-items:center;gap:10px;padding-top:2px;display:flex}.donut-chart-container{flex-shrink:0;width:200px;height:200px}.donut-chart{border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.donut-center{background:#fff;border-radius:50%;width:130px;height:130px}.donut-legend{grid-template-columns:1fr 1fr;align-content:start;gap:16px 18px;width:100%;display:grid}.donut-legend .legend-item{color:#64748b;align-items:center;gap:8px;font-size:12px;display:flex}.donut-legend .legend-item strong{color:#0f172a;margin-left:auto;font-size:12px;font-weight:700}.donut-legend .dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block}.dot.blue{background:#3b82f6}.dot.purple{background:#8b5cf6}.dot.green{background:#10b981}.dot.orange{background:#f59e0b}.bar-chart-area{flex:1;height:245px;min-height:245px;display:flex}.bar-chart-y-axis{color:#94a3b8;text-align:right;flex-direction:column;flex-shrink:0;justify-content:space-between;width:34px;padding-bottom:28px;padding-right:10px;font-size:10px;display:flex}.bar-chart-y-axis span{line-height:1;display:block}.bar-group{border-top:1px solid #f8fafc;border-bottom:1px solid #e2e8f0;border-left:1px solid #e2e8f0;flex:1;justify-content:space-around;align-items:stretch;gap:4px;padding:0 8px;display:flex;position:relative}.bar-group:before{content:"";z-index:0;pointer-events:none;background-image:repeating-linear-gradient(#e7ebf1 0 1px,#0000 1px 25%),repeating-linear-gradient(90deg,#e9eef5 0 1px,#0000 1px 20%);background-size:100% 100%,100% 100%;position:absolute;inset:0 0 28px}.bar-col{z-index:1;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:0;height:100%;display:flex;position:relative}.bar-pair{flex:none;justify-content:center;align-items:flex-end;gap:3px;width:100%;height:calc(100% - 28px);display:flex}.bar-pair .bar{flex:none;min-height:0}.bar{z-index:2;border-radius:3px 3px 0 0;transition:height .5s;position:relative}.bar.fill-navy{background-color:#1e3a8a}.bar.fill-green{background-color:#10b981}.bar.fill-navy{opacity:.95;width:10px}.bar.fill-green{width:14px}.bar-label{color:#94a3b8;text-align:center;white-space:nowrap;height:24px;margin-top:6px;font-size:9px;line-height:1.3}.chart-legend{flex-shrink:0;justify-content:center;gap:24px;margin-top:12px;display:flex}.chart-legend .legend-item{color:#64748b;align-items:center;gap:6px;font-size:12px;display:flex}.donut-card .card-header,.sellers-card .card-header{margin-bottom:14px}.donut-card .export-btn,.sellers-card .export-btn{font-size:10px}.sellers-card .bar-chart-y-axis{color:#9aa4b2;width:34px;font-size:10px}.sellers-card .bar-group{border-top:none;border-bottom:2px solid #c3ccd8;border-left:2px solid #c3ccd8}.sellers-card .bar-group:before{opacity:.9;background-image:repeating-linear-gradient(#e5eaf1 0 1px,#0000 1px 25%),repeating-linear-gradient(90deg,#e5eaf1 0 1px,#0000 1px 20%)}.sellers-card .bar-pair{gap:12px;max-width:none}.sellers-card .bar-group{gap:12px}.sellers-card .bar.fill-navy{opacity:.95;width:36px}.sellers-card .bar.fill-green{border-radius:4px 4px 0 0;width:36px}.sellers-card .bar-label{color:#9aa4b2;font-size:10px}.sellers-card .chart-legend{margin-top:10px}.sellers-card .chart-legend .legend-item{font-size:12px!important}.sellers-card .chart-legend .legend-item:first-child{color:#1e3a8a}.sellers-card .chart-legend .legend-item:last-child{color:#10b981}.sellers-card .rect{width:12px;height:12px}.rect{border-radius:2px;flex-shrink:0;width:12px;height:12px;display:inline-block}.rect.navy{background-color:#1e3a8a}.rect.green{background-color:#10b981}.quick-access-list{flex-direction:column;gap:4px;display:flex}.quick-access-item{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:14px;width:100%;padding:10px 4px;transition:background .15s;display:flex}.quick-access-item:hover{background:#f8fafc}.quick-icon-box{border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.quick-info{flex-direction:column;gap:2px;display:flex}.quick-title{color:#1e293b;font-size:14px;font-weight:600}.quick-desc{color:#94a3b8;font-size:11px}@media (width<=1280px){.stats-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=960px){.charts-grid-top,.charts-grid-bottom{flex-direction:column}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.dashboard-container{padding:16px}.stats-grid{grid-template-columns:1fr}}html.dark .dashboard-header h1{color:#f1f5f9}html.dark .dashboard-header p{color:#64748b}html.dark .stat-card{background:#131e30;border-color:#1e2d45}html.dark .stat-title{color:#64748b}html.dark .stat-value{color:#f1f5f9}html.dark .chart-card{background:#131e30;border-color:#1e2d45}html.dark .card-header h3{color:#f1f5f9}html.dark .export-btn{color:#64748b}html.dark .export-btn:hover{color:#93c5fd;background:#1e2d45}html.dark .chart-svg-container{border-color:#1e2d45}html.dark .chart-x-labels span,html.dark .chart-y-axis span{color:#64748b}html.dark .bar-group{border-color:#1e2d45}html.dark .bar-chart-y-axis span,html.dark .bar-label{color:#64748b}html.dark .donut-center{background:#131e30}html.dark .donut-legend .legend-item{color:#94a3b8}html.dark .donut-legend .legend-item strong,html.dark .quick-title{color:#f1f5f9}html.dark .quick-desc{color:#64748b}html.dark .quick-access-item:hover{background:#1e2d45}.dash-period-btns{gap:4px;display:flex}.dash-period-btn{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:3px 9px;font-size:11px;font-weight:600;line-height:1.5;transition:all .15s}.dash-period-btn:hover{color:#3b82f6;background:#f0f7ff;border-color:#bfdbfe}.dash-period-btn.active{color:#fff;background:#3b82f6;border-color:#3b82f6}.dash-select{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;padding:5px 10px;font-family:inherit;font-size:12px;font-weight:600;transition:border-color .15s}.dash-select:hover{border-color:#94a3b8}html.dark .dash-select{color:#cbd5e1;background:#1e2d45;border-color:#2d3f5e}.dash-chart-tooltip{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#f1f5f9;pointer-events:none;white-space:nowrap;background:#0f172aeb;border-radius:8px;padding:8px 12px;position:absolute;box-shadow:0 4px 16px #00000038}.dash-tooltip-label{color:#94a3b8;margin-bottom:2px;font-size:11px}.dash-tooltip-value{color:#10b981;font-size:14px;font-weight:700}.dash-dropdown{z-index:30;background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:148px;padding:4px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000001a}.dash-dropdown-item{text-align:left;color:#475569;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:7px 12px;font-size:13px;transition:background .12s;display:block}.dash-dropdown-item:hover{background:#f8fafc}.dash-dropdown-item.active{color:#3b82f6;background:#eff6ff;font-weight:600}html.dark .dash-period-btn{color:#94a3b8;background:#1e2d45;border-color:#2d3f5e}html.dark .dash-period-btn:hover{color:#93c5fd;background:#1e3a6e}html.dark .dash-period-btn.active{color:#fff;background:#3b82f6;border-color:#3b82f6}html.dark .dash-dropdown{background:#1e2d45;border-color:#2d3f5e;box-shadow:0 8px 24px #0006}html.dark .dash-dropdown-item{color:#94a3b8}html.dark .dash-dropdown-item:hover{background:#162336}html.dark .dash-dropdown-item.active{color:#93c5fd;background:#1e3a6e}.fin-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.fin-tabs-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.fin-tabs-row .vg-dropdown-wrap{flex-shrink:0}.btn-visao-geral{color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.btn-visao-geral:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.btn-visao-geral.active{color:#fff;background:#3b82f6;border-color:#3b82f6}.btn-visao-geral svg{flex-shrink:0;width:15px;height:15px}.vg-chevron{margin-left:2px;transition:transform .2s;width:13px!important;height:13px!important}.vg-dropdown-wrap{flex-shrink:0;position:relative}.vg-dropdown-menu{z-index:999;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:1px;min-width:240px;padding:4px;animation:.12s ddIn;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000001a}@keyframes ddIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.vg-dropdown-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:7px;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;transition:background .13s;display:flex}.vg-dropdown-item:hover{background:#f8fafc}.vg-dropdown-item.active{background:#eff6ff}.vg-dropdown-label{color:#1e293b;font-size:13px;font-weight:600}.vg-dropdown-item.active .vg-dropdown-label{color:#3b82f6}.vg-dropdown-desc{color:#94a3b8;font-size:11px}.vg-dropdown-clear{color:#64748b;cursor:pointer;text-align:left;background:0 0;border:none;border-top:1px solid #f1f5f9;border-radius:0 0 7px 7px;margin-top:2px;padding:8px 12px;font-size:12px;transition:color .13s}.vg-dropdown-clear:hover{color:#1e293b}.fin-chart-tooltip{color:#f1f5f9;white-space:nowrap;background:#1e293b;border-radius:8px;min-width:130px;padding:8px 12px;font-size:12px;line-height:1.5;box-shadow:0 4px 16px #0000002e}.fct-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px;font-size:11px;font-weight:600}.fct-value{color:#fff;font-size:14px;font-weight:700}.fct-sub{color:#94a3b8;margin-top:2px;font-size:11px}.vg-dropdown-back{border-bottom:1px solid #e2e8f0;margin-bottom:4px}.vg-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.vg-widget{background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0;overflow:hidden}.vg-span-2{grid-column:span 2}.vg-span-3{grid-column:span 3}.vg-span-4{grid-column:span 4}.vg-kpi-center{flex-direction:column;align-items:center;gap:4px;padding:6px 0;display:flex}.vg-kpi-stacked{flex-direction:column;gap:2px;display:flex}.vg-kpi-big{color:#0f172a;font-size:20px;font-weight:700;line-height:1.2}.vg-kpi-huge{color:#0f172a;font-size:44px;font-weight:700;line-height:1}.vg-kpi-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.4px;font-size:10px;font-weight:600}.vg-kpi-period{color:#94a3b8;font-size:12px}.vg-pos-text{color:#10b981}.vg-neg-text{color:#ef4444}.vg-widget--compact .vg-widget-header{padding:8px 12px 4px}.vg-widget--compact .vg-widget-body{padding:0 12px 8px}.vg-widget--compact .vg-kpi-center{gap:1px;padding:2px 0}.vg-widget--compact .vg-kpi-stacked{gap:1px}.vg-widget--compact .vg-kpi-label{margin-top:4px!important}.vg-mini-list{flex-direction:column;gap:7px;display:flex}.vg-mini-row{color:#475569;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.vg-neg{color:#ef4444;font-weight:600}.vg-empty-state{color:#94a3b8;text-align:center;padding:24px 0;font-size:12px}.vg-conc-list{flex-direction:column;gap:10px;display:flex}.vg-conc-row{color:#475569;align-items:center;gap:8px;font-size:11px;display:flex}.vg-conc-icon{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:11px;font-weight:700;display:inline-flex}.vg-conc-btg{color:#ca8a04;background:#fef9e7}.vg-conc-itau{color:#ef4444;background:#fff0f0}.vg-conc-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.vg-conc-ok{color:#10b981;flex-shrink:0;margin-left:auto}.vg-saldo-table{flex-direction:column;gap:6px;display:flex}.vg-saldo-row{color:#475569;border-bottom:1px solid #f8fafc;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px;display:flex}.vg-saldo-total{border-top:1px solid #e2e8f0;border-bottom:none;margin-top:2px;padding-top:8px}.vg-legend-row{color:#64748b;flex-wrap:wrap;gap:16px;font-size:11px;display:flex}.cob-filter-bar{flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;display:flex}.cob-search-wrap{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex:1;align-items:center;gap:8px;min-width:180px;padding:7px 12px;display:flex}.cob-search-icon{color:#94a3b8;flex-shrink:0;width:14px;height:14px}.cob-search-input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;font-size:13px}.cob-search-input::placeholder{color:#94a3b8}.cob-select{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;outline:none;min-width:140px;padding:7px 12px;font-size:13px}.cob-select:focus{border-color:#3b82f6}.cob-export-btn{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .15s;display:inline-flex}.cob-export-btn:hover{color:#3b82f6;background:#eff6ff;border-color:#3b82f6}.cob-nova-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:8px;flex-shrink:0;align-items:center;gap:7px;padding:8px 18px;font-size:13px;font-weight:700;transition:background .15s;display:inline-flex}.cob-nova-btn:hover{background:#1d4ed8}.cob-table{overflow:visible}.cob-table-header,.cob-table-row{grid-template-columns:200px 1fr 110px 88px 120px 110px 120px 140px;align-items:center;padding:0 20px;display:grid}.cob-table-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding-top:10px;padding-bottom:10px}.cob-table-header span{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.cob-table-row{border-bottom:1px solid #f1f5f9;padding-top:14px;padding-bottom:14px;transition:background .1s}.cob-table-row:last-child{border-bottom:none}.cob-table-row:hover{background:#fafbff}.cob-col-client{align-items:center;gap:10px;min-width:0;display:flex}.cob-initials{color:#475569;background:#f1f5f9;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:flex}.cob-client-info{flex-direction:column;gap:2px;min-width:0;display:flex}.cob-client-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.cob-client-email{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.cob-col-desc{min-width:0;padding-right:16px}.cob-desc-text{color:#475569;white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.cob-col-valor{align-items:center;gap:5px;display:flex}.cob-valor-icon{color:#10b981;flex-shrink:0;width:13px;height:13px}.cob-valor-text{color:#10b981;white-space:nowrap;font-size:14px;font-weight:700}.cob-badge-tipo{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:4px 12px;font-size:11px;font-weight:700;display:inline-flex}.cob-badge-assinatura{color:#fff;background:#1e40af}.cob-badge-avulsa{color:#fff;background:#6d28d9}.cob-col-venc{flex-direction:column;gap:1px;display:flex}.cob-venc-date{color:#1e293b;align-items:center;gap:5px;font-size:13px;font-weight:600;display:flex}.cob-badge-faturado,.cob-badge-nao-faturado{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:4px 12px;font-size:11px;font-weight:600;display:inline-flex}.cob-badge-faturado{color:#16a34a;background:#dcfce7}.cob-badge-nao-faturado{color:#a16207;background:#fef9c3}.cob-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.cob-action-btn{color:#94a3b8;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;font-size:13px;transition:all .12s;display:inline-flex}.cob-action-btn svg{width:15px;height:15px}.cob-action-btn:hover{color:#475569;background:#f1f5f9}.cob-action-btn.cob-action-danger:hover{color:#dc2626;background:#fee2e2}.cob-action-btn.cob-action-confirm:hover{color:#16a34a;background:#dcfce7}.cob-action-btn.cob-action-primary{color:#1e40af}.cob-action-btn.cob-action-primary:hover{color:#1d4ed8;background:#dbeafe}.cob-action-btn.cob-action-chevron{color:#64748b}.cob-action-btn.cob-action-whatsapp:hover{color:#16a34a;background:#dcfce7}.cob-action-btn.cob-action-paylink{color:#3b82f6;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.cob-action-btn.cob-action-paylink:hover{color:#1d4ed8;background:#eff6ff}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cob-autocomplete-list{z-index:200;background:#fff;border:1px solid #e2e8f0;border-radius:8px;max-height:220px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden auto;box-shadow:0 8px 24px #0000001f}.cob-autocomplete-item{cursor:pointer;color:#1e293b;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:9px 12px;font-size:13px;display:flex}.cob-autocomplete-item:hover{background:#f1f5f9}.cob-autocomplete-phone{color:#64748b;font-size:11px}.cob-dropdown-wrap{position:relative}.cob-dropdown-menu{z-index:1100;background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:200px;padding:4px 0;position:fixed;overflow:hidden;box-shadow:0 8px 24px #00000021}.cob-dropdown-item{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;width:100%;padding:10px 16px;font-size:13px;font-weight:500;transition:background .1s;display:block}.cob-modal-overlay{z-index:200;background:#0f172a59;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.cob-modal{background:#fff;border-radius:16px;width:100%;max-width:480px;overflow:hidden;box-shadow:0 20px 48px #00000029}.cob-modal-wide{max-width:680px}.cob-form-group{flex-direction:column;gap:6px;display:flex}.cob-form-label{color:#1e293b;font-size:13px;font-weight:600}.cob-form-input,.cob-form-select{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:13px;transition:border-color .15s}.cob-form-input:focus,.cob-form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.cob-form-input::placeholder{color:#94a3b8}.cob-form-check{color:#475569;cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.cob-form-check input[type=checkbox]{accent-color:#2563eb;cursor:pointer;flex-shrink:0;width:15px;height:15px}.cob-form-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.cob-form-btn-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:9px 20px;font-size:13px;font-weight:600;transition:all .15s}.cob-form-btn-cancel:hover{background:#f8fafc;border-color:#cbd5e1}.cob-form-btn-create{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:9px 22px;font-size:13px;font-weight:700;transition:background .15s}.cob-form-btn-create:hover:not(:disabled){background:#1d4ed8}.cob-form-btn-create:disabled{opacity:.5;cursor:not-allowed}.vg-adv-filter{flex-wrap:nowrap;align-items:center;gap:5px;display:flex}.vg-adv-tabs{background:#f1f5f9;border-radius:7px;gap:1px;padding:2px;display:flex}.vg-adv-tab{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:5px;padding:2px 9px;font-size:11px;font-weight:500;transition:background .15s,color .15s,box-shadow .15s}.vg-adv-tab.active{color:#1e293b;background:#fff;font-weight:700;box-shadow:0 1px 3px #00000014}.vg-adv-select{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;padding:2px 6px;font-family:inherit;font-size:11px}.vg-adv-select:hover{border-color:#94a3b8}.vg-period-select{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;padding:4px 8px;font-family:inherit;font-size:11px;font-weight:600}.vg-period-select:hover{border-color:#94a3b8}.vg-chart-filter{background:#f1f5f9;border-radius:8px;gap:2px;padding:3px;display:flex}.vg-cf-btn{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;padding:3px 10px;font-size:11px;font-weight:500;transition:background .15s,color .15s}.vg-cf-btn:hover{color:#1e293b;background:#e2e8f0}.vg-cf-btn.active{color:#1e293b;background:#fff;font-weight:700;box-shadow:0 1px 3px #0000001a}.vg-tooltip{color:#fff;pointer-events:none;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172aeb;border-radius:8px;min-width:120px;padding:8px 12px;position:absolute;box-shadow:0 4px 16px #0000002e}.vg-tooltip-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px;font-size:11px;font-weight:600}.vg-tooltip-value{color:#fff;font-size:13px;font-weight:700}.vg-widget-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 10px;display:flex}.vg-widget-title{color:#64748b;font-size:12px;font-weight:600;line-height:1.3}.vg-widget-info{color:#cbd5e1;cursor:help;flex-shrink:0;font-size:11px}.vg-widget-body{padding:0 16px 14px;position:relative}.cob-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 16px;display:flex}.cob-modal-title{color:#1e293b;margin-bottom:3px;font-size:17px;font-weight:700}.cob-modal-subtitle{color:#94a3b8;font-size:12px}.cob-modal-close{color:#94a3b8;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;transition:all .12s;display:inline-flex}.cob-modal-close svg{width:16px;height:16px}.cob-modal-close:hover{color:#475569;background:#f1f5f9}.cob-modal-body{flex-direction:column;gap:18px;padding:20px 24px;display:flex}.cob-modal-row-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.cob-modal-label{color:#64748b;margin-bottom:4px;font-size:12px;font-weight:600}.cob-modal-value{color:#1e293b;font-size:14px;font-weight:600}.cob-modal-email{color:#94a3b8;margin-top:2px;font-size:12px}.cob-modal-desc{color:#475569;font-size:13px;line-height:1.6}.cob-modal-valor{color:#10b981;font-size:18px;font-weight:700}.cob-modal-link{color:#3b82f6;word-break:break-all;font-size:13px;text-decoration:none}.cob-modal-link:hover{text-decoration:underline}.cobrancas-summary-grid{gap:14px}.cobranca-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;min-height:0;padding:18px;display:flex}.cobranca-kpi-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.cobranca-kpi-icon svg{width:20px;height:20px}.cobranca-kpi-icon.tone-recebido{color:#10b981;background:#dff5ea}.cobranca-kpi-icon.tone-receber{color:#f59e0b;background:#fef4dc}.cobranca-kpi-icon.tone-atraso{color:#ef4444;background:#fee8e8}.cobranca-kpi-content{flex-direction:column;gap:3px;display:flex}.cobranca-kpi-label{color:#94a3b8;font-size:12px;font-weight:500;line-height:1.2}.cobranca-kpi-value{color:#0f172a;font-size:22px;font-weight:700;line-height:1}.cobrancas-status-card{min-width:320px}.cobrancas-status-title{margin-bottom:12px}.cobrancas-status-content{flex-direction:column;align-items:center;gap:14px;display:flex}.cobrancas-donut-svg{flex-shrink:0;width:170px;height:170px}.cobrancas-status-legend{flex-direction:column;gap:10px;width:100%;display:flex}.cobrancas-status-row{justify-content:space-between;align-items:center;font-size:15px;display:flex}.cobrancas-status-label{color:#64748b;align-items:center;gap:10px;display:flex}.cobrancas-status-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px;display:inline-block}.cobrancas-status-count{color:#0f172a;font-weight:700}.cobranca-row-actions{justify-content:center;align-items:center;gap:10px;display:flex}.cobranca-action-btn{color:#6b7280;background:0 0;border:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.cobranca-action-btn svg{width:14px;height:14px}.cobranca-action-btn:hover{color:#334155}.financeiro-dashboard-contratos{gap:16px;position:relative}.contratos-filter-card{z-index:40;background:#f8fafc;border:1px solid #d9e2ec;border-radius:14px;padding:18px;position:relative;overflow:visible}.contratos-filter-title{color:#1e293b;margin-bottom:14px;font-size:17px;font-weight:700;line-height:1.2}.contratos-filter-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.contratos-filter-grid.top{margin-bottom:12px}.contratos-filter-group{flex-direction:column;gap:8px;display:flex}.contratos-filter-group label{color:#475569;font-size:13px;font-weight:600}.contratos-filter-group input{color:#374151;background:#fff;border:1px solid #c6d0dd;border-radius:8px;width:100%;height:40px;padding:0 12px;font-size:13px}.contratos-filter-group input:focus{border-color:#95a7c3;outline:none;box-shadow:0 0 0 3px #54668124}.financeiro-multiselect{z-index:1;position:relative}.financeiro-multiselect.open{z-index:90}.financeiro-multiselect-trigger{color:#374151;text-align:left;background:#fff;border:1px solid #c6d0dd;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 12px;font-size:13px;display:flex}.financeiro-multiselect-trigger.is-placeholder{color:#9aa4b2}.financeiro-multiselect-trigger:focus{border-color:#95a7c3;outline:none;box-shadow:0 0 0 3px #54668124}.financeiro-multiselect-caret{color:#6b7280;font-size:12px;line-height:1;transition:transform .2s}.financeiro-multiselect-caret.open{transform:rotate(180deg)}.financeiro-multiselect-menu{z-index:120;background:#fff;border:1px solid #d6deea;border-radius:10px;flex-direction:column;gap:6px;max-height:200px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 24px #0f172a1f}.financeiro-multiselect-clear{color:#334155;text-align:left;background:#f8fafc;border:0;border-radius:7px;padding:8px 10px;font-size:12px;font-weight:600}.financeiro-multiselect-option{color:#1f2937;border-radius:7px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.financeiro-multiselect-option:hover{background:#f1f5f9}.financeiro-multiselect-option input{accent-color:#3f3b61;width:14px;height:14px}.contratos-filter-actions{justify-content:center;margin-top:16px;display:flex}.contratos-apply-btn{color:#fff;background:#3f3b61;border:0;border-radius:10px;min-width:132px;height:38px;padding:0 18px;font-size:14px;font-weight:600;transition:transform .15s,background .15s}.contratos-apply-btn:hover{background:#332f50;transform:translateY(-1px)}.contratos-chart-card,.contratos-table-card{z-index:1;border:1px solid #d9e2ec;border-radius:12px;padding:14px 12px;position:relative}.contratos-section-title{color:#1e293b;margin-bottom:4px;padding:0 8px;font-size:16px;font-weight:700}.contratos-chart-wrap{margin-top:6px}.contratos-chart-svg{width:100%;height:360px;display:block}.contratos-plot-bg{fill:#f5f6f8;stroke:#d9dee7;stroke-width:1px}.contratos-grid-line{stroke:#d5dbe5;stroke-width:1px}.contratos-grid-line.vertical{stroke:#dde2eb}.contratos-axis-line{stroke:#bcc6d5;stroke-width:1.2px}.contratos-grid-label{fill:#7a8699;font-size:11px;font-weight:500}.contratos-bar-ativos{fill:#334a96}.contratos-bar-encerrados{fill:#ef4444}.contratos-x-label{fill:#6b7280;font-size:10px;font-weight:600}.contratos-axis-title{fill:#6b7280;font-size:11px;font-weight:600}.contratos-chart-legend{color:#334155;justify-content:center;align-items:center;gap:20px;margin-top:4px;margin-bottom:4px;font-size:13px;display:flex}.contratos-legend-item{align-items:center;gap:8px;display:inline-flex}.contratos-legend-dot{border-radius:999px;width:9px;height:9px;display:inline-block}.contratos-legend-dot.ativos{background:#334a96}.contratos-legend-dot.encerrados{background:#ef4444}.contratos-chart-empty,.contratos-table-empty{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:14px;font-size:13px}.contratos-table-wrap{margin-top:6px;overflow-x:auto}.contratos-table th{text-transform:none;letter-spacing:0;color:#111827;background:#f4f6f9;font-size:13px}.contratos-table td{color:#1f2937;font-size:14px}.contratos-table th:nth-child(2),.contratos-table th:nth-child(3),.contratos-table td:nth-child(2),.contratos-table td:nth-child(3){text-align:center}.contratos-table-group-row td{background:#eceff4;font-weight:700}.contratos-table-group-cell{align-items:center;gap:10px;display:flex}.contratos-table-arrow{justify-content:center;align-items:center;width:12px;height:12px;font-size:10px;font-weight:700;display:inline-flex}.contratos-table-plan{padding-left:32px!important}.contratos-table-total-row td{background:#f8fafc;font-style:italic;font-weight:700}@media (width<=960px){.contratos-filter-grid{grid-template-columns:1fr;gap:12px}.contratos-section-title{font-size:15px}.contratos-chart-legend{flex-wrap:wrap;gap:14px;font-size:12px}.contratos-chart-svg{height:300px}.contratos-table th,.contratos-table td{font-size:13px}}@media (width<=600px){.contratos-filter-card{padding:14px 12px}.contratos-filter-title{font-size:15px}.contratos-filter-group label{font-size:12px}.contratos-section-title{font-size:14px}.contratos-chart-svg{height:260px}.contratos-chart-legend{font-size:11px}.contratos-table th,.contratos-table td{font-size:12px}}html.dark .vg-widget{background:#131e30;border-color:#1e2d45}html.dark .vg-widget-title{color:#94a3b8}html.dark .vg-kpi-big,html.dark .vg-kpi-huge{color:#f1f5f9}html.dark .vg-kpi-label,html.dark .vg-kpi-period{color:#64748b}html.dark .vg-mini-row,html.dark .vg-saldo-row{border-color:#1e2d45}html.dark .vg-saldo-row span:last-child{color:#f1f5f9}html.dark .vg-legend-row span{color:#94a3b8}html.dark .vg-dropdown-menu{background:#131e30;border-color:#1e2d45;box-shadow:0 8px 24px #0006}html.dark .vg-dropdown-item:hover{background:#1e2d45}html.dark .vg-dropdown-item.active{background:#1a2d4a}html.dark .vg-dropdown-label{color:#e2e8f0}html.dark .vg-dropdown-item.active .vg-dropdown-label{color:#93c5fd}html.dark .vg-dropdown-desc{color:#64748b}html.dark .vg-dropdown-clear{color:#64748b;border-color:#1e2d45}html.dark .vg-dropdown-clear:hover{color:#e2e8f0}html.dark .vg-adv-tabs{background:#0d1827}html.dark .vg-adv-tab.active{color:#f1f5f9;background:#1e2d45}html.dark .vg-adv-select,html.dark .vg-period-select{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .vg-chart-filter{background:#0d1827}html.dark .vg-cf-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .vg-cf-btn.active{color:#f1f5f9;box-shadow:none;background:#1e2d45}html.dark .cob-filter-bar{background:#131e30}html.dark .cob-search-wrap{background:#0d1827;border-color:#1e2d45}html.dark .cob-search-input{color:#e2e8f0}html.dark .cob-search-input::placeholder{color:#475569}html.dark .cob-search-icon{color:#64748b}html.dark .cob-select{color:#94a3b8;background:#0d1827;border-color:#1e2d45}html.dark .cob-export-btn{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .cob-export-btn:hover{color:#93c5fd;background:#1a2d4a;border-color:#3b82f6}html.dark .cob-table-header{background:#0d1827;border-color:#1e2d45}html.dark .cob-table-header span{color:#64748b}html.dark .cob-table-row{border-color:#1a2740}html.dark .cob-table-row:hover{background:#162032}html.dark .cob-client-name{color:#f1f5f9}html.dark .cob-client-email{color:#64748b}html.dark .cob-venc-date,html.dark .cob-desc-text{color:#94a3b8}html.dark .cob-valor-text{color:#f1f5f9}html.dark .cob-action-btn{color:#64748b;background:#0d1827;border-color:#1e2d45}html.dark .cob-action-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .cob-modal{background:#131e30}html.dark .cob-modal-header{border-color:#1e2d45}html.dark .cob-modal-title{color:#f1f5f9}html.dark .cob-modal-subtitle{color:#64748b}html.dark .cob-modal-close:hover{color:#94a3b8;background:#1e2d45}html.dark .cob-modal-label{color:#64748b}html.dark .cob-modal-value{color:#f1f5f9}html.dark .cob-modal-email{color:#64748b}html.dark .cob-modal-desc{color:#94a3b8}html.dark .cob-modal-body{background:#131e30}html.dark .cob-form-label{color:#94a3b8}html.dark .cob-form-input,html.dark .cob-form-select{color:#e2e8f0;background:#0d1827;border-color:#1e2d45}html.dark .cob-form-input::placeholder{color:#475569}html.dark .cob-form-input:focus,html.dark .cob-form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}html.dark .cob-form-btn-cancel{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .cob-form-btn-cancel:hover{background:#1e2d45;border-color:#334155}html.dark .cob-form-check{color:#94a3b8}html.dark .cobranca-kpi-card{background:#131e30;border-color:#1e2d45}html.dark .cobranca-kpi-value{color:#f1f5f9}html.dark .cobranca-kpi-label{color:#64748b}html.dark .cobranca-kpi-icon.tone-recebido{color:#10b981;background:#0d2e1f}html.dark .cobranca-kpi-icon.tone-receber{color:#f59e0b;background:#2d2000}html.dark .cobranca-kpi-icon.tone-atraso{color:#ef4444;background:#2d0f0f}html.dark .btn-visao-geral{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .btn-visao-geral:hover{color:#e2e8f0;background:#1e2d45}html.dark .contratos-chart-card,html.dark .contratos-table-card{background:#131e30;border-color:#1e2d45}html.dark .contratos-section-title{color:#f1f5f9}html.dark .contratos-plot-bg{fill:#0f1a2b;stroke:#1e2d45}html.dark .contratos-grid-line{stroke:#1e2d45}html.dark .contratos-axis-line{stroke:#2d3f56}html.dark .contratos-grid-label,html.dark .contratos-x-label,html.dark .contratos-axis-title{fill:#64748b}html.dark .contratos-chart-legend{color:#94a3b8}html.dark .contratos-filter-card{background:#0d1827;border-color:#1e2d45}html.dark .contratos-filter-title{color:#f1f5f9}html.dark .contratos-filter-group label{color:#94a3b8}html.dark .contratos-filter-group input{color:#e2e8f0;background:#131e30;border-color:#1e2d45}html.dark .contratos-filter-group input:focus{border-color:#3b5bdb;box-shadow:0 0 0 3px #3b5bdb2e}html.dark .financeiro-multiselect-trigger{color:#e2e8f0;background:#131e30;border-color:#1e2d45}html.dark .financeiro-multiselect-trigger.is-placeholder{color:#475569}html.dark .financeiro-multiselect-trigger:focus{border-color:#3b5bdb;box-shadow:0 0 0 3px #3b5bdb2e}html.dark .financeiro-multiselect-menu{background:#131e30;border-color:#1e2d45;box-shadow:0 12px 24px #0006}html.dark .financeiro-multiselect-clear{color:#94a3b8;background:#1e2d45}html.dark .financeiro-multiselect-option{color:#e2e8f0}html.dark .financeiro-multiselect-option:hover{background:#1e2d45}html.dark .financeiro-multiselect-caret{color:#64748b}html.dark .contratos-table th{color:#94a3b8;background:#0d1827}html.dark .contratos-table td{color:#e2e8f0}html.dark .contratos-table-group-row td{color:#f1f5f9;background:#182538}html.dark .contratos-table-total-row td{color:#cbd5e1;background:#0f1a2b}html.dark .contratos-chart-empty,html.dark .contratos-table-empty{color:#64748b;background:#0d1827;border-color:#1e2d45}.toast-container{z-index:9999;pointer-events:none;flex-direction:column;gap:10px;display:flex;position:fixed;bottom:24px;right:24px}.toast{pointer-events:all;background:#fff;border-left:4px solid #0000;border-radius:10px;align-items:center;gap:10px;min-width:280px;max-width:400px;padding:12px 14px;animation:.32s cubic-bezier(.22,1,.36,1) both toastIn;display:flex;box-shadow:0 4px 20px #0000001f,0 1px 4px #0000000f}.toast-out{animation:.32s forwards toastOut}.toast-success{border-left-color:#22c55e}.toast-error{border-left-color:#ef4444}.toast-warning{border-left-color:#f59e0b}.toast-info{border-left-color:#3b82f6}.toast-icon-wrap{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.toast-icon-success{color:#16a34a;background:#dcfce7}.toast-icon-error{color:#dc2626;background:#fee2e2}.toast-icon-warning{color:#d97706;background:#fef3c7}.toast-icon-info{color:#2563eb;background:#dbeafe}.toast-icon{width:15px;height:15px}.toast-message{color:#1e293b;flex:1;font-size:13px;font-weight:500;line-height:1.4}.toast-close{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:2px;transition:color .15s;display:flex}.toast-close:hover{color:#475569}@keyframes toastIn{0%{opacity:0;transform:translate(40px)scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes toastOut{0%{opacity:1;transform:translate(0)scale(1)}to{opacity:0;transform:translate(40px)scale(.95)}}.geral-page{gap:12px}.geral-page-header{margin-bottom:2px}.geral-page-title{color:#1e293b;margin-bottom:4px;font-size:22px;font-weight:700;line-height:1.3}.geral-page-subtitle{color:#94a3b8;font-size:13px;font-weight:500}.geral-stats-row{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.geral-stat-card{background:#fff;border:1px solid #e6ebf2;border-radius:12px;flex-direction:column;gap:6px;min-height:82px;padding:10px 12px;display:flex}.geral-stat-top{justify-content:flex-start;align-items:center;gap:8px;display:flex}.geral-stat-label{color:#8a96a8;font-size:13px;font-weight:600}.geral-stat-icon-box{border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:21px;height:21px;display:flex}.geral-stat-icon-box svg{width:13px;height:13px}.geral-stat-num{color:#0f172a;font-size:22px;font-weight:700;line-height:1.1}.geral-stat-card.tone-blue .geral-stat-icon-box{color:#3b82f6;background:#eaf1ff}.geral-stat-card.tone-green .geral-stat-icon-box{color:#16a34a;background:#e7f9ef}.geral-stat-card.tone-yellow .geral-stat-icon-box{color:#ca8a04;background:#fff6dd}.geral-stat-card.tone-gray .geral-stat-icon-box{color:#7b8698;background:#eef2f7}.geral-page .table-toolbar{gap:10px}.geral-page .search-box{border:1px solid #e5eaf1;border-radius:10px;max-width:460px;height:40px;padding:8px 12px}.geral-page .search-box svg{width:16px;height:16px}.geral-page .search-box input{font-size:13px}.geral-page .btn-outline{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;height:38px;padding:0 14px;font-size:13px;font-weight:600}.geral-page .btn-primary{background:#1f4f95;border-radius:10px;height:38px;padding:0 16px;font-size:13px;font-weight:700}.geral-page .btn-outline svg,.geral-page .btn-primary svg{width:15px;height:15px}.geral-page .btn-primary:hover{background:#1b4380}.geral-table-card{border-color:#e5eaf1}.geral-table thead th{text-transform:none;letter-spacing:0;color:#9aa5b5;background:#f8fafc;padding:10px;font-size:11px;font-weight:700}.geral-table tbody td{padding:9px 10px}.geral-table .cell-primary{color:#2f3b4f;font-size:13px;font-weight:600}.geral-table .cell-secondary{color:#9aa5b5;margin-top:1px;font-size:11px}.geral-table .cell-value{font-size:14px}.company-icon-building{color:#4f6fb3;background:#eef4ff;border:1px solid #dbe7ff;border-radius:8px;width:26px;height:26px}.company-icon-building svg{width:15px;height:15px}.geral-table .badge{padding:2px 8px;font-size:11px}.geral-table .status-badge{padding:4px 10px;font-size:12px}.geral-row-actions{justify-content:flex-end;align-items:center;gap:6px}.geral-row-actions .action-btn{color:#94a3b8;background:0 0;border:0;width:24px;height:24px}.geral-row-actions .action-btn svg{width:14px;height:14px}.geral-row-actions .action-btn:hover,.geral-row-actions .action-btn-danger:hover{color:#64748b;background:#eef2f7;border:0}.status-link-btn{color:#3b82f6;background:0 0;border:0;padding:0;font-size:12px;font-weight:700}.status-link-btn:hover{color:#2563eb}.lote-card{overflow:visible}.lote-header{border-bottom:1px solid #f1f5f9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.lote-title{color:#1e293b;font-size:14px;font-weight:700}.lote-desc{color:#94a3b8;margin-top:2px;font-size:12px}.lote-controls{align-items:center;gap:8px;display:flex}.lote-select{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;outline:none;padding:7px 10px;font-size:13px}.lote-select:focus{border-color:#93c5fd;box-shadow:0 0 0 2px #3b82f61a}.summary-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.summary-card{padding:20px}.summary-title{color:#1e293b;margin-bottom:14px;font-size:14px;font-weight:700}.summary-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:9px 0;font-size:12px;display:flex}.summary-row:last-child{border-bottom:none}.summary-key{color:#475569}.summary-val{color:#1e293b;font-weight:600}@media (width<=900px){.geral-stats-row,.summary-grid{grid-template-columns:repeat(2,1fr)}.lote-header{flex-direction:column;align-items:flex-start}.lote-controls{flex-wrap:wrap;width:100%}.lote-select{flex:1}.geral-page-title{font-size:20px}}@media (width<=600px){.geral-stats-row{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}.geral-page-title{font-size:18px}.geral-stat-num{font-size:20px}}html.dark .geral-page-title{color:#f1f5f9}html.dark .geral-page-subtitle{color:#64748b}html.dark .geral-stat-card{background:#131e30;border-color:#1e2d45}html.dark .geral-stat-label{color:#94a3b8}html.dark .geral-stat-num{color:inherit}html.dark .lote-title{color:#f1f5f9}html.dark .lote-desc{color:#64748b}html.dark .lote-select{color:#e2e8f0;background:#0d1827;border-color:#1e2d45}html.dark .lote-header{border-color:#1e2d45}html.dark .summary-title{color:#f1f5f9}html.dark .summary-key{color:#94a3b8}html.dark .summary-val{color:#f1f5f9}html.dark .summary-row{border-color:#1e2d45}.geral-row-actions{align-items:center;display:flex;position:relative}.cob-dropdown-backdrop{z-index:99;position:fixed;inset:0}.cob-dropdown-menu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:180px;padding:4px 0;position:fixed;box-shadow:0 8px 24px #0000001f}.cob-dropdown-item{cursor:pointer;color:#334155;text-align:left;background:0 0;border:none;align-items:center;width:100%;padding:10px 16px;font-size:13.5px;transition:background .12s;display:flex}.cob-dropdown-item:hover{color:#1e293b;background:#f8fafc}html.dark .cob-dropdown-menu{background:#131e30;border-color:#1e2d45;box-shadow:0 8px 24px #0006}html.dark .cob-dropdown-item{color:#94a3b8}html.dark .cob-dropdown-item:hover{color:#e2e8f0;background:#1e2d45}.geral-actions-trigger{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:background .12s,color .12s;display:flex}.geral-actions-trigger:hover,.geral-actions-trigger[data-active=true]{color:#334155;background:#f1f5f9}.doc-suggestion-box{z-index:200;background:#fff;border:1px solid #bfdbfe;border-radius:10px;position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;box-shadow:0 8px 24px #3b82f621}.doc-suggestion-header{color:#3b82f6;letter-spacing:.3px;text-transform:uppercase;background:#eff6ff;border-bottom:1px solid #bfdbfe;padding:7px 14px;font-size:11px;font-weight:600}.doc-suggestion-item{cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;width:100%;padding:12px 14px;transition:background .12s;display:flex}.doc-suggestion-item:hover{background:#f0f7ff}.doc-suggestion-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.doc-suggestion-sub{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:12px;overflow:hidden}html.dark .doc-suggestion-box{background:#131e30;border-color:#1e3a5f;box-shadow:0 8px 24px #0006}html.dark .doc-suggestion-header{color:#60a5fa;background:#0f2748;border-color:#1e3a5f}html.dark .doc-suggestion-item:hover{background:#0f2748}html.dark .doc-suggestion-name{color:#f1f5f9}html.dark .doc-suggestion-sub{color:#64748b}.grupo-card{padding:0;overflow:hidden}.grupo-header{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:14px;padding:16px 20px;transition:background .15s;display:flex}.grupo-header:hover{background:#f8fafc}.grupo-icon-wrap{color:#7c3aed;background:linear-gradient(135deg,#ede9fe,#ddd6fe);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.grupo-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.grupo-owner{color:#64748b;margin-top:2px;font-size:12px}.grupo-actions{align-items:center;gap:6px;display:flex}.grupo-btn{cursor:pointer;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:inline-flex}.grupo-btn:hover{color:#1e293b;background:#f1f5f9}.grupo-btn-danger:hover{color:#ef4444;background:#fef2f2;border-color:#fca5a5}.grupo-members{border-top:1px solid #f1f5f9;padding:0 0 8px}.grupo-consolidated-notice{color:#6d28d9;background:linear-gradient(135deg,#faf5ff,#ede9fe);border-bottom:1px solid #ede9fe;align-items:center;gap:7px;padding:10px 20px;font-size:12.5px;display:flex}.grupo-table{margin:0}.grupo-row-consolidated{background:linear-gradient(90deg,#faf5ff 0%,#0000 40%)}.grupo-billing-consolidated{flex-wrap:wrap;align-items:center;gap:5px;font-size:12px;display:flex}.grupo-billing-own{color:#1e293b;font-weight:600}.grupo-billing-plus{color:#94a3b8;font-weight:700}.grupo-billing-others{color:#64748b;font-weight:500}.grupo-billing-eq{color:#94a3b8;font-weight:700}.grupo-billing-total{color:#7c3aed;font-size:13px;font-weight:800}.grupo-billing-badge{color:#fff;letter-spacing:.03em;background:linear-gradient(135deg,#7c3aed,#6d28d9);border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700}.grupo-client-picker{border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;max-height:260px;display:flex;overflow-y:auto}.grupo-client-item{cursor:pointer;border-bottom:1px solid #f1f5f9;align-items:center;gap:10px;padding:10px 14px;transition:background .12s;display:flex}.grupo-client-item:last-child{border-bottom:none}.grupo-client-item:hover{background:#f8fafc}.grupo-client-item.selected{background:#eff6ff;border-left:3px solid #3b82f6;padding-left:11px}.grupo-consolidated-preview{color:#6d28d9;background:#faf5ff;border:1px solid #ede9fe;border-radius:8px;align-items:center;gap:7px;margin-top:8px;padding:10px 14px;font-size:12.5px;display:flex}.import-steps{background:#f8fafc;border-radius:10px;align-items:center;gap:0;margin-bottom:20px;padding:12px 16px;display:flex}.import-step{color:#94a3b8;flex:1;align-items:center;gap:8px;font-size:12.5px;font-weight:500;display:flex}.import-step.active{color:#3b82f6;font-weight:700}.import-step.completed{color:#10b981}.import-step-num{color:#94a3b8;background:#fff;border:2px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:flex}.import-step.active .import-step-num{color:#3b82f6;background:#eff6ff;border-color:#3b82f6}.import-step.completed .import-step-num{color:#fff;background:#10b981;border-color:#10b981}.import-info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:16px;padding:14px 16px}.import-info-title{color:#475569;margin-bottom:8px;font-size:12.5px;font-weight:600}.import-info-cols{flex-wrap:wrap;gap:6px;display:flex}.import-col-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;padding:3px 8px;font-family:monospace;font-size:11px}.import-dropzone{cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:120px;padding:28px;transition:all .15s;display:flex}.import-dropzone:hover{background:#eff6ff;border-color:#3b82f6}.import-spinner{border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;width:42px;height:42px;margin:0 auto;animation:.9s linear infinite spin}.import-result-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:8px;display:grid}.import-result-card{text-align:center;border:1px solid #0000;border-radius:10px;padding:16px}.import-result-green{background:#f0fdf4;border-color:#86efac}.import-result-yellow{background:#fefce8;border-color:#fde047}.import-result-blue{background:#eff6ff;border-color:#bfdbfe}.import-result-num{color:#1e293b;font-size:28px;font-weight:800;line-height:1}.import-result-green .import-result-num{color:#166534}.import-result-yellow .import-result-num{color:#854d0e}.import-result-blue .import-result-num{color:#1d4ed8}.import-result-label{color:#64748b;margin-top:6px;font-size:12px;font-weight:600}html.dark .grupo-header:hover{background:#0d1b2e}html.dark .grupo-name{color:#f1f5f9}html.dark .grupo-icon-wrap{background:#1e1040}html.dark .grupo-btn{color:#94a3b8;background:#1e2d45;border-color:#2d4a6e}html.dark .grupo-consolidated-notice{color:#c4b5fd;background:#1a0b3b;border-color:#2e1065}html.dark .grupo-members{border-top-color:#1e2d45}html.dark .grupo-client-item.selected{background:#0f1e38;border-left-color:#3b82f6}html.dark .grupo-consolidated-preview{color:#c4b5fd;background:#180b38;border-color:#2e1065}html.dark .import-info-box{background:#0d1b2e;border-color:#1e2d45}html.dark .import-dropzone{background:#0d1b2e;border-color:#2d4a6e}html.dark .import-dropzone:hover{background:#0f2748;border-color:#3b82f6}.sim-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.sim-input{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;outline:none;width:100%;padding:9px 12px;font-family:inherit;font-size:14px;transition:border-color .15s}.sim-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.sim-toggle-group{flex-wrap:wrap;gap:6px;display:flex}.sim-toggle{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:7px 14px;font-family:inherit;font-size:13px;font-weight:500;transition:all .15s}.sim-toggle:hover{color:#1e293b;background:#f1f5f9;border-color:#cbd5e1}.sim-toggle.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;font-weight:600}.comercial-fechamento{gap:18px}.comercial-fechamento .fechamento-summary{gap:14px}.comercial-fechamento .fechamento-stat-card{border-color:#d7dee8;border-radius:14px;min-height:108px;padding:18px 20px;box-shadow:0 1px 2px #0f172a0a}.comercial-fechamento .fechamento-stat-content{align-items:center;gap:12px;display:flex}.comercial-fechamento .fechamento-stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.comercial-fechamento .icon-fechado{color:#059669;background:#dcfce7}.comercial-fechamento .icon-aguardando{color:#f59e0b;background:#ffedd5}.comercial-fechamento .icon-conversao{color:#2563eb;background:#dbeafe}.comercial-fechamento .fechamento-stat-copy{flex-direction:column;gap:3px;display:flex}.comercial-fechamento .stat-label{color:#6c7584;font-size:13px;font-weight:500}.comercial-fechamento .stat-num{letter-spacing:0;font-size:22px;line-height:1.1}.comercial-fechamento .fechamento-num-fechado,.comercial-fechamento .fechamento-num-aguardando,.comercial-fechamento .fechamento-num-conversao{color:#111827}.comercial-fechamento .fechamento-stat-note{color:#97a4b5;font-size:12px}.comercial-fechamento .fechamento-pipeline-card{border-color:#dbe2ea;border-radius:14px}.comercial-fechamento .fechamento-pipeline-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:10px 0 6px;display:flex}.comercial-fechamento .fechamento-pipeline-header h3{color:#6b7280;font-size:clamp(16px,1.5vw,18px);font-weight:500;line-height:1.1}.comercial-fechamento .fechamento-add-btn{background:#0f4a92;border-radius:10px;padding:10px 18px;font-weight:600}.comercial-fechamento .fechamento-add-btn:hover{background:#0a3f7c}.comercial-fechamento .fechamento-inline-form{background:#f8fafc;border-color:#dbe2ea;border-radius:14px;padding:16px 20px}.comercial-fechamento .fechamento-form-title{color:#1e293b;margin-bottom:12px;font-size:13px;font-weight:700}.comercial-fechamento .fechamento-form-grid{grid-template-columns:minmax(220px,1fr) 160px 170px auto;align-items:end;gap:10px;display:grid}.comercial-fechamento .fechamento-submit-btn{white-space:nowrap;height:38px}.comercial-fechamento .fechamento-form-hint{color:#94a3b8;margin-top:10px;font-size:11px}.comercial-fechamento .fechamento-table-wrap{overflow-x:auto}.comercial-fechamento .fechamento-table thead th{text-transform:none;letter-spacing:0;color:#7b8697;background:#fff;border-bottom:1px solid #e5eaf0;padding:12px 14px;font-size:13px;font-weight:500}.comercial-fechamento .fechamento-table tbody td{color:#475569;border-bottom:1px solid #eef2f7;padding:14px}.comercial-fechamento .pipeline-client-cell{align-items:center;gap:10px;min-width:220px;display:flex}.comercial-fechamento .pipeline-company-icon{color:#3b82f6;background:#eaf2ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.comercial-fechamento .pipeline-vendedor{color:#677489;font-size:13px}.comercial-fechamento .pipeline-data{color:#94a3b8;white-space:nowrap;font-size:13px}.comercial-fechamento .badge{border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}.comercial-fechamento .pipeline-status{border-radius:999px;padding:3px 10px;font-size:11px;font-weight:600;line-height:1.3}.comercial-fechamento .pipeline-status:before{display:none}.comercial-fechamento .pipeline-status.status-pendente{color:#b45309;background:#fef3c7}.comercial-fechamento .pipeline-status.status-ativo{color:#059669;background:#dcfce7}.comercial-fechamento .pipeline-status.status-inativo{color:#dc2626;background:#fee2e2}.comercial-fechamento .pipeline-actions-cell{width:170px}.comercial-fechamento .pipeline-row-actions{gap:8px;display:flex}.comercial-fechamento .pipeline-text-btn{color:#047857;background:#dcfce7;border:none;border-radius:999px;height:24px;padding:0 10px;font-size:11px;font-weight:600;transition:filter .15s}.comercial-fechamento .pipeline-text-btn:hover{filter:brightness(.96)}.comercial-fechamento .pipeline-text-btn-danger{color:#dc2626;background:#fee2e2}.comercial-fechamento .pipeline-financeiro-tag{color:#059669;white-space:nowrap;align-items:center;gap:5px;font-size:11px;font-weight:600;display:inline-flex}.comercial-fechamento .pipeline-empty-action{opacity:0;width:12px;display:inline-block}@media (width<=1200px){.comercial-fechamento .fechamento-form-grid{grid-template-columns:1fr 1fr}.comercial-fechamento .fechamento-submit-btn{grid-column:1/-1;justify-content:center}}@media (width<=760px){.comercial-fechamento .fechamento-pipeline-header h3{font-size:20px}.comercial-fechamento .fechamento-add-btn{justify-content:center;width:100%}.comercial-fechamento .fechamento-form-grid{grid-template-columns:1fr}.comercial-fechamento .fechamento-submit-btn{width:100%}.comercial-fechamento .pipeline-actions-cell{width:auto}}html.dark .sim-input{color:#e2e8f0;background:#0d1827;border-color:#1e2d45}html.dark .sim-input:focus{border-color:#3b82f6}html.dark .sim-toggle{color:#94a3b8;background:#0d1827;border-color:#1e2d45}html.dark .sim-toggle:hover{color:#e2e8f0;background:#1e2d45}html.dark .sim-toggle.active{color:#93c5fd;background:#1e3a5f;border-color:#3b82f6}html.dark .comercial-fechamento .fechamento-stat-card{box-shadow:none;border-color:#1e2d45}html.dark .comercial-fechamento .icon-fechado{color:#86efac;background:#123226}html.dark .comercial-fechamento .icon-aguardando{color:#fcd34d;background:#3a2e10}html.dark .comercial-fechamento .icon-conversao{color:#93c5fd;background:#1e3a5f}html.dark .comercial-fechamento .stat-label{color:#94a3b8}html.dark .comercial-fechamento .fechamento-num-fechado,html.dark .comercial-fechamento .fechamento-num-aguardando,html.dark .comercial-fechamento .fechamento-num-conversao{color:#f1f5f9}html.dark .comercial-fechamento .fechamento-pipeline-card{border-color:#1e2d45}html.dark .comercial-fechamento .fechamento-pipeline-header h3{color:#cbd5e1}html.dark .comercial-fechamento .fechamento-inline-form{background:#0d1827;border-color:#1e2d45}html.dark .comercial-fechamento .fechamento-table thead th{color:#64748b;background:#0d1827;border-color:#1e2d45}html.dark .comercial-fechamento .fechamento-table tbody td{color:#94a3b8;border-color:#1e2d45}html.dark .comercial-fechamento .pipeline-company-icon{color:#93c5fd;background:#16243a}html.dark .comercial-fechamento .pipeline-vendedor{color:#94a3b8}html.dark .comercial-fechamento .pipeline-data{color:#64748b}html.dark .comercial-fechamento .pipeline-status.status-pendente{color:#fcd34d;background:#3a2e10}html.dark .comercial-fechamento .pipeline-status.status-ativo{color:#86efac;background:#123226}html.dark .comercial-fechamento .pipeline-status.status-inativo{color:#fca5a5;background:#3b0a0a}html.dark .comercial-fechamento .pipeline-text-btn{color:#86efac;background:#123226}html.dark .comercial-fechamento .pipeline-text-btn-danger{color:#fca5a5;background:#3b0a0a}html.dark .comercial-fechamento .pipeline-financeiro-tag{color:#86efac}.wa-config-grid{grid-template-columns:340px 1fr;gap:1.25rem;margin-bottom:1.25rem;display:grid}@media (width<=900px){.wa-config-grid{grid-template-columns:1fr}}.wa-status-card,.wa-qr-card,.wa-info-card{padding:1.5rem}.wa-card-header{align-items:center;gap:.875rem;margin-bottom:1.25rem;display:flex}.wa-card-icon{color:#16a34a;background:#dcfce7;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.wa-card-icon svg{width:22px;height:22px}.wa-card-title{color:#0f172a;font-size:.925rem;font-weight:600}.wa-card-subtitle{color:#64748b;margin-top:2px;font-size:.75rem}.wa-status-row{align-items:center;gap:.625rem;margin-bottom:1.25rem;display:flex}.wa-status-badge{border-radius:99px;align-items:center;gap:6px;padding:4px 12px;font-size:.8rem;font-weight:600;display:inline-flex}.wa-status-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.wa-btn-refresh{cursor:pointer;color:#64748b;background:0 0;border:1px solid #e2e8f0;border-radius:6px;align-items:center;padding:4px 7px;display:flex}.wa-btn-refresh:hover{background:#f8fafc}.wa-profile-row{background:#f8fafc;border-radius:10px;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;display:flex}.wa-profile-pic{object-fit:cover;border:2px solid #bbf7d0;border-radius:50%;width:40px;height:40px}.wa-profile-name{color:#0f172a;font-size:.875rem;font-weight:600}.wa-profile-number{color:#64748b;font-size:.8rem}.wa-instance-info{background:#f8fafc;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding:.625rem .875rem;display:flex}.wa-info-label{color:#94a3b8;font-size:.75rem}.wa-info-value{color:#334155;font-family:monospace;font-size:.8rem;font-weight:600}.wa-btn-connect{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.625rem 1rem;font-size:.875rem;font-weight:600;transition:background .15s;display:flex}.wa-btn-connect:hover:not(:disabled){background:#15803d}.wa-btn-connect:disabled{opacity:.6;cursor:default}.wa-btn-disconnect{color:#dc2626;cursor:pointer;background:0 0;border:1.5px solid #fca5a5;border-radius:8px;width:100%;padding:.625rem 1rem;font-size:.875rem;font-weight:600;transition:all .15s}.wa-btn-disconnect:hover:not(:disabled){background:#fef2f2}.wa-btn-disconnect:disabled{opacity:.6;cursor:default}.wa-qr-header{margin-bottom:1.25rem}.wa-qr-body{flex-direction:column;justify-content:center;align-items:center;gap:.875rem;min-height:200px;display:flex}.wa-qr-frame{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;padding:12px;display:inline-flex}.wa-qr-img{width:200px;height:200px;display:block}.wa-qr-hint{color:#94a3b8;font-size:.75rem}.wa-btn-refresh-qr{color:#3b82f6;cursor:pointer;background:0 0;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:.8rem;display:flex}.wa-btn-refresh-qr:hover{background:#eff6ff}.wa-qr-placeholder{color:#94a3b8;flex-direction:column;align-items:center;gap:.75rem;padding:2.5rem 1rem;display:flex}.wa-qr-placeholder-icon svg{stroke:#cbd5e1;width:64px;height:64px}.wa-qr-placeholder-text{text-align:center;white-space:pre-line;font-size:.825rem;line-height:1.5}.wa-connected-banner{text-align:center;flex-direction:column;align-items:center;gap:.875rem;padding:1rem;display:flex}.wa-connected-icon{color:#16a34a;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.wa-connected-icon svg{width:26px;height:26px}.wa-connected-title{color:#15803d;font-size:1.1rem;font-weight:700}.wa-connected-desc{color:#64748b;max-width:420px;font-size:.825rem;line-height:1.5}.wa-flow-steps{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:.25rem;display:flex}.wa-flow-step{background:#f8fafc;border-radius:10px;flex-direction:column;align-items:center;gap:3px;min-width:90px;padding:.625rem .875rem;display:flex}.wa-flow-icon{font-size:1.25rem}.wa-flow-label{color:#334155;font-size:.75rem;font-weight:700}.wa-flow-desc{color:#94a3b8;text-align:center;font-size:.7rem}.wa-info-card{margin-top:0}.wa-info-title{color:#0f172a;margin-bottom:1rem;font-size:.9rem;font-weight:700}.wa-info-steps{flex-direction:column;gap:.875rem;display:flex}.wa-info-step{color:#475569;align-items:flex-start;gap:.875rem;font-size:.825rem;line-height:1.5;display:flex}.wa-info-step-num{color:#3b82f6;background:#eff6ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:.75rem;font-weight:700;display:flex}.wa-tpl-section-title{color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;font-size:.8rem;font-weight:700}.wa-tpl-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;display:grid}.wa-tpl-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;transition:box-shadow .15s}.wa-tpl-card:hover{box-shadow:0 2px 8px #0000000f}.wa-tpl-toggle{cursor:pointer;flex-shrink:0;align-items:center;display:inline-flex;position:relative}.wa-tpl-toggle-track{background:#d1d5db;border-radius:10px;width:36px;height:20px;transition:background .2s;display:block;position:relative}.wa-tpl-toggle-track.on{background:#22c55e}.wa-tpl-toggle-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.wa-tpl-toggle-track.on .wa-tpl-toggle-thumb{transform:translate(16px)}.perfil-page{gap:20px}.perfil-header{align-items:center;gap:16px;display:flex}.perfil-back-btn{color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.perfil-back-btn:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.perfil-layout{grid-template-columns:280px 1fr;align-items:start;gap:20px;display:grid}@media (width<=900px){.perfil-layout{grid-template-columns:1fr}}.perfil-avatar-card{flex-direction:column;align-items:center;gap:6px;padding:28px 20px;display:flex}.perfil-avatar-wrap{margin-bottom:8px;position:relative}.perfil-avatar-img{object-fit:cover;border:3px solid #e2e8f0;border-radius:50%;width:96px;height:96px}.perfil-avatar-placeholder{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:3px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:96px;height:96px;font-size:28px;font-weight:700;display:flex}.perfil-avatar-camera{color:#fff;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;transition:background .15s;display:flex;position:absolute;bottom:2px;right:2px}.perfil-avatar-camera:hover{background:#2563eb}.perfil-avatar-name{color:#1e293b;text-align:center;margin-top:4px;font-size:16px;font-weight:700}.perfil-avatar-role{color:#3b82f6;background:#eff6ff;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:600}.perfil-avatar-dept{color:#94a3b8;font-size:12px}.perfil-avatar-info-list{border-top:1px solid #f1f5f9;flex-direction:column;gap:10px;width:100%;margin-top:16px;padding-top:16px;display:flex}.perfil-avatar-info-row{color:#64748b;align-items:center;gap:8px;font-size:12px;display:flex}.perfil-avatar-info-row svg{color:#94a3b8;flex-shrink:0}.perfil-avatar-info-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.perfil-form-card{padding:0;overflow:hidden}.perfil-form-header{color:#1e293b;border-bottom:1px solid #f1f5f9;align-items:center;gap:10px;padding:18px 24px;font-size:15px;font-weight:700;display:flex}.perfil-form-header svg{color:#3b82f6}.perfil-form-body{flex-direction:column;gap:18px;padding:24px;display:flex}.perfil-field{flex-direction:column;gap:6px;display:flex}.perfil-label{color:#374151;font-size:13px;font-weight:600}.perfil-input-wrap{align-items:center;display:flex;position:relative}.perfil-input-icon{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.perfil-input-wrap .perfil-input{padding-left:36px}.perfil-input{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.perfil-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.perfil-row-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=600px){.perfil-row-2{grid-template-columns:1fr}}.perfil-divider{color:#64748b;border-top:1px solid #f1f5f9;align-items:center;gap:8px;padding:6px 0 2px;font-size:13px;font-weight:700;display:flex}.perfil-divider svg{color:#94a3b8}.perfil-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.perfil-btn-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:9px 20px;font-size:13px;font-weight:600;transition:all .15s}.perfil-btn-cancel:hover{background:#f8fafc;border-color:#cbd5e1}.perfil-btn-save{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;align-items:center;gap:7px;padding:9px 22px;font-size:13px;font-weight:700;transition:background .15s;display:inline-flex}.perfil-btn-save:hover{background:#1d4ed8}html.dark .perfil-back-btn{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .perfil-back-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .perfil-avatar-card{background:#131e30;border-color:#1e2d45}html.dark .perfil-avatar-placeholder,html.dark .perfil-avatar-img{border-color:#1e2d45}html.dark .perfil-avatar-name{color:#f1f5f9}html.dark .perfil-avatar-dept{color:#64748b}html.dark .perfil-avatar-info-list{border-color:#1e2d45}html.dark .perfil-avatar-info-row{color:#94a3b8}html.dark .perfil-form-card{background:#131e30;border-color:#1e2d45}html.dark .perfil-form-header{color:#f1f5f9;border-color:#1e2d45}html.dark .perfil-label{color:#cbd5e1}html.dark .perfil-input{color:#e2e8f0;background:#0d1827;border-color:#1e2d45}html.dark .perfil-input:focus{border-color:#3b82f6}html.dark .perfil-divider{color:#94a3b8;border-color:#1e2d45}html.dark .perfil-actions{border-color:#1e2d45}html.dark .perfil-btn-cancel{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .perfil-btn-cancel:hover{color:#e2e8f0;background:#1e2d45}html.dark .perfil-avatar-role{color:#93c5fd;background:#1a2d4a}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#1e293b;background:#f1f5f9;font-family:Inter,system-ui,-apple-system,sans-serif}button{cursor:pointer;font-family:inherit}input,select{font-family:inherit}.layout{height:100vh;display:flex;overflow:hidden}.layout-body{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.layout-main{background:#f1f5f9;flex:1;overflow-y:auto}.sidebar{background:#13579f;flex-direction:column;flex-shrink:0;width:260px;min-width:260px;height:100vh;transition:width .22s,min-width .22s;display:flex;overflow:hidden}.sidebar.collapsed{width:64px;min-width:64px}.sidebar.collapsed .sidebar-item-label{opacity:0;white-space:nowrap;width:0;transition:opacity .15s,width .15s;overflow:hidden}.sidebar.collapsed .sidebar-item{justify-content:center;padding:11px 0}.sidebar.collapsed .sidebar-item-icon{margin:0}.sidebar-topbar{flex-shrink:0;justify-content:space-between;align-items:center;min-height:68px;padding:14px 14px 10px;display:flex}.sidebar.collapsed .sidebar-topbar{justify-content:center;padding:14px 0 10px}.sidebar-logo-img{filter:brightness(0)invert();flex:1;width:150px;min-width:0;height:auto;display:block}.sidebar-collapse-btn{color:#ffffffbf;cursor:pointer;background:#ffffff1f;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;transition:background .15s,color .15s;display:flex}.sidebar-collapse-btn:hover{color:#fff;background:#fff3}.sidebar-nav{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:4px;padding:16px 0;display:flex;overflow:hidden auto}.sidebar-nav::-webkit-scrollbar{width:0;height:0;display:none}.sidebar-item.expanded{color:#fff;background:#ffffff12}.sidebar-subnav{background:#00000024;border-left:3px solid #3b82f6;flex-direction:column;display:flex}.sidebar-subitem{color:#ffffff8c;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:9px 22px 9px 34px;font-size:13px;font-weight:500;transition:background .15s,color .15s;display:flex}.sidebar-subitem:hover{color:#fff;background:#ffffff14}.sidebar-subitem.active{color:#fff;background:#3b82f638;font-weight:600}.sidebar-subitem-icon{flex-shrink:0;justify-content:center;align-items:center;display:flex}.sidebar-subitem-icon svg{width:16px;height:16px}.sidebar-subitem-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar-item{color:#ffffff8c;text-align:left;background:0 0;border:none;border-radius:0;align-items:center;gap:12px;width:100%;padding:11px 22px;font-size:14px;font-weight:500;transition:all .15s;display:flex;position:relative}.sidebar-item:hover{color:#ffffffd9;background:#ffffff12}.sidebar-item.active{color:#fff;background:#3b82f626;border-left:3px solid #3b82f6}.sidebar-item-icon{opacity:.9;flex-shrink:0;justify-content:center;align-items:center;display:flex}.sidebar-item-label{white-space:nowrap;transition:opacity .15s,width .15s;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;align-items:center;gap:16px;padding:14px 28px;display:flex}.topbar-left{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.topbar-page-info{flex-direction:column;gap:1px;min-width:0;display:flex}.topbar-search-center{justify-content:center;display:flex;position:relative}.topbar-title{color:#0f172a;font-size:18px;font-weight:700;line-height:1.2}.topbar-subtitle{color:#94a3b8;margin-top:2px;font-size:13px}.topbar-right{flex:1;justify-content:flex-end;align-items:center;gap:6px;display:flex}.topbar-search{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;width:460px;padding:8px 12px;transition:border-color .15s,box-shadow .15s;display:flex}.topbar-search:focus-within{border-color:#93c5fd;box-shadow:0 0 0 3px #3b82f61a}.topbar-search input{color:#64748b;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:13px}.search-shortcut{color:#94a3b8;white-space:nowrap;background:#e2e8f0;border-radius:4px;padding:2px 6px;font-size:11px}.topbar-icon-btn{color:#64748b;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:background .15s,color .15s;display:flex;position:relative}.topbar-icon-btn:hover{color:#1e293b;background:#f1f5f9}.badge-dot{background:#ef4444;border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:6px;right:6px}.notif-badge{color:#fff;background:#ef4444;border:2px solid #fff;border-radius:99px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:flex;position:absolute;top:3px;right:3px}.notif-overlay{z-index:199;position:fixed;inset:0}.notif-panel{z-index:200;background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:360px;animation:.15s notifIn;position:absolute;top:calc(100% + 8px);right:-48px;overflow:hidden;box-shadow:0 12px 32px #00000024}.notif-panel-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 10px;display:flex}.notif-panel-title{color:#1e293b;font-size:15px;font-weight:700;display:block}.notif-panel-count{color:#3b82f6;background:#eff6ff;border-radius:99px;margin-top:2px;padding:1px 8px;font-size:11px;font-weight:600;display:block}.notif-mark-all{color:#3b82f6;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:11px;font-weight:600;transition:background .13s;display:inline-flex}.notif-mark-all:hover{background:#eff6ff}.notif-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:background .13s,color .13s;display:flex}.notif-close-btn:hover{color:#475569;background:#f1f5f9}.notif-list{max-height:400px;padding:6px 0;overflow-y:auto}.notif-section-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;padding:6px 16px 4px;font-size:10px;font-weight:700}.notif-item{cursor:pointer;border-bottom:1px solid #0000;align-items:flex-start;gap:10px;padding:10px 16px;transition:background .12s;display:flex}.notif-item:hover{background:#f8fafc}.notif-item--unread{background:#fafcff}.notif-item--unread:hover{background:#eff6ff}.notif-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:5px}.notif-content{flex:1;min-width:0}.notif-item-title{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;margin-bottom:2px;font-size:13px;font-weight:600;overflow:hidden}.notif-item-msg{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:3px;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.notif-item-time{color:#94a3b8;font-size:11px}.notif-empty{text-align:center;color:#94a3b8;padding:32px;font-size:13px}.topbar-user{cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:6px 10px;transition:background .15s;display:flex}.topbar-user:hover{background:#f1f5f9}.user-avatar{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:flex}.user-info{flex-direction:column;display:flex}.user-name{color:#1e293b;font-size:13px;font-weight:600;line-height:1.2}.user-role{color:#94a3b8;font-size:11px}.frase-wrapper{flex-shrink:0;padding:12px 28px 0}.frase-banner{background:linear-gradient(135deg,#eff6ff,#e0f2fe);border:1px solid #bfdbfe;border-radius:12px;align-items:flex-start;gap:14px;padding:14px 20px;display:flex}.frase-icon{color:#3b82f6;flex-shrink:0;margin-top:2px}.frase-content{flex:1;min-width:0}.frase-label{color:#3b82f6;text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px;font-size:11px;font-weight:700}.frase-text{color:#1e293b;font-size:19px;font-weight:700;line-height:1.6}.frase-autor{color:#64748b;margin-top:3px;font-size:13px}.page-content{flex-direction:column;gap:20px;min-height:100%;padding:24px 28px;display:flex}.page-local-header{margin-bottom:2px}.page-local-title{color:#1e293b;margin-bottom:4px;font-size:22px;font-weight:700;line-height:1.3}.page-local-subtitle{color:#94a3b8;font-size:13px;font-weight:500}.empty-page{text-align:center;color:#94a3b8;padding:80px;font-size:15px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.tabs{background:#fff;border:1px solid #e2e8f0;border-radius:10px;gap:4px;width:fit-content;padding:4px;display:flex}.tab-btn{color:#64748b;background:0 0;border:none;border-radius:7px;padding:9px 20px;font-size:14px;font-weight:500;transition:all .15s}.tab-btn:hover{color:#1e293b;background:#f8fafc}.tab-btn.active{color:#fff;background:#3b82f6;font-weight:600}.tab-panel{flex-direction:column;gap:16px;display:flex}.stats-row{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:6px;padding:18px 20px;display:flex}.stat-label{color:#94a3b8;font-size:13px;font-weight:500}.stat-num{color:#0f172a;font-size:32px;font-weight:700;line-height:1}.stat-green{color:#16a34a}.stat-yellow{color:#ca8a04}.stat-red{color:#dc2626}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.search-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex:1;align-items:center;gap:8px;max-width:460px;padding:9px 14px;display:flex}.search-box input{color:#475569;background:0 0;border:none;outline:none;flex:1;font-size:14px}.toolbar-actions{gap:10px;display:flex}.btn-outline{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:9px 16px;font-size:14px;font-weight:500;transition:all .15s;display:flex}.btn-outline:hover{background:#f8fafc;border-color:#cbd5e1}.btn-primary{color:#fff;background:#3b82f6;border:none;border-radius:8px;align-items:center;gap:6px;padding:9px 18px;font-size:14px;font-weight:600;transition:background .15s;display:flex}.btn-primary:hover{background:#2563eb}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table thead th{text-align:left;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:11px 16px;font-size:12px;font-weight:600}.data-table tbody td{vertical-align:middle;color:#475569;border-bottom:1px solid #f1f5f9;padding:13px 16px}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover td{background:#fafbff}.row-selected td{background:#eff6ff!important}.cell-primary{color:#1e293b;font-weight:600}.cell-secondary{color:#94a3b8;margin-top:2px;font-size:12px}.cell-value{color:#1e293b;white-space:nowrap;font-weight:600}.company-icon{background:#f1f5f9;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;overflow:hidden}.company-icon img{object-fit:contain;width:22px;height:22px}.checkbox{accent-color:#3b82f6;cursor:pointer;width:16px;height:16px}.badge{white-space:nowrap;border-radius:20px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-block}.badge-blue{color:#1d4ed8;background:#dbeafe}.badge-indigo{color:#4338ca;background:#e0e7ff}.badge-teal{color:#0f766e;background:#ccfbf1}.badge-purple{color:#7e22ce;background:#f3e8ff}.badge-green{color:#15803d;background:#dcfce7}.badge-orange{color:#c2410c;background:#ffedd5}.badge-black{color:#f8fafc;background:#0f172a}.status-badge{white-space:nowrap;border-radius:20px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.status-badge:before{content:"";border-radius:50%;width:6px;height:6px;display:inline-block}.status-ativo{color:#15803d;background:#dcfce7}.status-ativo:before{background:#16a34a}.status-pendente{color:#a16207;background:#fef9c3}.status-pendente:before{background:#ca8a04}.status-inativo{color:#64748b;background:#f1f5f9}.status-inativo:before{background:#94a3b8}.status-atrasado{color:#b91c1c;background:#fee2e2}.status-atrasado:before{background:#dc2626}.row-actions{gap:4px;display:flex}.action-btn{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.action-btn:hover{color:#1e293b;background:#f1f5f9;border-color:#cbd5e1}.action-btn-danger:hover{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.metrics-grid{grid-template-columns:repeat(5,1fr);gap:14px;display:grid}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px;display:flex}.metric-icon-box{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.metric-label{color:#94a3b8;margin-bottom:4px;font-size:12px;font-weight:500}.metric-value{color:#0f172a;margin-bottom:4px;font-size:22px;font-weight:700;line-height:1}.metric-change{font-size:11px;font-weight:500}.metric-change.positive{color:#16a34a}.metric-change.negative{color:#dc2626}.charts-row{grid-template-columns:1fr 380px;gap:16px;display:grid}.chart-card{padding:20px}.chart-header{justify-content:space-between;align-items:baseline;margin-bottom:16px;display:flex}.chart-title{color:#1e293b;font-size:15px;font-weight:700}.chart-subtitle{color:#94a3b8;font-size:12px}.line-chart-svg{width:100%;display:block;overflow:visible}.donut-wrapper{align-items:center;gap:20px;display:flex}.donut-svg{flex-shrink:0;width:180px;height:180px}.donut-legend{flex-direction:column;flex:1;gap:10px;display:flex}.legend-item{align-items:center;gap:8px;font-size:13px;display:flex}.legend-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.legend-label{color:#475569;flex:1}.legend-pct{color:#1e293b;font-weight:700}.bar-chart{flex-direction:column;gap:14px;display:flex}.bar-row{grid-template-columns:120px 1fr 40px 100px;align-items:center;gap:12px;display:grid}.bar-name{color:#475569;text-align:right;white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.bar-track{background:#f1f5f9;border-radius:99px;height:10px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#3b82f6,#6366f1);border-radius:99px;height:100%;transition:width .5s}.bar-count{color:#1e293b;text-align:center;font-size:13px;font-weight:700}.bar-revenue{color:#94a3b8;white-space:nowrap;font-size:12px}.grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.grid-3-stats{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.grid-sim{grid-template-columns:minmax(0,1fr) 520px;align-items:start;gap:20px;display:grid}.grid-cobrancas{grid-template-columns:1fr 300px;align-items:start;gap:16px;display:grid}.grid-form-table{grid-template-columns:360px 1fr;align-items:start;gap:16px;display:grid}@media (width<=1200px){.grid-sim,.grid-cobrancas{grid-template-columns:1fr}}@media (width<=960px){.grid-2,.grid-form-table{grid-template-columns:1fr}.grid-3-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.grid-3-stats{grid-template-columns:1fr}}#root{text-align:left;border:none;width:100%;max-width:100%;min-height:100svh;margin:0}.sidebar-overlay{z-index:99;background:#00000073;display:none;position:fixed;inset:0}.sidebar-overlay.open{display:block}.hamburger{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;width:44px;height:44px;padding:0;transition:all .15s;display:none}.hamburger:hover{background:#dbeafe;border-color:#93c5fd}@media (width<=1100px){.metrics-grid{grid-template-columns:repeat(3,1fr)}.charts-row{grid-template-columns:1fr}.topbar-search{width:220px}}@media (width<=900px){.sidebar{z-index:100;width:320px;min-width:320px;height:100%;transition:left .25s;position:fixed;top:0;left:-320px}.sidebar.open{left:0}.sidebar-collapse-btn{display:none}.hamburger{justify-content:center;align-items:center;display:flex}.layout-body{width:100%}.metrics-grid{grid-template-columns:repeat(2,1fr)}.stats-row{grid-template-columns:repeat(2,1fr)!important}.topbar-search,.topbar-search-center,.search-shortcut{display:none}.bar-row{grid-template-columns:90px 1fr 36px 90px}}@media (width<=600px){.page-content{gap:14px;padding:16px}.topbar{padding:12px 16px}.topbar-title{font-size:16px}.topbar-subtitle{display:none}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{gap:10px;padding:14px}.metric-value{font-size:18px}.stats-row{gap:10px;grid-template-columns:repeat(2,1fr)!important}.tab-btn{padding:8px 14px;font-size:13px}.table-toolbar{flex-direction:column;align-items:stretch}.search-box{max-width:100%}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.data-table{font-size:13px}.data-table thead th,.data-table tbody td{padding:10px 12px}.bar-row{grid-template-columns:72px 1fr 28px}.bar-revenue,.user-info,.topbar-icon-btn:last-of-type{display:none}}html.dark body{color:#e2e8f0;background:#0b1120}html.dark .layout-main{background:#0b1120}html.dark .topbar{background:#131e30;border-color:#1e2d45}html.dark .topbar-title{color:#f1f5f9}html.dark .topbar-subtitle{color:#64748b}html.dark .page-local-title{color:#f1f5f9}html.dark .page-local-subtitle{color:#64748b}html.dark .hamburger{color:#93c5fd;background:#1e2d45;border-color:#334155}html.dark .hamburger:hover{background:#243449;border-color:#475569}html.dark .topbar-search{background:#0b1120;border-color:#1e2d45}html.dark .topbar-search input{color:#cbd5e1}html.dark .topbar-search input::placeholder{color:#475569}html.dark .topbar-search svg{stroke:#64748b}html.dark .search-shortcut{color:#64748b;background:#1e2d45}html.dark .topbar-icon-btn{color:#94a3b8}html.dark .topbar-icon-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .user-name{color:#f1f5f9}html.dark .user-role{color:#64748b}html.dark .topbar-user:hover{background:#1e2d45}html.dark .card,html.dark .stat-card,html.dark .metric-card{background:#131e30;border-color:#1e2d45}html.dark .stat-label{color:#64748b}html.dark .stat-num{color:#f1f5f9}html.dark .metric-label{color:#64748b}html.dark .metric-value,html.dark .chart-title{color:#f1f5f9}html.dark .chart-subtitle{color:#64748b}html.dark .cell-primary{color:#f1f5f9}html.dark .cell-secondary{color:#64748b}html.dark .cell-value{color:#e2e8f0}html.dark .data-table thead th{color:#64748b;background:#0d1827;border-color:#1e2d45}html.dark .data-table tbody td{color:#94a3b8;border-color:#1a2740}html.dark .data-table tbody tr:hover td{background:#162032}html.dark .row-selected td{background:#1a2d4a!important}html.dark .tabs{background:#131e30;border-color:#1e2d45}html.dark .tab-btn{color:#64748b}html.dark .tab-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .tab-btn.active{color:#fff;background:#3b82f6}html.dark .btn-outline{color:#94a3b8;background:#131e30;border-color:#1e2d45}html.dark .btn-outline:hover{color:#e2e8f0;background:#1e2d45;border-color:#334155}html.dark .action-btn{color:#94a3b8;background:#0d1827;border-color:#1e2d45}html.dark .action-btn:hover{color:#e2e8f0;background:#1e2d45}html.dark .action-btn-danger:hover{color:#fca5a5;background:#3b0a0a;border-color:#7f1d1d}html.dark .table-toolbar .search-box{background:#131e30;border-color:#1e2d45}html.dark .table-toolbar .search-box input{color:#cbd5e1}html.dark .table-toolbar .search-box input::placeholder{color:#475569}html.dark .bar-track{background:#1e2d45}html.dark .bar-name{color:#94a3b8}html.dark .bar-count{color:#f1f5f9}html.dark .bar-revenue{color:#64748b}html.dark .legend-label{color:#94a3b8}html.dark .legend-pct{color:#f1f5f9}html.dark .donut-svg text{fill:#f1f5f9!important}html.dark .frase-banner{background:linear-gradient(135deg,#0d1e35,#0c1d30);border-color:#1e3a5f}html.dark .frase-text{color:#e2e8f0}html.dark .frase-autor{color:#64748b}html.dark .notif-panel{background:#131e30;border-color:#1e2d45}html.dark .notif-panel-header{border-color:#1e2d45}html.dark .notif-panel-title{color:#f1f5f9}html.dark .notif-panel-count{color:#93c5fd;background:#1a2d4a}html.dark .notif-mark-all{color:#93c5fd}html.dark .notif-mark-all:hover{background:#1a2d4a}html.dark .notif-close-btn{color:#64748b}html.dark .notif-close-btn:hover{color:#94a3b8;background:#1e2d45}html.dark .notif-section-label{color:#475569}html.dark .notif-item:hover{background:#162032}html.dark .notif-item--unread{background:#0f1e32}html.dark .notif-item--unread:hover{background:#162032}html.dark .notif-item-title{color:#f1f5f9}html.dark .notif-item-msg{color:#94a3b8}html.dark .notif-item-time{color:#475569}html.dark .badge-dot,html.dark .notif-badge{border-color:#131e30}
