/* ===== V143 visual source block 1 ===== */

        :root {
            --bg-main: #0B0F19;
            --bg-card: #111827;
            --bg-hover: #1F2937;
            --border-color: rgba(255, 255, 255, 0.08);
            --text-main: #F9FAFB;
            --text-muted: #9CA3AF;
            --accent-primary: #3B82F6;
            --accent-success: #10B981;
            --accent-danger: #EF4444;
            --font-family: 'Inter', sans-serif;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--bg-main);
            color: var(--text-main);
            margin: 0;
            padding: 0 0 30px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            overflow-y: scroll;
        }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { animation: fadeIn 0.5s ease forwards; }

        .top-bar {
            width: 100%;
            height: 72px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
            padding: 0 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-sizing: border-box;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        
        .brand { display: flex; align-items: center; gap: 12px; }
        .brand h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-main); }
        .brand-badge { background: rgba(59,130,246,0.15); color: var(--accent-primary); font-size: 11px; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
        
        #status { font-size: 13px; color: var(--text-muted); font-weight: 500; }

        .actions-bar { display: flex; gap: 12px; align-items: center; }
        .btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 13px;
            cursor: pointer; border: none; transition: all 0.2s; font-family: var(--font-family);
        }
        .btn-primary { background-color: var(--accent-primary); color: white; }
        .btn-primary:hover { background-color: #2563EB; }
        .btn-secondary { background-color: var(--bg-hover); color: var(--text-main); border: 1px solid var(--border-color); }
        .btn-secondary:hover { background-color: #374151; }
        .btn-danger { background-color: transparent; border: 1px solid var(--accent-danger); color: var(--accent-danger); }
        .btn-danger:hover { background-color: rgba(239, 68, 68, 0.1); }

        .main-container {
            width: 100%; max-width: 1550px; margin-top: 24px; padding: 0 24px; box-sizing: border-box; display: none; 
            animation: fadeIn 0.4s ease forwards;
        }

        .drag-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(4px);
            z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center;
            border: 4px dashed var(--accent-primary); box-sizing: border-box; opacity: 0; pointer-events: none; transition: opacity 0.2s;
        }
        .drag-overlay.active { opacity: 1; pointer-events: all; }
        .drag-overlay svg { width: 64px; height: 64px; color: var(--accent-primary); margin-bottom: 16px; }

        .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
        .kpi-card { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .kpi-title { color: var(--text-muted); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
        .kpi-value { color: var(--text-main); font-size: 24px; font-weight: 700; line-height: 1; margin: 4px 0;}
        .kpi-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; width: fit-content; }
        .badge-success { background: rgba(16, 185, 129, 0.1); color: var(--accent-success); }
        .badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--accent-danger); }
        .badge-info { background: rgba(59, 130, 246, 0.1); color: var(--accent-primary); }
        .badge-warning { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

        .panel { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; width: 100%; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; margin-bottom: 24px; }
        .panel-header { padding: 20px 24px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; background-color: var(--bg-card); z-index: 20; flex-wrap: wrap;}
        .period-filter { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
        .period-field { display:flex; flex-direction:column; gap:5px; }
        .period-field label { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }
        .period-field input { background:var(--bg-hover); color:var(--text-main); border:1px solid var(--border-color); border-radius:8px; padding:8px 10px; font-family:var(--font-family); color-scheme:dark; }

        .analysis-controls {
            background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(16,185,129,.08));
            border: 1px solid rgba(59,130,246,.45);
            border-radius: 14px;
            padding: 18px 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            flex-wrap: wrap;
            box-shadow: 0 8px 24px rgba(0,0,0,.18);
        }
        .analysis-controls-title { display:flex; flex-direction:column; gap:5px; }
        .analysis-controls-title strong { font-size:15px; color:var(--text-main); }
        .analysis-controls-title span { font-size:12px; color:var(--text-muted); }
        .analysis-controls .period-filter { margin-left:auto; }
        .kpi-highlight { border-color: rgba(16,185,129,.4); background: linear-gradient(145deg, var(--bg-card), rgba(16,185,129,.08)); }
        .tempo-cell { color:#A7F3D0; font-weight:700; white-space:nowrap; }

        .tab-navigation {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0;
            padding: 6px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            background: rgba(17, 24, 39, .72);
            width: fit-content;
            max-width: 100%;
            overflow-x: auto;
        }
        .tab-button {
            border: 0;
            background: transparent;
            color: var(--text-muted);
            padding: 10px 15px;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: .2s ease;
        }
        .tab-button:hover { color: var(--text-main); background: rgba(255,255,255,.05); }
        .tab-button.active { color: #fff; background: var(--accent-primary); box-shadow: 0 5px 16px rgba(59,130,246,.24); }
        .panel-header .tab-navigation { display: none !important; }
        .panel-header-with-tabs { align-items: center; }

        .report-workspace-header {
            position: sticky;
            top: 72px;
            z-index: 90;
            margin: 0 0 20px 0;
            padding: 10px 0;
            background: linear-gradient(to bottom, var(--bg-main) 72%, rgba(11,15,25,.92));
        }
        .report-workspace-card {
            min-height: 72px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 12px 16px 12px 20px;
            border: 1px solid var(--border-color);
            border-radius: 14px;
            background: rgba(17,24,39,.96);
            box-shadow: 0 8px 26px rgba(0,0,0,.22);
            backdrop-filter: blur(10px);
        }
        .report-workspace-title {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 280px;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
        }
        .report-workspace-title small {
            display: block;
            margin-top: 3px;
            font-size: 11px;
            line-height: 1.3;
            font-weight: 500;
            color: var(--text-muted);
        }
        .report-workspace-header .tab-navigation {
            margin-left: auto;
            flex-shrink: 0;
        }

        .analysis-mode-area {
            display: flex;
            align-items: center;
            gap: 9px;
            min-width: 310px;
            flex: 1 1 420px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .analysis-mode-label {
            color: var(--text-muted);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .06em;
        }
        .analysis-mode-switch {
            display: inline-flex;
            padding: 4px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: rgba(11,15,25,.72);
        }
        .mode-button {
            border: 0;
            padding: 8px 13px;
            border-radius: 7px;
            background: transparent;
            color: var(--text-muted);
            font-family: var(--font-family);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: .2s ease;
            white-space: nowrap;
        }
        .mode-button:hover { color: var(--text-main); background: rgba(255,255,255,.05); }
        .mode-button.active { color: #fff; background: var(--accent-success); box-shadow: 0 5px 14px rgba(16,185,129,.22); }
        .matricula-match-status {
            width: 100%;
            color: var(--text-muted);
            font-size: 10px;
            text-align: center;
            line-height: 1.35;
        }
        .matricula-match-status.ready { color: #A7F3D0; }
        .comparison-status-area {
            display:flex; align-items:center; justify-content:center; flex:1 1 420px;
            min-width:310px; padding:7px 12px; border:1px solid var(--border-color);
            border-radius:10px; background:rgba(11,15,25,.45);
        }
        .comparison-status-area .matricula-match-status { text-align:center; }
        .local-mode-control { display:flex; align-items:flex-end; gap:7px; flex-wrap:wrap; }
        .local-mode-control .analysis-mode-label { display:block; margin-bottom:4px; }
        .local-mode-control .analysis-mode-switch { padding:3px; }
        .local-mode-control .mode-button { padding:7px 10px; font-size:11px; }
        #tab-overview .metric-line { opacity:1 !important; box-shadow:none !important; }
        #tab-overview .metric-line.negocio { color:#93C5FD; }
        #tab-overview .metric-line.matricula { color:#6EE7B7; }
        .metric-value-stack { display:flex; flex-direction:column; align-items:flex-end; line-height:1.08; }
        .metric-value-stack small { color:var(--text-muted); font-size:8px; font-weight:700; margin-top:2px; }
        .combo-pill .combo-value { display:flex; flex-direction:column; align-items:flex-end; line-height:1.05; }
        .combo-pill .combo-value small { color:var(--text-muted); font-size:8px; margin-top:2px; }
        .matricula-only { display: flex; }
        .kpi-card.matricula-only { border-color: rgba(16,185,129,.28); }
        .mode-note {
            color: var(--text-muted);
            font-size: 11px;
            line-height: 1.45;
            margin-top: 6px;
        }
        @media (max-width: 1150px) {
            .analysis-mode-area { justify-content: flex-start; min-width: 100%; order: 3; }
            .matricula-match-status { text-align: left; }
        }

        @media (max-width: 900px) {
            .report-workspace-card { align-items: flex-start; flex-direction: column; }
            .report-workspace-header .tab-navigation { margin-left: 0; width: 100%; }
        }
        .panel-header-main { min-width: 260px; flex: 1 1 420px; }
        .panel-header-actions { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-left:auto; }
        .tab-content { display: none; animation: fadeIn .3s ease forwards; }
        .tab-content.active { display: block; }
        .chart-controls { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; }
        .chart-controls label { display:flex; flex-direction:column; gap:5px; font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }
        .chart-controls select {
            min-width: 280px;
            max-width: 520px;
            background: var(--bg-hover);
            color: var(--text-main);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 9px 11px;
            font-family: var(--font-family);
        }
        .mini-kpi-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; margin-bottom:20px; }
        .mini-kpi { background:var(--bg-card); border:1px solid var(--border-color); border-radius:12px; padding:15px 16px; }
        .mini-kpi-label { color:var(--text-muted); font-size:11px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:7px; }
        .mini-kpi-value { color:var(--text-main); font-size:21px; font-weight:700; }
        .chart-stage { height:360px; padding:22px 24px 12px; position:relative; }
        .daily-table-wrap { overflow:auto; max-height:390px; border-top:1px solid var(--border-color); }
        .daily-table { width:100%; border-collapse:collapse; min-width:720px; }
        .daily-table th, .daily-table td { padding:12px 16px; border-bottom:1px solid var(--border-color); font-size:12px; text-align:right; }
        .daily-table th { position:sticky; top:0; background:var(--bg-card); z-index:2; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }
        .daily-table th:first-child, .daily-table td:first-child { text-align:left; }
        .cohort-explanation { color:var(--text-muted); font-size:12px; line-height:1.55; font-weight:400; max-width:850px; }
        .cohort-wrap { overflow:auto; width:100%; }
        .cohort-table { width:100%; border-collapse:separate; border-spacing:0; min-width:980px; }
        .cohort-table th, .cohort-table td { padding:13px 12px; border-right:1px solid var(--border-color); border-bottom:1px solid var(--border-color); text-align:center; font-size:12px; }
        .cohort-table th { position:sticky; top:0; background:var(--bg-card); color:var(--text-muted); z-index:3; text-transform:uppercase; letter-spacing:.04em; }
        .cohort-table th:first-child, .cohort-table td:first-child { position:sticky; left:0; z-index:2; text-align:left; background:#0E1522; min-width:150px; font-weight:700; }
        .cohort-table th:first-child { z-index:4; background:var(--bg-card); }
        .cohort-cell { font-weight:700; min-width:88px; }
        .cohort-cell.pending { color:#6B7280; background:rgba(255,255,255,.015); font-weight:500; }
        .cohort-metric { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; line-height:1.05; }
        .cohort-quantity { font-size:14px; font-weight:800; letter-spacing:-0.01em; }
        .cohort-percentage { font-size:11px; font-weight:700; opacity:.88; }
        .cohort-total-metric { display:flex; align-items:baseline; justify-content:center; gap:6px; white-space:nowrap; }
        .cohort-total-quantity { color:var(--accent-success); font-size:14px; font-weight:800; }
        .cohort-total-percentage { color:#A7F3D0; font-size:11px; font-weight:700; }
        .cohort-forecast { padding:18px 24px 20px; border-bottom:1px solid var(--border-color); background:rgba(255,255,255,.012); }
        .cohort-forecast-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
        .cohort-forecast-title { color:var(--text-main); font-size:14px; font-weight:700; }
        .cohort-forecast-description { color:var(--text-muted); font-size:11px; line-height:1.5; max-width:850px; margin-top:4px; }
        .cohort-forecast-grid { display:grid; grid-template-columns:repeat(8,minmax(125px,1fr)); gap:10px; overflow-x:auto; padding-bottom:2px; }
        .cohort-forecast-card { min-width:125px; background:#0D1523; border:1px solid var(--border-color); border-radius:10px; padding:12px 13px; box-shadow:inset 0 3px 0 var(--forecast-accent, var(--accent-primary)); }
        .cohort-forecast-label { color:var(--text-muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
        .cohort-forecast-value { color:var(--text-main); font-size:21px; line-height:1; font-weight:800; margin:8px 0 6px; }
        .cohort-forecast-detail { color:#D1D5DB; font-size:10px; line-height:1.35; }
        .cohort-forecast-base { color:var(--text-muted); font-size:9px; margin-top:4px; }
        .cohort-forecast-empty { color:var(--text-muted); padding:12px 0; font-size:12px; }
        .cohort-legend { display:flex; align-items:center; gap:8px; padding:14px 24px 20px; color:var(--text-muted); font-size:11px; flex-wrap:wrap; }
        .legend-box { width:24px; height:12px; border-radius:3px; border:1px solid rgba(255,255,255,.06); }
        .empty-state { padding:48px 24px; text-align:center; color:var(--text-muted); }
        .control-daily-wrap { overflow:auto; width:100%; max-height:72vh; }
        .control-daily-table { width:max-content; min-width:100%; border-collapse:separate; border-spacing:0; }
        .control-daily-table th, .control-daily-table td { padding:11px 13px; border-right:1px solid var(--border-color); border-bottom:1px solid var(--border-color); text-align:center; font-size:12px; white-space:nowrap; }
        .control-daily-table thead th { position:sticky; top:0; z-index:5; background:#111827; color:#D1D5DB; text-transform:uppercase; letter-spacing:.04em; }
        .control-date-header { display:flex; flex-direction:column; align-items:center; gap:2px; line-height:1.05; }
        .control-date-header .control-date-main { color:#F9FAFB; font-size:12px; font-weight:800; }
        .control-date-header .control-date-weekday { color:#60A5FA; font-size:9px; font-weight:700; letter-spacing:.06em; }
        .control-daily-table th:first-child, .control-daily-table td:first-child { position:sticky; left:0; z-index:3; min-width:265px; max-width:330px; text-align:left; white-space:normal; background:#0E1522; font-weight:700; }
        .control-daily-table th:nth-child(2), .control-daily-table td:nth-child(2) { position:sticky; left:265px; z-index:3; min-width:105px; background:#0E1522; color:var(--text-muted); font-size:11px; }
        .control-daily-table thead th:first-child, .control-daily-table thead th:nth-child(2) { z-index:7; background:#111827; }
        .control-daily-table .control-group-row td { position:sticky; left:0; z-index:4; text-align:left; padding:9px 14px; background:#070B12; color:#fff; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; border-bottom:1px solid rgba(255,255,255,.14); }
        .control-daily-table td.control-currency { color:#F3F4F6; font-weight:700; }
        .control-daily-table td.control-integer { color:#E5E7EB; font-weight:700; }
        .control-daily-table td.control-percent { color:#A7F3D0; font-weight:700; }
        .control-daily-table td.control-zero { color:#6B7280; }
        .control-daily-table td.control-weekend { color:#FCD34D; font-size:10px; font-weight:700; }
        .control-daily-note { color:var(--text-muted); font-size:11px; line-height:1.5; max-width:900px; margin-top:5px; }
        .control-daily-note strong { color:#D1FAE5; }
        .control-export-btn { white-space:nowrap; }

        @media (max-width: 900px) {
            .analysis-controls { align-items:flex-start; }
            .analysis-controls .period-filter { width:100%; margin-left:0; }
        }
        .header-title-group { display: flex; align-items: center; gap: 8px; }

        .table-container { overflow: auto; max-height: 70vh; width: 100%; position: relative; }
        .data-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 1280px; }
        .compact-number-stack { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; line-height:1.05; }
        .compact-number-stack strong { font-size:14px; color:var(--text-main); }
        .compact-number-stack small { font-size:9px; color:var(--text-muted); font-weight:700; }
        .compact-number-stack.won strong { color:#93C5FD; }
        .compact-number-stack.matricula strong { color:#6EE7B7; }
        .overview-details-row td { padding:0 !important; background:#0B1220; }
        .overview-details-panel { display:grid; grid-template-columns:1.05fr 1fr 1fr 1.65fr; gap:12px; padding:14px 18px 16px 42px; border-bottom:1px solid var(--border-color); }
        .overview-detail-card { background:rgba(255,255,255,.025); border:1px solid var(--border-color); border-radius:10px; padding:12px 13px; min-width:0; }
        .overview-detail-title { color:var(--text-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.055em; margin-bottom:9px; }
        .overview-detail-line { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#D1D5DB; font-size:11px; padding:3px 0; }
        .overview-detail-line strong { color:var(--text-main); font-size:12px; text-align:right; }
        .overview-detail-card .combo-summary { margin-top:2px; }
        .overview-detail-card .metric-sub { padding:0; margin-top:7px; }
        @media (max-width: 1250px) { .overview-details-panel { grid-template-columns:repeat(2,minmax(240px,1fr)); } }
        @media (max-width: 760px) { .overview-details-panel { grid-template-columns:1fr; padding-left:18px; } }
        
        .data-table th, .data-table td { padding: 16px 12px; vertical-align: middle; }
        .data-table th:first-child, .data-table td:first-child { text-align: left; }
        .data-table th { color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; cursor: pointer; user-select: none; transition: color 0.2s; position: sticky; top: 0; background-color: var(--bg-card); z-index: 20; box-shadow: 0 1px 0 var(--border-color); white-space: nowrap;}
        .data-table td { font-size: 13px; color: var(--text-main); text-align: center; border-bottom: 1px solid var(--border-color); }
        .data-table td:first-child { white-space: normal; word-break: break-word; }
        .data-table th:last-child, .data-table td:last-child { text-align: right; width: 40px; }
        .data-table .comparison-cell { padding-top: 9px; padding-bottom: 9px; }
        .dual-metric { display:grid; gap:5px; min-width:0; }
        .metric-line { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:4px 7px; border-radius:6px; transition:.18s ease; white-space:nowrap; }
        .metric-line .metric-label { color:var(--text-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
        .metric-line .metric-value { color:var(--text-main); font-size:12px; font-weight:800; }
        .metric-line.negocio { background:rgba(59,130,246,.07); }
        .metric-line.matricula { background:rgba(16,185,129,.07); }
        body[data-analysis-mode="negocios"] .metric-line.negocio,
        body[data-analysis-mode="matriculas"] .metric-line.matricula { box-shadow:inset 0 0 0 1px currentColor; }
        body[data-analysis-mode="negocios"] .metric-line.matricula,
        body[data-analysis-mode="matriculas"] .metric-line.negocio { opacity:.64; }
        body[data-analysis-mode="negocios"] .metric-line.negocio { color:#93C5FD; }
        body[data-analysis-mode="matriculas"] .metric-line.matricula { color:#6EE7B7; }
        .metric-sub { color:var(--text-muted); font-size:9px; line-height:1.3; text-align:left; padding:0 7px; white-space:normal; }
        .combo-summary { display:flex; flex-wrap:wrap; gap:5px; align-items:center; justify-content:flex-start; }
        .combo-pill { display:inline-flex; align-items:center; gap:4px; border:1px solid var(--border-color); background:rgba(255,255,255,.035); border-radius:999px; padding:4px 7px; white-space:nowrap; }
        .combo-pill .combo-label { color:var(--text-muted); font-size:9px; font-weight:700; }
        .combo-pill .combo-value { color:var(--text-main); font-size:11px; font-weight:800; }
        .combo-pill.combo-multiple { border-color:rgba(16,185,129,.28); background:rgba(16,185,129,.075); }
        .combo-empty { color:var(--text-muted); font-size:10px; text-align:left; line-height:1.35; }
        .comparative-head { line-height:1.2; }
        .comparative-head small { display:block; margin-top:3px; color:#64748B; font-size:8px; font-weight:700; letter-spacing:.03em; }
        
        .data-table th:hover { color: var(--text-main); }
        .sort-icon { display: inline-block; margin-left: 4px; width: 12px; height: 12px; opacity: 0.3; transition: opacity 0.2s; }
        .data-table th.active-sort { color: var(--accent-primary); }
        .data-table th.active-sort .sort-icon { opacity: 1; color: var(--accent-primary); }
        
        .data-table tfoot th, .data-table tfoot td {
            position: sticky; bottom: 0; background-color: #080B13; z-index: 30;
            box-shadow: 0 -1px 0 var(--border-color), 0 1px 0 var(--border-color); font-weight: 700; color: #FFFFFF;
        }
        
        .parent-row, .conjunto-row, .anuncio-row { transition: background-color 0.2s; }
        .parent-row { cursor: pointer; }
        .conjunto-row { cursor: pointer; background-color: rgba(0,0,0,0.15); }
        .anuncio-row { background-color: rgba(0,0,0,0.25); }
        
        .parent-row:hover { background-color: var(--bg-hover); }
        .conjunto-row:hover { background-color: rgba(255,255,255,0.04) !important; }
        .anuncio-row:hover { background-color: rgba(255,255,255,0.06) !important; }
        
        .parent-row td:first-child, .conjunto-row td:first-child { font-weight: 600; }
        .chevron { transition: transform 0.3s ease; display: inline-block; }
        .parent-row.expanded .chevron, .conjunto-row.expanded .chevron { transform: rotate(180deg); }
        .parent-row.expanded { background-color: rgba(255,255,255,0.02); }
        .conjunto-row.expanded { background-color: rgba(255,255,255,0.04) !important; }

        .text-green { color: var(--accent-success); font-weight: 600;}
        .text-blue { color: var(--accent-primary); font-weight: 600;}
        .text-spend { color: #F3F4F6; font-weight: 600;}
        .text-danger { color: var(--accent-danger); font-weight: 600;}
        .text-warning { color: #FCD34D; font-weight: 600;}

        .info-icon {
            display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px;
            border-radius: 50%; background-color: rgba(255,255,255,0.1); color: var(--text-muted);
            font-size: 10px; font-weight: bold; margin-left: 6px; cursor: help; vertical-align: middle;
        }
        .info-icon:hover { background-color: var(--accent-primary); color: white; }
        
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-main); border-radius: 4px;}
        ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }
        
        .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(11, 15, 25, 0.85); backdrop-filter: blur(4px); justify-content: center; align-items: center; }
        .modal-content { background-color: var(--bg-card); margin: auto; padding: 24px; border: 1px solid var(--border-color); width: 80%; max-width: 400px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); text-align: center; }
        .modal-content h3 { margin-top: 0; color: var(--text-main); font-weight: 600; }
        .modal-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
        .modal-buttons { display: flex; justify-content: center; gap: 12px; }


        /* V19 — layout estável e auditoria de vínculos */
        .report-workspace-card {
            display: grid;
            grid-template-columns: minmax(250px, 1fr) minmax(390px, 1.15fr) auto;
            align-items: center;
            min-height: 94px;
        }
        .analysis-mode-area {
            display: grid;
            grid-template-columns: auto auto;
            grid-template-rows: auto 30px;
            justify-content: center;
            align-items: center;
            align-content: center;
            column-gap: 10px;
            row-gap: 5px;
            min-height: 66px;
        }
        .matricula-match-status {
            grid-column: 1 / -1;
            min-height: 28px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            overflow: hidden;
        }
        .matricula-only { display: flex !important; }
        .kpi-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            align-items: stretch;
        }
        .kpi-card { min-height: 112px; box-sizing: border-box; }
        .tab-content { min-height: 650px; }
        .panel-header-main { min-height: 58px; }
        .panel-header-actions { min-height: 58px; align-items: center; }
        .audit-toolbar { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
        .audit-toolbar label { display:flex; flex-direction:column; gap:5px; color:var(--text-muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
        .audit-toolbar select, .audit-toolbar input {
            min-width:210px; background:var(--bg-hover); color:var(--text-main); border:1px solid var(--border-color);
            border-radius:8px; padding:9px 10px; font-family:var(--font-family); box-sizing:border-box;
        }
        .audit-toolbar input { min-width:260px; }
        .audit-table-wrap { overflow:auto; max-height:66vh; border-top:1px solid var(--border-color); }
        .audit-table { width:100%; min-width:1450px; border-collapse:separate; border-spacing:0; }
        .audit-table th, .audit-table td { padding:11px 12px; border-right:1px solid var(--border-color); border-bottom:1px solid var(--border-color); font-size:11px; vertical-align:middle; }
        .audit-table th { position:sticky; top:0; z-index:3; background:var(--bg-card); color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; text-align:left; }
        .audit-table td { color:var(--text-main); }
        .audit-table td.audit-reason { color:#FCD34D; font-weight:600; }
        .audit-table td.audit-date { white-space:nowrap; }
        .audit-table td.audit-id { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:#93C5FD; }
        .audit-summary-note { color:var(--text-muted); font-size:11px; line-height:1.5; max-width:900px; margin-top:5px; }
        .audit-empty { padding:54px 24px; text-align:center; color:var(--text-muted); }
        .kpi-audit-alert { border-color:rgba(245,158,11,.34); }
        .kpi-audit-ok { border-color:rgba(16,185,129,.34); }
        @media (max-width: 1250px) {
            .report-workspace-card { grid-template-columns: 1fr; }
            .analysis-mode-area { justify-content:start; }
            .matricula-match-status { justify-content:flex-start; text-align:left; }
            .report-workspace-header .tab-navigation { margin-left:0; width:100%; }
            .kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
        }
        @media (max-width: 850px) {
            .kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .audit-toolbar select, .audit-toolbar input { min-width:100%; width:100%; }
        }

        /* Estilos Otimizados para Impressão (PDF) */
        @media print {
            @page { size: landscape; margin: 10mm; }
            body { 
                background-color: var(--bg-main) !important; 
                -webkit-print-color-adjust: exact !important; 
                print-color-adjust: exact !important; 
                overflow: visible !important;
            }
            .top-bar, .actions-bar, .drag-overlay, #clearModal, .tab-navigation, .report-workspace-header { display: none !important; }
            .tab-content { display: none !important; }
            #tab-overview { display: block !important; }
            .chart-row-print-hide { display: none !important; height: 0 !important; overflow: hidden !important; }
            .main-container { padding: 0 !important; margin-top: 0 !important; max-width: 100% !important; }
            .table-container { overflow: visible !important; max-height: none !important; }
            .data-table th, .data-table tfoot th, .data-table tfoot td { position: static !important; }
            tr { page-break-inside: avoid !important; }
            .panel { box-shadow: none !important; border: 1px solid var(--border-color) !important; }
            .kpi-card, .data-table th, .expanded-content, .anuncio-row, .conjunto-row { 
                -webkit-print-color-adjust: exact !important; 
                print-color-adjust: exact !important; 
            }
        }
    

        /* Perfil do público */
        .profile-filter-panel { padding:10px 14px; border-bottom:1px solid var(--border-color); background:rgba(15,23,42,.32); }
        .profile-filter-grid { display:grid; grid-template-columns:repeat(6,minmax(120px,1fr)); gap:8px; align-items:end; }
        .profile-filter-grid label { display:flex; flex-direction:column; gap:4px; color:var(--text-muted); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
        .profile-filter-grid select { width:100%; min-height:34px; border-radius:7px; border:1px solid var(--border-color); background:var(--bg-hover); color:var(--text-main); padding:6px 8px; font-family:var(--font-family); font-size:11px; }
        .profile-scope-note { margin-top:6px; color:var(--text-muted); font-size:10px; line-height:1.35; }
        .profile-subnav { display:flex; gap:6px; padding:8px 14px; border-bottom:1px solid var(--border-color); background:rgba(2,6,23,.22); flex-wrap:wrap; }
        .profile-subnav-button { border:1px solid var(--border-color); background:transparent; color:var(--text-muted); border-radius:7px; padding:7px 10px; font-family:var(--font-family); font-size:11px; font-weight:700; cursor:pointer; transition:.2s; }
        .profile-subnav-button:hover { color:var(--text-main); background:rgba(255,255,255,.04); }
        .profile-subnav-button.active { color:#fff; background:var(--accent-primary); border-color:var(--accent-primary); }
        #tab-public-profile .profile-kpi-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-bottom:10px; }
        #tab-public-profile .profile-kpi-grid .mini-kpi { padding:10px 12px; min-height:68px; }
        #tab-public-profile .profile-kpi-grid .mini-kpi-value { font-size:18px; margin-top:3px; }
        #tab-public-profile .profile-kpi-grid .mini-kpi-label { font-size:9px; }
        #tab-public-profile .panel-header { padding:12px 16px; }
        #tab-public-profile .audit-summary-note { font-size:10px; line-height:1.35; max-width:1100px; }
        .profile-view { display:none; padding:10px 12px 12px; }
        .profile-view.active { display:block; }
        .profile-chart-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
        .profile-chart-card { min-height:225px; background:rgba(15,23,42,.44); border:1px solid var(--border-color); border-radius:10px; padding:10px; display:flex; flex-direction:column; overflow:hidden; }
        .profile-chart-card.profile-chart-wide { grid-column:1/-1; min-height:220px; }
        .profile-chart-title { color:var(--text-main); font-size:12px; font-weight:700; margin-bottom:2px; }
        .profile-chart-description { color:var(--text-muted); font-size:9px; line-height:1.3; margin-bottom:5px; min-height:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .profile-chart-canvas { position:relative; flex:1; min-height:165px; }
        .profile-chart-card.profile-chart-wide .profile-chart-canvas { min-height:170px; }
        .profile-chart-canvas canvas { width:100% !important; height:100% !important; }
        .profile-table-wrap { overflow:auto; max-height:270px; border:1px solid var(--border-color); border-radius:8px; }
        .profile-table { width:100%; border-collapse:separate; border-spacing:0; min-width:720px; }
        .profile-table th,.profile-table td { padding:8px 10px; border-bottom:1px solid var(--border-color); font-size:10px; text-align:right; }
        .profile-table th { position:sticky; top:0; z-index:2; background:#111827; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }
        .profile-table th:first-child,.profile-table td:first-child { text-align:left; }
        .profile-table td { color:var(--text-main); }
        .profile-table tbody tr:hover { background:rgba(255,255,255,.025); }
        .profile-empty { padding:44px 20px; text-align:center; color:var(--text-muted); font-size:13px; }
        .profile-kpi-sub { color:var(--text-muted); font-size:10px; margin-top:5px; line-height:1.3; }
        .profile-kpi-main { white-space:normal; line-height:1.1; }

        /* V33 — alinhamento à esquerda e mês de análise */
        .profile-filter-sidebar,
        .profile-filter-sidebar * {
            text-align:left;
        }
        .profile-sidebar-heading {
            flex-direction:column;
            align-items:flex-start;
            justify-content:flex-start;
        }
        .profile-sidebar-clear {
            align-self:flex-start;
            padding:2px 0 0;
        }
        .profile-filter-sidebar .profile-scope-summary,
        .profile-filter-sidebar .profile-scope-note {
            text-align:left;
        }
        .profile-filter-sidebar .profile-filter-grid label,
        .profile-filter-sidebar .profile-filter-grid-v29 label {
            width:100%;
            align-items:flex-start;
        }
        .profile-filter-sidebar select,
        .profile-filter-sidebar input,
        .profile-filter-sidebar button {
            box-sizing:border-box;
        }
        .profile-filter-sidebar select {
            width:100%;
            text-align:left;
            text-align-last:left;
        }
        .profile-month-panel {
            padding:10px 12px;
            border-bottom:1px solid var(--border-color);
            background:rgba(59,130,246,.045);
        }
        .profile-month-panel > label {
            display:block;
            margin-bottom:6px;
            color:#BFDBFE;
            font-size:8px;
            font-weight:800;
            letter-spacing:.05em;
            text-transform:uppercase;
        }
        .profile-month-row {
            display:grid;
            grid-template-columns:minmax(0,1fr) auto;
            gap:6px;
            align-items:center;
        }
        .profile-month-row input[type="month"] {
            width:100%;
            min-height:36px;
            padding:7px 8px;
            border:1px solid var(--border-color);
            border-radius:8px;
            background:var(--bg-hover);
            color:var(--text-main);
            color-scheme:dark;
            font:600 10px var(--font-family);
        }
        .profile-month-clear {
            min-height:36px;
            padding:7px 9px;
            border:1px solid var(--border-color);
            border-radius:8px;
            background:rgba(255,255,255,.04);
            color:var(--text-muted);
            cursor:pointer;
            font:700 9px var(--font-family);
        }
        .profile-month-clear:hover { color:#fff; border-color:#60A5FA; }
        .profile-month-help {
            display:block;
            margin-top:6px;
            color:var(--text-muted);
            font-size:8px;
            line-height:1.35;
        }

        @media (max-width:1180px) {
            #tab-public-profile .profile-kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
            .profile-filter-grid { grid-template-columns:repeat(3,minmax(130px,1fr)); }
            .profile-chart-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
        }
        @media (max-width:760px) {
            #tab-public-profile .profile-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .profile-filter-grid { grid-template-columns:1fr; }
            .profile-chart-grid { grid-template-columns:1fr; }
            .profile-chart-card.profile-chart-wide { grid-column:auto; }
            .profile-view { padding:8px; }
        }


        /* V29 — navegação sem rolagem e BI de matrículas */
        .report-workspace-card {
            grid-template-columns:minmax(250px,.8fr) minmax(280px,1.2fr);
            gap:8px 16px;
            min-height:118px;
        }
        .report-workspace-header .tab-navigation {
            grid-column:1/-1;
            width:100%;
            margin:0;
            display:grid;
            grid-template-columns:repeat(6,minmax(0,1fr));
            gap:4px;
            overflow:visible;
            box-sizing:border-box;
        }
        .report-workspace-header .tab-button {
            min-width:0;
            padding:9px 6px;
            font-size:12px;
            overflow:hidden;
            text-overflow:ellipsis;
        }
        .profile-main-header { gap:12px; }
        .profile-scope-switch { display:flex; gap:5px; padding:4px; border:1px solid var(--border-color); border-radius:9px; background:rgba(2,6,23,.35); }
        .profile-scope-button { border:0; border-radius:7px; background:transparent; color:var(--text-muted); padding:8px 11px; font:700 11px var(--font-family); cursor:pointer; white-space:nowrap; }
        .profile-scope-button.active { background:var(--accent-primary); color:#fff; }
        .profile-scope-summary { padding:8px 14px; border-bottom:1px solid var(--border-color); background:rgba(16,185,129,.055); color:#A7F3D0; font-size:10px; font-weight:600; }
        .profile-filter-grid-v29 { grid-template-columns:repeat(7,minmax(105px,1fr)); }
        .profile-filter-grid select:disabled { opacity:.55; cursor:not-allowed; }
        .profile-consultant-selection { margin:0 0 8px; padding:7px 10px; border:1px solid rgba(59,130,246,.32); background:rgba(59,130,246,.08); border-radius:8px; display:flex; align-items:center; justify-content:space-between; color:#BFDBFE; font-size:11px; font-weight:700; }
        .profile-consultant-selection[hidden] { display:none; }
        .profile-consultant-selection button { border:0; background:transparent; color:#93C5FD; cursor:pointer; font:700 10px var(--font-family); }
        .clickable-chart { cursor:pointer; }
        .profile-table tr.consultant-row { cursor:pointer; }
        .profile-table tr.consultant-row.active { background:rgba(59,130,246,.13); box-shadow:inset 3px 0 0 var(--accent-primary); }
        @media (max-width:1180px) {
            .profile-filter-grid-v29 { grid-template-columns:repeat(4,minmax(120px,1fr)); }
            .report-workspace-card { grid-template-columns:1fr; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
        }
        @media (max-width:720px) {
            .profile-filter-grid-v29 { grid-template-columns:1fr; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(2,minmax(0,1fr)); }
        }


        /* V30 — experiência simplificada */
        :root {
            --bg-main:#09101B;
            --bg-card:#111A2A;
            --bg-soft:#0D1625;
            --border-color:rgba(148,163,184,.16);
            --text-muted:#A7B0C0;
            --accent-primary:#3B82F6;
        }
        body { background:radial-gradient(circle at 50% -180px, rgba(59,130,246,.10), transparent 420px), var(--bg-main); }
        .top-bar { height:64px; padding:0 20px; }
        .brand { min-width:0; gap:9px; }
        .brand h2 { font-size:17px; white-space:nowrap; }
        .brand-badge { font-size:9px; padding:4px 7px; border-radius:7px; white-space:nowrap; }
        #status { max-width:250px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:11px; }
        .actions-bar { gap:8px; }
        .actions-bar .btn { min-height:38px; padding:8px 12px; font-size:12px; }
        #extended-actions { gap:8px !important; padding-left:8px !important; margin-left:2px !important; }
        .main-container { max-width:1600px; margin-top:14px; padding:0 18px; }

        .analysis-controls { padding:12px 14px; margin-bottom:12px; border-radius:12px; background:rgba(17,26,42,.88); border-color:rgba(59,130,246,.32); box-shadow:none; }
        .analysis-controls-title strong { font-size:13px; }
        .analysis-controls-title span { font-size:10px; }
        .period-field label { font-size:9px; }
        .period-field input { min-height:36px; padding:6px 9px; }
        .analysis-controls .btn { min-height:36px; padding:7px 11px; }

        .report-workspace-header { top:64px; margin-bottom:14px; padding:6px 0 8px; }
        .report-workspace-card { min-height:68px; display:grid; grid-template-columns:minmax(220px,270px) minmax(185px,240px) minmax(0,1fr); align-items:center; gap:12px; padding:10px 12px 10px 16px; border-radius:13px; }
        .report-workspace-title { min-width:0; font-size:14px; gap:9px; }
        .report-workspace-title > div { min-width:0; }
        .report-workspace-title small { font-size:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .help-button { flex:0 0 26px; width:26px; height:26px; border:1px solid rgba(96,165,250,.35); background:rgba(59,130,246,.10); color:#93C5FD; border-radius:50%; font:800 12px var(--font-family); cursor:pointer; }
        .help-button:hover { background:rgba(59,130,246,.22); color:#fff; }
        .comparison-status-area { min-width:0; width:100%; padding:7px 10px; }
        .matricula-match-status { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:9px; }
        .report-workspace-header .tab-navigation { width:100%; max-width:none; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); overflow:visible; gap:3px; padding:4px; }
        .report-workspace-header .tab-button { min-width:0; padding:9px 5px; font-size:10.5px; overflow:hidden; text-overflow:ellipsis; }

        .kpi-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-bottom:16px; }
        .kpi-card { min-height:94px; padding:13px 14px; border-radius:11px; gap:3px; box-shadow:none; }
        .kpi-card:hover { border-color:rgba(96,165,250,.38); transform:translateY(-1px); transition:.18s ease; }
        .kpi-title { font-size:10px; letter-spacing:.04em; }
        .kpi-value { font-size:21px; margin:4px 0; }
        .kpi-badge { font-size:9px; padding:3px 7px; }
        .mini-kpi-grid { gap:10px; margin-bottom:14px; }
        .mini-kpi { padding:12px 13px; border-radius:10px; }
        .mini-kpi-label { font-size:9px; margin-bottom:5px; }
        .mini-kpi-value { font-size:19px; }

        .panel { margin-bottom:16px; border-radius:13px; box-shadow:none; }
        .panel-header { padding:13px 16px; gap:12px; }
        .header-title-group { font-size:14px; }
        .panel-header-actions { gap:8px; }
        .chart-controls { gap:8px; }
        .chart-controls label { font-size:9px; gap:4px; }
        .chart-controls select { min-width:220px; max-width:360px; min-height:36px; padding:7px 9px; font-size:11px; }
        .local-mode-control .analysis-mode-label { font-size:8px; }
        .analysis-mode-switch { gap:2px; }
        .mode-button { padding:6px 9px !important; }
        .mode-button span { display:flex; flex-direction:column; align-items:center; line-height:1.05; }
        .mode-button small { display:block; margin-top:2px; font-size:7px; font-weight:600; opacity:.72; }

        .data-table th { font-size:9px; padding:11px 9px; }
        .data-table td { padding:13px 9px; font-size:11px; }
        .data-table tbody tr:nth-child(even):not(.overview-details-row) { background:rgba(255,255,255,.012); }
        .data-table tbody tr:hover:not(.overview-details-row) { background:rgba(59,130,246,.055); }
        .table-container { max-height:68vh; }
        .overview-details-panel { padding:12px 14px 14px 30px; gap:9px; }
        .overview-detail-card { padding:10px 11px; }

        .chart-stage { height:300px; padding:14px 18px 8px; }
        .daily-table th,.daily-table td { padding:10px 12px; }
        .cohort-explanation,.control-daily-note,.audit-summary-note { font-size:10px; line-height:1.4; max-width:760px; }
        .cohort-forecast { padding:13px 16px 15px; }
        .cohort-forecast-grid { gap:7px; }
        .cohort-forecast-card { padding:10px; }
        .cohort-forecast-value { font-size:18px; }
        .help-details { margin-top:7px; max-width:820px; font-size:10px; color:var(--text-muted); font-weight:500; }
        .help-details summary { display:inline-flex; align-items:center; gap:5px; color:#93C5FD; cursor:pointer; font-weight:700; user-select:none; }
        .help-details summary::before { content:'ⓘ'; font-size:11px; }
        .help-details p { margin:7px 0 0; padding:9px 11px; border:1px solid var(--border-color); border-radius:8px; background:rgba(2,6,23,.28); line-height:1.5; }

        .profile-main-header { padding:12px 14px; }
        .profile-scope-button { padding:7px 10px; font-size:10px; }
        .profile-scope-summary { padding:6px 12px; font-size:9px; }
        .profile-filter-panel { padding:9px 12px; }
        .profile-filter-grid-v29 { grid-template-columns:repeat(4,minmax(135px,1fr)); gap:7px; }
        .profile-filter-grid label { font-size:8px; }
        .profile-subnav { padding:7px 12px; }
        .profile-subnav-button { flex:1; text-align:center; min-width:130px; }
        .profile-chart-card { min-height:210px; padding:9px; }
        .profile-chart-canvas { min-height:150px; }
        .profile-chart-title { font-size:11px; }
        .profile-chart-description { font-size:8px; }

        .help-modal-content { width:min(680px,calc(100vw - 32px)); max-width:680px; text-align:left; }
        .help-modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
        .help-modal-header h3 { margin:0 0 4px; }
        .help-modal-header p { margin:0; color:var(--text-muted); font-size:12px; }
        .icon-close { width:30px; height:30px; border:1px solid var(--border-color); border-radius:8px; background:transparent; color:var(--text-muted); font-size:20px; cursor:pointer; }
        .help-glossary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:18px; }
        .help-glossary > div { display:flex; flex-direction:column; gap:3px; padding:10px 11px; border:1px solid var(--border-color); background:rgba(2,6,23,.24); border-radius:9px; }
        .help-glossary strong { color:#DBEAFE; font-size:11px; }
        .help-glossary span { color:var(--text-muted); font-size:10px; line-height:1.4; }

        @media (max-width:1250px) {
            .report-workspace-card { grid-template-columns:minmax(220px,260px) minmax(170px,220px) minmax(0,1fr); }
            .report-workspace-header .tab-button { font-size:9.5px; padding:8px 3px; }
            .kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
        }
        @media (max-width:1050px) {
            .top-bar { height:auto; min-height:64px; padding:8px 14px; flex-wrap:wrap; gap:8px; }
            .brand { flex:1 1 100%; }
            #status { margin-left:auto !important; }
            .actions-bar { width:100%; justify-content:flex-end; }
            .report-workspace-header { top:112px; }
            .report-workspace-card { grid-template-columns:1fr; gap:8px; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
            .matricula-match-status { text-align:left; }
            .kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .profile-filter-grid-v29 { grid-template-columns:repeat(2,minmax(150px,1fr)); }
        }
        @media (max-width:680px) {
            .main-container { padding:0 10px; }
            .analysis-controls { align-items:stretch; }
            .period-filter { display:grid; grid-template-columns:1fr 1fr; width:100%; }
            .period-filter .btn { width:100%; justify-content:center; }
            .kpi-grid { grid-template-columns:1fr; }
            .help-glossary { grid-template-columns:1fr; }
            .profile-filter-grid-v29 { grid-template-columns:1fr; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(2,minmax(0,1fr)); }
        }

    
        /* V33 — filtros laterais e seleção rápida de mês */
        .analysis-controls { display:none !important; }
        .report-workspace-header { top:72px; padding-top:8px; }
        .report-workspace-card {
            display:grid;
            grid-template-columns:minmax(220px, .8fr) minmax(240px, 1fr) auto;
            align-items:center;
            gap:10px 16px;
            min-height:0;
            padding:10px 14px;
        }
        .report-workspace-title { min-width:0; font-size:14px; }
        .report-workspace-title small { font-size:9px; }
        .comparison-status-area { min-width:0; }
        .matricula-match-status { display:block; max-width:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .report-period-area { display:flex; flex-direction:column; align-items:flex-end; gap:3px; min-width:430px; }
        .report-period-area .period-filter { flex-wrap:nowrap; gap:6px; }
        .report-period-area .period-field { gap:2px; }
        .report-period-area .period-field label { font-size:8px; }
        .report-period-area .period-field input { width:120px; padding:6px 7px; font-size:10px; }
        .report-period-area .btn { padding:7px 9px; font-size:10px; }
        .report-period-area small { color:var(--text-muted); font-size:8px; text-align:right; white-space:nowrap; }
        .report-workspace-header .tab-navigation {
            grid-column:1/-1;
            width:100%;
            display:grid;
            grid-template-columns:repeat(6,minmax(0,1fr));
            gap:5px;
            overflow:visible;
            box-sizing:border-box;
        }
        .report-workspace-header .tab-button { min-width:0; padding:8px 5px; font-size:10px; overflow:hidden; text-overflow:ellipsis; }
        .profile-subnav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
        .profile-subnav-button { min-width:0 !important; }
        .profile-bi-selection { margin:0 0 8px; padding:7px 10px; border:1px solid rgba(59,130,246,.36); background:rgba(59,130,246,.08); border-radius:8px; display:flex; align-items:center; justify-content:space-between; color:#BFDBFE; font-size:10px; font-weight:700; }
        .profile-bi-selection[hidden] { display:none; }
        .profile-bi-selection button { border:0; background:transparent; color:#93C5FD; cursor:pointer; font:700 10px var(--font-family); }
        .profile-chart-daily { min-height:245px !important; }
        .profile-filter-row { cursor:pointer; }
        .profile-filter-row:hover { background:rgba(59,130,246,.08) !important; }
        .profile-filter-row.active { background:rgba(59,130,246,.14) !important; box-shadow:inset 3px 0 0 var(--accent-primary); }
        .profile-daily-table { min-width:900px; }
        @media (max-width:1180px) {
            .report-workspace-card { grid-template-columns:1fr auto; }
            .comparison-status-area { display:none; }
            .report-period-area { min-width:0; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
        }
        @media (max-width:760px) {
            .report-workspace-card { grid-template-columns:1fr; }
            .report-period-area { align-items:stretch; }
            .report-period-area .period-filter { display:grid; grid-template-columns:1fr 1fr; }
            .report-period-area .period-field input { width:100%; box-sizing:border-box; }
            .report-period-area small { white-space:normal; text-align:left; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .profile-subnav { grid-template-columns:repeat(2,minmax(0,1fr)); }
        }


        /* V33 — filtros laterais alinhados à esquerda */
        #tab-public-profile .panel { overflow: visible; }
        .profile-layout-shell {
            display:grid;
            grid-template-columns:248px minmax(0,1fr);
            align-items:start;
            min-width:0;
        }
        .profile-filter-sidebar {
            position:sticky;
            top:218px;
            z-index:20;
            align-self:start;
            max-height:calc(100vh - 236px);
            overflow:auto;
            border-right:1px solid var(--border-color);
            border-bottom:1px solid var(--border-color);
            background:linear-gradient(180deg,rgba(17,24,39,.98),rgba(11,18,32,.97));
            scrollbar-width:thin;
        }
        .profile-sidebar-heading {
            position:sticky;
            top:0;
            z-index:3;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:8px;
            padding:11px 12px 9px;
            background:#111827;
            border-bottom:1px solid var(--border-color);
        }
        .profile-sidebar-heading strong {
            color:var(--text-main);
            font-size:11px;
            letter-spacing:.02em;
        }
        .profile-sidebar-clear {
            border:0;
            background:transparent;
            color:#93C5FD;
            cursor:pointer;
            font:700 9px var(--font-family);
            padding:4px 2px;
        }
        .profile-sidebar-clear:hover { color:#fff; }
        .profile-filter-sidebar .profile-scope-summary {
            border-bottom:1px solid var(--border-color);
            padding:9px 12px;
            line-height:1.4;
            background:rgba(16,185,129,.045);
        }
        .profile-filter-sidebar .profile-filter-panel {
            padding:10px 12px 12px;
            border-bottom:0;
            background:transparent;
        }
        .profile-filter-sidebar .profile-filter-grid,
        .profile-filter-sidebar .profile-filter-grid-v29 {
            display:flex;
            flex-direction:column;
            gap:9px;
        }
        .profile-filter-sidebar .profile-filter-grid label {
            font-size:8px;
            gap:4px;
        }
        .profile-filter-sidebar .profile-filter-grid select {
            min-height:36px;
            font-size:10px;
            padding:7px 8px;
        }
        .profile-filter-sidebar .profile-scope-note {
            margin-top:10px;
            padding-top:9px;
            border-top:1px solid var(--border-color);
            font-size:9px;
            line-height:1.45;
        }
        .profile-content-area { min-width:0; }
        .profile-content-area .profile-subnav {
            position:sticky;
            top:218px;
            z-index:19;
            background:#111827;
        }
        @media (max-width:1180px) {
            .profile-layout-shell { grid-template-columns:220px minmax(0,1fr); }
            .profile-filter-sidebar { top:260px; max-height:calc(100vh - 278px); }
            .profile-content-area .profile-subnav { top:260px; }
        }
        @media (max-width:900px) {
            .profile-layout-shell { display:block; }
            .profile-filter-sidebar {
                position:static;
                max-height:none;
                overflow:visible;
                border-right:0;
            }
            .profile-filter-sidebar .profile-filter-grid,
            .profile-filter-sidebar .profile-filter-grid-v29 {
                display:grid;
                grid-template-columns:repeat(2,minmax(0,1fr));
            }
            .profile-content-area .profile-subnav { position:static; }
        }
        @media (max-width:560px) {
            .profile-filter-sidebar .profile-filter-grid,
            .profile-filter-sidebar .profile-filter-grid-v29 { grid-template-columns:1fr; }
        }


        /* V35 — Central de importação redesenhada */
        .import-center-content {
            width:min(1180px,calc(100vw - 40px)) !important;
            max-width:1180px !important;
            max-height:calc(100vh - 40px);
            padding:0 !important;
            overflow:hidden !important;
            text-align:left !important;
            display:flex;
            flex-direction:column;
            border-radius:20px;
            box-shadow:0 28px 80px rgba(0,0,0,.55);
        }
        .import-center-header {
            flex:none;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:20px;
            padding:20px 24px;
            background:linear-gradient(135deg,#121D30 0%,#101827 100%);
            border-bottom:1px solid var(--border-color);
        }
        .import-center-header-copy { display:flex; align-items:center; gap:14px; min-width:0; }
        .import-center-logo {
            width:42px; height:42px; flex:none; border-radius:12px;
            display:grid; place-items:center;
            color:#DBEAFE; background:rgba(59,130,246,.16);
            border:1px solid rgba(96,165,250,.28);
        }
        .import-center-logo svg { width:22px; height:22px; }
        .import-center-header h3 { margin:0 0 3px; font-size:19px; line-height:1.2; }
        .import-center-header p { margin:0; color:var(--text-muted); font-size:11px; line-height:1.45; }
        .icon-close {
            width:36px; height:36px; flex:none; border-radius:10px;
            border:1px solid var(--border-color); background:#172132;
            color:var(--text-muted); font-size:21px; cursor:pointer;
        }
        .icon-close:hover { color:#fff; border-color:#64748B; background:#1E293B; }
        .import-center-body {
            flex:1; min-height:0; overflow-y:auto; overflow-x:hidden;
            padding:18px 22px 22px;
            scrollbar-gutter:stable;
        }
        .import-daily-hint {
            display:flex; align-items:center; gap:10px; margin-bottom:14px;
            padding:10px 13px; border-radius:11px;
            background:rgba(59,130,246,.08); border:1px solid rgba(96,165,250,.18);
            color:#BFDBFE; font-size:10px; line-height:1.4;
        }
        .import-daily-hint b { color:#fff; }
        .hint-dot { width:8px; height:8px; flex:none; border-radius:999px; background:#3B82F6; box-shadow:0 0 0 5px rgba(59,130,246,.12); }
        .import-guidance { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:stretch; }
        .import-source-card {
            --source:#3B82F6;
            position:relative; min-width:0; display:flex; flex-direction:column;
            padding:17px; border:1px solid var(--border-color); border-radius:16px;
            background:linear-gradient(180deg,rgba(30,41,59,.82),rgba(15,23,42,.78));
            overflow:hidden;
        }
        .import-source-card::before {
            content:""; position:absolute; inset:0 auto auto 0; width:100%; height:3px; background:var(--source);
        }
        .import-source-card.source-meta { --source:#3B82F6; }
        .import-source-card.source-moskit { --source:#10B981; }
        .import-source-card.source-system { --source:#F59E0B; }
        .source-card-header { display:flex; align-items:center; gap:10px; margin-bottom:9px; }
        .source-icon {
            width:36px; height:36px; flex:none; border-radius:10px; display:grid; place-items:center;
            color:var(--source); background:color-mix(in srgb,var(--source) 13%,transparent);
            border:1px solid color-mix(in srgb,var(--source) 25%,transparent);
        }
        .source-icon svg { width:19px; height:19px; }
        .source-title-wrap { min-width:0; }
        .import-source-card h4 { margin:0; font-size:14px; line-height:1.2; }
        .source-cadence {
            display:inline-flex; margin-top:4px; color:var(--source); font-size:9px; font-weight:800;
            text-transform:uppercase; letter-spacing:.055em;
        }
        .import-source-card > p { margin:0 0 12px; color:var(--text-muted); font-size:10px; line-height:1.48; min-height:43px; }
        .import-actions { display:grid; gap:8px; }
        .import-action {
            display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:10px;
            width:100%; min-height:58px; padding:9px 10px;
            border:1px solid var(--border-color); border-radius:11px;
            background:#172132; color:inherit; cursor:pointer; text-align:left;
            transition:.16s ease;
        }
        .import-action:hover { transform:translateY(-1px); border-color:color-mix(in srgb,var(--source) 50%,#475569); background:#1B283B; }
        .import-action.primary-action { border-color:color-mix(in srgb,var(--source) 42%,#334155); background:color-mix(in srgb,var(--source) 9%,#172132); }
        .action-symbol {
            width:32px; height:32px; border-radius:9px; display:grid; place-items:center;
            background:color-mix(in srgb,var(--source) 14%,transparent); color:var(--source);
        }
        .action-symbol svg { width:17px; height:17px; }
        .import-action-copy { min-width:0; }
        .import-action strong { display:block; color:var(--text-main); font-size:10.5px; line-height:1.25; }
        .import-action small { display:block; margin-top:3px; color:var(--text-muted); font-size:8.5px; line-height:1.35; }
        .action-cta {
            flex:none; padding:7px 9px; border-radius:8px; font-size:9px; font-weight:800;
            color:#fff; background:var(--source); white-space:nowrap;
        }
        .secondary-action .action-cta { background:#263449; color:#D7E2F0; border:1px solid #3A4A61; }
        .source-coverage {
            margin-top:auto; padding-top:11px; border-top:1px solid var(--border-color);
            color:#A7F3D0; font-size:9px; line-height:1.4; min-height:37px;
        }
        .import-footer-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:14px; margin-top:14px; }
        .import-tutorial,.import-backup-card {
            border:1px solid var(--border-color); border-radius:14px;
            background:rgba(15,23,42,.46); padding:14px;
        }
        .import-tutorial h4,.import-backup-card h4 { margin:0 0 10px; font-size:12px; }
        .routine-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
        .routine-step {
            display:flex; gap:8px; align-items:flex-start; padding:8px 9px;
            border:1px solid var(--border-color); border-radius:10px; background:#141E2E;
        }
        .routine-number {
            width:21px; height:21px; flex:none; border-radius:7px; display:grid; place-items:center;
            font-size:9px; font-weight:900; color:#BFDBFE; background:rgba(59,130,246,.14);
        }
        .routine-step strong { display:block; font-size:9.5px; line-height:1.25; }
        .routine-step span { display:block; margin-top:2px; color:var(--text-muted); font-size:8px; line-height:1.35; }
        .import-backup-card p { font-size:9px !important; line-height:1.4 !important; margin:0 0 10px !important; }
        .backup-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
        .backup-actions .btn { width:100%; min-width:0; padding:8px 7px; font-size:9px; }
        .backup-actions .btn:last-child { grid-column:1/-1; }
        .import-summary { margin-top:12px; border:1px solid rgba(16,185,129,.25); background:rgba(16,185,129,.07); border-radius:11px; padding:10px 12px; display:none; }
        .import-summary.visible { display:block; }
        .import-summary strong { display:block; color:#A7F3D0; font-size:10px; margin-bottom:4px; }
        .import-summary span { color:var(--text-muted); font-size:9px; line-height:1.45; }
        .import-history { margin-top:12px; }
        .import-history summary { cursor:pointer; font-size:10px; font-weight:800; color:#BFDBFE; }
        .import-history-list { margin-top:7px; display:grid; gap:5px; }
        .import-history-row { display:grid; grid-template-columns:120px 1fr auto; gap:9px; align-items:center; padding:7px 9px; border:1px solid var(--border-color); border-radius:8px; font-size:8.5px; color:var(--text-muted); }
        .import-history-row b { color:var(--text-main); font-size:9px; }
        .top-import-button { min-width:126px; }
        @supports not (background:color-mix(in srgb,red,blue)) {
            .source-icon,.action-symbol { background:rgba(59,130,246,.12); }
            .import-action.primary-action { background:#17253A; }
        }
        @media (max-width:980px) {
            .import-center-content { width:calc(100vw - 24px) !important; max-height:calc(100vh - 24px); }
            .import-guidance { grid-template-columns:1fr; }
            .import-source-card > p { min-height:0; }
            .import-footer-grid { grid-template-columns:1fr; }
        }
        @media (max-width:650px) {
            .import-center-header { padding:16px; }
            .import-center-body { padding:13px; }
            .routine-grid { grid-template-columns:1fr; }
            .import-action { grid-template-columns:32px minmax(0,1fr); }
            .action-cta { grid-column:1/-1; text-align:center; }
            .backup-actions { grid-template-columns:1fr; }
            .backup-actions .btn:last-child { grid-column:auto; }
        }


        /* V36 — visual mais leve, período compacto e BI de origens */
        .top-bar { height:56px !important; padding:0 18px !important; }
        .brand h2 { font-size:16px !important; }
        .main-container { margin-top:12px !important; }
        .report-workspace-header {
            position:relative !important;
            top:auto !important;
            z-index:40 !important;
            margin:0 0 12px !important;
            padding:0 !important;
            background:transparent !important;
        }
        .report-workspace-card {
            display:grid !important;
            grid-template-columns:minmax(190px,245px) minmax(0,1fr) auto !important;
            gap:10px !important;
            min-height:56px !important;
            padding:8px 10px 8px 14px !important;
            border-radius:12px !important;
            box-shadow:0 4px 16px rgba(0,0,0,.14) !important;
        }
        .report-workspace-title { font-size:13px !important; align-items:flex-start !important; }
        .report-workspace-title svg { width:18px; height:18px; margin-top:2px; }
        .report-workspace-title small { font-size:8.5px !important; line-height:1.25; }
        .workspace-status {
            display:block;
            margin-top:4px;
            color:#86EFAC;
            font-size:8px;
            font-weight:650;
            line-height:1.25;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
            max-width:235px;
            width:auto !important;
            text-align:left !important;
        }
        .comparison-status-area, .report-period-area { display:none !important; }
        .report-workspace-header .tab-navigation {
            grid-column:auto !important;
            display:grid !important;
            grid-template-columns:repeat(6,minmax(0,1fr)) !important;
            width:100% !important;
            padding:3px !important;
            gap:3px !important;
            overflow:visible !important;
        }
        .report-workspace-header .tab-button { padding:8px 5px !important; font-size:9.5px !important; }
        .period-compact-button {
            min-width:150px;
            min-height:42px;
            display:flex;
            align-items:center;
            gap:9px;
            padding:7px 10px;
            border:1px solid rgba(96,165,250,.28);
            border-radius:10px;
            background:linear-gradient(145deg,rgba(59,130,246,.10),rgba(15,23,42,.72));
            color:var(--text-main);
            cursor:pointer;
            text-align:left;
            font-family:var(--font-family);
        }
        .period-compact-button:hover { border-color:rgba(96,165,250,.6); background:rgba(59,130,246,.14); }
        .period-compact-icon { width:25px; height:25px; display:grid; place-items:center; border-radius:7px; background:rgba(59,130,246,.18); color:#93C5FD; flex:0 0 25px; }
        .period-compact-copy { min-width:0; display:flex; flex-direction:column; gap:1px; }
        .period-compact-copy span { color:var(--text-muted); font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
        .period-compact-copy strong { font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

        .period-modal-content { width:min(560px,calc(100vw - 28px)) !important; max-width:560px !important; padding:0 !important; overflow:hidden; text-align:left !important; }
        .period-modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:18px 20px 14px; border-bottom:1px solid var(--border-color); }
        .period-modal-header h3 { margin:0 0 4px; font-size:17px; }
        .period-modal-header p { margin:0; font-size:10px; line-height:1.4; }
        .period-modal-body { padding:16px 20px; }
        .period-preset-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:14px; }
        .period-preset { border:1px solid var(--border-color); border-radius:9px; background:rgba(15,23,42,.72); color:#CBD5E1; padding:9px 6px; font:700 9px var(--font-family); cursor:pointer; }
        .period-preset:hover { border-color:rgba(96,165,250,.48); color:#fff; background:rgba(59,130,246,.10); }
        .period-month-block { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:end; padding:11px; margin-bottom:13px; border:1px solid var(--border-color); border-radius:10px; background:rgba(2,6,23,.24); }
        .period-month-block label, .period-date-field label { display:flex; flex-direction:column; gap:5px; color:var(--text-muted); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
        .period-month-block input, .period-date-field input { width:100%; box-sizing:border-box; min-height:39px; padding:7px 9px; border:1px solid var(--border-color); border-radius:8px; background:var(--bg-hover); color:var(--text-main); font:600 11px var(--font-family); color-scheme:dark; }
        .period-date-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
        .period-modal-note { margin:11px 0 0; color:var(--text-muted); font-size:9px; line-height:1.45; }
        .period-modal-actions { display:flex; justify-content:space-between; gap:8px; padding:13px 20px 17px; border-top:1px solid var(--border-color); }
        .period-modal-actions > div { display:flex; gap:8px; }

        .profile-filter-sidebar { top:66px !important; max-height:calc(100vh - 80px) !important; }
        .profile-content-area .profile-subnav { top:56px !important; }
        .profile-chart-card { transition:border-color .18s ease, transform .18s ease; }
        .profile-chart-card:hover { border-color:rgba(96,165,250,.30); }
        .profile-chart-canvas canvas { cursor:default; }
        .clickable-chart canvas { cursor:pointer; }
        .profile-origin-summary { min-width:230px; max-width:320px; }
        .profile-origin-summary strong, .profile-origin-summary span { display:block; }
        .profile-origin-summary strong { color:#DBEAFE; font-size:9px; line-height:1.25; }
        .profile-origin-summary span { color:var(--text-muted); font-size:8px; line-height:1.3; margin-top:2px; }
        .profile-origin-summary em { display:block; color:#A7F3D0; font-size:8px; font-style:normal; margin-top:4px; }
        .profile-course-origin-charts { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
        .profile-chart-description b { color:#DBEAFE; }
        .profile-table td { vertical-align:middle; }
        .institution-note { color:#94A3B8; font-size:8px; margin-top:2px; }

        @media (max-width:1180px) {
            .report-workspace-card { grid-template-columns:1fr auto !important; }
            .report-workspace-title { grid-column:1; }
            .period-compact-button { grid-column:2; grid-row:1; }
            .report-workspace-header .tab-navigation { grid-column:1/-1 !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
        }
        @media (max-width:760px) {
            .top-bar { height:auto !important; min-height:56px; }
            .report-workspace-card { grid-template-columns:1fr !important; }
            .period-compact-button { grid-column:1; grid-row:auto; width:100%; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
            .period-preset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .period-date-grid, .profile-course-origin-charts { grid-template-columns:1fr; }
            .profile-filter-sidebar { position:static !important; max-height:none !important; }
            .profile-content-area .profile-subnav { position:static !important; }
        }

    

        /* V38 — escopo claro, melhor leitura e gráficos do controle diário */
        .main-container {
            width:100%;
            max-width:none;
            padding-left:16px;
            padding-right:16px;
        }
        #tab-public-profile .profile-kpi-grid {
            grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
            gap:12px;
        }
        #tab-public-profile .profile-kpi-grid .mini-kpi {
            min-height:88px;
            padding:14px 16px;
            justify-content:center;
        }
        #tab-public-profile .profile-kpi-grid .mini-kpi-label { font-size:10px; }
        #tab-public-profile .profile-kpi-grid .mini-kpi-value { font-size:22px; line-height:1.1; }
        #tab-public-profile .profile-kpi-sub { font-size:9px; margin-top:5px; }
        #tab-public-profile .profile-chart-grid {
            grid-template-columns:repeat(auto-fit,minmax(315px,1fr));
            gap:14px;
        }
        #tab-public-profile .profile-chart-card {
            min-height:255px;
            padding:14px;
            border-radius:12px;
        }
        #tab-public-profile .profile-chart-title { font-size:13px; }
        #tab-public-profile .profile-chart-description { font-size:10px; margin-bottom:8px; }
        #tab-public-profile .profile-chart-canvas { min-height:190px; }
        #tab-public-profile .profile-chart-card.profile-chart-wide { min-height:250px; }
        #tab-public-profile .profile-chart-card.profile-chart-wide .profile-chart-canvas { min-height:195px; }

        .profile-scope-indicator {
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:14px;
            margin:0;
            padding:12px 15px;
            border-bottom:1px solid var(--border-color);
            background:rgba(59,130,246,.08);
            box-shadow:inset 4px 0 0 #3B82F6;
        }
        .profile-scope-indicator.system {
            background:rgba(16,185,129,.075);
            box-shadow:inset 4px 0 0 #10B981;
        }
        .profile-scope-copy { display:flex; flex-direction:column; gap:3px; min-width:0; }
        .profile-scope-eyebrow { font-size:8px; font-weight:800; letter-spacing:.10em; text-transform:uppercase; color:#93C5FD; }
        .profile-scope-indicator.system .profile-scope-eyebrow { color:#6EE7B7; }
        .profile-scope-title { color:#F8FAFC; font-size:13px; font-weight:800; }
        .profile-scope-detail { color:#CBD5E1; font-size:10px; line-height:1.35; }
        .profile-scope-counts { color:#DBEAFE; font-size:10px; font-weight:700; text-align:right; white-space:nowrap; }
        .profile-scope-indicator.system .profile-scope-counts { color:#A7F3D0; }

        .control-visual-section {
            padding:14px 16px 4px;
            border-bottom:1px solid var(--border-color);
            background:rgba(2,6,23,.16);
        }
        .control-visual-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:10px; }
        .control-visual-heading strong { font-size:13px; color:#F8FAFC; }
        .control-visual-heading span { font-size:9px; color:var(--text-muted); }
        .control-visual-grid {
            display:grid;
            grid-template-columns:repeat(3,minmax(0,1fr));
            gap:12px;
        }
        .control-chart-card {
            min-height:270px;
            padding:12px;
            border:1px solid var(--border-color);
            border-radius:12px;
            background:rgba(15,23,42,.55);
            display:flex;
            flex-direction:column;
            min-width:0;
        }
        .control-chart-title { color:#F8FAFC; font-size:12px; font-weight:800; }
        .control-chart-description { color:var(--text-muted); font-size:9px; line-height:1.35; margin:3px 0 8px; }
        .control-chart-canvas { position:relative; flex:1; min-height:205px; }
        .control-chart-canvas canvas { width:100% !important; height:100% !important; }

        @media (max-width:1180px) {
            .control-visual-grid { grid-template-columns:1fr 1fr; }
            .control-chart-card:last-child { grid-column:1/-1; }
        }
        @media (max-width:760px) {
            .main-container { padding-left:8px; padding-right:8px; }
            .profile-scope-indicator { align-items:flex-start; flex-direction:column; }
            .profile-scope-counts { text-align:left; white-space:normal; }
            .control-visual-grid { grid-template-columns:1fr; }
            .control-chart-card:last-child { grid-column:auto; }
        }


        /* V38 — gráficos amplos e período simplificado */
        .control-visual-section {
            padding:22px 18px 24px;
            border-top:1px solid var(--border-color);
            border-bottom:0;
            background:rgba(2,6,23,.12);
        }
        .control-visual-heading {
            align-items:center;
            margin-bottom:16px;
        }
        .control-visual-heading strong { font-size:15px; }
        .control-visual-heading span { font-size:10px; }
        .control-visual-grid {
            grid-template-columns:1fr;
            gap:18px;
        }
        .control-chart-card,
        .control-chart-card:last-child {
            grid-column:auto;
            min-height:455px;
            padding:18px 20px 20px;
            border-radius:14px;
        }
        .control-chart-title { font-size:14px; }
        .control-chart-description { font-size:10px; margin:4px 0 12px; }
        .control-chart-canvas { min-height:370px; }
        .control-daily-wrap { border-bottom:1px solid var(--border-color); }

        .period-modal-content {
            width:min(650px,calc(100vw - 24px)) !important;
            max-width:650px !important;
        }
        .period-modal-header { padding:20px 22px 15px; }
        .period-modal-header h3 { font-size:18px; }
        .period-modal-header p { font-size:11px; }
        .period-modal-body { padding:18px 22px 20px; }
        .period-quick-title,
        .period-custom-title {
            display:block;
            margin:0 0 9px;
            color:#E5E7EB;
            font-size:10px;
            font-weight:800;
            text-transform:uppercase;
            letter-spacing:.055em;
        }
        .period-preset-grid {
            grid-template-columns:repeat(3,minmax(0,1fr));
            gap:9px;
            margin-bottom:18px;
        }
        .period-preset {
            min-height:52px;
            padding:10px 10px;
            border-radius:10px;
            font-size:10px;
            line-height:1.25;
            display:flex;
            flex-direction:column;
            justify-content:center;
            align-items:flex-start;
            gap:3px;
            text-align:left;
        }
        .period-preset small {
            color:#7F8EA3;
            font-size:8px;
            font-weight:600;
        }
        .period-preset:hover small { color:#BFDBFE; }
        .period-month-select-row {
            display:grid;
            grid-template-columns:1.25fr .8fr auto;
            gap:8px;
            padding:11px;
            margin-bottom:17px;
            border:1px solid var(--border-color);
            border-radius:11px;
            background:rgba(15,23,42,.42);
        }
        .period-month-select-row select {
            width:100%; min-height:39px; padding:8px 10px;
            border:1px solid var(--border-color); border-radius:8px;
            background:#1E293B; color:#F8FAFC; font:700 10px var(--font-family);
        }
        .period-month-select-row .btn { min-height:39px; }
        .period-date-grid { gap:10px; }
        .period-date-field input { min-height:42px; font-size:11px; }
        .period-modal-actions { padding:14px 22px 18px; }
        .period-modal-note { font-size:9px; }

        @media (max-width:760px) {
            .control-chart-card { min-height:390px; padding:14px; }
            .control-chart-canvas { min-height:305px; }
            .period-preset-grid { grid-template-columns:1fr 1fr; }
            .period-month-select-row { grid-template-columns:1fr 1fr; }
            .period-month-select-row .btn { grid-column:1/-1; }
        }


        /* V39: gráficos de consultoras em largura total e período sempre visível */
        #tab-public-profile .profile-consultant-chart-large {
            grid-column:1/-1;
            min-height:390px;
        }
        #tab-public-profile .profile-consultant-chart-large .profile-chart-canvas {
            min-height:320px;
        }
        #tab-public-profile .profile-consultant-chart-large .profile-chart-title { font-size:15px; }
        #tab-public-profile .profile-consultant-chart-large .profile-chart-description { font-size:11px; }
        .floating-period-indicator {
            position:fixed;
            right:18px;
            bottom:18px;
            z-index:950;
            display:flex;
            align-items:center;
            gap:9px;
            max-width:min(360px,calc(100vw - 28px));
            padding:9px 12px;
            border:1px solid rgba(96,165,250,.42);
            border-radius:12px;
            background:rgba(15,23,42,.94);
            color:var(--text-main);
            box-shadow:0 12px 32px rgba(0,0,0,.32);
            backdrop-filter:blur(12px);
            cursor:pointer;
            font-family:var(--font-family);
        }
        .floating-period-indicator:hover { background:rgba(30,41,59,.98); border-color:rgba(96,165,250,.70); }
        .floating-period-icon {
            width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center;
            border-radius:9px; background:rgba(59,130,246,.18); color:#93C5FD; font-size:15px;
        }
        .floating-period-copy { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:1px; }
        .floating-period-copy small { color:var(--text-muted); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
        .floating-period-copy strong { max-width:280px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
        @media(max-width:700px) {
            #tab-public-profile .profile-consultant-chart-large { min-height:330px; }
            #tab-public-profile .profile-consultant-chart-large .profile-chart-canvas { min-height:265px; }
            .floating-period-indicator { left:12px; right:12px; bottom:12px; max-width:none; }
            .floating-period-copy strong { max-width:calc(100vw - 105px); }
        }
    

        /* V40 — previsão operacional diária e mensal */
        .report-workspace-header .tab-navigation {
            grid-template-columns:repeat(7,minmax(0,1fr)) !important;
        }
        .forecast-scope-banner {
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:16px;
            margin-bottom:12px;
            padding:12px 16px;
            border:1px solid rgba(96,165,250,.25);
            border-radius:12px;
            background:linear-gradient(135deg,rgba(59,130,246,.10),rgba(15,23,42,.78));
            box-shadow:inset 4px 0 0 #3B82F6;
        }
        .forecast-scope-banner strong { display:block; font-size:13px; color:#F8FAFC; }
        .forecast-scope-banner span { display:block; margin-top:3px; color:#CBD5E1; font-size:10px; line-height:1.4; }
        .forecast-badge {
            flex:0 0 auto;
            padding:7px 10px;
            border-radius:999px;
            background:rgba(245,158,11,.13);
            color:#FCD34D;
            border:1px solid rgba(245,158,11,.25);
            font-size:9px;
            font-weight:800;
            text-transform:uppercase;
            letter-spacing:.06em;
        }
        .forecast-toolbar {
            display:grid;
            grid-template-columns:1.15fr 1fr 1fr 1fr .8fr auto;
            gap:10px;
            align-items:end;
            padding:15px 16px;
        }
        .forecast-field { display:flex; flex-direction:column; gap:5px; min-width:0; }
        .forecast-field label { color:var(--text-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
        .forecast-field select,
        .forecast-field input {
            width:100%;
            box-sizing:border-box;
            min-height:39px;
            border:1px solid var(--border-color);
            border-radius:9px;
            padding:8px 10px;
            background:var(--bg-hover);
            color:var(--text-main);
            font:600 11px var(--font-family);
            color-scheme:dark;
        }
        .forecast-toolbar-actions { display:flex; gap:8px; align-items:center; }
        .forecast-kpi-grid {
            display:grid;
            grid-template-columns:repeat(6,minmax(155px,1fr));
            gap:12px;
            margin:0 0 12px;
        }
        .forecast-kpi {
            min-height:96px;
            display:flex;
            flex-direction:column;
            justify-content:center;
            padding:14px 16px;
            border:1px solid var(--border-color);
            border-radius:12px;
            background:var(--bg-card);
        }
        .forecast-kpi-label { color:var(--text-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
        .forecast-kpi-value { margin-top:7px; color:#F8FAFC; font-size:24px; line-height:1; font-weight:800; }
        .forecast-kpi-value.green { color:#34D399; }
        .forecast-kpi-value.blue { color:#60A5FA; }
        .forecast-kpi-value.yellow { color:#FBBF24; }
        .forecast-kpi-sub { margin-top:7px; color:#94A3B8; font-size:9px; line-height:1.35; }
        .forecast-chart-panel { margin-bottom:12px; }
        .forecast-chart-header {
            display:flex;
            align-items:flex-start;
            justify-content:space-between;
            gap:16px;
            padding:15px 18px 10px;
        }
        .forecast-chart-title { color:#F8FAFC; font-size:14px; font-weight:800; }
        .forecast-chart-description { margin-top:4px; color:var(--text-muted); font-size:10px; line-height:1.45; }
        .forecast-chart-wrap { height:390px; padding:0 14px 16px; }
        .forecast-chart-wrap.small { height:315px; }
        .forecast-grid-two { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
        .forecast-quality-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:0 16px 16px; }
        .forecast-quality-item { padding:11px 12px; border:1px solid var(--border-color); border-radius:9px; background:rgba(2,6,23,.25); }
        .forecast-quality-item span { display:block; color:var(--text-muted); font-size:8px; text-transform:uppercase; font-weight:800; letter-spacing:.05em; }
        .forecast-quality-item strong { display:block; margin-top:6px; color:#E5E7EB; font-size:16px; }
        .forecast-table-wrap { max-height:430px; overflow:auto; border-top:1px solid var(--border-color); }
        .forecast-table { width:100%; border-collapse:separate; border-spacing:0; min-width:860px; }
        .forecast-table th,
        .forecast-table td { padding:10px 12px; border-right:1px solid var(--border-color); border-bottom:1px solid var(--border-color); text-align:right; font-size:10px; }
        .forecast-table th { position:sticky; top:0; z-index:2; background:#111827; color:#93C5FD; text-transform:uppercase; letter-spacing:.04em; }
        .forecast-table th:first-child,
        .forecast-table td:first-child { text-align:left; }
        .forecast-table tr:hover td { background:rgba(59,130,246,.045); }
        .forecast-positive { color:#34D399; font-weight:700; }
        .forecast-negative { color:#F87171; font-weight:700; }
        .forecast-muted { color:#6B7280; }
        .forecast-snapshot-select { min-width:230px; min-height:34px; border:1px solid var(--border-color); border-radius:8px; background:var(--bg-hover); color:var(--text-main); padding:6px 8px; font:600 10px var(--font-family); }
        .forecast-model-note { padding:0 18px 15px; color:#94A3B8; font-size:9px; line-height:1.5; }
        .forecast-model-note b { color:#CBD5E1; }
        @media (max-width:1200px) {
            .forecast-toolbar { grid-template-columns:repeat(3,minmax(0,1fr)); }
            .forecast-kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
        }
        @media (max-width:820px) {
            .forecast-toolbar { grid-template-columns:1fr 1fr; }
            .forecast-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .forecast-grid-two { grid-template-columns:1fr; }
            .forecast-quality-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .forecast-chart-wrap { height:320px; }
            .report-workspace-header .tab-navigation { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
        }


        /* V41 — calendário de trabalho, previsão sazonal e faturamento */
        .forecast-metric-toggle {
            display:inline-grid; grid-template-columns:1fr 1fr; gap:3px;
            padding:3px; border:1px solid var(--border-color); border-radius:10px;
            background:rgba(2,6,23,.42); min-height:39px; box-sizing:border-box;
        }
        .forecast-metric-button {
            border:0; border-radius:7px; padding:7px 13px; background:transparent;
            color:#94A3B8; font:800 10px var(--font-family); cursor:pointer; white-space:nowrap;
        }
        .forecast-metric-button.active { background:#2563EB; color:#fff; box-shadow:0 3px 10px rgba(37,99,235,.28); }
        .forecast-calendar-card { margin:0 0 12px; padding:14px 16px; }
        .forecast-calendar-head { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:10px; }
        .forecast-calendar-title { color:#F8FAFC; font-size:12px; font-weight:800; }
        .forecast-calendar-copy { margin-top:3px; color:#94A3B8; font-size:9px; line-height:1.45; }
        .forecast-saturday-list { display:flex; flex-wrap:wrap; gap:8px; }
        .forecast-saturday-chip {
            display:flex; align-items:center; gap:7px; border:1px solid var(--border-color);
            border-radius:9px; padding:8px 10px; background:rgba(15,23,42,.68); color:#CBD5E1;
            font:700 10px var(--font-family); cursor:pointer;
        }
        .forecast-saturday-chip:hover { border-color:rgba(96,165,250,.55); }
        .forecast-saturday-chip.worked { background:rgba(16,185,129,.13); border-color:rgba(16,185,129,.42); color:#A7F3D0; }
        .forecast-saturday-chip.past { opacity:.72; cursor:default; }
        .forecast-saturday-state { font-size:8px; text-transform:uppercase; letter-spacing:.05em; color:#94A3B8; }
        .forecast-saturday-chip.worked .forecast-saturday-state { color:#34D399; }
        .forecast-schedule-summary { color:#93C5FD; font-size:9px; font-weight:700; }
        .forecast-quality-help { margin:0 16px 16px; border:1px solid var(--border-color); border-radius:9px; background:rgba(2,6,23,.23); }
        .forecast-quality-help summary { cursor:pointer; padding:10px 12px; color:#BFDBFE; font-size:10px; font-weight:800; }
        .forecast-quality-help-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0 12px 12px; }
        .forecast-quality-help-item { padding:9px 10px; border-radius:8px; background:rgba(15,23,42,.72); color:#94A3B8; font-size:9px; line-height:1.45; }
        .forecast-quality-help-item b { display:block; margin-bottom:3px; color:#E2E8F0; font-size:10px; }
        .overview-forecast-card { border-color:rgba(96,165,250,.30); background:linear-gradient(145deg,var(--bg-card),rgba(37,99,235,.06)); }
        .overview-forecast-card .kpi-badge { max-width:100%; white-space:normal; line-height:1.3; }
        .forecast-zero-day { color:#64748B; }
        @media(max-width:1000px){
            .forecast-quality-help-grid{grid-template-columns:1fr;}
            .forecast-calendar-head{flex-direction:column;}
        }

    

        /* V42 — Navegação lateral e área comercial */
        :root { --app-sidebar-width: 276px; --app-sidebar-collapsed: 76px; }
        .report-workspace-header { display:none !important; }
        .main-container { max-width:none !important; padding-left:calc(var(--app-sidebar-width) + 22px) !important; padding-right:22px !important; transition:padding-left .24s ease; }
        body.sidebar-collapsed .main-container { padding-left:calc(var(--app-sidebar-collapsed) + 22px) !important; }
        .sidebar-toggle-top { width:38px; height:38px; padding:0; justify-content:center; flex:0 0 auto; }
        .app-sidebar {
            position:fixed; left:0; top:72px; bottom:0; width:var(--app-sidebar-width); z-index:90;
            background:linear-gradient(180deg,rgba(17,24,39,.99),rgba(8,13,23,.99));
            border-right:1px solid var(--border-color); box-shadow:12px 0 35px rgba(0,0,0,.18);
            display:flex; flex-direction:column; transition:width .24s ease, transform .24s ease; overflow:hidden;
        }
        body.sidebar-collapsed .app-sidebar { width:var(--app-sidebar-collapsed); }
        .sidebar-brand-row { min-height:68px; display:flex; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--border-color); }
        .sidebar-logo { width:42px; height:42px; flex:0 0 auto; display:grid; place-items:center; border-radius:13px; background:linear-gradient(135deg,#2563EB,#3B82F6); color:#fff; font-weight:900; font-size:18px; box-shadow:0 8px 22px rgba(37,99,235,.26); }
        .sidebar-brand-copy { min-width:0; display:flex; flex-direction:column; gap:2px; white-space:nowrap; }
        .sidebar-brand-copy strong { color:#F8FAFC; font-size:14px; }
        .sidebar-brand-copy span { color:var(--text-muted); font-size:9px; }
        .sidebar-collapse-button { margin-left:auto; width:30px; height:30px; display:grid; place-items:center; border:1px solid var(--border-color); border-radius:9px; background:rgba(255,255,255,.03); color:#CBD5E1; cursor:pointer; transition:all .18s ease; }
        .sidebar-collapse-button:hover { background:rgba(59,130,246,.16); border-color:rgba(96,165,250,.35); color:#fff; }
        body.sidebar-collapsed .sidebar-brand-copy { display:none; }
        body.sidebar-collapsed .sidebar-brand-row { justify-content:center; padding:12px 8px; }
        body.sidebar-collapsed .sidebar-logo { display:none; }
        body.sidebar-collapsed .sidebar-collapse-button {
            display:grid; margin:0; width:44px; height:44px; border-radius:13px;
            background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(59,130,246,.12));
            border-color:rgba(96,165,250,.36); color:#fff; font-size:24px;
            box-shadow:0 8px 22px rgba(37,99,235,.18);
        }
        .sidebar-reopen-fab {
            position:fixed; top:82px; left:88px; z-index:175; display:none; align-items:center; gap:8px;
            min-height:40px; padding:8px 13px; border:1px solid rgba(96,165,250,.38); border-radius:12px;
            background:linear-gradient(135deg,#2563EB,#3B82F6); color:#fff; font:800 11px var(--font-family);
            cursor:pointer; box-shadow:0 10px 28px rgba(37,99,235,.30); transition:transform .18s ease, box-shadow .18s ease;
        }
        .sidebar-reopen-fab:hover { transform:translateY(-1px); box-shadow:0 13px 32px rgba(37,99,235,.38); }
        .sidebar-reopen-fab .sidebar-reopen-icon { font-size:17px; line-height:1; }
        body.sidebar-collapsed .sidebar-reopen-fab { display:flex; }
        .sidebar-scroll { flex:1; overflow:auto; padding:12px 10px 18px; }
        .sidebar-group { margin-bottom:18px; }
        .sidebar-group-title { padding:0 10px 7px; color:#64748B; font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
        body.sidebar-collapsed .sidebar-group-title { height:1px; padding:0; margin:8px 12px; background:var(--border-color); color:transparent; overflow:hidden; }
        .sidebar-nav { display:flex; flex-direction:column; gap:5px; }
        .sidebar-nav-button {
            width:100%; min-height:48px; display:flex; align-items:center; gap:11px; padding:8px 10px;
            border:1px solid transparent; border-radius:12px; background:transparent; color:#94A3B8;
            cursor:pointer; text-align:left; font-family:var(--font-family); transition:all .18s ease;
        }
        .sidebar-nav-button:hover { background:rgba(255,255,255,.045); color:#F8FAFC; border-color:rgba(255,255,255,.05); }
        .sidebar-nav-button.active { background:linear-gradient(135deg,rgba(37,99,235,.22),rgba(59,130,246,.10)); color:#fff; border-color:rgba(96,165,250,.34); box-shadow:0 8px 24px rgba(15,23,42,.30); }
        .sidebar-nav-icon { width:32px; height:32px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; background:rgba(255,255,255,.055); font-size:16px; }
        .sidebar-nav-button.active .sidebar-nav-icon { background:#2563EB; box-shadow:0 6px 16px rgba(37,99,235,.28); }
        .sidebar-nav-copy { min-width:0; display:flex; flex-direction:column; gap:2px; white-space:nowrap; }
        .sidebar-nav-copy strong { font-size:11px; color:inherit; overflow:hidden; text-overflow:ellipsis; }
        .sidebar-nav-copy span { font-size:8.5px; color:#64748B; overflow:hidden; text-overflow:ellipsis; }
        .sidebar-nav-button.active .sidebar-nav-copy span { color:#BFDBFE; }
        body.sidebar-collapsed .sidebar-nav-button { justify-content:center; padding:7px; }
        body.sidebar-collapsed .sidebar-nav-copy { display:none; }
        .sidebar-footer { padding:10px; border-top:1px solid var(--border-color); }
        .sidebar-period-button { width:100%; display:flex; align-items:center; gap:10px; padding:10px; border:1px solid rgba(96,165,250,.20); border-radius:12px; background:rgba(37,99,235,.07); color:#E2E8F0; cursor:pointer; text-align:left; }
        .sidebar-period-button .sidebar-nav-icon { background:rgba(37,99,235,.18); }
        .sidebar-period-copy { min-width:0; display:flex; flex-direction:column; gap:2px; }
        .sidebar-period-copy small { color:#93C5FD; font-size:8px; font-weight:800; text-transform:uppercase; }
        .sidebar-period-copy strong { max-width:190px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:10px; }
        body.sidebar-collapsed .sidebar-period-copy { display:none; }
        body.sidebar-collapsed .sidebar-period-button { justify-content:center; padding:8px; }

        .scope-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 17px; margin-bottom:16px; border:1px solid var(--border-color); border-radius:14px; background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(17,24,39,.88)); }
        .scope-banner-marketing { border-left:4px solid #3B82F6; }
        .scope-banner-commercial { border-left:4px solid #10B981; }
        .scope-banner-copy { display:flex; flex-direction:column; gap:3px; }
        .scope-banner-copy strong { font-size:14px; color:#F8FAFC; }
        .scope-banner-copy span { font-size:10px; color:var(--text-muted); }
        .scope-badge { flex:0 0 auto; padding:7px 10px; border-radius:999px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
        .scope-banner-marketing .scope-badge { color:#BFDBFE; background:rgba(59,130,246,.14); }
        .scope-banner-commercial .scope-badge { color:#A7F3D0; background:rgba(16,185,129,.13); }

        .commercial-kpi-grid { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:12px; margin-bottom:16px; }
        .commercial-kpi { min-height:108px; padding:15px; border:1px solid var(--border-color); border-radius:14px; background:var(--bg-card); display:flex; flex-direction:column; justify-content:space-between; }
        .commercial-kpi-label { color:var(--text-muted); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
        .commercial-kpi-value { color:#F8FAFC; font-size:23px; font-weight:800; line-height:1.1; }
        .commercial-kpi-note { color:#64748B; font-size:9px; }
        .commercial-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:16px; margin-bottom:16px; }
        .commercial-chart-card, .consultant-card { background:var(--bg-card); border:1px solid var(--border-color); border-radius:15px; overflow:hidden; }
        .commercial-card-header { padding:15px 17px 10px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
        .commercial-card-header strong { display:block; color:#F8FAFC; font-size:13px; }
        .commercial-card-header span { display:block; margin-top:3px; color:var(--text-muted); font-size:9px; }
        .commercial-chart-stage { height:360px; padding:4px 16px 16px; }
        .commercial-chart-stage canvas { width:100% !important; height:100% !important; }
        .commercial-table-wrap { overflow:auto; max-height:520px; }
        .commercial-table { width:100%; border-collapse:collapse; min-width:920px; }
        .commercial-table th, .commercial-table td { padding:11px 10px; border-bottom:1px solid var(--border-color); text-align:center; font-size:10px; }
        .commercial-table th { position:sticky; top:0; z-index:2; background:#111827; color:#94A3B8; font-size:8px; text-transform:uppercase; letter-spacing:.04em; }
        .commercial-table th:first-child, .commercial-table td:first-child { text-align:left; min-width:180px; }
        .commercial-table tbody tr { cursor:pointer; transition:background .15s; }
        .commercial-table tbody tr:hover, .commercial-table tbody tr.active { background:rgba(59,130,246,.07); }
        .consultant-toolbar { display:flex; align-items:end; gap:10px; flex-wrap:wrap; padding:14px 16px; border-bottom:1px solid var(--border-color); }
        .consultant-toolbar label { display:flex; flex-direction:column; gap:5px; color:var(--text-muted); font-size:9px; font-weight:700; }
        .consultant-toolbar select { min-width:220px; padding:9px 10px; border:1px solid var(--border-color); border-radius:9px; background:#0B1220; color:#F8FAFC; font:500 10px var(--font-family); }
        .consultant-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
        .consultant-detail-card { min-height:390px; }
        .consultant-detail-card .commercial-chart-stage { height:330px; }
        .consultant-insight { padding:12px 16px; color:#CBD5E1; font-size:10px; border-top:1px solid var(--border-color); background:rgba(15,23,42,.45); }
        .floating-period-indicator { z-index:95; }

        @media (max-width:1280px) {
            .commercial-kpi-grid { grid-template-columns:repeat(3,minmax(150px,1fr)); }
            .commercial-grid { grid-template-columns:1fr; }
        }
        @media (max-width:900px) {
            .main-container, body.sidebar-collapsed .main-container { padding-left:16px !important; padding-right:16px !important; }
            .app-sidebar { transform:translateX(-105%); width:min(310px,86vw); z-index:160; }
            body.sidebar-mobile-open .app-sidebar { transform:translateX(0); }
            body.sidebar-collapsed .app-sidebar { width:min(310px,86vw); }
            body.sidebar-collapsed .sidebar-brand-copy, body.sidebar-collapsed .sidebar-collapse-button, body.sidebar-collapsed .sidebar-nav-copy, body.sidebar-collapsed .sidebar-period-copy { display:flex; }
            body.sidebar-collapsed .sidebar-logo { display:grid; }
            body.sidebar-collapsed .sidebar-brand-row { justify-content:flex-start; padding:12px 14px; }
            body.sidebar-collapsed .sidebar-collapse-button { margin-left:auto; width:30px; height:30px; border-radius:9px; font-size:16px; box-shadow:none; background:rgba(255,255,255,.03); }
            body.sidebar-collapsed .sidebar-nav-button, body.sidebar-collapsed .sidebar-period-button { justify-content:flex-start; padding:8px 10px; }
            .sidebar-reopen-fab { display:flex; top:74px; left:12px; z-index:150; }
            body.sidebar-mobile-open .sidebar-reopen-fab { display:none !important; }
            .commercial-kpi-grid { grid-template-columns:repeat(2,minmax(140px,1fr)); }
            .consultant-detail-grid { grid-template-columns:1fr; }
        }
        @media (max-width:560px) {
            .commercial-kpi-grid { grid-template-columns:1fr 1fr; gap:9px; }
            .commercial-kpi { min-height:96px; padding:12px; }
            .commercial-kpi-value { font-size:19px; }
            .scope-banner { align-items:flex-start; flex-direction:column; }
        }



        /* V44 — Canal de atendimento via IA (Umbler) e leitura comercial corrigida */
        .scope-banner-commercial { border-left-color:#10B981; }
        .scope-banner-commercial .scope-badge { white-space:nowrap; }
        .commercial-data-rule {
            margin:-4px 0 16px; padding:12px 15px; border:1px solid rgba(16,185,129,.22);
            border-radius:13px; background:rgba(16,185,129,.055); color:#A7F3D0;
            font-size:10px; line-height:1.55;
        }
        .commercial-data-rule strong { color:#D1FAE5; }
        .commercial-data-rule .muted { color:#94A3B8; }
        .commercial-reconciliation-grid {
            display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:10px;
            padding:14px 16px; border-bottom:1px solid var(--border-color); background:rgba(15,23,42,.38);
        }
        .commercial-reconciliation-item {
            min-height:74px; padding:11px 12px; border:1px solid var(--border-color); border-radius:11px;
            background:rgba(17,24,39,.76); display:flex; flex-direction:column; justify-content:space-between; gap:5px;
        }
        .commercial-reconciliation-item span { color:#64748B; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
        .commercial-reconciliation-item strong { color:#F8FAFC; font-size:18px; }
        .commercial-reconciliation-item small { color:#94A3B8; font-size:8px; line-height:1.35; }
        .commercial-reconciliation-item.excluded strong { color:#94A3B8; }
        .commercial-reconciliation-item.linked strong { color:#60A5FA; }
        .commercial-table tbody tr.abc-a { background:rgba(16,185,129,.055); }
        .commercial-table tbody tr.abc-b { background:rgba(245,158,11,.045); }
        .commercial-table tbody tr.abc-c { background:rgba(100,116,139,.035); }
        .abc-pill { display:inline-flex; min-width:25px; justify-content:center; padding:4px 7px; border-radius:999px; font-size:8px; font-weight:900; }
        .abc-pill.a { color:#A7F3D0; background:rgba(16,185,129,.15); }
        .abc-pill.b { color:#FDE68A; background:rgba(245,158,11,.15); }
        .abc-pill.c { color:#CBD5E1; background:rgba(100,116,139,.18); }
        .management-insight-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:0 16px 16px; }
        .management-insight-card { padding:13px; border:1px solid var(--border-color); border-radius:12px; background:rgba(15,23,42,.55); }
        .management-insight-card b { display:block; color:#F8FAFC; font-size:11px; margin-bottom:5px; }
        .management-insight-card span { color:#94A3B8; font-size:9px; line-height:1.45; }
        .management-insight-card.alert { border-color:rgba(245,158,11,.28); background:rgba(245,158,11,.045); }
        .management-insight-card.good { border-color:rgba(16,185,129,.25); background:rgba(16,185,129,.04); }
        .consultant-open-age-wide { grid-column:1 / -1; min-height:400px; }
        .consultant-open-age-wide .commercial-chart-stage { height:330px; }
        @media(max-width:1100px){
            .commercial-reconciliation-grid{grid-template-columns:repeat(2,minmax(150px,1fr));}
            .management-insight-grid{grid-template-columns:1fr;}
        }
        @media(max-width:620px){
            .commercial-reconciliation-grid{grid-template-columns:1fr;}
        }


        /* V47 — separação entre conversão do atendimento via IA (Umbler) e desempenho geral */
        .consultant-analysis-switch {
            display:grid; grid-template-columns:repeat(2,minmax(240px,1fr)); gap:10px;
            margin:0 0 14px; padding:8px; border:1px solid var(--border-color);
            border-radius:16px; background:rgba(15,23,42,.68);
        }
        .consultant-analysis-option {
            appearance:none; border:1px solid transparent; border-radius:13px; padding:14px 16px;
            background:transparent; color:#94A3B8; text-align:left; cursor:pointer; transition:.18s ease;
            display:flex; align-items:center; gap:12px; min-height:72px;
        }
        .consultant-analysis-option:hover { background:rgba(255,255,255,.035); color:#E2E8F0; }
        .consultant-analysis-option.active { background:rgba(59,130,246,.12); border-color:rgba(96,165,250,.34); color:#F8FAFC; box-shadow:0 10px 30px rgba(0,0,0,.12); }
        .consultant-analysis-option[data-mode="general"].active { background:rgba(139,92,246,.11); border-color:rgba(167,139,250,.34); }
        .consultant-analysis-icon { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto; font-size:18px; background:rgba(59,130,246,.14); color:#93C5FD; }
        .consultant-analysis-option[data-mode="general"] .consultant-analysis-icon { background:rgba(139,92,246,.14); color:#C4B5FD; }
        .consultant-analysis-option strong { display:block; font-size:12px; margin-bottom:4px; }
        .consultant-analysis-option span { display:block; font-size:9px; line-height:1.45; color:#94A3B8; }
        .consultant-analysis-panel { display:none; }
        .consultant-analysis-panel.active { display:block; }
        .scope-banner-general { border-left-color:#8B5CF6; background:linear-gradient(90deg,rgba(139,92,246,.10),rgba(15,23,42,.48)); }
        .scope-banner-general .scope-badge { color:#DDD6FE; background:rgba(139,92,246,.15); border-color:rgba(167,139,250,.25); }
        .commercial-data-rule.general { border-color:rgba(139,92,246,.23); background:rgba(139,92,246,.055); color:#DDD6FE; }
        .commercial-data-rule.general strong { color:#EDE9FE; }
        .consultant-separation-note { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
        .consultant-separation-note > div { padding:12px 14px; border:1px solid var(--border-color); border-radius:12px; background:rgba(15,23,42,.48); }
        .consultant-separation-note b { display:block; color:#F8FAFC; font-size:10px; margin-bottom:4px; }
        .consultant-separation-note span { color:#94A3B8; font-size:9px; line-height:1.45; }
        .consultant-wide-chart { grid-column:1 / -1; min-height:420px; }
        .consultant-wide-chart .commercial-chart-stage { height:350px; }
        @media(max-width:760px){
            .consultant-analysis-switch,.consultant-separation-note{grid-template-columns:1fr;}
            .consultant-analysis-option{min-height:64px;}
        }


/* ===== V46 · Análise financeira contratual ===== */
.financial-scope-banner{
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    padding:16px 18px;margin-bottom:14px;border:1px solid rgba(16,185,129,.22);
    border-radius:16px;background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(15,23,42,.72));
}
.financial-scope-banner strong{display:block;font-size:15px;color:#F8FAFC;margin-bottom:4px}
.financial-scope-banner span{font-size:10px;color:#A7F3D0;line-height:1.55}
.financial-scope-pill{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:rgba(16,185,129,.14);
    border:1px solid rgba(52,211,153,.28);color:#6EE7B7!important;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.financial-toolbar{
    display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:14px;
    border:1px solid var(--border-color);border-radius:15px;background:var(--panel-bg);margin-bottom:14px
}
.financial-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:210px;color:var(--text-muted);
    font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.financial-toolbar select,.financial-toolbar input{
    height:38px;border:1px solid var(--border-color);background:#172235;color:#F8FAFC;border-radius:9px;padding:0 11px;
    font-size:11px;font-weight:700;outline:none
}
.financial-toolbar input{width:135px}
.financial-toolbar .financial-rule-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.financial-rule-note{flex:1;min-width:260px;color:#94A3B8;font-size:9px;line-height:1.55;padding-bottom:3px}
.financial-warning{
    display:flex;gap:11px;align-items:flex-start;padding:13px 15px;border-radius:13px;margin-bottom:14px;
    background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.22);color:#FDE68A;font-size:10px;line-height:1.55
}
.financial-warning strong{color:#FBBF24}
.financial-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.financial-kpi{
    min-height:118px;padding:15px;border:1px solid var(--border-color);border-radius:15px;background:var(--panel-bg);
    display:flex;flex-direction:column;justify-content:space-between
}
.financial-kpi-label{font-size:8px;color:#94A3B8;text-transform:uppercase;font-weight:900;letter-spacing:.055em}
.financial-kpi-value{font-size:23px;line-height:1.05;color:#F8FAFC;font-weight:900;letter-spacing:-.035em;margin:12px 0 7px}
.financial-kpi-value.green{color:#34D399}.financial-kpi-value.blue{color:#60A5FA}.financial-kpi-value.amber{color:#FBBF24}.financial-kpi-value.purple{color:#A78BFA}
.financial-kpi-note{font-size:9px;color:#64748B;line-height:1.4}
.financial-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.financial-chart-card{border:1px solid var(--border-color);border-radius:16px;background:var(--panel-bg);padding:15px;min-width:0}
.financial-chart-card.wide{grid-column:1/-1}
.financial-chart-header strong{display:block;color:#F8FAFC;font-size:12px;margin-bottom:4px}
.financial-chart-header span{display:block;color:#94A3B8;font-size:9px;line-height:1.45}
.financial-chart-stage{height:330px;margin-top:12px;position:relative}
.financial-chart-card.wide .financial-chart-stage{height:380px}
.financial-table-card{border:1px solid var(--border-color);border-radius:16px;background:var(--panel-bg);overflow:hidden}
.financial-table-header{padding:15px 16px;border-bottom:1px solid var(--border-color)}
.financial-table-header strong{display:block;color:#F8FAFC;font-size:12px;margin-bottom:4px}
.financial-table-header span{color:#94A3B8;font-size:9px;line-height:1.45}
.financial-table-wrap{overflow:auto;max-height:520px}
.financial-table{width:100%;border-collapse:collapse;font-size:9px;white-space:nowrap}
.financial-table th{position:sticky;top:0;z-index:1;background:#111B2C;color:#93C5FD;padding:10px 9px;text-align:right;
    text-transform:uppercase;font-size:7px;letter-spacing:.045em;border-bottom:1px solid var(--border-color)}
.financial-table th:first-child,.financial-table td:first-child{text-align:left}
.financial-table td{padding:10px 9px;text-align:right;border-bottom:1px solid rgba(148,163,184,.10);color:#CBD5E1}
.financial-table tbody tr:hover{background:rgba(59,130,246,.05)}
.financial-table .positive{color:#34D399;font-weight:800}.financial-table .obligation{color:#FBBF24;font-weight:800}
.financial-methodology{
    margin-top:14px;padding:14px 16px;border-radius:14px;border:1px solid var(--border-color);background:rgba(15,23,42,.55);
    color:#94A3B8;font-size:9px;line-height:1.6
}
.financial-methodology summary{cursor:pointer;color:#BFDBFE;font-weight:900;font-size:10px}
.financial-methodology b{color:#E2E8F0}
@media(max-width:1180px){.financial-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
    .financial-scope-banner{align-items:flex-start;flex-direction:column}
    .financial-kpi-grid,.financial-chart-grid{grid-template-columns:1fr}
    .financial-chart-card.wide{grid-column:auto}
    .financial-chart-stage,.financial-chart-card.wide .financial-chart-stage{height:320px}
    .financial-toolbar label,.financial-rule-note{min-width:100%}
}


/* ===== V47 · UI agrupada e mês atual ===== */
.sidebar-reopen-fab{
    left:8px !important; top:96px !important; width:46px !important; min-width:46px !important; height:46px !important;
    padding:0 !important; border-radius:14px !important; justify-content:center !important; gap:0 !important;
    box-shadow:0 14px 34px rgba(15,23,42,.34) !important; background:linear-gradient(135deg,#1D4ED8,#2563EB) !important;
}
.sidebar-reopen-fab span:last-child{ display:none !important; }
body.sidebar-collapsed .sidebar-reopen-fab{ display:grid !important; }
.top-bar .brand h2{ font-size:28px; letter-spacing:-.03em; }
.top-bar .brand #status{
    color:#8FB3D9 !important; font-size:12px !important; margin-left:14px !important;
    max-width:360px; line-height:1.35;
}
.top-bar .brand .brand-badge{
    font-size:10px !important; padding:7px 10px !important; border-radius:999px !important;
}
#date-range-display{
    font-weight:800 !important; color:#A7F3D0 !important; background:rgba(16,185,129,.10) !important;
    border:1px solid rgba(16,185,129,.22) !important;
}
.floating-period-indicator{
    top:86px !important; bottom:auto !important; right:18px !important;
    border-radius:14px !important; min-width:230px !important;
    background:rgba(15,23,42,.95) !important; border:1px solid rgba(96,165,250,.25) !important;
    box-shadow:0 16px 34px rgba(2,6,23,.36) !important;
}
.floating-period-copy small{ font-size:9px !important; }
.floating-period-copy strong{ font-size:12px !important; max-width:320px !important; }

#tab-overview > .scope-banner{
    margin-bottom:18px !important;
    background:linear-gradient(135deg,rgba(15,23,42,.94),rgba(11,18,32,.92)) !important;
    border:1px solid rgba(96,165,250,.15) !important;
}
#tab-overview > .scope-banner .scope-badge{
    background:rgba(59,130,246,.12) !important;
    border:1px solid rgba(59,130,246,.25) !important;
}

.overview-kpi-sections{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin-bottom:24px;
}
.overview-kpi-section{
    min-width:0;
    padding:16px;
    border-radius:20px;
    border:1px solid rgba(96,165,250,.10);
    background:linear-gradient(180deg,rgba(12,19,33,.96),rgba(9,15,27,.98));
    box-shadow:0 12px 28px rgba(2,6,23,.22);
}
.overview-kpi-section-head{
    display:flex; align-items:flex-start; gap:12px; margin-bottom:14px;
}
.overview-kpi-section-icon{
    width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center;
    border-radius:14px; font-size:19px; color:#fff; font-weight:900;
    background:linear-gradient(135deg,rgba(59,130,246,.95),rgba(37,99,235,.78));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.overview-kpi-section[data-tone="funil"] .overview-kpi-section-icon{ background:linear-gradient(135deg,rgba(16,185,129,.95),rgba(5,150,105,.78)); }
.overview-kpi-section[data-tone="forecast"] .overview-kpi-section-icon{ background:linear-gradient(135deg,rgba(168,85,247,.95),rgba(124,58,237,.78)); }
.overview-kpi-section-head strong{
    display:block; color:#F8FAFC; font-size:14px; letter-spacing:-.02em; margin-bottom:3px;
}
.overview-kpi-section-head span{
    display:block; color:#8CA3C2; font-size:10px; line-height:1.45;
}
.overview-kpi-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.overview-kpi-grid .kpi-card{
    min-height:126px;
    padding:14px 14px 13px !important;
    border-radius:16px !important;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(148,163,184,.14) !important;
    background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(10,15,27,.96)) !important;
    box-shadow:none !important;
}
.overview-kpi-grid .kpi-card::after{
    content:""; position:absolute; inset:auto 0 0 0; height:3px; background:rgba(59,130,246,.26);
}
.overview-kpi-grid .kpi-card.tone-revenue::after{ background:rgba(16,185,129,.32); }
.overview-kpi-grid .kpi-card.tone-forecast::after{ background:rgba(168,85,247,.35); }
.overview-kpi-grid .kpi-card .kpi-title{ font-size:11px !important; color:#8CA3C2 !important; }
.overview-kpi-grid .kpi-card .kpi-value{ font-size:20px !important; margin:6px 0 !important; }
.overview-kpi-grid .kpi-card .kpi-badge{ font-size:10px !important; }
.kpi-card-icon{
    width:34px; height:34px; display:grid; place-items:center; border-radius:11px;
    margin-bottom:10px; font-size:16px; font-weight:900; color:#E5F0FF;
    background:rgba(59,130,246,.14); border:1px solid rgba(59,130,246,.18);
}
.kpi-card.tone-revenue .kpi-card-icon{ background:rgba(16,185,129,.14); border-color:rgba(16,185,129,.20); color:#D1FAE5; }
.kpi-card.tone-forecast .kpi-card-icon{ background:rgba(168,85,247,.14); border-color:rgba(168,85,247,.20); color:#F3E8FF; }
.overview-compact-note{
    margin:-6px 0 18px;
    color:#94A3B8;
    font-size:11px;
    line-height:1.5;
}
.overview-compact-note strong{ color:#E2E8F0; }
.overview-metric-helper{
    display:inline-flex; align-items:center; gap:6px; margin-top:4px;
    font-size:10px; color:#64748B;
}
.panel.compact-panel{
    border-radius:20px !important;
}
#tab-overview .panel-header-main .header-title-group svg{ opacity:.88; }
@media (max-width:1280px){
    .overview-kpi-sections{ grid-template-columns:1fr; }
}
@media (max-width:760px){
    .overview-kpi-grid{ grid-template-columns:1fr; }
    .floating-period-indicator{ left:14px !important; right:14px !important; min-width:0 !important; }
}


/* ===== V48 · Interface profissional e progressiva ===== */
.executive-view-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:0 0 16px;
    padding:18px 20px;
    border:1px solid rgba(148,163,184,.12);
    border-radius:18px;
    background:linear-gradient(135deg,rgba(17,24,39,.96),rgba(10,17,30,.98));
}
.executive-view-copy{min-width:0}
.executive-view-eyebrow{
    display:block;
    margin-bottom:5px;
    color:#60A5FA;
    font-size:9px;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.executive-view-copy h3{
    margin:0;
    color:#F8FAFC;
    font-size:19px;
    line-height:1.2;
    letter-spacing:-.025em;
}
.executive-view-copy p{
    margin:6px 0 0;
    max-width:720px;
    color:#94A3B8;
    font-size:10px;
    line-height:1.55;
}
.executive-mode-switch{
    display:inline-flex;
    flex:0 0 auto;
    padding:4px;
    border:1px solid rgba(148,163,184,.16);
    border-radius:12px;
    background:rgba(2,6,23,.42);
}
.executive-mode-button{
    min-height:34px;
    padding:7px 13px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#94A3B8;
    font:800 10px var(--font-family);
    cursor:pointer;
    transition:all .18s ease;
}
.executive-mode-button:hover{color:#E2E8F0}
.executive-mode-button.active{
    color:#fff;
    background:#2563EB;
    box-shadow:0 7px 18px rgba(37,99,235,.24);
}
.executive-guide{
    display:flex;
    align-items:center;
    gap:9px;
    margin:-2px 0 16px;
    padding:10px 13px;
    border-radius:12px;
    background:rgba(59,130,246,.055);
    border:1px solid rgba(59,130,246,.10);
    color:#94A3B8;
    font-size:10px;
    line-height:1.45;
}
.executive-guide svg{width:16px;height:16px;flex:0 0 16px;color:#60A5FA}
.executive-guide b{color:#DCEAFE}
.overview-kpi-section-icon,
.kpi-card-icon{
    font-size:0 !important;
}
.overview-kpi-section-icon svg{
    width:20px;
    height:20px;
    stroke:currentColor;
}
.kpi-card-icon svg{
    width:17px;
    height:17px;
    stroke:currentColor;
}
.overview-kpi-section{
    position:relative;
}
.overview-kpi-section::before{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(148,163,184,.12),transparent);
}
.overview-kpi-section-head strong{font-size:13px !important}
.overview-kpi-section-head span{font-size:9px !important}
.overview-kpi-grid .kpi-card{
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.overview-kpi-grid .kpi-card:hover{
    transform:translateY(-2px);
    border-color:rgba(96,165,250,.22) !important;
    background:linear-gradient(180deg,rgba(19,29,49,.96),rgba(11,18,31,.98)) !important;
}
.overview-kpi-sections[data-ui-mode="executive"] .kpi-card[data-ui-essential="0"]{
    display:none !important;
}
.overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-section[data-ui-empty="1"]{
    display:none !important;
}
.overview-kpi-sections[data-ui-mode="executive"]{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-grid{
    grid-template-columns:1fr;
}
.overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-grid .kpi-card{
    min-height:116px;
}
.overview-kpi-sections[data-ui-mode="complete"]{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.overview-kpi-sections[data-ui-mode="complete"] .overview-kpi-grid{
    grid-template-columns:1fr 1fr;
}
.overview-detail-hint{
    display:none;
    margin:-8px 0 18px;
    color:#64748B;
    font-size:9px;
}
body.ui-executive-mode .overview-detail-hint{display:block}
.sidebar-nav-icon{
    font-size:0 !important;
}
.sidebar-nav-icon svg{
    width:17px;
    height:17px;
    stroke:currentColor;
}
.sidebar-logo{
    font-size:0 !important;
}
.sidebar-logo::after{
    content:"AP";
    font-size:12px;
    font-weight:900;
    letter-spacing:-.04em;
}
.sidebar-reopen-icon{
    font-size:0 !important;
}
.sidebar-reopen-icon svg{
    width:18px;
    height:18px;
    stroke:currentColor;
}
@media(max-width:1320px){
    .overview-kpi-sections[data-ui-mode="executive"],
    .overview-kpi-sections[data-ui-mode="complete"]{
        grid-template-columns:1fr;
    }
    .overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:860px){
    .executive-view-header{align-items:flex-start;flex-direction:column}
    .executive-mode-switch{width:100%}
    .executive-mode-button{flex:1}
    .overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-grid,
    .overview-kpi-sections[data-ui-mode="complete"] .overview-kpi-grid{
        grid-template-columns:1fr;
    }
}


/* ===== V49 · Histórico diário e comparação anual ===== */
.yoy-scope-banner{
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    margin-bottom:14px;padding:18px 20px;border:1px solid rgba(96,165,250,.16);
    border-radius:18px;background:linear-gradient(135deg,rgba(17,24,39,.97),rgba(10,17,30,.98));
}
.yoy-eyebrow{display:block;margin-bottom:5px;color:#60A5FA;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.yoy-scope-banner strong{display:block;color:#F8FAFC;font-size:18px;letter-spacing:-.025em}
.yoy-scope-banner p{margin:6px 0 0;color:#94A3B8;font-size:10px;line-height:1.5}
.yoy-coverage-pill{flex:0 0 auto;padding:8px 11px;border-radius:999px;border:1px solid rgba(16,185,129,.22);background:rgba(16,185,129,.09);color:#6EE7B7;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.yoy-toolbar{
    display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:14px;
    border:1px solid var(--border-color);border-radius:16px;background:var(--bg-card)
}
.yoy-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:170px;color:#94A3B8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
.yoy-toolbar select{height:39px;padding:0 11px;border:1px solid var(--border-color);border-radius:9px;background:#172235;color:#F8FAFC;font:700 11px var(--font-family);outline:none}
.yoy-toolbar-note{flex:1;min-width:280px;padding-bottom:3px;color:#94A3B8;font-size:9px;line-height:1.55}
.yoy-toolbar-note b{color:#E2E8F0}
.yoy-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.yoy-kpi{
    min-height:112px;padding:15px;border:1px solid var(--border-color);border-radius:16px;
    background:linear-gradient(180deg,rgba(17,24,39,.96),rgba(10,17,29,.98));display:flex;flex-direction:column;justify-content:space-between
}
.yoy-kpi span{color:#94A3B8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
.yoy-kpi strong{margin:10px 0 6px;color:#F8FAFC;font-size:25px;letter-spacing:-.04em}
.yoy-kpi small{color:#64748B;font-size:9px;line-height:1.4}
.yoy-kpi-highlight{border-color:rgba(59,130,246,.28);background:linear-gradient(145deg,rgba(17,24,39,.98),rgba(37,99,235,.08))}
.yoy-positive{color:#34D399!important}.yoy-negative{color:#F87171!important}.yoy-neutral{color:#CBD5E1!important}
.yoy-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.yoy-chart-card{min-width:0;margin-bottom:14px;padding:16px;border:1px solid var(--border-color);border-radius:18px;background:var(--bg-card)}
.yoy-chart-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.yoy-chart-header strong{display:block;color:#F8FAFC;font-size:13px;margin-bottom:4px}
.yoy-chart-header span{display:block;color:#94A3B8;font-size:9px;line-height:1.45}
.yoy-chart-stage{height:380px;margin-top:12px;position:relative}
.yoy-chart-stage-small{height:310px}
.yoy-table-card{overflow:hidden;border:1px solid var(--border-color);border-radius:18px;background:var(--bg-card)}
.yoy-table-header{padding:15px 16px;border-bottom:1px solid var(--border-color)}
.yoy-table-header strong{display:block;color:#F8FAFC;font-size:12px;margin-bottom:4px}
.yoy-table-header span{color:#94A3B8;font-size:9px}
.yoy-table-wrap{overflow:auto;max-height:520px}
.yoy-table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap}
.yoy-table th{position:sticky;top:0;z-index:1;padding:10px;background:#111B2C;color:#93C5FD;text-align:right;text-transform:uppercase;font-size:7px;letter-spacing:.05em;border-bottom:1px solid var(--border-color)}
.yoy-table td{padding:10px;text-align:right;color:#CBD5E1;border-bottom:1px solid rgba(148,163,184,.10)}
.yoy-table th:first-child,.yoy-table td:first-child{text-align:left}
.yoy-table tbody tr:hover{background:rgba(59,130,246,.05)}
.yoy-methodology{margin-top:14px;padding:14px 16px;border:1px solid var(--border-color);border-radius:14px;background:rgba(15,23,42,.55);color:#94A3B8;font-size:9px;line-height:1.6}
.yoy-methodology summary{cursor:pointer;color:#BFDBFE;font-size:10px;font-weight:900}
.yoy-methodology b{color:#E2E8F0}
.forecast-history-banner{
    display:flex;align-items:center;gap:10px;margin:0 0 13px;padding:11px 13px;border:1px solid rgba(16,185,129,.18);
    border-radius:12px;background:rgba(16,185,129,.055);color:#A7F3D0;font-size:9px;line-height:1.5
}
.forecast-history-banner svg{width:17px;height:17px;flex:0 0 17px;stroke:#34D399}
.forecast-history-banner.is-limited{border-color:rgba(148,163,184,.14);background:rgba(148,163,184,.045);color:#94A3B8}
.historical-import-card{
    margin-top:14px;padding:14px 16px;border:1px solid rgba(96,165,250,.18);border-radius:15px;
    background:linear-gradient(135deg,rgba(59,130,246,.065),rgba(15,23,42,.5))
}
.historical-import-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.historical-import-card strong{display:block;color:#F8FAFC;font-size:12px}
.historical-import-card span{display:block;color:#94A3B8;font-size:9px;line-height:1.5}
.historical-import-card label{cursor:pointer}
@media(max-width:1100px){.yoy-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yoy-chart-grid{grid-template-columns:1fr}}
@media(max-width:720px){.yoy-scope-banner{align-items:flex-start;flex-direction:column}.yoy-kpi-grid{grid-template-columns:1fr}.yoy-toolbar label,.yoy-toolbar-note{min-width:100%}.yoy-chart-stage{height:320px}}


/* ===== V50 · Previsão histórica, cenários e memória permanente ===== */
.forecast-scenarios-panel{
    margin-bottom:16px;
    padding:17px;
    border:1px solid rgba(96,165,250,.17);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(17,24,39,.97),rgba(9,16,29,.99));
}
.forecast-scenarios-header{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px
}
.forecast-scenarios-eyebrow{
    display:block;margin-bottom:5px;color:#60A5FA;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase
}
.forecast-scenarios-header strong{display:block;color:#F8FAFC;font-size:14px;margin-bottom:4px}
.forecast-scenarios-header p{margin:0;max-width:760px;color:#94A3B8;font-size:9px;line-height:1.5}
.forecast-scenarios-badge{
    flex:0 0 auto;padding:7px 10px;border:1px solid rgba(96,165,250,.20);border-radius:999px;
    background:rgba(59,130,246,.08);color:#BFDBFE;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.forecast-scenarios-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.forecast-scenario-card{
    min-height:112px;padding:14px;border:1px solid rgba(148,163,184,.13);border-radius:14px;
    background:rgba(15,23,42,.74);display:flex;flex-direction:column;justify-content:space-between
}
.forecast-scenario-card.primary{
    border-color:rgba(59,130,246,.30);background:linear-gradient(145deg,rgba(37,99,235,.13),rgba(15,23,42,.82))
}
.forecast-scenario-card span{color:#94A3B8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
.forecast-scenario-card strong{margin:10px 0 7px;color:#F8FAFC;font-size:23px;letter-spacing:-.035em}
.forecast-scenario-card.primary strong{color:#60A5FA}
.forecast-scenario-card small{color:#64748B;font-size:8.5px;line-height:1.45}
.forecast-scenario-chart-stage{height:285px;margin-top:14px;position:relative}
.forecast-scenario-footnote{
    margin-top:9px;color:#64748B;font-size:8.5px;line-height:1.5
}
.forecast-history-proof{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px
}
.forecast-history-proof span{
    padding:7px 9px;border-radius:9px;background:rgba(2,6,23,.26);color:#94A3B8;font-size:8px
}
.forecast-history-proof b{display:block;color:#E2E8F0;font-size:10px;margin-top:2px}
.forecast-snapshot-select option[value="__LEDGER__"]{font-weight:800}
.forecast-ledger-note{
    display:inline-flex;align-items:center;gap:7px;color:#93C5FD;font-size:8.5px;margin-top:6px
}
.yoy-all-years-note{
    margin:0 0 12px;padding:10px 12px;border:1px solid rgba(59,130,246,.12);border-radius:11px;
    background:rgba(59,130,246,.045);color:#94A3B8;font-size:9px;line-height:1.5
}
.yoy-table thead th{min-width:88px}
@media(max-width:1120px){.forecast-scenarios-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.forecast-scenarios-header{flex-direction:column}.forecast-scenarios-grid{grid-template-columns:1fr}.forecast-history-proof{grid-template-columns:1fr}}


/* ===== V51 · tema executivo roxo gradiente ===== */
:root{
    --bg-main:#090611;
    --bg-card:#120D22;
    --bg-card-2:#17112b;
    --bg-hover:#21163b;
    --border-color:rgba(184,167,255,.14);
    --text-main:#F8FAFF;
    --text-muted:#A6AAC9;
    --accent-primary:#8B5CF6;
    --accent-secondary:#22D3EE;
    --accent-success:#34D399;
    --accent-danger:#FB7185;
}
body{
    background:
        radial-gradient(1200px 560px at -8% -10%, rgba(236,72,153,.18), transparent 60%),
        radial-gradient(900px 540px at 110% 0%, rgba(59,130,246,.14), transparent 58%),
        linear-gradient(180deg,#0b0716 0%, #090611 100%);
    color:var(--text-main);
}
body::before{
    content:'';position:fixed;inset:0;pointer-events:none;opacity:.45;
    background:linear-gradient(135deg, rgba(139,92,246,.06), transparent 24%, rgba(34,211,238,.05) 60%, transparent 100%);
}
.top-bar{
    position:sticky;top:0;z-index:50;
    height:auto;padding:14px 22px;
    background:linear-gradient(180deg, rgba(9,6,17,.94), rgba(9,6,17,.88));
    backdrop-filter: blur(14px);
    border-bottom:1px solid rgba(184,167,255,.10);
    box-shadow:0 12px 28px rgba(2,6,23,.22);
}
.brand h2{font-size:24px;letter-spacing:-.03em}
.brand-badge{
    border:1px solid rgba(167,139,250,.18)!important;
    background:rgba(139,92,246,.12)!important;
    color:#DDD6FE!important;
}
#status{color:#C4B5FD!important;font-weight:600}
.btn{
    border-radius:14px;border:1px solid rgba(184,167,255,.14);
    box-shadow:none;
}
.btn-primary{
    background:linear-gradient(135deg,#8B5CF6,#7C3AED)!important;
    border-color:rgba(167,139,250,.22)!important;
}
.btn-secondary{background:rgba(255,255,255,.03)!important}
#main-container{gap:16px;max-width:1600px;width:calc(100% - 28px);margin:16px auto 0}
.app-sidebar{
    border-radius:26px;overflow:hidden;
    background:linear-gradient(180deg, rgba(22,17,43,.96), rgba(10,8,21,.98));
    border:1px solid rgba(184,167,255,.12);
    box-shadow:0 20px 50px rgba(2,6,23,.32);
}
.sidebar-brand-row{padding:18px 18px 14px;border-bottom:1px solid rgba(184,167,255,.10)}
.sidebar-logo{
    background:linear-gradient(135deg,#A855F7,#22D3EE)!important;
    color:#fff;box-shadow:0 10px 24px rgba(168,85,247,.30)
}
.sidebar-brand-copy span,.sidebar-group-title{color:#9DA3C6!important}
.sidebar-nav-button{
    border-radius:18px;
    border:1px solid transparent;
    background:rgba(255,255,255,.02);
    transition:all .2s ease;
}
.sidebar-nav-button:hover{background:rgba(139,92,246,.10);border-color:rgba(167,139,250,.14);transform:translateY(-1px)}
.sidebar-nav-button.active{
    background:linear-gradient(135deg, rgba(139,92,246,.16), rgba(34,211,238,.08));
    border-color:rgba(167,139,250,.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.sidebar-nav-icon{
    width:34px;height:34px;border-radius:12px;display:grid;place-items:center;
    background:linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.10));
    color:#E9D5FF;font-weight:800;font-size:14px;
}
.sidebar-period-button{border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(184,167,255,.12)}
.sidebar-reopen-fab{
    left:14px;top:84px;transform:none;border-radius:16px;padding:10px 12px;
    background:linear-gradient(135deg, rgba(139,92,246,.95), rgba(124,58,237,.95));
    box-shadow:0 14px 30px rgba(76,29,149,.35);
}
.report-workspace-header{gap:14px}
.report-workspace-card, .scope-banner, .forecast-scenarios-panel, .yoy-chart-card, .yoy-table-card,
.overview-kpi-section, .financial-panel, .consultant-panel, .profile-panel, .period-modal-content,
.import-center-content, .modal-content, .commercial-panel, .forecast-panel, .yoy-kpi, .kpi-card, .chart-card, .table-wrap{
    background:linear-gradient(180deg, rgba(18,13,34,.96), rgba(12,9,24,.98))!important;
    border:1px solid rgba(184,167,255,.10)!important;
    box-shadow:0 16px 36px rgba(2,6,23,.20);
}
.floating-period-indicator{display:none!important}
#tab-overview .kpi-card, .mini-kpi-card, .forecast-scenario-card, .yoy-kpi{
    background:linear-gradient(180deg, rgba(27,20,49,.90), rgba(17,13,33,.96))!important;
}
.table-card table, table{border-color:rgba(184,167,255,.10)!important}
th{color:#C4B5FD!important}
.tab-content{padding-bottom:24px}
.report-workspace-title strong,.scope-banner strong,.overview-kpi-section-head strong{font-size:18px}
.report-workspace-title p,.scope-banner p{color:#9DA3C6}
#report-workspace-header .report-workspace-card{min-height:unset}
.report-workspace-card{padding:16px 18px;border-radius:24px}
.report-workspace-status{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.report-workspace-status .status-pill{
    padding:7px 10px;border-radius:999px;font-size:11px;font-weight:700;
    background:rgba(139,92,246,.12);border:1px solid rgba(167,139,250,.14);color:#E9D5FF;
}
.sim-lab-hero{
    display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-bottom:18px;
}
.sim-lab-head{
    padding:22px;border-radius:26px;background:linear-gradient(135deg, rgba(91,33,182,.26), rgba(17,13,33,.96) 54%, rgba(8,145,178,.18));
    border:1px solid rgba(184,167,255,.14);box-shadow:0 18px 36px rgba(2,6,23,.22)
}
.sim-lab-head h2{margin:0 0 8px;font-size:26px;letter-spacing:-.03em}
.sim-lab-head p{margin:0;color:#C7CBE6;line-height:1.6}
.sim-lab-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.sim-chip{
    padding:12px 14px;border-radius:18px;background:rgba(10,8,21,.52);
    border:1px solid rgba(184,167,255,.12)
}
.sim-chip span{display:block;color:#9DA3C6;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.sim-chip strong{display:block;margin-top:6px;font-size:22px;letter-spacing:-.03em}
.sim-lab-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sim-kpi{
    padding:16px;border-radius:22px;background:linear-gradient(180deg, rgba(18,13,34,.97), rgba(11,9,23,.98));
    border:1px solid rgba(184,167,255,.12)
}
.sim-kpi span{display:block;color:#9DA3C6;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.sim-kpi strong{display:block;margin-top:10px;font-size:28px;letter-spacing:-.04em}
.sim-kpi small{display:block;margin-top:6px;color:#B7BDE0;line-height:1.45}
.sim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sim-grid.sim-grid-full{grid-template-columns:1.1fr .9fr}
.sim-card{
    padding:18px;border-radius:24px;background:linear-gradient(180deg, rgba(18,13,34,.96), rgba(10,8,21,.99));
    border:1px solid rgba(184,167,255,.10);box-shadow:0 14px 32px rgba(2,6,23,.22)
}
.sim-card h3{margin:0 0 8px;font-size:18px;letter-spacing:-.02em}
.sim-card p{margin:0 0 16px;color:#AEB4D2;line-height:1.55}
.sim-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sim-field{display:flex;flex-direction:column;gap:7px}
.sim-field label{font-size:11px;color:#C4B5FD;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.sim-field select,.sim-field input{
    height:44px;border-radius:14px;border:1px solid rgba(184,167,255,.12);
    background:rgba(255,255,255,.03);color:#F8FAFF;padding:0 12px;font:inherit
}
.sim-output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.sim-output{
    padding:14px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(184,167,255,.10)
}
.sim-output span{display:block;color:#9DA3C6;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.sim-output strong{display:block;margin-top:8px;font-size:22px;letter-spacing:-.03em}
.sim-output small{display:block;margin-top:5px;color:#B9C0E1;line-height:1.45}
.sim-note{margin-top:14px;padding:12px 14px;border-radius:16px;background:rgba(91,33,182,.10);border:1px solid rgba(167,139,250,.14);color:#D7D9EE;line-height:1.55}
.sim-table{width:100%;border-collapse:collapse;margin-top:14px}
.sim-table th,.sim-table td{padding:10px 8px;border-bottom:1px solid rgba(184,167,255,.09);font-size:13px;text-align:left}
.sim-table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#C4B5FD}
.sim-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(34,211,238,.10);border:1px solid rgba(34,211,238,.16);color:#B8F4FF;font-size:11px;font-weight:700}
.sim-success{color:#6EE7B7}.sim-primary{color:#C4B5FD}.sim-danger{color:#FDA4AF}
.region-map-wrap{display:grid;grid-template-columns:1fr .72fr;gap:16px;align-items:center}
.region-map-stage{padding:8px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(184,167,255,.10)}
.region-map-stage svg{width:100%;height:auto;display:block}
.region-shape{stroke:rgba(255,255,255,.18);stroke-width:2;transition:all .2s ease}
.region-label{font-size:13px;fill:#E9D5FF;font-weight:700}
.region-value{font-size:11px;fill:#C7D2FE}
.region-rank{display:flex;flex-direction:column;gap:8px}
.region-rank-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(184,167,255,.09)}
.region-rank-item strong{font-size:13px}.region-rank-item span{color:#B8BDE0;font-size:12px}
.profile-chart-card.profile-region-map{grid-column:span 2}
.profile-chart-card.profile-region-map .profile-chart-canvas{height:auto;min-height:320px}
@media(max-width:1200px){
    .sim-lab-hero,.sim-grid,.sim-grid.sim-grid-full,.region-map-wrap{grid-template-columns:1fr}
    .sim-lab-highlights,.sim-lab-kpis,.sim-output-grid,.sim-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
    #main-container{width:calc(100% - 12px);margin-top:10px}
    .sim-lab-highlights,.sim-lab-kpis,.sim-output-grid,.sim-form-grid{grid-template-columns:1fr}
    .profile-chart-card.profile-region-map{grid-column:span 1}
}


/* ===== V52 · plano de metas por origem ===== */
.origin-plan-card{
    margin:18px 0;
    padding:20px;
    border-radius:26px;
    background:
        radial-gradient(700px 260px at 100% 0%,rgba(34,211,238,.08),transparent 60%),
        linear-gradient(180deg,rgba(18,13,34,.97),rgba(9,7,20,.99));
    border:1px solid rgba(184,167,255,.12);
    box-shadow:0 18px 40px rgba(2,6,23,.24);
}
.origin-plan-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:16px
}
.origin-plan-header h3{
    margin:6px 0 7px;
    font-size:21px;
    letter-spacing:-.025em
}
.origin-plan-header p{
    margin:0;
    max-width:850px;
    color:#AEB4D2;
    line-height:1.55
}
.origin-plan-badge{
    flex:0 0 auto;
    padding:8px 11px;
    border-radius:999px;
    background:rgba(34,211,238,.08);
    border:1px solid rgba(34,211,238,.15);
    color:#B8F4FF;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.07em
}
.origin-plan-form{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:11px;
    padding:14px;
    border-radius:20px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(184,167,255,.09)
}
.origin-plan-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-width:0
}
.origin-plan-field label{
    color:#C4B5FD;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.075em
}
.origin-plan-field select,
.origin-plan-field input{
    height:43px;
    width:100%;
    box-sizing:border-box;
    border-radius:13px;
    border:1px solid rgba(184,167,255,.12);
    background:rgba(255,255,255,.035);
    color:#F8FAFF;
    padding:0 11px;
    font:inherit;
    outline:none
}
.origin-plan-field input:focus,
.origin-plan-field select:focus{
    border-color:rgba(167,139,250,.42);
    box-shadow:0 0 0 3px rgba(139,92,246,.10)
}
.origin-plan-field small{
    color:#858CAF;
    font-size:9px;
    line-height:1.4
}
.origin-plan-summary{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:11px;
    margin:14px 0
}
.origin-summary-kpi{
    min-height:105px;
    padding:14px;
    border-radius:19px;
    background:linear-gradient(180deg,rgba(27,20,49,.85),rgba(14,10,27,.96));
    border:1px solid rgba(184,167,255,.10)
}
.origin-summary-kpi span{
    display:block;
    color:#989FC3;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.07em
}
.origin-summary-kpi strong{
    display:block;
    margin-top:11px;
    font-size:23px;
    letter-spacing:-.035em
}
.origin-summary-kpi small{
    display:block;
    margin-top:6px;
    color:#ABB2D2;
    line-height:1.4
}
.origin-plan-sentence{
    padding:14px 16px;
    margin-bottom:14px;
    border-radius:18px;
    background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(34,211,238,.06));
    border:1px solid rgba(167,139,250,.15);
    color:#E6E3F5;
    font-size:14px;
    line-height:1.6
}
.origin-plan-sentence b{color:#F8FAFF}
.origin-plan-layout{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:14px
}
.origin-plan-panel{
    padding:15px;
    border-radius:21px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(184,167,255,.09);
    min-width:0
}
.origin-plan-panel h4{
    margin:0 0 4px;
    font-size:15px
}
.origin-plan-panel > p{
    margin:0 0 12px;
    color:#9299BD;
    font-size:11px;
    line-height:1.5
}
.origin-plan-chart{
    height:330px;
    position:relative
}
.origin-plan-table-wrap{
    max-height:420px;
    overflow:auto;
    border-radius:15px;
    border:1px solid rgba(184,167,255,.08)
}
.origin-plan-table{
    width:100%;
    border-collapse:collapse;
    min-width:760px
}
.origin-plan-table th{
    position:sticky;
    top:0;
    z-index:1;
    background:#17112B;
    color:#C4B5FD;
    padding:10px 9px;
    text-align:right;
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.065em
}
.origin-plan-table td{
    padding:10px 9px;
    text-align:right;
    border-bottom:1px solid rgba(184,167,255,.08);
    color:#D8DBED;
    font-size:12px
}
.origin-plan-table th:first-child,
.origin-plan-table td:first-child{text-align:left}
.origin-plan-table tbody tr:hover{background:rgba(139,92,246,.055)}
.origin-plan-source{
    display:flex;
    align-items:center;
    gap:9px;
    font-weight:700
}
.origin-plan-dot{
    width:10px;
    height:10px;
    flex:0 0 10px;
    border-radius:50%
}
.origin-plan-cost{
    color:#6EE7B7!important;
    font-weight:800
}
.origin-plan-no-cost{
    color:#8D94B8!important
}
.origin-plan-pressure{
    display:inline-flex;
    padding:5px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:800
}
.origin-plan-pressure.ok{
    color:#A7F3D0;
    background:rgba(16,185,129,.09);
    border:1px solid rgba(16,185,129,.14)
}
.origin-plan-pressure.medium{
    color:#FDE68A;
    background:rgba(245,158,11,.09);
    border:1px solid rgba(245,158,11,.14)
}
.origin-plan-pressure.high{
    color:#FDA4AF;
    background:rgba(244,63,94,.09);
    border:1px solid rgba(244,63,94,.14)
}
.origin-campaign-allocation{
    margin-top:14px
}
.origin-data-warning{
    margin-top:13px;
    padding:12px 14px;
    border-radius:16px;
    background:rgba(245,158,11,.055);
    border:1px solid rgba(245,158,11,.12);
    color:#D8D2BA;
    font-size:10px;
    line-height:1.55
}
.origin-data-warning b{color:#FDE68A}
.origin-confidence{
    display:inline-flex;
    align-items:center;
    gap:7px
}
.origin-confidence::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#94A3B8
}
.origin-confidence.high::before{background:#34D399}
.origin-confidence.medium::before{background:#FBBF24}
.origin-confidence.low::before{background:#FB7185}
@media(max-width:1350px){
    .origin-plan-form{grid-template-columns:repeat(3,minmax(0,1fr))}
    .origin-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px){
    .origin-plan-layout{grid-template-columns:1fr}
}
@media(max-width:720px){
    .origin-plan-header{flex-direction:column}
    .origin-plan-form{grid-template-columns:1fr}
    .origin-plan-summary{grid-template-columns:1fr}
}


/* ===== V53 · encaixe da navegação, storytelling e performance ===== */
.main-container{
    align-items:flex-start!important;
    overflow:visible!important;
}
.app-sidebar{
    position:sticky!important;
    top:84px!important;
    height:calc(100vh - 102px)!important;
    min-height:560px!important;
    align-self:flex-start!important;
    overflow:hidden!important;
}
.sidebar-scroll{
    height:calc(100% - 142px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-width:thin;
}
.sidebar-footer{margin-top:auto!important}
.sidebar-reopen-fab{
    display:none!important;
    position:fixed!important;
    left:0!important;
    top:112px!important;
    bottom:auto!important;
    min-width:44px!important;
    width:44px!important;
    height:48px!important;
    padding:0!important;
    border-radius:0 15px 15px 0!important;
    justify-content:center!important;
    z-index:1200!important;
}
.sidebar-reopen-fab span:last-child{display:none!important}
body.sidebar-collapsed .sidebar-reopen-fab{display:flex!important}
.floating-period-indicator{
    display:flex!important;
    position:fixed!important;
    right:18px!important;
    bottom:18px!important;
    top:auto!important;
    left:auto!important;
    z-index:1250!important;
    min-width:236px!important;
    max-width:calc(100vw - 36px)!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,rgba(27,20,49,.97),rgba(13,10,26,.98))!important;
    border:1px solid rgba(167,139,250,.24)!important;
    box-shadow:0 18px 40px rgba(2,6,23,.38)!important;
}
.floating-period-indicator:hover{transform:translateY(-2px)}
.floating-period-icon{
    background:linear-gradient(135deg,rgba(139,92,246,.25),rgba(34,211,238,.14))!important;
    color:#E9D5FF!important;
}
.report-workspace-header{position:relative!important;top:auto!important}

/* Consultoras: navegação interna */
.consultant-analysis-switch{
    position:sticky;
    top:82px;
    z-index:20;
    padding:8px!important;
    border-radius:18px!important;
    background:rgba(9,6,17,.93)!important;
    backdrop-filter:blur(14px);
    box-shadow:0 10px 28px rgba(2,6,23,.24);
}
.consultant-analysis-option{
    min-height:66px!important;
    border-radius:14px!important;
}
.consultant-analysis-option[data-mode="mix"] .consultant-analysis-icon{
    background:linear-gradient(135deg,rgba(34,211,238,.17),rgba(139,92,246,.16));
}
.consultant-mix-panel{display:none}
.consultant-mix-panel.active{display:block;animation:fadeIn .22s ease}
.consultant-mix-hero{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
    padding:19px 20px;margin:14px 0;border-radius:22px;
    background:linear-gradient(135deg,rgba(34,211,238,.08),rgba(139,92,246,.10),rgba(17,13,33,.98));
    border:1px solid rgba(167,139,250,.13)
}
.consultant-mix-hero h3{margin:0 0 6px;font-size:19px}
.consultant-mix-hero p{margin:0;color:#AEB4D2;line-height:1.55}
.consultant-mix-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:14px}
.consultant-mix-kpi{
    min-height:108px;padding:14px;border-radius:18px;
    background:linear-gradient(180deg,rgba(27,20,49,.88),rgba(13,10,26,.98));
    border:1px solid rgba(184,167,255,.10)
}
.consultant-mix-kpi span{display:block;color:#979EC2;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.065em}
.consultant-mix-kpi strong{display:block;margin-top:11px;font-size:24px;letter-spacing:-.035em}
.consultant-mix-kpi small{display:block;margin-top:6px;color:#AEB4D2;line-height:1.4}
.consultant-mix-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin-bottom:14px}
.consultant-mix-card{
    padding:16px;border-radius:21px;background:linear-gradient(180deg,rgba(18,13,34,.96),rgba(10,8,21,.99));
    border:1px solid rgba(184,167,255,.10)
}
.consultant-mix-card h4{margin:0 0 4px;font-size:15px}
.consultant-mix-card p{margin:0 0 12px;color:#9299BD;font-size:10px;line-height:1.45}
.consultant-mix-chart{height:350px;position:relative}
.consultant-mix-table-wrap{overflow:auto;max-height:520px;border-radius:16px;border:1px solid rgba(184,167,255,.08)}
.consultant-mix-table{width:100%;border-collapse:collapse;min-width:980px}
.consultant-mix-table th{position:sticky;top:0;z-index:2;background:#17112B;color:#C4B5FD;padding:10px 9px;text-align:right;font-size:8px;text-transform:uppercase;letter-spacing:.055em}
.consultant-mix-table td{padding:10px 9px;border-bottom:1px solid rgba(184,167,255,.08);text-align:right;font-size:11px;color:#D8DBED}
.consultant-mix-table th:first-child,.consultant-mix-table td:first-child{text-align:left}
.consultant-mix-table tbody tr:hover{background:rgba(139,92,246,.055)}

/* Simulações: uma pergunta por vez */
.decision-center-head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
    padding:22px;margin-bottom:14px;border-radius:25px;
    background:radial-gradient(650px 250px at 100% 0%,rgba(34,211,238,.10),transparent 58%),linear-gradient(135deg,rgba(91,33,182,.25),rgba(17,13,33,.98));
    border:1px solid rgba(167,139,250,.15)
}
.decision-center-head h2{margin:7px 0 7px;font-size:25px;letter-spacing:-.03em}
.decision-center-head p{margin:0;max-width:820px;color:#C4C8DE;line-height:1.6}
.decision-center-status{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.decision-status-pill{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.035);border:1px solid rgba(184,167,255,.10);color:#D9D4EE;font-size:10px;font-weight:700}
.decision-nav{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
    padding:8px;margin-bottom:14px;border-radius:20px;background:rgba(9,6,17,.72);border:1px solid rgba(184,167,255,.09)
}
.decision-nav-button{
    min-height:76px;padding:13px 14px;border:1px solid transparent;border-radius:15px;
    background:rgba(255,255,255,.025);color:#CDD0E6;text-align:left;cursor:pointer;font:inherit
}
.decision-nav-button b{display:block;margin-bottom:4px;color:#F8FAFF;font-size:13px}
.decision-nav-button span{display:block;color:#9299BD;font-size:10px;line-height:1.4}
.decision-nav-button.active{
    background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(34,211,238,.08));
    border-color:rgba(167,139,250,.18);box-shadow:0 10px 24px rgba(2,6,23,.18)
}
.decision-view{display:none}
.decision-view.active{display:block;animation:fadeIn .22s ease}
.decision-story{
    display:grid;grid-template-columns:.78fr 1.22fr;gap:14px
}
.decision-input-card,.decision-answer-card,.decision-detail-card{
    padding:18px;border-radius:22px;background:linear-gradient(180deg,rgba(18,13,34,.97),rgba(10,8,21,.99));
    border:1px solid rgba(184,167,255,.10)
}
.decision-step{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.decision-step-number{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#8B5CF6,#6D28D9);color:#fff;font-weight:900}
.decision-step b{display:block;font-size:14px}.decision-step span{display:block;color:#9299BD;font-size:10px;margin-top:2px}
.decision-form{display:grid;grid-template-columns:1fr;gap:11px}
.decision-field{display:flex;flex-direction:column;gap:7px}
.decision-field label{color:#C4B5FD;font-size:9px;text-transform:uppercase;letter-spacing:.075em;font-weight:800}
.decision-field input,.decision-field select{height:44px;border-radius:13px;border:1px solid rgba(184,167,255,.12);background:rgba(255,255,255,.035);color:#F8FAFF;padding:0 11px;font:inherit}
.decision-answer-lead{
    padding:16px 17px;margin-bottom:12px;border-radius:18px;
    background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(34,211,238,.055));
    border:1px solid rgba(167,139,250,.14);color:#E7E5F4;line-height:1.55
}
.decision-answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.decision-answer{
    min-height:106px;padding:14px;border-radius:17px;background:rgba(255,255,255,.028);border:1px solid rgba(184,167,255,.08)
}
.decision-answer span{display:block;color:#969DC0;font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.decision-answer strong{display:block;margin-top:10px;font-size:23px;letter-spacing:-.035em}
.decision-answer small{display:block;margin-top:5px;color:#AEB4D2;line-height:1.4}
.decision-chart-stage{height:290px;margin-top:13px;position:relative}
.decision-disclosure{margin-top:14px;border-radius:18px;border:1px solid rgba(184,167,255,.09);background:rgba(255,255,255,.02);overflow:hidden}
.decision-disclosure summary{cursor:pointer;padding:13px 15px;color:#DAD7EA;font-weight:800}
.decision-disclosure > div{padding:0 15px 15px}
#tab-simulation-lab .origin-plan-card{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#tab-simulation-lab .origin-plan-header{display:none!important}
#tab-simulation-lab .origin-plan-form{grid-template-columns:repeat(4,minmax(0,1fr));background:transparent!important;padding:0!important;border:0!important}
#tab-simulation-lab .origin-plan-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
#tab-simulation-lab .origin-plan-layout{grid-template-columns:1.15fr .85fr}

/* Financeiro: sequência de leitura */
.financial-story-head{
    padding:20px;margin-bottom:14px;border-radius:23px;
    background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(139,92,246,.10),rgba(17,13,33,.98));
    border:1px solid rgba(167,139,250,.12)
}
.financial-story-head h2{margin:7px 0 7px;font-size:22px;letter-spacing:-.025em}
.financial-story-head p{margin:0;max-width:900px;color:#B6BBD5;line-height:1.55}
.financial-story-sentence{
    margin-top:14px;padding:13px 15px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(184,167,255,.09);color:#E5E3F1;line-height:1.55
}
.financial-story-flow{display:grid;gap:13px;margin:14px 0}
.financial-story-step{
    display:grid;grid-template-columns:160px 1fr;gap:14px;padding:15px;border-radius:21px;
    background:linear-gradient(180deg,rgba(18,13,34,.96),rgba(10,8,21,.99));border:1px solid rgba(184,167,255,.10)
}
.financial-step-label{padding:8px 5px}
.financial-step-label span{display:grid;place-items:center;width:32px;height:32px;margin-bottom:10px;border-radius:10px;background:linear-gradient(135deg,#8B5CF6,#6D28D9);font-weight:900}
.financial-step-label b{display:block;font-size:14px;margin-bottom:5px}.financial-step-label small{color:#959CBE;line-height:1.45}
.financial-step-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.financial-step-cards .financial-kpi{min-height:112px!important}
.financial-story-chart-card{
    padding:16px;margin-bottom:14px;border-radius:21px;background:linear-gradient(180deg,rgba(18,13,34,.96),rgba(10,8,21,.99));border:1px solid rgba(184,167,255,.10)
}
.financial-story-chart-card h3{margin:0 0 4px;font-size:15px}.financial-story-chart-card p{margin:0;color:#959CBE;font-size:10px}
.financial-story-chart-stage{height:330px;position:relative;margin-top:12px}
.financial-advanced-toggle{margin-bottom:14px;border-radius:18px;border:1px solid rgba(184,167,255,.09);background:rgba(255,255,255,.02);overflow:hidden}
.financial-advanced-toggle summary{cursor:pointer;padding:13px 15px;color:#DAD7EA;font-weight:800}
.financial-advanced-toggle .financial-chart-grid{padding:0 14px 14px}

/* Performance */
html{scroll-behavior:auto!important}
*{animation-duration:.18s!important}
body.performance-mode *, body.performance-mode *::before, body.performance-mode *::after{transition-duration:.12s!important}
body.performance-mode canvas{image-rendering:auto}
@media(max-width:1200px){
    .consultant-mix-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
    .consultant-mix-grid,.decision-story,.financial-story-step{grid-template-columns:1fr}
    .financial-step-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    #tab-simulation-lab .origin-plan-form{grid-template-columns:repeat(2,minmax(0,1fr))}
    #tab-simulation-lab .origin-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
    #tab-simulation-lab .origin-plan-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
    .consultant-analysis-switch{position:relative;top:auto}
    .consultant-mix-kpis,.decision-answer-grid,.financial-step-cards,#tab-simulation-lab .origin-plan-form,#tab-simulation-lab .origin-plan-summary{grid-template-columns:1fr}
    .consultant-mix-grid,.decision-nav{grid-template-columns:1fr}
    .floating-period-indicator{right:10px!important;bottom:10px!important;left:10px!important;min-width:0!important}
}


/* ===== V54 · layout estável, mapa estadual e perfil visual ===== */
.main-container.v54-grid-layout{
    width:100%!important;
    max-width:1680px!important;
    margin:16px auto 0!important;
    padding:0 18px 34px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:276px minmax(0,1fr)!important;
    column-gap:18px!important;
    align-items:start!important;
    overflow:visible!important;
}
.main-container.v54-grid-layout > .app-sidebar{
    grid-column:1!important;
    grid-row:1 / span 999!important;
    position:sticky!important;
    left:auto!important;
    top:82px!important;
    bottom:auto!important;
    width:276px!important;
    height:calc(100vh - 100px)!important;
    min-height:520px!important;
    align-self:start!important;
    z-index:45!important;
    border-radius:24px!important;
    border:1px solid rgba(184,167,255,.13)!important;
    box-shadow:0 18px 42px rgba(2,6,23,.30)!important;
}
.main-container.v54-grid-layout > :not(.app-sidebar){
    grid-column:2!important;
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
}
body.sidebar-collapsed .main-container.v54-grid-layout{
    grid-template-columns:76px minmax(0,1fr)!important;
}
body.sidebar-collapsed .main-container.v54-grid-layout > .app-sidebar{
    width:76px!important;
}
.sidebar-footer{display:none!important}
.sidebar-scroll{
    height:auto!important;
    flex:1!important;
    min-height:0!important;
    overflow-y:auto!important;
    padding-bottom:18px!important;
}
.sidebar-reopen-fab{
    top:90px!important;
    left:0!important;
    width:46px!important;
    height:48px!important;
    border-radius:0 15px 15px 0!important;
    z-index:1100!important;
}
.floating-period-indicator{
    display:flex!important;
    position:fixed!important;
    right:18px!important;
    bottom:18px!important;
    top:auto!important;
    left:auto!important;
    z-index:1200!important;
    min-width:235px!important;
    max-width:calc(100vw - 36px)!important;
}
.report-workspace-header{position:relative!important;top:auto!important;z-index:10!important}
.profile-chart-description{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.45!important;
    min-height:auto!important;
}
#profile-demographic .profile-chart-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
}
#profile-demographic .profile-chart-card{
    min-height:300px!important;
    padding:16px!important;
    border-radius:20px!important;
    overflow:hidden!important;
}
#profile-demographic .profile-chart-card.profile-chart-wide{
    grid-column:1/-1!important;
}
.profile-gender-card{min-height:330px!important}
.profile-gender-summary{
    display:flex;
    flex-direction:column;
    gap:11px;
    margin-top:13px;
    flex:1;
}
.profile-gender-total-v54{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:14px;
    padding:12px 14px;
    border-radius:16px;
    background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(34,211,238,.06));
    border:1px solid rgba(167,139,250,.14)
}
.profile-gender-total-v54 span{color:#AAB0D0;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.profile-gender-total-v54 strong{font-size:25px;letter-spacing:-.04em}
.profile-gender-row-v54{
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
    padding:12px 13px;
    border-radius:17px;
    background:rgba(255,255,255,.028);
    border:1px solid rgba(184,167,255,.09)
}
.profile-gender-icon-v54{
    width:46px;height:46px;border-radius:15px;display:grid;place-items:center;
    color:#F8FAFF;background:linear-gradient(135deg,rgba(139,92,246,.25),rgba(34,211,238,.13));
    border:1px solid rgba(184,167,255,.12)
}
.profile-gender-icon-v54 svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-gender-copy-v54{min-width:0}
.profile-gender-copy-v54 strong{display:block;font-size:13px;color:#F8FAFF;margin-bottom:7px}
.profile-gender-bar-v54{height:7px;border-radius:999px;background:rgba(148,163,184,.11);overflow:hidden}
.profile-gender-bar-v54 i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8B5CF6,#22D3EE)}
.profile-gender-row-v54[data-kind="female"] .profile-gender-bar-v54 i{background:linear-gradient(90deg,#D946EF,#FB7185)}
.profile-gender-row-v54[data-kind="unknown"] .profile-gender-bar-v54 i{background:linear-gradient(90deg,#475569,#94A3B8)}
.profile-gender-value-v54{text-align:right}
.profile-gender-value-v54 strong{display:block;font-size:20px;letter-spacing:-.035em}
.profile-gender-value-v54 span{display:block;margin-top:3px;color:#9CA3C1;font-size:10px}
.profile-brazil-state-map-card{min-height:570px!important}
.profile-brazil-map-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:18px;
    align-items:stretch;
    margin-top:12px;
    min-height:485px
}
.profile-brazil-map-v54{
    width:100%;
    min-height:485px;
    border-radius:18px;
    background:
       radial-gradient(600px 280px at 55% 50%,rgba(139,92,246,.08),transparent 65%),
       rgba(255,255,255,.018);
    border:1px solid rgba(184,167,255,.08);
    overflow:hidden
}
.profile-state-ranking-v54{
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(184,167,255,.09);
    min-width:0
}
.profile-state-ranking-head strong{display:block;color:#F8FAFF;font-size:13px}
.profile-state-ranking-head span{display:block;margin-top:4px;color:#9399BD;font-size:10px}
.profile-state-ranking-list-v54{display:flex;flex-direction:column;gap:7px;margin-top:13px}
.profile-state-ranking-item-v54{
    display:grid;
    grid-template-columns:28px minmax(0,1fr) auto;
    gap:9px;
    align-items:center;
    padding:9px 10px;
    border-radius:13px;
    background:rgba(255,255,255,.028);
    border:1px solid rgba(184,167,255,.075)
}
.profile-state-ranking-position-v54{
    width:26px;height:26px;display:grid;place-items:center;border-radius:9px;
    background:rgba(139,92,246,.12);color:#D8B4FE;font-size:10px;font-weight:900
}
.profile-state-ranking-name-v54{min-width:0}
.profile-state-ranking-name-v54 strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-state-ranking-name-v54 i{display:block;height:5px;margin-top:6px;border-radius:999px;background:rgba(148,163,184,.10);overflow:hidden}
.profile-state-ranking-name-v54 i::after{content:"";display:block;width:var(--w);height:100%;background:linear-gradient(90deg,#8B5CF6,#22D3EE);border-radius:999px}
.profile-state-ranking-item-v54 > strong{font-size:12px;color:#DDE2F6}
.profile-map-legend-v54{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:13px;color:#858CAF;font-size:9px}
.profile-map-legend-v54 i{height:7px;border-radius:999px;background:linear-gradient(90deg,#211733,#6D28D9,#D946EF,#22D3EE)}
.highcharts-background{fill:transparent!important}
.highcharts-credits{fill:#6B7280!important;font-size:8px!important}
.highcharts-legend-item text{fill:#BCC2DE!important}
.highcharts-data-label text{fill:#F8FAFF!important;text-shadow:0 1px 3px rgba(0,0,0,.55)!important;font-weight:800!important}
.highcharts-coloraxis-labels text{fill:#9CA3C1!important}
@media(max-width:1050px){
    .main-container.v54-grid-layout{grid-template-columns:1fr!important;padding:0 12px 30px!important}
    .main-container.v54-grid-layout > :not(.app-sidebar){grid-column:1!important}
    .main-container.v54-grid-layout > .app-sidebar{
        position:fixed!important;left:0!important;top:70px!important;bottom:0!important;height:auto!important;width:min(310px,88vw)!important;
        transform:translateX(-105%);z-index:1450!important;border-radius:0 22px 22px 0!important
    }
    body.sidebar-mobile-open .main-container.v54-grid-layout > .app-sidebar{transform:translateX(0)!important}
    .profile-brazil-map-layout{grid-template-columns:1fr}
    .profile-brazil-map-v54{min-height:440px}
}
@media(max-width:720px){
    #profile-demographic .profile-chart-grid{grid-template-columns:1fr!important}
    .profile-brazil-state-map-card{min-height:auto!important}
    .profile-brazil-map-v54{min-height:390px}
}



        /* V55 — otimização de renderização sem alterar conteúdo ou cálculos */
        body.performance-v55 .tab-content.active,
        body.performance-v55 .profile-view.active,
        body.performance-v55 .main-container { animation: none !important; }
        body.performance-v55 .tab-content,
        body.performance-v55 .profile-view,
        body.performance-v55 .panel,
        body.performance-v55 .profile-chart-card { contain: layout style paint; }
        body.performance-v55 .table-container,
        body.performance-v55 .profile-table-wrap,
        body.performance-v55 .control-daily-wrap { overscroll-behavior: contain; }
        body.performance-v55.is-calculating-v55 { cursor: progress; }
        body.performance-v55.is-calculating-v55 .tab-content.active { pointer-events: none; }

    

/* ===== V143 visual source block 2 ===== */


/* ===== V56 · UX/UI consistente, filtros horizontais, feedback de carregamento e modo offline ===== */
:root{
    --font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    --v56-surface:#11172A;
    --v56-surface-2:#151C31;
    --v56-surface-3:#0E1425;
    --v56-border:rgba(167,139,250,.15);
    --v56-border-strong:rgba(139,92,246,.34);
    --v56-purple:#8B5CF6;
    --v56-blue:#3B82F6;
    --v56-cyan:#22D3EE;
    --v56-green:#10B981;
    --v56-pink:#EC4899;
    --v56-amber:#F59E0B;
    --v56-radius:16px;
}
html{scrollbar-gutter:stable}
body.ux-v56{
    font-family:var(--font-family)!important;
    background:
      radial-gradient(900px 440px at 72% -170px,rgba(124,58,237,.12),transparent 70%),
      radial-gradient(700px 380px at 22% -210px,rgba(34,211,238,.07),transparent 70%),
      #080D19!important;
}
body.ux-v56 .top-bar{
    background:rgba(8,10,21,.88)!important;
    border-bottom:1px solid rgba(167,139,250,.13)!important;
    box-shadow:0 10px 34px rgba(0,0,0,.22)!important;
    backdrop-filter:blur(18px) saturate(1.2);
}
body.ux-v56 .brand-badge{
    background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(59,130,246,.12))!important;
    border:1px solid rgba(167,139,250,.22)!important;
    color:#DDD6FE!important;
}
body.ux-v56 .offline-status-v56{
    display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;
    border:1px solid rgba(16,185,129,.24);background:rgba(16,185,129,.08);color:#A7F3D0;
    font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;
}
body.ux-v56 .offline-status-v56::before{content:"";width:7px;height:7px;border-radius:50%;background:#34D399;box-shadow:0 0 0 4px rgba(52,211,153,.10)}
body.ux-v56 :is(button,input,select,summary){font-family:var(--font-family)}
body.ux-v56 :is(button,input,select):focus-visible{outline:2px solid rgba(96,165,250,.9)!important;outline-offset:2px!important}
body.ux-v56 .btn{border-radius:11px!important;min-height:40px;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important}
body.ux-v56 .btn:hover{transform:translateY(-1px)}
body.ux-v56 .btn-primary{background:linear-gradient(135deg,#8B5CF6,#6D4CEB)!important;box-shadow:0 8px 24px rgba(124,58,237,.22)}
body.ux-v56 .panel,
body.ux-v56 .kpi-card,
body.ux-v56 .mini-kpi,
body.ux-v56 .profile-chart-card,
body.ux-v56 .control-chart-card{
    border-color:var(--v56-border)!important;
    background:linear-gradient(180deg,rgba(20,26,47,.96),rgba(13,18,34,.96))!important;
    box-shadow:0 14px 38px rgba(0,0,0,.16)!important;
}
body.ux-v56 .panel{border-radius:18px!important}
body.ux-v56 .panel-header{background:rgba(16,22,40,.84)!important;border-bottom-color:rgba(167,139,250,.11)!important}
body.ux-v56 .app-sidebar{background:linear-gradient(180deg,rgba(22,16,43,.97),rgba(10,14,28,.98))!important}
body.ux-v56 .sidebar-nav-button{border:1px solid transparent!important;border-radius:14px!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important}
body.ux-v56 .sidebar-nav-button:hover{transform:translateX(2px);background:rgba(139,92,246,.08)!important;border-color:rgba(167,139,250,.11)!important}
body.ux-v56 .sidebar-nav-button.active{background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(139,92,246,.13))!important;border-color:rgba(147,197,253,.40)!important;box-shadow:inset 3px 0 0 #60A5FA,0 10px 24px rgba(0,0,0,.12)!important}

/* Perfil / Todas as matrículas: sem duas barras laterais concorrendo por espaço. */
body.ux-v56 #tab-public-profile > .panel{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.ux-v56 #tab-public-profile .profile-main-header{
    border:1px solid var(--v56-border)!important;border-radius:18px!important;margin-bottom:12px!important;
    background:linear-gradient(135deg,rgba(139,92,246,.11),rgba(59,130,246,.05),rgba(16,185,129,.035))!important;
    box-shadow:0 14px 36px rgba(0,0,0,.14)!important;
}
body.ux-v56 #tab-public-profile .profile-layout-shell{display:block!important;min-width:0!important}
body.ux-v56 #tab-public-profile .profile-filter-sidebar{
    position:relative!important;top:auto!important;z-index:24!important;width:100%!important;max-height:none!important;overflow:visible!important;
    border:1px solid var(--v56-border)!important;border-radius:18px!important;margin:0 0 14px!important;
    background:linear-gradient(180deg,rgba(18,24,44,.98),rgba(12,17,32,.98))!important;
    box-shadow:0 16px 38px rgba(0,0,0,.16)!important;
}
body.ux-v56 .profile-sidebar-heading{
    position:relative!important;top:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
    gap:14px!important;padding:13px 15px!important;border-bottom:1px solid rgba(167,139,250,.10)!important;background:rgba(255,255,255,.012)!important;
}
body.ux-v56 .profile-filter-heading-copy-v56{display:flex;align-items:center;gap:11px;min-width:0}
body.ux-v56 .profile-filter-heading-icon-v56{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:#C4B5FD;background:rgba(139,92,246,.12);border:1px solid rgba(167,139,250,.16);flex:0 0 36px}
body.ux-v56 .profile-filter-heading-icon-v56 svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ux-v56 .profile-filter-heading-copy-v56 strong{display:block;color:#F8FAFF;font-size:13px}
body.ux-v56 .profile-filter-heading-copy-v56 small{display:block;margin-top:3px;color:#9299B7;font-size:9px;line-height:1.35}
body.ux-v56 .profile-filter-heading-actions-v56{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ux-v56 .profile-filter-count-v56{padding:6px 9px;border-radius:999px;background:rgba(59,130,246,.10);border:1px solid rgba(96,165,250,.18);color:#BFDBFE;font-size:9px;font-weight:800;white-space:nowrap}
body.ux-v56 .profile-filter-action-v56{min-height:32px;border:1px solid rgba(167,139,250,.15);border-radius:9px;background:rgba(255,255,255,.025);color:#B8BED6;padding:6px 9px;font-size:9px;font-weight:800;cursor:pointer}
body.ux-v56 .profile-filter-action-v56:hover{color:#fff;border-color:rgba(96,165,250,.42);background:rgba(59,130,246,.08)}
body.ux-v56 .profile-filter-body-v56{display:grid;grid-template-columns:minmax(250px,.74fr) minmax(0,2.2fr);gap:12px;padding:13px}
body.ux-v56 .profile-filter-context-v56{display:flex;flex-direction:column;gap:9px;min-width:0}
body.ux-v56 .profile-filter-sidebar.filters-collapsed-v56 .profile-filter-body-v56{display:none}
body.ux-v56 .profile-month-panel{
    padding:11px!important;border:1px solid rgba(96,165,250,.14)!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(59,130,246,.07),rgba(139,92,246,.035))!important;
}
body.ux-v56 .profile-month-panel > label{font-size:9px!important;color:#BFDBFE!important}
body.ux-v56 .profile-month-row input[type="month"],
body.ux-v56 .profile-filter-grid select{
    min-height:42px!important;border:1px solid rgba(148,163,184,.17)!important;border-radius:10px!important;
    background:#1A2037!important;color:#F8FAFC!important;padding:8px 10px!important;font-size:10px!important;
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
}
body.ux-v56 .profile-month-row input[type="month"]:hover,
body.ux-v56 .profile-filter-grid select:hover{border-color:rgba(96,165,250,.34)!important;background:#1E2640!important}
body.ux-v56 .profile-filter-grid select:focus{border-color:#60A5FA!important;box-shadow:0 0 0 3px rgba(59,130,246,.12)!important}
body.ux-v56 .profile-month-clear{min-height:42px!important;border-radius:10px!important;padding:8px 10px!important}
body.ux-v56 .profile-scope-summary{
    padding:10px 11px!important;border:1px solid rgba(16,185,129,.15)!important;border-radius:12px!important;background:rgba(16,185,129,.055)!important;
    color:#A7F3D0!important;font-size:9px!important;line-height:1.45!important;
}
body.ux-v56 .profile-filter-panel{padding:0!important;border:0!important;background:transparent!important;min-width:0}
body.ux-v56 .profile-filter-grid,
body.ux-v56 .profile-filter-grid-v29{display:grid!important;grid-template-columns:repeat(4,minmax(145px,1fr))!important;gap:9px!important}
body.ux-v56 .profile-filter-grid label{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;padding:9px 10px 10px!important;
    border:1px solid rgba(148,163,184,.10)!important;border-radius:12px!important;background:rgba(255,255,255,.018)!important;
    color:#8F97B6!important;font-size:8px!important;letter-spacing:.07em!important;transition:border-color .16s ease,background .16s ease!important;
}
body.ux-v56 .profile-filter-grid label.has-active-value-v56{border-color:rgba(96,165,250,.34)!important;background:linear-gradient(135deg,rgba(59,130,246,.075),rgba(139,92,246,.035))!important;color:#BFDBFE!important}
body.ux-v56 .profile-scope-note{grid-column:1/-1;margin:9px 2px 0!important;color:#8991AD!important;font-size:9px!important}
body.ux-v56 .profile-content-area{position:relative!important;min-width:0!important;width:100%!important}

/* Escopo, abas e indicadores com hierarquia visual mais clara. */
body.ux-v56 .profile-scope-indicator{border:1px solid rgba(96,165,250,.17)!important;border-radius:15px!important;margin-bottom:10px!important;box-shadow:inset 4px 0 0 #3B82F6,0 10px 28px rgba(0,0,0,.10)!important}
body.ux-v56 .profile-scope-indicator.system{border-color:rgba(16,185,129,.18)!important;box-shadow:inset 4px 0 0 #10B981,0 10px 28px rgba(0,0,0,.10)!important}
body.ux-v56 .profile-subnav{
    position:sticky!important;top:66px!important;z-index:32!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;padding:7px!important;margin-bottom:12px!important;border:1px solid var(--v56-border)!important;border-radius:14px!important;
    background:rgba(10,14,28,.90)!important;backdrop-filter:blur(16px)!important;box-shadow:0 10px 30px rgba(0,0,0,.15)!important;
}
body.ux-v56 .profile-subnav-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;border-radius:10px!important;font-size:10px!important}
body.ux-v56 .profile-subnav-button.active{background:linear-gradient(135deg,#8B5CF6,#6D4CEB)!important;border-color:rgba(196,181,253,.36)!important;box-shadow:0 8px 22px rgba(124,58,237,.22)!important}
body.ux-v56 .profile-tab-icon-v56{width:17px;height:17px;display:grid;place-items:center;flex:0 0 17px}
body.ux-v56 .profile-tab-icon-v56 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* KPIs com ícones e leitura rápida. */
body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:repeat(6,minmax(145px,1fr))!important;gap:10px!important}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi{
    min-height:105px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;
    column-gap:11px!important;align-content:center!important;padding:13px!important;border-radius:15px!important;position:relative!important;overflow:hidden!important;
}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi::after{content:"";position:absolute;right:-20px;bottom:-30px;width:95px;height:95px;border-radius:50%;background:radial-gradient(circle,rgba(139,92,246,.10),transparent 68%);pointer-events:none}
body.ux-v56 .profile-kpi-icon-v56{grid-column:1!important;grid-row:1/4!important;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#C4B5FD;background:rgba(139,92,246,.12);border:1px solid rgba(167,139,250,.16)}
body.ux-v56 .profile-kpi-icon-v56 svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi-label,
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi-value,
body.ux-v56 #tab-public-profile .profile-kpi-grid .profile-kpi-sub{grid-column:2!important;min-width:0!important}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi-label{font-size:8px!important;line-height:1.3!important}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi-value{font-size:20px!important;overflow:hidden;text-overflow:ellipsis}
body.ux-v56 #tab-public-profile .profile-kpi-grid .profile-kpi-sub{font-size:8px!important;line-height:1.35!important}

/* Cards de gráficos com ícones SVG e marca d'água contextual. */
body.ux-v56 #tab-public-profile .profile-chart-grid{gap:13px!important}
body.ux-v56 #tab-public-profile .profile-chart-card{position:relative!important;overflow:hidden!important;border-radius:17px!important;padding:15px!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}
body.ux-v56 #tab-public-profile .profile-chart-card:hover{transform:translateY(-2px);border-color:rgba(96,165,250,.28)!important;box-shadow:0 18px 44px rgba(0,0,0,.22)!important}
body.ux-v56 .profile-chart-title{display:flex!important;align-items:center!important;gap:9px!important;min-height:32px!important;padding-right:38px!important;font-size:13px!important;position:relative!important;z-index:2!important}
body.ux-v56 .profile-card-icon-v56{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;color:#C4B5FD;background:rgba(139,92,246,.11);border:1px solid rgba(167,139,250,.14);flex:0 0 31px}
body.ux-v56 .profile-card-icon-v56 svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ux-v56 .profile-chart-title-copy-v56{min-width:0;line-height:1.25}
body.ux-v56 .profile-card-watermark-v56{position:absolute;right:9px;top:8px;width:54px;height:54px;color:#8B5CF6;opacity:.075;pointer-events:none;z-index:0}
body.ux-v56 .profile-card-watermark-v56 svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.ux-v56 .profile-chart-description{position:relative;z-index:2;color:#969DBA!important;font-size:9px!important;line-height:1.45!important}
body.ux-v56 .profile-chart-canvas,body.ux-v56 .profile-table-wrap,body.ux-v56 .profile-gender-summary,body.ux-v56 .profile-brazil-map-layout{position:relative;z-index:2}
body.ux-v56 .profile-chart-card.accent-v56-1 .profile-card-icon-v56{color:#93C5FD;background:rgba(59,130,246,.10);border-color:rgba(96,165,250,.15)}
body.ux-v56 .profile-chart-card.accent-v56-2 .profile-card-icon-v56{color:#67E8F9;background:rgba(34,211,238,.09);border-color:rgba(34,211,238,.14)}
body.ux-v56 .profile-chart-card.accent-v56-3 .profile-card-icon-v56{color:#A7F3D0;background:rgba(16,185,129,.09);border-color:rgba(16,185,129,.14)}
body.ux-v56 .profile-chart-card.accent-v56-4 .profile-card-icon-v56{color:#F9A8D4;background:rgba(236,72,153,.09);border-color:rgba(236,72,153,.14)}
body.ux-v56 .profile-chart-card.accent-v56-5 .profile-card-icon-v56{color:#FCD34D;background:rgba(245,158,11,.09);border-color:rgba(245,158,11,.14)}
body.ux-v56 .profile-offline-badge-v56{margin-left:auto;padding:5px 8px;border-radius:999px;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.18);color:#A7F3D0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}

/* Mapa offline, grande e legível. */
body.ux-v56 .profile-brazil-state-map-card{min-height:620px!important}
body.ux-v56 .profile-brazil-map-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:14px!important;min-height:520px!important;margin-top:10px!important}
body.ux-v56 .profile-brazil-map-v54{position:relative!important;min-height:520px!important;border-radius:16px!important;background:radial-gradient(620px 310px at 52% 48%,rgba(124,58,237,.10),transparent 68%),rgba(6,10,23,.36)!important;border-color:rgba(96,165,250,.10)!important}
body.ux-v56 .profile-brazil-map-v54.is-loading-v56::before{content:"";position:absolute;inset:0;z-index:20;background:rgba(9,12,25,.66);backdrop-filter:blur(2px);border-radius:16px}
body.ux-v56 .profile-brazil-map-v54.is-loading-v56::after{content:"Atualizando mapa offline…";position:absolute;left:50%;top:50%;z-index:21;transform:translate(-50%,-50%);padding-top:43px;color:#D8DDF2;font-size:10px;font-weight:800;white-space:nowrap;background:radial-gradient(circle at 50% 16px,transparent 13px,rgba(139,92,246,.9) 14px 16px,transparent 17px);animation:v56MapPulse 1s ease-in-out infinite}
@keyframes v56MapPulse{0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(.98)}50%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
body.ux-v56 .profile-state-ranking-v54{border-radius:16px!important;padding:14px!important;background:rgba(255,255,255,.022)!important}
body.ux-v56 .profile-state-ranking-list-v54{max-height:430px;overflow:auto;padding-right:3px}
body.ux-v56 .profile-state-ranking-item-v54{border-radius:12px!important}
body.ux-v56 .highcharts-credits{display:none!important}

/* Feedback de carregamento: o conteúdo continua visível e recebe uma camada informativa. */
body.ux-v56 .profile-loading-overlay-v56{position:absolute;inset:0;z-index:80;display:flex;align-items:flex-start;justify-content:center;padding-top:92px;background:rgba(8,12,25,.42);backdrop-filter:blur(1.5px);border-radius:16px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease}
body.ux-v56 .profile-content-area.is-loading-v56 .profile-loading-overlay-v56{opacity:1;visibility:visible;pointer-events:auto}
body.ux-v56 .profile-loading-card-v56{display:flex;align-items:center;gap:11px;padding:12px 15px;border:1px solid rgba(167,139,250,.22);border-radius:13px;background:rgba(15,20,38,.96);box-shadow:0 18px 42px rgba(0,0,0,.28);color:#EEF2FF}
body.ux-v56 .profile-loading-spinner-v56{width:22px;height:22px;border:3px solid rgba(167,139,250,.18);border-top-color:#8B5CF6;border-right-color:#22D3EE;border-radius:50%;animation:v56Spin .75s linear infinite}
body.ux-v56 .profile-loading-card-v56 strong{display:block;font-size:10px}
body.ux-v56 .profile-loading-card-v56 span{display:block;margin-top:2px;color:#9CA3C1;font-size:8px}
@keyframes v56Spin{to{transform:rotate(360deg)}}
body.ux-v56 .global-progress-v56{position:fixed;top:76px;right:18px;z-index:2200;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid rgba(167,139,250,.22);border-radius:12px;background:rgba(13,18,34,.96);box-shadow:0 16px 38px rgba(0,0,0,.28);color:#F8FAFF;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.18s ease;pointer-events:none}
body.ux-v56 .global-progress-v56.active{opacity:1;visibility:visible;transform:translateY(0)}
body.ux-v56 .global-progress-v56 .profile-loading-spinner-v56{width:18px;height:18px;border-width:2px}
body.ux-v56 .global-progress-v56 strong{font-size:9px}

/* Tabelas e formulários com o mesmo padrão visual. */
body.ux-v56 :is(.data-table,.profile-table,.control-daily-table,.audit-table) th{background:#12182B!important;color:#AAB1CB!important}
body.ux-v56 :is(.data-table,.profile-table,.control-daily-table,.audit-table) tbody tr:hover{background:rgba(59,130,246,.055)!important}
body.ux-v56 :is(select,input[type="date"],input[type="month"],input[type="number"],input[type="text"]){accent-color:#8B5CF6}

@media(max-width:1450px){
    body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:repeat(3,minmax(180px,1fr))!important}
    body.ux-v56 .profile-filter-grid,body.ux-v56 .profile-filter-grid-v29{grid-template-columns:repeat(3,minmax(150px,1fr))!important}
}
@media(max-width:1120px){
    body.ux-v56 .profile-filter-body-v56{grid-template-columns:1fr!important}
    body.ux-v56 .profile-filter-grid,body.ux-v56 .profile-filter-grid-v29{grid-template-columns:repeat(2,minmax(150px,1fr))!important}
    body.ux-v56 .profile-brazil-map-layout{grid-template-columns:1fr!important}
    body.ux-v56 .profile-state-ranking-list-v54{max-height:310px}
    body.ux-v56 .profile-subnav{top:8px!important}
}
@media(max-width:720px){
    body.ux-v56 .offline-status-v56{display:none}
    body.ux-v56 .profile-sidebar-heading{align-items:flex-start!important;flex-direction:column!important}
    body.ux-v56 .profile-filter-heading-actions-v56{width:100%;justify-content:flex-start}
    body.ux-v56 .profile-filter-grid,body.ux-v56 .profile-filter-grid-v29{grid-template-columns:1fr!important}
    body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:1fr!important}
    body.ux-v56 .profile-subnav{grid-template-columns:repeat(2,minmax(0,1fr))!important;position:relative!important;top:auto!important}
    body.ux-v56 .profile-brazil-map-v54{min-height:420px!important}
    body.ux-v56 .profile-brazil-state-map-card{min-height:auto!important}
}



/* ===== V143 visual source block 3 ===== */

body.ux-v56 .import-summary.visible{animation:v57ImportSummary .24s ease both}
@keyframes v57ImportSummary{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
body.ux-v56 .global-progress-v56{max-width:min(390px,calc(100vw - 28px))}
body.ux-v56 .import-action-card{transition:transform .15s ease,border-color .15s ease,background .15s ease}
body.ux-v56 .import-action-card:hover{transform:translateY(-1px)}


/* ===== V143 visual source block 4 ===== */

body.ux-v58 .profile-chart-card.visual-upgraded-v58{
    background:linear-gradient(180deg,rgba(17,26,42,.99),rgba(10,17,30,.98));
    border-color:rgba(148,163,184,.17);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 16px 40px rgba(0,0,0,.13)
}
body.ux-v58 .profile-pictorial-chart-v58{display:flex;flex-direction:column;gap:10px;height:100%;padding:5px 1px 2px}
body.ux-v58 .profile-pictorial-summary-v58{
    display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;
    border:1px solid rgba(139,92,246,.2);background:linear-gradient(135deg,rgba(59,130,246,.105),rgba(139,92,246,.105));
    border-radius:12px;margin-bottom:1px
}
body.ux-v58 .profile-pictorial-summary-v58 strong{display:block;color:#F8FAFC;font-size:11px;line-height:1.2}
body.ux-v58 .profile-pictorial-summary-v58 span{display:block;color:#9FB2D7;font-size:9px;line-height:1.35;margin-top:3px}
body.ux-v58 .profile-pictorial-summary-pill-v58{
    flex:0 0 auto;padding:7px 9px;border-radius:999px;background:rgba(15,23,42,.77);
    border:1px solid rgba(148,163,184,.18);color:#E2E8F0;font-size:9px;font-weight:800;white-space:nowrap
}
body.ux-v58 .profile-pictorial-list-v58{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding-right:2px}
body.ux-v58 .profile-pictorial-row-v58{
    display:grid;grid-template-columns:42px minmax(86px,116px) minmax(0,1fr) auto;align-items:center;gap:9px;
    padding:8px 10px;border:1px solid rgba(148,163,184,.12);background:rgba(255,255,255,.021);
    border-radius:13px;transition:transform .16s ease,border-color .16s ease,background .16s ease
}
body.ux-v58 .profile-pictorial-row-v58:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.3);background:rgba(255,255,255,.042)}
body.ux-v58 .profile-pictorial-icon-v58{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
body.ux-v58 .profile-pictorial-label-v58{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ux-v58 .profile-pictorial-label-v58 strong{font-size:11px;color:#F8FAFC;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v58 .profile-pictorial-label-v58 span{font-size:8px;color:#8FA4C8;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
body.ux-v58 .profile-pictorial-track-v58{position:relative;height:15px;border-radius:999px;background:rgba(148,163,184,.12);overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}
body.ux-v58 .profile-pictorial-fill-v58{
    position:absolute;inset:0 auto 0 0;width:0;border-radius:999px;
    background:linear-gradient(90deg,var(--v58-c1,#8B5CF6),var(--v58-c2,#22D3EE));
    box-shadow:0 6px 18px rgba(59,130,246,.17);transition:width .42s ease
}
body.ux-v58 .profile-pictorial-value-v58{display:flex;align-items:flex-end;gap:6px;white-space:nowrap}
body.ux-v58 .profile-pictorial-value-v58 strong{font-size:12px;color:#F8FAFC;line-height:1}
body.ux-v58 .profile-pictorial-value-v58 span{font-size:9px;color:#9FB2D7;font-weight:800}
body.ux-v58 .profile-pictorial-empty-v58{
    display:flex;align-items:center;justify-content:center;min-height:160px;padding:18px;text-align:center;
    border:1px dashed rgba(148,163,184,.24);border-radius:12px;color:#9FB2D7;font-size:11px;line-height:1.45;background:rgba(255,255,255,.02)
}
body.ux-v58 .profile-chart-card[data-v58-target="profile-age-chart"] .profile-chart-canvas,
body.ux-v58 .profile-chart-card[data-v58-target="profile-student-type-chart"] .profile-chart-canvas,
body.ux-v58 .profile-chart-card[data-v58-target="profile-daily-student-type-chart"] .profile-chart-canvas{min-height:0;height:auto}
body.ux-v58 .profile-title-pill-v58{
    display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:5px 9px;border-radius:999px;
    background:rgba(15,23,42,.68);border:1px solid rgba(148,163,184,.14);color:#D7E2F5;
    font-size:8px;font-weight:800;letter-spacing:.055em;text-transform:uppercase
}
body.ux-v58 .profile-title-pill-v58 svg{width:13px;height:13px;display:block}
body.ux-v58 .profile-header-icon-v58{
    display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:7px;vertical-align:middle;
    border-radius:8px;background:rgba(59,130,246,.09);border:1px solid rgba(96,165,250,.16);color:#93C5FD
}
body.ux-v58 .profile-header-icon-v58 svg{width:14px;height:14px;display:block}
body.ux-v58 .profile-kpi-visual-note-v58{
    display:inline-flex;align-items:center;gap:5px;margin-top:6px;padding:5px 8px;border-radius:999px;
    background:rgba(16,185,129,.075);border:1px solid rgba(52,211,153,.15);color:#A7F3D0;font-size:8px;font-weight:800
}
body.ux-v58 .profile-kpi-visual-note-v58 svg{width:12px;height:12px}
@media (max-width:760px){
    body.ux-v58 .profile-pictorial-row-v58{grid-template-columns:38px 1fr;grid-template-areas:'icon label' 'track track' 'value value';align-items:flex-start}
    body.ux-v58 .profile-pictorial-icon-v58{grid-area:icon}
    body.ux-v58 .profile-pictorial-label-v58{grid-area:label}
    body.ux-v58 .profile-pictorial-track-v58{grid-area:track}
    body.ux-v58 .profile-pictorial-value-v58{grid-area:value;justify-content:flex-end}
}


/* ===== V143 visual source block 5 ===== */

/* V73 — Perfil dos alunos reorganizado, preservando o design system atual. */
#tab-public-profile .profile-main-header{align-items:center!important;gap:16px!important}
#tab-public-profile .profile-main-header .panel-header-main{min-width:0!important}
#tab-public-profile .profile-period-context-v73{
    display:flex;align-items:center;gap:9px;margin:0 14px 12px;padding:9px 11px;
    border:1px solid rgba(96,165,250,.16);border-radius:12px;background:rgba(59,130,246,.045);
    color:#CBD5E1;
}
#tab-public-profile .profile-period-icon-v73{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(59,130,246,.13);color:#93C5FD;font-size:13px}
#tab-public-profile .profile-period-copy-v73{display:flex;flex-direction:column;gap:2px;min-width:0}
#tab-public-profile .profile-period-copy-v73 small{font-size:8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#8E97B8}
#tab-public-profile .profile-period-copy-v73 strong{font-size:10px;color:#E8ECFA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#tab-public-profile .profile-summary-strip-v73{
    display:flex;align-items:center;min-height:42px;margin:0 0 10px;padding:9px 13px;
    border:1px solid rgba(16,185,129,.16);border-radius:13px;background:linear-gradient(135deg,rgba(16,185,129,.06),rgba(59,130,246,.035));
    color:#C9F7E4;font-size:10px;font-weight:750;line-height:1.45;
}
#tab-public-profile .profile-layout-shell{display:block!important;grid-template-columns:none!important;gap:0!important}
#tab-public-profile .profile-filter-sidebar{width:100%!important;max-width:none!important;position:relative!important;top:auto!important;margin:0 0 11px!important;border-radius:15px!important;overflow:visible!important}
#tab-public-profile .profile-filter-body-v56{grid-template-columns:1fr!important;padding:12px!important}
#tab-public-profile .profile-filter-context-v56{display:none!important}
#tab-public-profile .profile-filter-panel{width:100%!important}
#tab-public-profile .profile-filter-grid,
#tab-public-profile .profile-filter-grid-v29{grid-template-columns:repeat(4,minmax(160px,1fr))!important;gap:9px!important}
#tab-public-profile .profile-filter-grid label{min-width:0!important}
#tab-public-profile .profile-scope-summary,
#tab-public-profile .profile-scope-indicator,
#tab-public-profile .profile-scope-note{display:none!important}
#tab-public-profile .profile-content-area{width:100%!important}
#tab-public-profile .profile-active-filters-v73{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0 12px;max-height:0;overflow:hidden;opacity:0;transition:max-height .18s ease,opacity .18s ease,padding .18s ease}
#tab-public-profile .profile-active-filters-v73.has-filters{max-height:96px;opacity:1;padding:8px 12px 0}
#tab-public-profile .profile-filter-chip-v73{display:inline-flex;align-items:center;gap:6px;max-width:260px;padding:6px 8px;border:1px solid rgba(96,165,250,.20);border-radius:999px;background:rgba(59,130,246,.075);color:#C8DAFF;font-size:9px;font-weight:750}
#tab-public-profile .profile-filter-chip-v73 span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tab-public-profile .profile-filter-chip-v73 button{border:0;background:transparent;color:#93C5FD;padding:0;cursor:pointer;font-size:12px;line-height:1}
#tab-public-profile .profile-filter-chip-v73 button:hover{color:#fff}
#tab-public-profile.profile-system-scope-v73 .profile-campaign-filter-v73{display:none!important}

body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:repeat(4,minmax(175px,1fr))!important;gap:10px!important}
body.ux-v56 #tab-public-profile .profile-kpi-grid .mini-kpi{min-height:102px!important}
#tab-public-profile .profile-subnav{grid-template-columns:repeat(4,minmax(0,1fr))!important;position:relative!important;top:auto!important}
#tab-public-profile .profile-view:not(.active){display:none!important}

#campaign-daily-wrapper-v73{margin-top:16px}
#campaign-daily-wrapper-v73 .campaign-daily-head-v73{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
#campaign-daily-wrapper-v73 .campaign-daily-profile-v73{display:block!important;padding:0 13px 14px}
#campaign-daily-wrapper-v73 .profile-bi-selection{margin:0 0 10px}
#campaign-daily-wrapper-v73 .profile-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#campaign-daily-wrapper-v73 .profile-chart-card{min-width:0}
#campaign-daily-wrapper-v73 .profile-chart-wide{grid-column:1/-1}

#tab-public-profile #profile-behavior .profile-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#tab-public-profile #profile-location .profile-chart-grid{grid-template-columns:1fr!important}

@media(max-width:1120px){
    #tab-public-profile .profile-filter-grid,#tab-public-profile .profile-filter-grid-v29{grid-template-columns:repeat(2,minmax(160px,1fr))!important}
    body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:repeat(2,minmax(160px,1fr))!important}
}
@media(max-width:720px){
    #tab-public-profile .profile-main-header{align-items:flex-start!important}
    #tab-public-profile .profile-period-context-v73{margin-left:10px;margin-right:10px}
    #tab-public-profile .profile-filter-grid,#tab-public-profile .profile-filter-grid-v29{grid-template-columns:1fr!important}
    #tab-public-profile .profile-subnav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.ux-v56 #tab-public-profile .profile-kpi-grid{grid-template-columns:1fr!important}
    #campaign-daily-wrapper-v73 .profile-chart-grid,#tab-public-profile #profile-behavior .profile-chart-grid{grid-template-columns:1fr!important}
}


/* ===== V143 visual source block 6 ===== */

body.ux-v76 .floating-period-indicator{position:fixed!important;top:58px!important;right:18px!important;left:auto!important;bottom:auto!important;z-index:1700!important;min-width:250px!important;max-width:300px!important;box-shadow:0 14px 34px rgba(0,0,0,.35)!important;background:rgba(12,18,32,.96)!important;backdrop-filter:blur(14px);border:1px solid rgba(96,165,250,.38)!important}
.floating-goals-indicator-v76{position:fixed;top:58px;right:328px;z-index:1700;display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 13px;border:1px solid rgba(139,92,246,.38);border-radius:14px;background:rgba(15,20,38,.96);color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.30);cursor:pointer;backdrop-filter:blur(14px)}
.floating-goals-indicator-v76:hover{border-color:rgba(167,139,250,.72)}.floating-goals-icon-v76{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#8B5CF6,#2563EB);font-size:16px}.floating-goals-indicator-v76 small{display:block;color:#97A6C4;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.floating-goals-indicator-v76 strong{display:block;margin-top:2px;font-size:10px;white-space:nowrap}
.goals-modal-content-v76{width:min(820px,calc(100vw - 28px));max-width:820px}.goals-grid-v76{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.goals-grid-v76 section{display:grid;gap:11px;padding:16px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:#10182A}.goals-grid-v76 h4{margin:0 0 4px;color:#F8FAFC}.goals-grid-v76 label{display:grid;gap:6px}.goal-progress-grid-v76{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 18px 18px}.goal-progress-card-v76{padding:13px;border:1px solid rgba(148,163,184,.13);border-radius:14px;background:#0E1627}.goal-progress-card-v76 span{display:block;color:#93A3C1;font-size:9px;text-transform:uppercase;font-weight:800}.goal-progress-card-v76 strong{display:block;margin-top:7px;color:#F8FAFC;font-size:17px}.goal-progress-card-v76 small{display:block;margin-top:5px;color:#8392AF;font-size:9px}
.portable-help-v76{margin:10px 0 0;color:#9AA9C4;font-size:10px;line-height:1.5}.backup-actions-v76{align-items:stretch;flex-wrap:wrap}.backup-actions-v76 .btn{flex:1 1 190px}.portable-restore-overlay-v76{position:fixed;inset:0;z-index:10000;display:none;place-items:center;background:rgba(3,7,18,.84);backdrop-filter:blur(8px)}.portable-restore-overlay-v76.open{display:grid}.portable-restore-card-v76{width:min(430px,calc(100vw - 32px));padding:28px;border:1px solid rgba(96,165,250,.28);border-radius:22px;background:#0D1527;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.55)}.portable-spinner-v76{width:42px;height:42px;margin:0 auto 16px;border:4px solid rgba(96,165,250,.16);border-top-color:#60A5FA;border-radius:50%;animation:v76spin .8s linear infinite}@keyframes v76spin{to{transform:rotate(360deg)}}.portable-restore-card-v76 h3{margin:0;color:#F8FAFC}.portable-restore-card-v76 p{color:#9BAAC5;font-size:11px}.portable-progress-v76{height:7px;margin-top:16px;border-radius:99px;background:#182238;overflow:hidden}.portable-progress-v76 span{display:block;width:8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563EB,#8B5CF6,#22D3EE);transition:width .25s ease}
.period-comparison-strip-v76{display:none;position:fixed;top:116px;right:18px;z-index:1650;width:min(620px,calc(100vw - 36px));padding:10px 12px;border:1px solid rgba(34,211,238,.22);border-radius:14px;background:rgba(8,15,29,.96);box-shadow:0 14px 32px rgba(0,0,0,.25);backdrop-filter:blur(12px)}.period-comparison-strip-v76.open{display:grid;grid-template-columns:auto repeat(4,minmax(82px,1fr));gap:10px;align-items:center}.comparison-title-v76 strong{display:block;color:#F8FAFC;font-size:10px}.comparison-title-v76 span{display:block;color:#8292AF;font-size:8px;margin-top:3px}.comparison-metric-v76{padding-left:10px;border-left:1px solid rgba(148,163,184,.14)}.comparison-metric-v76 span{display:block;color:#8FA0BE;font-size:8px;text-transform:uppercase}.comparison-metric-v76 strong{display:block;color:#F8FAFC;font-size:12px;margin-top:3px}.comparison-metric-v76 small{font-size:8px}.comparison-metric-v76 small.up{color:#34D399}.comparison-metric-v76 small.down{color:#FB7185}.period-preset-compare-v76{border-color:rgba(34,211,238,.28)!important;background:rgba(8,145,178,.08)!important}
@media(max-width:900px){body.ux-v76 .floating-period-indicator{top:auto!important;right:12px!important;bottom:12px!important;left:12px!important;max-width:none!important}.floating-goals-indicator-v76{top:auto;right:22px;bottom:72px}.period-comparison-strip-v76{top:auto;right:12px;bottom:132px;grid-template-columns:1fr 1fr!important}.goals-grid-v76{grid-template-columns:1fr}.goal-progress-grid-v76{grid-template-columns:1fr}}


/* ===== V143 visual source block 7 ===== */

/* V77: metas dentro da barra superior, sem sobrepor o seletor de período */
body.ux-v77 .floating-goals-indicator-v76{
 position:static!important;inset:auto!important;z-index:auto!important;
 min-width:132px!important;max-width:190px!important;min-height:38px!important;height:38px!important;
 padding:4px 10px!important;border-radius:11px!important;box-shadow:none!important;background:#11182A!important;
 flex:0 1 auto!important;backdrop-filter:none!important;
}
body.ux-v77 .floating-goals-indicator-v76 .floating-goals-icon-v76{width:26px;height:26px;border-radius:8px;font-size:13px}
body.ux-v77 .floating-goals-indicator-v76 small{font-size:7px;line-height:1}
body.ux-v77 .floating-goals-indicator-v76 strong{max-width:126px;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:1.15}
body.ux-v77 .actions-bar{align-items:center;min-width:0}
.share-guide-v77{display:grid;gap:5px;margin-top:12px;padding:13px 14px;border:1px solid rgba(96,165,250,.18);border-radius:14px;background:rgba(15,29,50,.72);color:#AAB8D1;font-size:10px;line-height:1.5}
.share-guide-v77 strong{color:#F8FAFC;font-size:11px}.share-guide-v77 small{color:#7F90AF}.share-guide-v77 b{color:#DCE8FF}
.backup-actions-v77 .btn{min-height:40px}
@media(max-width:1180px){body.ux-v77 .floating-goals-indicator-v76 strong{display:none}body.ux-v77 .floating-goals-indicator-v76{min-width:44px!important;width:44px!important;padding:4px 8px!important}body.ux-v77 .floating-goals-indicator-v76 small{display:none}}
@media(max-width:760px){body.ux-v77 .floating-goals-indicator-v76{display:flex!important;position:static!important;width:auto!important;min-width:42px!important}}


/* ===== V143 visual source block 8 ===== */

/* V87 — contexto antes dos números e escopo inequívoco no Perfil dos alunos. */
body.ux-v87 #tab-public-profile > .profile-kpi-grid{display:none!important}
body.ux-v87 #tab-public-profile .panel{overflow:visible!important}
body.ux-v87 #tab-public-profile .profile-main-header{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(410px,520px)!important;
  align-items:center!important;gap:20px!important;padding:20px 22px!important;
}
body.ux-v87 #tab-public-profile .profile-main-header .header-title-group{font-size:21px!important;line-height:1.15!important}
body.ux-v87 #tab-public-profile .profile-main-header .audit-summary-note{font-size:11px!important;line-height:1.5!important;margin-top:6px!important;max-width:760px!important}
body.ux-v87 #tab-public-profile .profile-scope-switch{
  display:grid!important;grid-template-columns:1fr 1.12fr!important;gap:7px!important;padding:6px!important;
  border-radius:14px!important;background:rgba(5,10,26,.62)!important;border:1px solid rgba(123,142,196,.22)!important;
}
body.ux-v87 #tab-public-profile .profile-scope-button{
  min-height:48px!important;padding:9px 12px!important;border:1px solid transparent!important;border-radius:10px!important;
  font-size:10px!important;line-height:1.25!important;white-space:normal!important;text-align:center!important;
}
body.ux-v87 #tab-public-profile .profile-scope-button.active{
  background:linear-gradient(135deg,rgba(124,58,237,.95),rgba(79,70,229,.92))!important;
  border-color:rgba(196,181,253,.54)!important;box-shadow:0 8px 24px rgba(76,29,149,.26)!important;
}
body.ux-v87 #tab-public-profile .profile-period-context-v73{margin:14px 18px 0!important}
body.ux-v87 #tab-public-profile .profile-scope-clarity-v87{
  margin:12px 18px 0;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;
  border:1px solid rgba(96,165,250,.20);border-radius:15px;background:linear-gradient(135deg,rgba(12,24,48,.92),rgba(14,23,42,.78));
}
body.ux-v87 #tab-public-profile .profile-scope-card-v87{
  min-width:0;padding:14px 15px;border:1px solid rgba(148,163,184,.16);border-radius:13px;background:rgba(15,23,42,.56);
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;cursor:pointer;transition:.16s ease;
}
body.ux-v87 #tab-public-profile .profile-scope-card-v87:hover{border-color:rgba(96,165,250,.36);transform:translateY(-1px)}
body.ux-v87 #tab-public-profile .profile-scope-card-v87.active{border-color:rgba(139,92,246,.64);background:rgba(91,33,182,.16);box-shadow:inset 3px 0 0 #8B5CF6}
body.ux-v87 #tab-public-profile .profile-scope-icon-v87{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(99,102,241,.14);color:#C4B5FD;font-size:16px;font-weight:850}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87{min-width:0;display:flex;flex-direction:column;gap:3px}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 strong{font-size:12px;color:#F4F6FF;line-height:1.25}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 span{font-size:9px;color:#9DA8C8;line-height:1.4}
body.ux-v87 #tab-public-profile .profile-scope-number-v87{text-align:right;white-space:nowrap}
body.ux-v87 #tab-public-profile .profile-scope-number-v87 b{display:block;font-size:22px;line-height:1;color:#F8FAFF}
body.ux-v87 #tab-public-profile .profile-scope-number-v87 small{display:block;margin-top:5px;font-size:8px;color:#A5B4FC;text-transform:uppercase;letter-spacing:.06em}
body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{
  display:grid!important;margin:12px 18px 0!important;padding:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi{
  min-height:116px!important;padding:16px!important;border-radius:15px!important;align-content:center!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-label{font-size:9px!important;line-height:1.35!important;min-height:25px!important;color:#9DA8C8!important}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-value{font-size:23px!important;line-height:1.08!important;margin-top:4px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-sub{font-size:9px!important;line-height:1.4!important;margin-top:7px!important;color:#A7B0CE!important}
body.ux-v87 #tab-public-profile .profile-summary-strip-v73{
  margin:12px 18px 0!important;padding:10px 13px!important;border-radius:11px!important;
  background:rgba(16,185,129,.07)!important;border-color:rgba(16,185,129,.22)!important;font-size:10px!important;
}
body.ux-v87 #tab-public-profile .profile-layout-shell{margin-top:12px!important}
body.ux-v87 #tab-public-profile.profile-campaign-scope-v73 .profile-kpi-grid-v87 .mini-kpi:nth-child(-n+4){border-color:rgba(139,92,246,.32)!important}
body.ux-v87 #tab-public-profile.profile-system-scope-v73 .profile-kpi-grid-v87 .mini-kpi:nth-child(-n+4){border-color:rgba(34,197,94,.24)!important}
@media(max-width:1120px){
 body.ux-v87 #tab-public-profile .profile-main-header{grid-template-columns:1fr!important}
 body.ux-v87 #tab-public-profile .profile-scope-switch{max-width:620px!important;width:100%!important}
 body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
 body.ux-v87 #tab-public-profile .profile-scope-clarity-v87{grid-template-columns:1fr!important;margin-left:10px!important;margin-right:10px!important}
 body.ux-v87 #tab-public-profile .profile-kpi-grid.profile-kpi-grid-v87{grid-template-columns:1fr!important;margin-left:10px!important;margin-right:10px!important}
 body.ux-v87 #tab-public-profile .profile-scope-switch{grid-template-columns:1fr!important}
}


/* ===== V143 visual source block 9 ===== */

/* V88 — cards do Perfil dos alunos sem ícones e com hierarquia mais limpa. */
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-icon-v56,
body.ux-v87 #tab-public-profile .profile-scope-icon-v87{
  display:none!important;
}
body.ux-v87 #tab-public-profile .profile-scope-card-v87{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:16px!important;
  padding:15px 17px!important;
}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87{
  padding-left:0!important;
}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 strong{
  font-size:12px!important;
  line-height:1.3!important;
}
body.ux-v87 #tab-public-profile .profile-scope-copy-v87 span{
  font-size:9px!important;
  line-height:1.45!important;
  max-width:620px!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-height:116px!important;
  padding:17px 18px!important;
  gap:0!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-label,
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-value,
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-sub{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
  padding-left:0!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-label{
  min-height:0!important;
  margin:0 0 8px!important;
  font-size:9px!important;
  line-height:1.3!important;
  letter-spacing:.025em!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi-value{
  margin:0!important;
  font-size:23px!important;
  line-height:1.08!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-sub{
  margin:8px 0 0!important;
  font-size:9px!important;
  line-height:1.45!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .profile-kpi-main{
  max-width:100%!important;
  font-size:22px!important;
  line-height:1.08!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-visual-note-v58 svg{
  display:none!important;
}
body.ux-v87 #tab-public-profile .profile-kpi-visual-note-v58{
  padding-left:8px!important;
  padding-right:8px!important;
}
@media(max-width:1120px){
  body.ux-v87 #tab-public-profile .profile-kpi-grid-v87 .mini-kpi{min-height:108px!important}
}


/* ===== V143 visual source block 10 ===== */

body.ux-v69 .v92-consultant-reconciliation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 16px 14px;padding:12px;border:1px solid rgba(16,185,129,.24);border-radius:14px;background:rgba(6,78,59,.10)}
body.ux-v69 .v92-consultant-reconciliation>div{min-width:0;padding:9px 10px;border-radius:10px;background:rgba(15,23,42,.58)}
body.ux-v69 .v92-consultant-reconciliation span{display:block;color:#8FA0BE;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.35}
body.ux-v69 .v92-consultant-reconciliation strong{display:block;margin-top:5px;color:#A7F3D0;font-size:13px;line-height:1.2}
body.ux-v69 .v92-consultant-reconciliation.is-error{border-color:rgba(239,68,68,.34);background:rgba(127,29,29,.12)}
body.ux-v69 .v92-consultant-reconciliation.is-error strong{color:#FCA5A5}
@media(max-width:900px){body.ux-v69 .v92-consultant-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.ux-v69 .v92-consultant-reconciliation{grid-template-columns:1fr}}


/* ===== V143 visual source block 11 ===== */

#v94-paid-panel{display:none!important}
body.ux-v94 #v90-consultant-panel .v90-consultant-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
body.ux-v94 #v90-consultant-panel .v95-consultant-table{min-width:1180px}
body.ux-v94 #v90-consultant-panel .v95-consultant-table th,body.ux-v94 #v90-consultant-panel .v95-consultant-table td{padding:10px 11px;white-space:nowrap}
body.ux-v94 #v90-consultant-panel .v95-consultant-table td:first-child{white-space:normal;min-width:210px}
body.ux-v94 #v90-consultant-panel .v95-consultant-method{margin-top:0}
body.ux-v94 #v90-consultant-panel .v92-consultant-reconciliation>div.is-error{border-color:rgba(239,68,68,.38);background:rgba(127,29,29,.15)}
@media(max-width:1280px){body.ux-v94 #v90-consultant-panel .v90-consultant-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.ux-v94 #v90-consultant-panel .v90-consultant-summary{grid-template-columns:1fr}}


/* ===== V143 visual source block 12 ===== */

body.ux-v100 #v96-chips.has-active-filters{border:1px solid rgba(103,232,249,.42);background:linear-gradient(135deg,rgba(34,211,238,.10),rgba(139,92,246,.08));box-shadow:0 0 0 1px rgba(34,211,238,.05) inset}
body.ux-v100 .v96-field.has-selection{border-color:rgba(103,232,249,.78)!important;box-shadow:0 0 0 2px rgba(34,211,238,.10)!important;background:linear-gradient(145deg,rgba(34,211,238,.10),rgba(139,92,246,.08))!important}
body.ux-v100 .v96-field.has-selection label{color:#a5f3fc!important}
body.ux-v100 .v96-tabs button[aria-current="page"]{box-shadow:0 0 0 2px rgba(96,165,250,.22) inset,0 8px 24px rgba(37,99,235,.12)}
body.ux-v100 .sidebar-nav-button[aria-current="page"]{box-shadow:0 0 0 1px rgba(96,165,250,.42) inset,0 12px 28px rgba(37,99,235,.12)}
body.ux-v100 .v96-rank-row.is-selected,body.ux-v100 #v96-campaign-body tr.is-selected,body.ux-v100 #v96-team-body tr.is-selected{background:rgba(34,211,238,.10)!important;outline:1px solid rgba(103,232,249,.38)}


/* ===== V143 visual source block 13 ===== */

.v101-deferred{display:grid;place-items:center;min-height:74px;color:#73839f;font-size:9px;font-weight:750;letter-spacing:.02em}
body.ux-v100 #tab-bi-center.is-updating .v96-filter-panel{pointer-events:none}
@media (prefers-reduced-motion:reduce){body.ux-v100 *{scroll-behavior:auto!important}}


/* ===== V143 visual source block 14 ===== */

/* V107 — correções visuais pontuais sobre a V104, sem alterar cálculos ou fluxos. */
body.ux-v107-patch{--v107-surface:#121c31;--v107-surface-2:#0d172a;--v107-border:rgba(96,165,250,.18);--v107-border-strong:rgba(103,232,249,.40);--v107-shadow:0 14px 34px rgba(2,6,23,.14);}
body.ux-v107-patch .v96-filter-panel,
body.ux-v107-patch .v98-scope-banner,
body.ux-v107-patch .v96-card,
body.ux-v107-patch .panel,
body.ux-v107-patch .mini-kpi,
body.ux-v107-patch .kpi-card{box-shadow:var(--v107-shadow);}
body.ux-v107-patch .v96-filter-panel{border-color:var(--v107-border-strong);background:linear-gradient(180deg,rgba(18,28,49,.98),rgba(11,18,33,.98));}
body.ux-v107-patch .v96-field label,
body.ux-v107-patch .mini-kpi-label,
body.ux-v107-patch .kpi-title{letter-spacing:.06em;}
body.ux-v107-patch .v96-tabs{padding:8px;border-color:rgba(96,165,250,.22);background:#0b1324;}
body.ux-v107-patch .v96-tabs button{position:relative;min-height:50px;font-size:9px;transition:all .15s ease;}
body.ux-v107-patch .v96-tabs button.active{border-color:rgba(103,232,249,.55);background:linear-gradient(135deg,rgba(37,99,235,.35),rgba(124,58,237,.32));box-shadow:inset 0 0 0 1px rgba(147,197,253,.25),0 10px 20px rgba(37,99,235,.12);}
body.ux-v107-patch .v96-tabs button.active::after{content:'ABA ATUAL';display:block;margin-top:2px;color:#c9e7ff;font-size:7px;font-weight:900;letter-spacing:.06em;}
body.ux-v107-patch .v96-chips{gap:8px;}
body.ux-v107-patch .v96-chip{padding:8px 10px;border-color:rgba(103,232,249,.32);background:linear-gradient(135deg,rgba(8,145,178,.16),rgba(37,99,235,.14));color:#e6f3ff;box-shadow:0 8px 18px rgba(2,6,23,.10);}
body.ux-v107-patch .v96-chip button{color:#d6ecff;}
body.ux-v107-patch .v98-scope-banner{padding:16px 18px;border-color:rgba(96,165,250,.28);}
body.ux-v107-patch .v98-scope-copy strong{font-size:16px;line-height:1.2;}
body.ux-v107-patch .v98-scope-copy span{color:#a8b8d4;}
body.ux-v107-patch .v98-scope-stat{min-width:96px;border-color:rgba(96,165,250,.18);background:rgba(11,18,33,.55);}
body.ux-v107-patch .v96-kpis,
body.ux-v107-patch .mini-kpi-grid{gap:14px;}
body.ux-v107-patch .v96-kpi,
body.ux-v107-patch .mini-kpi,
body.ux-v107-patch .kpi-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:144px;padding:16px;border-color:var(--v107-border);background:linear-gradient(180deg,#141f35,#10192c);}
body.ux-v107-patch .v96-kpi small,
body.ux-v107-patch .mini-kpi-label,
body.ux-v107-patch .kpi-title{padding-right:0;font-size:10px;line-height:1.35;color:#93a3be;}
body.ux-v107-patch .v96-kpi strong,
body.ux-v107-patch .mini-kpi-value,
body.ux-v107-patch .kpi-value{margin-top:8px;font-size:clamp(21px,1.45vw,28px);line-height:1.08;letter-spacing:-.028em;word-break:normal;overflow-wrap:normal;hyphens:none;white-space:normal;font-variant-numeric:tabular-nums;}
body.ux-v107-patch .v96-kpi strong.money,
body.ux-v107-patch .mini-kpi-value.money{font-size:clamp(18px,1.18vw,23px);line-height:1.12;letter-spacing:-.022em;}
body.ux-v107-patch .v96-kpi span,
body.ux-v107-patch .profile-kpi-sub,
body.ux-v107-patch .commercial-kpi-note,
body.ux-v107-patch .financial-kpi-note{margin-top:auto;padding-top:10px;font-size:10px;line-height:1.45;color:#9eb0cb;}
body.ux-v107-patch .v96-card{padding:18px;border-radius:18px;border-color:rgba(96,165,250,.16);}
body.ux-v107-patch .v96-card-head strong{font-size:13px;line-height:1.3;}
body.ux-v107-patch .v96-card-head span{font-size:10px;line-height:1.45;color:#91a3be;}
body.ux-v107-patch .v96-chart{height:330px;min-height:330px;}
body.ux-v107-patch .v96-funnel-step{border-color:rgba(96,165,250,.18);background:linear-gradient(180deg,#13213a,#10192c);}
body.ux-v107-patch .v96-funnel-step strong{font-size:18px;line-height:1.05;}
body.ux-v107-patch .v96-funnel-step span{font-size:10px;line-height:1.4;}
body.ux-v107-patch .floating-period-indicator{right:16px;bottom:14px;max-width:min(320px,calc(100vw - 28px));padding:10px 12px 10px 10px;border-radius:14px;border-color:rgba(96,165,250,.32);background:rgba(10,16,29,.92);box-shadow:0 16px 32px rgba(2,6,23,.22);}
body.ux-v107-patch .floating-period-icon{width:28px;height:28px;flex-basis:28px;border-radius:9px;}
body.ux-v107-patch .floating-period-copy strong,
body.ux-v107-patch .floating-period-label-v78{font-size:11px;line-height:1.25;}
body.ux-v107-patch .floating-period-copy small,
body.ux-v107-patch .v78-period-rule{font-size:8px;line-height:1.35;}
body.ux-v107-patch .main-container{padding-bottom:96px!important;}
@media (max-width: 1440px){
  body.ux-v107-patch .v96-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 1100px){
  body.ux-v107-patch .v96-kpis,body.ux-v107-patch .mini-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.ux-v107-patch .v96-grid-2,body.ux-v107-patch .v96-grid-3{grid-template-columns:1fr;}
}


/* ===== V143 visual source block 15 ===== */

/* V108 — subáreas no menu lateral; Centro de análise sempre acessível. */
body.ux-v108-menu .v69-subnav,
body.ux-v108-menu .v96-group-subnav,
body.ux-v108-menu #tab-public-profile > .profile-subnav,
body.ux-v108-menu #tab-consultant-efficiency > .consultant-analysis-switch,
body.ux-v108-menu .panel-header .tab-navigation{display:none!important}
body.ux-v108-menu .sidebar-scroll{padding:10px 9px 24px!important}
body.ux-v108-menu .v108-menu-root{display:flex;flex-direction:column;gap:7px}
body.ux-v108-menu .v108-menu-heading{padding:8px 10px 4px;color:#75839e;font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
body.ux-v108-menu .v108-center-link,
body.ux-v108-menu .v108-group-toggle{width:100%;display:flex;align-items:center;gap:10px;min-height:55px;padding:9px 10px;border:1px solid transparent;border-radius:13px;background:transparent;color:#9aa8bf;text-align:left;cursor:pointer;font-family:var(--font-family);transition:.16s ease}
body.ux-v108-menu .v108-center-link:hover,
body.ux-v108-menu .v108-group-toggle:hover{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.10);color:#eef4ff}
body.ux-v108-menu .v108-center-link.active,
body.ux-v108-menu .v108-menu-group.active > .v108-group-toggle{background:linear-gradient(135deg,rgba(37,99,235,.25),rgba(124,58,237,.20));border-color:rgba(96,165,250,.42);color:#fff;box-shadow:inset 3px 0 0 #60a5fa}
body.ux-v108-menu .v108-menu-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:rgba(59,130,246,.10);color:#a8c7ff;font-size:15px;font-weight:800}
body.ux-v108-menu .v108-center-link.active .v108-menu-icon,
body.ux-v108-menu .v108-menu-group.active > .v108-group-toggle .v108-menu-icon{background:linear-gradient(135deg,#2563eb,#5b4be7);color:#fff}
body.ux-v108-menu .v108-menu-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
body.ux-v108-menu .v108-menu-copy strong{font-size:10.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v108-menu .v108-menu-copy span{font-size:8px;line-height:1.3;color:#66758f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v108-menu .active .v108-menu-copy span{color:#bdd7ff}
body.ux-v108-menu .v108-chevron{font-size:12px;color:#71819c;transition:transform .17s ease}
body.ux-v108-menu .v108-menu-group.open > .v108-group-toggle .v108-chevron{transform:rotate(90deg)}
body.ux-v108-menu .v108-submenu{display:none;margin:3px 0 2px 17px;padding:5px 0 5px 15px;border-left:1px solid rgba(96,165,250,.20)}
body.ux-v108-menu .v108-menu-group.open > .v108-submenu{display:flex;flex-direction:column;gap:3px}
body.ux-v108-menu .v108-submenu button{position:relative;width:100%;min-height:36px;padding:7px 9px 7px 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#8493ac;text-align:left;font-family:var(--font-family);font-size:9px;font-weight:750;cursor:pointer;transition:.14s ease}
body.ux-v108-menu .v108-submenu button:hover{background:rgba(255,255,255,.035);color:#e8efff}
body.ux-v108-menu .v108-submenu button.active{background:rgba(37,99,235,.14);border-color:rgba(96,165,250,.22);color:#fff}
body.ux-v108-menu .v108-submenu button.active:before{content:"";position:absolute;left:-19px;top:50%;width:8px;height:8px;border-radius:50%;background:#60a5fa;transform:translateY(-50%);box-shadow:0 0 0 4px rgba(59,130,246,.12)}
body.sidebar-collapsed.ux-v108-menu .v108-menu-copy,
body.sidebar-collapsed.ux-v108-menu .v108-chevron,
body.sidebar-collapsed.ux-v108-menu .v108-submenu,
body.sidebar-collapsed.ux-v108-menu .v108-menu-heading{display:none!important}
body.sidebar-collapsed.ux-v108-menu .v108-center-link,
body.sidebar-collapsed.ux-v108-menu .v108-group-toggle{justify-content:center;padding:8px}


/* ===== V143 visual source block 16 ===== */

body.ux-v109-payment .v109-page{display:flex;flex-direction:column;gap:16px;padding-bottom:88px}
body.ux-v109-payment .v109-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border:1px solid rgba(96,165,250,.24);border-radius:20px;background:linear-gradient(135deg,rgba(29,36,74,.98),rgba(11,32,50,.98));box-shadow:0 16px 38px rgba(2,6,23,.18)}
body.ux-v109-payment .v109-eyebrow{display:inline-flex;padding:6px 10px;border:1px solid rgba(103,232,249,.26);border-radius:999px;background:rgba(8,145,178,.11);color:#9eeaf8;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body.ux-v109-payment .v109-hero h2{margin:10px 0 5px;color:#f7f9ff;font-size:25px;line-height:1.08}
body.ux-v109-payment .v109-hero p{max-width:820px;margin:0;color:#a6b3ca;font-size:10px;line-height:1.55}
body.ux-v109-payment .v109-coverage{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:9px 12px;border:1px solid rgba(16,185,129,.24);border-radius:12px;background:rgba(16,185,129,.09);color:#9af0cf;font-size:9px;font-weight:850}
body.ux-v109-payment .v109-filter-panel{padding:16px;border:1px solid rgba(96,165,250,.18);border-radius:18px;background:linear-gradient(180deg,#111b30,#0c1628)}
body.ux-v109-payment .v109-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
body.ux-v109-payment .v109-filter-head strong{display:block;color:#f3f6ff;font-size:14px}
body.ux-v109-payment .v109-filter-head span{display:block;margin-top:4px;color:#8e9db8;font-size:9px;line-height:1.45}
body.ux-v109-payment .v109-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.ux-v109-payment .v109-field label{display:block;margin-bottom:6px;color:#8796b1;font-size:8px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
body.ux-v109-payment .v109-field select{width:100%;min-height:42px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#111c31;color:#edf3ff;padding:0 10px;font:inherit;font-size:10px}
body.ux-v109-payment .v109-btn{min-height:38px;padding:8px 12px;border:1px solid rgba(96,165,250,.22);border-radius:10px;background:rgba(37,99,235,.09);color:#dceaff;font:inherit;font-size:9px;font-weight:850;cursor:pointer}
body.ux-v109-payment .v109-btn:hover{border-color:rgba(96,165,250,.48);background:rgba(37,99,235,.16)}
body.ux-v109-payment .v109-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.ux-v109-payment .v109-kpi{min-width:0;min-height:126px;padding:15px 16px;border:1px solid rgba(96,165,250,.16);border-radius:16px;background:linear-gradient(180deg,#141f35,#10192c);position:relative;overflow:hidden}
body.ux-v109-payment .v109-kpi:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--tone,#3b82f6),#8b5cf6)}
body.ux-v109-payment .v109-kpi small{display:block;color:#8f9db7;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
body.ux-v109-payment .v109-kpi strong{display:block;margin-top:10px;color:#f5f7ff;font-size:clamp(21px,1.65vw,29px);line-height:1.05;letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ux-v109-payment .v109-kpi span{display:block;margin-top:8px;color:#9dabc4;font-size:9px;line-height:1.45}
body.ux-v109-payment .v109-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.ux-v109-payment .v109-card{min-width:0;padding:18px;border:1px solid rgba(96,165,250,.16);border-radius:18px;background:linear-gradient(180deg,#121d32,#0e182b)}
body.ux-v109-payment .v109-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
body.ux-v109-payment .v109-card-head strong{display:block;color:#f3f6ff;font-size:14px}
body.ux-v109-payment .v109-card-head span{display:block;margin-top:4px;color:#8b9ab5;font-size:9px;line-height:1.45}
body.ux-v109-payment .v109-bars{display:flex;flex-direction:column;gap:11px}
body.ux-v109-payment .v109-bar-row{display:grid;grid-template-columns:minmax(125px,180px) minmax(120px,1fr) 80px;align-items:center;gap:10px}
body.ux-v109-payment .v109-bar-row b{color:#dfe7f7;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v109-payment .v109-track{height:12px;border-radius:999px;background:#1d293d;overflow:hidden}
body.ux-v109-payment .v109-track i{display:block;height:100%;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,var(--c,#8b5cf6),#22d3ee)}
body.ux-v109-payment .v109-bar-value{text-align:right;color:#eef4ff;font-size:10px;font-weight:850;font-variant-numeric:tabular-nums}
body.ux-v109-payment .v109-status-row{display:grid;grid-template-columns:minmax(125px,180px) minmax(160px,1fr) 72px;align-items:center;gap:10px;margin-bottom:11px}
body.ux-v109-payment .v109-status-row b{color:#dfe7f7;font-size:10px}
body.ux-v109-payment .v109-stack{display:flex;height:14px;border-radius:999px;overflow:hidden;background:#1d293d}
body.ux-v109-payment .v109-stack i{height:100%;min-width:0}
body.ux-v109-payment .v109-paid{background:#10b981}.v109-pending{background:#f59e0b}.v109-cancelled{background:#ef476f}.v109-unknown{background:#64748b}
body.ux-v109-payment .v109-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;color:#8fa0bb;font-size:8px}
body.ux-v109-payment .v109-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:3px;background:var(--c);vertical-align:-1px}
body.ux-v109-payment .v109-month-row{display:grid;grid-template-columns:70px minmax(160px,1fr) 68px;align-items:center;gap:10px;margin-bottom:10px}
body.ux-v109-payment .v109-month-row b{color:#cbd7ea;font-size:9px}
body.ux-v109-payment .v109-month-stack{display:flex;height:14px;border-radius:999px;overflow:hidden;background:#1d293d}
body.ux-v109-payment .v109-month-stack i{height:100%;min-width:1px}
body.ux-v109-payment .v109-table-wrap{overflow:auto;max-height:500px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:#0d1628;scrollbar-gutter:stable}
body.ux-v109-payment .v109-table{width:100%;border-collapse:collapse;min-width:1040px;font-variant-numeric:tabular-nums}
body.ux-v109-payment .v109-table th{position:sticky;top:0;z-index:2;padding:11px 12px;background:#131d32;color:#95a5bf;font-size:8px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;text-align:left;border-bottom:1px solid rgba(148,163,184,.14)}
body.ux-v109-payment .v109-table td{padding:11px 12px;color:#dbe4f3;font-size:9px;border-bottom:1px solid rgba(148,163,184,.09)}
body.ux-v109-payment .v109-table tr:hover td{background:rgba(37,99,235,.04)}
body.ux-v109-payment .v109-table .num{text-align:right;white-space:nowrap}.v109-good{color:#5ee7bc!important}.v109-warn{color:#f7c873!important}
body.ux-v109-payment .v109-method-pill{display:inline-flex;padding:5px 8px;border:1px solid rgba(139,92,246,.25);border-radius:999px;background:rgba(124,58,237,.09);color:#ddd6fe;font-size:8px;font-weight:850;white-space:nowrap}
body.ux-v109-payment .v109-empty{padding:34px;text-align:center;color:#8392ad;font-size:10px}
body.ux-v109-payment .v109-audit-card{margin-top:14px;padding:16px;border:1px solid rgba(103,232,249,.18);border-radius:16px;background:linear-gradient(180deg,#111c31,#0d1729)}
body.ux-v109-payment .v109-audit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
body.ux-v109-payment .v109-audit-item{padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:#101a2d}
body.ux-v109-payment .v109-audit-item small{display:block;color:#8494af;font-size:8px;font-weight:900;text-transform:uppercase}.v109-audit-item strong{display:block;margin-top:6px;color:#f2f6ff;font-size:18px}
@media(max-width:1250px){body.ux-v109-payment .v109-filters{grid-template-columns:repeat(3,minmax(0,1fr))}body.ux-v109-payment .v109-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.ux-v109-payment .v109-grid-2{grid-template-columns:1fr}body.ux-v109-payment .v109-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v109-payment .v109-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.ux-v109-payment .v109-kpis,body.ux-v109-payment .v109-filters,body.ux-v109-payment .v109-audit-grid{grid-template-columns:1fr}body.ux-v109-payment .v109-hero{flex-direction:column}}


/* ===== V143 visual source block 17 ===== */

/* V111 — distribuição completa das formas de pagamento por dimensão. */
body.ux-v111-payment-matrix .v111-center-payment-card{margin-top:14px}
body.ux-v111-payment-matrix .v111-payment-center-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.ux-v111-payment-matrix .v111-payment-center-item{position:relative;min-width:0;padding:13px 14px;border:1px solid rgba(96,165,250,.16);border-radius:14px;background:linear-gradient(180deg,#141f35,#10192c);color:#e7eefb;text-align:left;cursor:pointer;font-family:var(--font-family);transition:.15s ease;overflow:hidden}
body.ux-v111-payment-matrix .v111-payment-center-item:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--method-color,#64748b)}
body.ux-v111-payment-matrix .v111-payment-center-item:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.38)}
body.ux-v111-payment-matrix .v111-payment-center-item.active{border-color:rgba(103,232,249,.58);box-shadow:0 0 0 1px rgba(103,232,249,.14) inset,0 10px 24px rgba(2,6,23,.16);background:linear-gradient(180deg,#192943,#111c31)}
body.ux-v111-payment-matrix .v111-payment-center-item small{display:block;color:#91a1bb;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v111-payment-matrix .v111-payment-center-item strong{display:block;margin-top:7px;color:#f5f8ff;font-size:23px;line-height:1;font-variant-numeric:tabular-nums}
body.ux-v111-payment-matrix .v111-payment-center-item span{display:block;margin-top:7px;color:#9eacc3;font-size:9px;line-height:1.35}
body.ux-v111-payment-matrix .v111-payment-matrix-cell{white-space:nowrap;font-weight:850;font-variant-numeric:tabular-nums}
body.ux-v111-payment-matrix .v111-payment-matrix-cell small{display:block;margin-top:2px;color:#8495af;font-size:7px;font-weight:700}
body.ux-v111-payment-matrix .v109-table.v111-wide-table{min-width:1420px}
body.ux-v111-payment-matrix .v109-table.v111-medium-table{min-width:1260px}
body.ux-v111-payment-matrix .v109-table th.v111-method-head{min-width:92px;text-align:right}
body.ux-v111-payment-matrix .v109-method-total{color:#f3f7ff;font-weight:900}
@media(max-width:1250px){body.ux-v111-payment-matrix .v111-payment-center-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.ux-v111-payment-matrix .v111-payment-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== V143 visual source block 18 ===== */

body.ux-v96 .v112-public-panel{padding-top:2px}
body.ux-v96 .v112-public-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:16px 18px;border:1px solid rgba(103,232,249,.22);border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(124,58,237,.10),rgba(16,185,129,.06))}
body.ux-v96 .v112-public-intro small{display:block;color:#67e8f9;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body.ux-v96 .v112-public-intro strong{display:block;margin-top:5px;color:#f5f8ff;font-size:17px;line-height:1.2}
body.ux-v96 .v112-public-intro span{display:block;margin-top:6px;color:#9fb0ca;font-size:10px;line-height:1.5;max-width:980px}
body.ux-v96 .v112-public-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}
body.ux-v96 .v112-public-kpi{min-width:0;min-height:112px;padding:14px 15px;border:1px solid rgba(96,165,250,.16);border-radius:15px;background:linear-gradient(180deg,#141f35,#10192c)}
body.ux-v96 .v112-public-kpi small{display:block;color:#8797b2;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
body.ux-v96 .v112-public-kpi strong{display:block;margin-top:9px;color:#f5f7ff;font-size:clamp(18px,1.35vw,25px);line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
body.ux-v96 .v112-public-kpi span{display:block;margin-top:7px;color:#9cadc6;font-size:9px;line-height:1.4}
body.ux-v96 .v112-public-grid{display:grid;gap:14px;margin-bottom:14px}
body.ux-v96 .v112-public-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
body.ux-v96 .v112-public-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ux-v96 .v112-chart{position:relative;height:260px;min-height:260px}
body.ux-v96 .v112-chart-tall{height:390px;min-height:390px}
body.ux-v96 .v112-chart canvas{width:100%!important;height:100%!important}
body.ux-v96 .v112-gender-card{min-height:325px}
body.ux-v96 .v112-gender-total{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px;padding:12px 13px;border:1px solid rgba(139,92,246,.18);border-radius:14px;background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(34,211,238,.05))}
body.ux-v96 .v112-gender-total span{color:#9eabc1;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
body.ux-v96 .v112-gender-total strong{color:#f7f9ff;font-size:23px;line-height:1}
body.ux-v96 .v112-gender-row{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:8px;padding:10px 11px;border:1px solid rgba(96,165,250,.12);border-radius:13px;background:rgba(255,255,255,.025);color:#eef4ff;text-align:left;font:inherit;cursor:pointer}
body.ux-v96 .v112-gender-row:hover{border-color:rgba(103,232,249,.42);background:rgba(37,99,235,.08)}
body.ux-v96 .v112-gender-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,rgba(59,130,246,.24),rgba(34,211,238,.12));font-size:19px;font-weight:900}
body.ux-v96 .v112-gender-row[data-kind="female"] .v112-gender-icon{background:linear-gradient(135deg,rgba(217,70,239,.25),rgba(251,113,133,.14))}
body.ux-v96 .v112-gender-copy{min-width:0}
body.ux-v96 .v112-gender-copy strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v96 .v112-gender-copy i{display:block;height:6px;margin-top:7px;border-radius:999px;background:rgba(148,163,184,.12);overflow:hidden}
body.ux-v96 .v112-gender-copy b{display:block;width:var(--w);height:100%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#22d3ee)}
body.ux-v96 .v112-gender-row[data-kind="female"] .v112-gender-copy b{background:linear-gradient(90deg,#d946ef,#fb7185)}
body.ux-v96 .v112-gender-row[data-kind="unknown"] .v112-gender-copy b{background:linear-gradient(90deg,#475569,#94a3b8)}
body.ux-v96 .v112-gender-value{text-align:right}
body.ux-v96 .v112-gender-value strong{display:block;font-size:17px;line-height:1}
body.ux-v96 .v112-gender-value small{display:block;margin-top:4px;color:#9daac0;font-size:8px}
body.ux-v96 .v112-map-card{margin-bottom:14px;min-height:555px}
body.ux-v96 .v112-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;min-height:470px}
body.ux-v96 .v112-map{min-height:470px;border:1px solid rgba(96,165,250,.10);border-radius:16px;background:radial-gradient(600px 260px at 50% 48%,rgba(139,92,246,.08),transparent 66%),rgba(255,255,255,.014);overflow:hidden}
body.ux-v96 .v112-state-ranking{min-width:0;padding:14px;border:1px solid rgba(96,165,250,.12);border-radius:16px;background:rgba(255,255,255,.022)}
body.ux-v96 .v112-state-ranking>div:first-child strong{display:block;color:#f4f7ff;font-size:12px}
body.ux-v96 .v112-state-ranking>div:first-child span{display:block;margin-top:4px;color:#8f9db4;font-size:9px}
body.ux-v96 .v112-state-list{display:flex;flex-direction:column;gap:6px;margin-top:12px}
body.ux-v96 .v112-state-row{width:100%;display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 9px;border:1px solid rgba(96,165,250,.08);border-radius:11px;background:rgba(255,255,255,.022);color:#e8eefb;text-align:left;font:inherit;cursor:pointer}
body.ux-v96 .v112-state-row:hover{border-color:rgba(103,232,249,.40);background:rgba(37,99,235,.08)}
body.ux-v96 .v112-state-row>span{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:rgba(139,92,246,.13);color:#d8b4fe;font-size:9px;font-weight:900}
body.ux-v96 .v112-state-row>b{min-width:0;font-weight:inherit}
body.ux-v96 .v112-state-row>b strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v96 .v112-state-row>b i{display:block;height:5px;margin-top:5px;border-radius:999px;background:rgba(148,163,184,.10);overflow:hidden}
body.ux-v96 .v112-state-row>b em{display:block;width:var(--w);height:100%;border-radius:999px;background:linear-gradient(90deg,#4f46e5,#22d3ee)}
body.ux-v96 .v112-state-row>strong{font-size:10px}
body.ux-v96 .v112-map-legend{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;margin-top:12px;color:#8290a9;font-size:8px}
body.ux-v96 .v112-map-legend i{height:6px;border-radius:999px;background:linear-gradient(90deg,#172033,#4f46e5,#8b5cf6,#22d3ee)}
body.ux-v96 .v112-map-empty{height:100%;min-height:430px;display:grid;place-items:center}
body.ux-v96 .highcharts-background{fill:transparent!important}
body.ux-v96 .highcharts-credits{display:none!important}
@media(max-width:1450px){body.ux-v96 .v112-public-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v96 .v112-public-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){body.ux-v96 .v112-map-layout{grid-template-columns:1fr}body.ux-v96 .v112-map{min-height:420px}body.ux-v96 .v112-public-grid-2{grid-template-columns:1fr}}
@media(max-width:720px){body.ux-v96 .v112-public-grid-4,body.ux-v96 .v112-public-kpis{grid-template-columns:1fr}body.ux-v96 .v112-chart-tall{height:330px;min-height:330px}}


/* ===== V143 visual source block 19 ===== */

/* V113 — Centro de análise: pagamentos em Quem comprou/Quem vendeu, layout sem rolagem horizontal e sem jornada. */
html,body{overflow-x:hidden!important}
body.ux-v96 #tab-bi-center,body.ux-v96 #tab-bi-center *{min-width:0}
body.ux-v96 #tab-bi-center .v96-panel{max-width:100%;overflow:visible}

/* Aquisição: blocos empilhados para nenhum painel ficar espremido. */
body.ux-v96 #tab-bi-center .v113-acquisition-panel>.v96-grid-2{grid-template-columns:1fr!important;gap:14px!important}
body.ux-v96 #tab-bi-center .v113-acquisition-panel .v96-chart{height:300px;min-height:300px}
body.ux-v96 #tab-bi-center .v113-campaign-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ux-v96 #tab-bi-center .v113-campaign-card{padding:14px;border:1px solid rgba(96,165,250,.16);border-radius:14px;background:linear-gradient(180deg,#141f35,#10192c);cursor:pointer;transition:.15s ease}
body.ux-v96 #tab-bi-center .v113-campaign-card:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.38);background:linear-gradient(180deg,#17243d,#111c31)}
body.ux-v96 #tab-bi-center .v113-campaign-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
body.ux-v96 #tab-bi-center .v113-campaign-title strong{color:#f4f7ff;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
body.ux-v96 #tab-bi-center .v113-campaign-title span{flex:0 0 auto;padding:4px 7px;border:1px solid rgba(16,185,129,.24);border-radius:999px;background:rgba(16,185,129,.08);color:#6ee7b7;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v113-campaign-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body.ux-v96 #tab-bi-center .v113-campaign-metric{padding:8px 9px;border:1px solid rgba(148,163,184,.10);border-radius:10px;background:rgba(8,15,28,.46)}
body.ux-v96 #tab-bi-center .v113-campaign-metric small{display:block;color:#8293ae;font-size:7px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v113-campaign-metric strong{display:block;margin-top:5px;color:#edf3ff;font-size:11px;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ux-v96 #tab-bi-center .v113-campaign-metric strong.good{color:#6ee7b7}
body.ux-v96 #tab-bi-center .v113-campaign-metric strong.bad{color:#fda4af}

/* Mix de pagamento reutilizado em Quem comprou e Quem vendeu. */
body.ux-v96 #tab-bi-center .v113-payment-summary-card{margin-bottom:14px}
body.ux-v96 #tab-bi-center .v113-payment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.ux-v96 #tab-bi-center .v113-payment-item{position:relative;display:block;width:100%;padding:13px 14px 14px;border:1px solid rgba(96,165,250,.16);border-radius:14px;background:linear-gradient(180deg,#141f35,#10192c);color:#e7eefb;text-align:left;font-family:var(--font-family);cursor:pointer;overflow:hidden;transition:.15s ease}
body.ux-v96 #tab-bi-center .v113-payment-item:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--payment-width,0%);background:var(--method-color,#64748b);transition:width .2s ease}
body.ux-v96 #tab-bi-center .v113-payment-item:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.38)}
body.ux-v96 #tab-bi-center .v113-payment-item.active{border-color:rgba(103,232,249,.58);box-shadow:0 0 0 1px rgba(103,232,249,.12) inset;background:linear-gradient(180deg,#192943,#111c31)}
body.ux-v96 #tab-bi-center .v113-payment-item small{display:block;color:#91a1bb;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v96 #tab-bi-center .v113-payment-item strong{display:block;margin-top:7px;color:#f5f8ff;font-size:21px;line-height:1;font-variant-numeric:tabular-nums}
body.ux-v96 #tab-bi-center .v113-payment-item span{display:block;margin-top:7px;color:#a2b1c8;font-size:9px;line-height:1.35}
body.ux-v96 #tab-bi-center .v113-payment-item b{display:block;margin-top:7px;color:var(--method-color,#94a3b8);font-size:12px;line-height:1;font-variant-numeric:tabular-nums}

/* Quem vendeu em cartões responsivos; elimina tabela e rolagem lateral. */
body.ux-v96 #tab-bi-center .v113-team-intro{margin-bottom:14px;padding:15px 17px;border:1px solid rgba(103,232,249,.20);border-radius:17px;background:linear-gradient(135deg,rgba(37,99,235,.11),rgba(124,58,237,.09),rgba(16,185,129,.05))}
body.ux-v96 #tab-bi-center .v113-team-intro strong{display:block;color:#f5f8ff;font-size:16px}
body.ux-v96 #tab-bi-center .v113-team-intro span{display:block;margin-top:5px;color:#9fb0ca;font-size:10px;line-height:1.45}
body.ux-v96 #tab-bi-center .v113-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ux-v96 #tab-bi-center .v113-consultant-card{padding:15px;border:1px solid rgba(96,165,250,.16);border-radius:16px;background:linear-gradient(180deg,#141f35,#10192c);cursor:pointer;transition:.15s ease}
body.ux-v96 #tab-bi-center .v113-consultant-card:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.38)}
body.ux-v96 #tab-bi-center .v113-consultant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid rgba(148,163,184,.10)}
body.ux-v96 #tab-bi-center .v113-consultant-head strong{display:block;color:#f4f7ff;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
body.ux-v96 #tab-bi-center .v113-consultant-head span{display:block;margin-top:4px;color:#8fa0ba;font-size:8px;line-height:1.35}
body.ux-v96 #tab-bi-center .v113-consultant-total{flex:0 0 auto;text-align:right}
body.ux-v96 #tab-bi-center .v113-consultant-total b{display:block;color:#f8fafc;font-size:21px;line-height:1;font-variant-numeric:tabular-nums}
body.ux-v96 #tab-bi-center .v113-consultant-total small{display:block;margin-top:4px;color:#8fa0ba;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v113-consultant-payment-list{display:grid;gap:7px;margin-top:11px}
body.ux-v96 #tab-bi-center .v113-consultant-payment{display:grid;grid-template-columns:minmax(90px,1fr) minmax(85px,1.7fr) auto;align-items:center;gap:8px}
body.ux-v96 #tab-bi-center .v113-consultant-payment label{color:#aab8cc;font-size:8px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v96 #tab-bi-center .v113-consultant-payment .track{height:7px;border-radius:999px;background:rgba(148,163,184,.12);overflow:hidden}
body.ux-v96 #tab-bi-center .v113-consultant-payment .track i{display:block;height:100%;width:var(--w,0%);border-radius:inherit;background:var(--method-color,#64748b)}
body.ux-v96 #tab-bi-center .v113-consultant-payment strong{min-width:74px;color:#e5edf9;font-size:8px;text-align:right;font-variant-numeric:tabular-nums}
body.ux-v96 #tab-bi-center .v113-consultant-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(148,163,184,.10)}
body.ux-v96 #tab-bi-center .v113-consultant-footer div{padding:7px 8px;border-radius:9px;background:rgba(8,15,28,.43)}
body.ux-v96 #tab-bi-center .v113-consultant-footer small{display:block;color:#8293ae;font-size:6.5px;font-weight:900;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v113-consultant-footer strong{display:block;margin-top:4px;color:#edf3ff;font-size:9px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

/* O Centro de análise não usa mais tabelas com largura mínima forçada. */
body.ux-v96 #tab-bi-center .v96-table-wrap{max-width:100%;overflow-x:hidden!important}
body.ux-v96 #tab-bi-center .v96-table{width:100%;min-width:0!important;table-layout:fixed}
body.ux-v96 #tab-bi-center .v96-table th,body.ux-v96 #tab-bi-center .v96-table td{white-space:normal!important;overflow-wrap:anywhere}

@media(max-width:1250px){
 body.ux-v96 #tab-bi-center .v113-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ux-v96 #tab-bi-center .v113-campaign-list{grid-template-columns:1fr}
}
@media(max-width:980px){
 body.ux-v96 #tab-bi-center .v113-team-grid{grid-template-columns:1fr}
 body.ux-v96 #tab-bi-center .v113-campaign-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 body.ux-v96 #tab-bi-center .v113-payment-grid{grid-template-columns:1fr}
 body.ux-v96 #tab-bi-center .v113-consultant-footer{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ux-v96 #tab-bi-center .v113-consultant-payment{grid-template-columns:80px 1fr auto}
}


/* ===== V143 visual source block 20 ===== */

/* V116 — volta ao layout claro da V113 e adiciona um único modal funcional por consultora. */
body.ux-v96 #tab-bi-center .v116-consultant-card{cursor:pointer!important}
body.ux-v96 #tab-bi-center .v116-consultant-identity{display:flex;align-items:center;gap:10px;min-width:0}
body.ux-v96 #tab-bi-center .v116-consultant-identity>div{min-width:0}
body.ux-v96 .v116-avatar-fallback{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:12px;font-weight:900}
body.ux-v96 .v116-avatar-fallback.lg{width:54px;height:54px;flex-basis:54px;border-radius:16px;font-size:15px}
body.ux-v96 #tab-bi-center .v116-consultant-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}
body.ux-v96 #tab-bi-center .v116-consultant-quick>div{padding:9px 10px;border:1px solid rgba(96,165,250,.12);border-radius:10px;background:rgba(8,15,28,.42)}
body.ux-v96 #tab-bi-center .v116-consultant-quick small{display:block;color:#8293ae;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v116-consultant-quick strong{display:block;margin-top:5px;color:#f1f5ff;font-size:10px}
body.ux-v96 #tab-bi-center .v116-card-hint{margin-top:11px;padding-top:10px;border-top:1px dashed rgba(103,232,249,.18);color:#78d7ff;font-size:8px;font-weight:850;text-align:center}
body.ux-v96 #tab-bi-center .v116-team-sort{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
body.ux-v96 #tab-bi-center .v116-team-sort>span{color:#8192ad;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v96 #tab-bi-center .v116-team-sort button{min-height:31px;padding:6px 9px;border:1px solid rgba(96,165,250,.16);border-radius:9px;background:#111b30;color:#9fb0c8;font:inherit;font-size:8px;font-weight:850;cursor:pointer}
body.ux-v96 #tab-bi-center .v116-team-sort button.active{border-color:rgba(103,232,249,.48);background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(16,185,129,.16));color:#fff}

.v116-modal{position:fixed;inset:0;z-index:5000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(2,6,23,.76);backdrop-filter:blur(8px)}
.v116-modal.open{display:flex}
.v116-modal-card{width:min(1120px,calc(100vw - 30px));max-height:92vh;display:flex;flex-direction:column;border:1px solid rgba(96,165,250,.28);border-radius:20px;background:linear-gradient(180deg,#111c31,#0b1425);box-shadow:0 28px 80px rgba(0,0,0,.48);overflow:hidden;color:#edf3ff}
.v116-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid rgba(148,163,184,.13);background:rgba(15,23,42,.72)}
.v116-modal-head>div{min-width:0;display:flex;align-items:center;gap:12px}
.v116-modal-head-copy{min-width:0}
.v116-modal-head small{display:block;color:#8295b2;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.v116-modal-head strong{display:block;margin-top:4px;color:#f7f9ff;font-size:18px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v116-modal-head span{display:block;margin-top:4px;color:#9fb0c9;font-size:9px}
.v116-modal-close{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#111b30;color:#e5edf9;font-size:20px;cursor:pointer}
.v116-modal-body{padding:16px 18px 20px;overflow:auto;scrollbar-gutter:stable}
.v116-modal-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:13px;padding:11px 12px;border:1px solid rgba(103,232,249,.15);border-radius:13px;background:rgba(8,27,47,.54)}
.v116-modal-actions span{color:#a6b7cf;font-size:9px;line-height:1.4}
.v116-modal-actions button{min-height:35px;padding:8px 11px;border:1px solid rgba(103,232,249,.38);border-radius:9px;background:linear-gradient(135deg,#2563eb,#6d3de4);color:#fff;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.v116-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.v116-kpi{min-width:0;padding:11px 12px;border:1px solid rgba(96,165,250,.13);border-radius:12px;background:#111b30}
.v116-kpi small{display:block;color:#8092ad;font-size:7px;font-weight:900;text-transform:uppercase}
.v116-kpi strong{display:block;margin-top:6px;color:#f4f7ff;font-size:16px;line-height:1.08;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.v116-kpi span{display:block;margin-top:5px;color:#9eafc8;font-size:8px;line-height:1.35}
.v116-ranks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.v116-rank{padding:9px 10px;border:1px solid rgba(139,92,246,.16);border-radius:11px;background:rgba(76,29,149,.09);color:#adbad0;font-size:8px}
.v116-rank b{color:#f3e8ff;font-size:13px}
.v116-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:12px}
.v116-section{min-width:0;padding:13px 14px;border:1px solid rgba(96,165,250,.13);border-radius:14px;background:linear-gradient(180deg,#141f35,#10192c)}
.v116-section.wide{grid-column:1/-1}
.v116-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.v116-section-head strong{color:#f2f6ff;font-size:12px}
.v116-section-head span{color:#8395b1;font-size:8px;text-align:right}
.v116-compare{display:grid;gap:8px}
.v116-compare-row{display:grid;grid-template-columns:minmax(115px,1.1fr) minmax(100px,1.7fr) auto;align-items:center;gap:8px}
.v116-compare-row label{min-width:0;color:#afbdd0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v116-compare-row i{height:8px;border-radius:999px;background:#202b40;overflow:hidden}
.v116-compare-row i b{display:block;height:100%;width:var(--w,0%);border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
.v116-compare-row.auto i b{background:linear-gradient(90deg,#10b981,#22d3ee)}
.v116-compare-row strong{color:#eef4ff;font-size:8px;white-space:nowrap;font-variant-numeric:tabular-nums}
.v116-bars{display:grid;gap:8px}
.v116-bar>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:4px}
.v116-bar span{min-width:0;color:#b5c2d5;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v116-bar strong{flex:0 0 auto;color:#eef4ff;font-size:8px;font-variant-numeric:tabular-nums}
.v116-bar i{display:block;height:7px;border-radius:999px;background:#202b40;overflow:hidden}
.v116-bar i b{display:block;height:100%;width:var(--w,0%);border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
.v116-empty{padding:16px;border:1px dashed rgba(148,163,184,.18);border-radius:11px;color:#8799b5;font-size:9px;text-align:center}
@media(max-width:1000px){.v116-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.v116-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.v116-section-grid{grid-template-columns:1fr}.v116-section.wide{grid-column:auto}.v116-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v116-modal{padding:8px}.v116-modal-card{width:calc(100vw - 16px);max-height:96vh}.v116-modal-head{padding:12px}.v116-modal-body{padding:12px}.v116-compare-row{grid-template-columns:90px 1fr auto}}


/* ===== V143 visual source block 21 ===== */

/* V117 — modal de consultora reorganizado em abas e com hierarquia visual clara. */
.v116-modal{padding:14px;background:rgba(2,6,23,.82);backdrop-filter:blur(10px)}
.v116-modal-card{width:min(1080px,calc(100vw - 28px));max-height:94vh;border-color:rgba(96,165,250,.24);border-radius:22px;background:#0b1425;box-shadow:0 32px 90px rgba(0,0,0,.56)}
.v116-modal-head{padding:16px 20px;background:linear-gradient(180deg,#14213a,#111b30);border-bottom:1px solid rgba(148,163,184,.12)}
.v116-modal-head strong{font-size:19px}.v116-modal-head span{font-size:10px;line-height:1.4}.v116-modal-head small{font-size:8px;color:#8ea1bd}
.v116-modal-body{padding:0 20px 22px;background:linear-gradient(180deg,#0e182b,#0a1322)}
.v117-sticky{position:sticky;top:0;z-index:8;margin:0 -20px 18px;padding:14px 20px 12px;background:rgba(11,20,37,.97);border-bottom:1px solid rgba(148,163,184,.11);backdrop-filter:blur(12px)}
.v117-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.v117-toolbar>div{min-width:0}.v117-toolbar strong{display:block;color:#f4f7ff;font-size:13px}.v117-toolbar span{display:block;margin-top:4px;color:#91a3bd;font-size:10px;line-height:1.4}
.v117-toolbar button{flex:0 0 auto;min-height:38px;padding:8px 13px;border:1px solid rgba(103,232,249,.42);border-radius:10px;background:linear-gradient(135deg,#2563eb,#6d3de4);color:#fff;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.v117-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:6px;border:1px solid rgba(96,165,250,.16);border-radius:13px;background:#091321}
.v117-tabs button{min-height:42px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9eacc4;font:inherit;font-size:9px;font-weight:850;cursor:pointer;transition:.15s ease}
.v117-tabs button:hover{color:#fff;background:rgba(255,255,255,.035)}
.v117-tabs button.active{border-color:rgba(103,232,249,.50);background:linear-gradient(135deg,rgba(37,99,235,.34),rgba(124,58,237,.30));color:#fff;box-shadow:inset 0 -2px 0 #67e8f9}
.v117-panel{display:none}.v117-panel.active{display:block}
.v117-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px}
.v117-main-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v117-main-metrics.compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}
.v117-metric{position:relative;min-width:0;min-height:116px;padding:15px 16px;border:1px solid rgba(96,165,250,.14);border-radius:15px;background:linear-gradient(180deg,#15213a,#111a2e);overflow:hidden}
.v117-metric:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--tone,#3b82f6)}
.v117-metric.blue{--tone:linear-gradient(90deg,#3b82f6,#22d3ee)}.v117-metric.green{--tone:linear-gradient(90deg,#10b981,#22d3ee)}.v117-metric.cyan{--tone:linear-gradient(90deg,#06b6d4,#60a5fa)}.v117-metric.purple{--tone:linear-gradient(90deg,#8b5cf6,#60a5fa)}.v117-metric.orange{--tone:linear-gradient(90deg,#f59e0b,#fb7185)}
.v117-metric small{display:block;color:#8d9fba;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}.v117-metric strong{display:block;margin-top:10px;color:#f7f9ff;font-size:22px;line-height:1.06;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.v117-metric span{display:block;margin-top:8px;color:#a0b0c8;font-size:9px;line-height:1.4}
.v117-ranking-card{min-width:0;padding:15px;border:1px solid rgba(139,92,246,.20);border-radius:15px;background:linear-gradient(180deg,rgba(76,29,149,.16),rgba(17,26,46,.98))}.v117-ranking-card>small{display:block;color:#a5b4fc;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.v117-rank-list{display:grid;gap:8px;margin-top:12px}.v117-rank-list span{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid rgba(139,92,246,.14);border-radius:10px;background:rgba(15,23,42,.38);color:#b7c2d5;font-size:9px}.v117-rank-list b{min-width:34px;color:#f3e8ff;font-size:14px}
.v117-section{margin-top:12px;padding:15px 16px;border:1px solid rgba(96,165,250,.13);border-radius:15px;background:linear-gradient(180deg,#141f35,#10192c)}
.v117-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.v117-section-title strong{display:block;color:#f2f6ff;font-size:13px}.v117-section-title span{display:block;margin-top:4px;color:#8ea0bb;font-size:9px;line-height:1.4}
.v117-comparison-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.v117-compare-card{min-width:0;padding:12px;border:1px solid rgba(96,165,250,.12);border-radius:12px;background:#111b30}.v117-compare-card small{display:block;color:#8b9db7;font-size:8px;font-weight:900;text-transform:uppercase}.v117-compare-card strong{display:block;margin-top:6px;color:#f4f7ff;font-size:17px;line-height:1.08;overflow-wrap:anywhere}.v117-compare-card span{display:inline-flex;margin-top:9px;padding:5px 7px;border-radius:999px;font-size:8px;font-weight:900}.v117-compare-card span.positive{background:rgba(16,185,129,.12);color:#6ee7b7}.v117-compare-card span.negative{background:rgba(244,63,94,.12);color:#fda4af}.v117-compare-card em{display:block;margin-top:7px;color:#8192ac;font-size:8px;font-style:normal}
.v117-summary-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.v117-summary-strip>div{padding:10px 11px;border:1px solid rgba(96,165,250,.11);border-radius:11px;background:#0f192b}.v117-summary-strip small{display:block;color:#8496b0;font-size:7px;font-weight:900;text-transform:uppercase}.v117-summary-strip strong{display:block;margin-top:6px;color:#eef4ff;font-size:13px;line-height:1.1;overflow-wrap:anywhere}
.v117-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v117-two-cols>.v117-section{margin-top:0}.v117-quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v117-quality-grid>div{padding:11px;border:1px solid rgba(96,165,250,.11);border-radius:11px;background:#0f192b}.v117-quality-grid small{display:block;color:#8496b0;font-size:7px;font-weight:900;text-transform:uppercase}.v117-quality-grid strong{display:block;margin-top:6px;color:#eef4ff;font-size:15px;line-height:1.08;overflow-wrap:anywhere}.v117-quality-grid span{display:block;margin-top:5px;color:#91a3bd;font-size:8px;line-height:1.35}
.v117-section .v116-bars{gap:9px}.v117-section .v116-bar span{font-size:10px;color:#c1ccdc}.v117-section .v116-bar strong{font-size:9px}.v117-section .v116-bar i{height:8px}
@media(max-width:960px){.v117-overview-grid{grid-template-columns:1fr}.v117-main-metrics.compact,.v117-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v117-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.v117-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.v117-toolbar{align-items:flex-start;flex-direction:column}.v117-toolbar button{width:100%}.v117-main-metrics,.v117-main-metrics.compact,.v117-two-cols,.v117-comparison-grid{grid-template-columns:1fr}.v117-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.v116-modal-card{width:calc(100vw - 12px);max-height:97vh}.v116-modal{padding:6px}.v116-modal-body{padding:0 12px 16px}.v117-sticky{margin:0 -12px 14px;padding:12px}.v116-modal-head{padding:12px}.v116-modal-head strong{font-size:16px}}


/* ===== V143 visual source block 22 ===== */

#importCenterModal .import-source-card.source-photos-v118{
  --source:#A78BFA;
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(210px,.72fr) minmax(300px,1.28fr);
  grid-template-areas:"head action" "copy action" "status action";
  column-gap:20px;
  align-items:center;
}
#importCenterModal .source-photos-v118 .source-card-header{grid-area:head;margin-bottom:4px;}
#importCenterModal .source-photos-v118>p{grid-area:copy;min-height:0;margin:0;color:#AAB8D1;font-size:10px;line-height:1.5;}
#importCenterModal .source-photos-v118 .import-actions{grid-area:action;}
#importCenterModal .source-photos-v118 .source-coverage{grid-area:status;margin-top:8px;}
#importCenterModal .source-photos-v118 .import-photo-button-v118{font-family:inherit;}
@media(max-width:900px){
  #importCenterModal .import-source-card.source-photos-v118{display:flex;grid-column:auto;}
}


/* ===== V143 visual source block 23 ===== */

body.ux-v120 .consultant-photo-dialog-v60{width:min(1040px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 28px));border-radius:20px;background:linear-gradient(180deg,#111a2e,#0d1628);border:1px solid rgba(96,165,250,.24);box-shadow:0 32px 90px rgba(0,0,0,.58)}
body.ux-v120 .consultant-photo-header-v60{padding:20px 22px 18px!important;align-items:flex-start!important;background:rgba(9,17,31,.42)}
body.ux-v120 .consultant-photo-eyebrow-v120{display:block;margin-bottom:5px;color:#67e8f9;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body.ux-v120 .consultant-photo-header-v60 h3{font-size:21px!important;line-height:1.2;color:#f8fafc}
body.ux-v120 .consultant-photo-header-v60 p{max-width:720px;margin-top:7px!important;font-size:11px!important;line-height:1.5;color:#9fb0ca}
body.ux-v120 .consultant-photo-close-v60{width:36px;height:36px;border-radius:10px;border:1px solid rgba(148,163,184,.18);background:#121c31;color:#dbeafe;font-size:20px;cursor:pointer}
body.ux-v120 .consultant-photo-toolbar-v60{padding:14px 22px!important;align-items:center!important;background:#0d1729}
body.ux-v120 .consultant-photo-summary-v120{display:flex;min-width:220px;flex-direction:column;gap:4px}
body.ux-v120 .consultant-photo-summary-v120 strong{color:#f1f5f9;font-size:12px}
body.ux-v120 .consultant-photo-summary-v120 span{color:#8091ad;font-size:9px}
body.ux-v120 .consultant-photo-toolbar-actions-v120{display:flex;align-items:end;justify-content:flex-end;gap:10px;flex:1}
body.ux-v120 .consultant-photo-search-v120{display:flex;min-width:300px;flex-direction:column;gap:5px;color:#92a3bd;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
body.ux-v120 .consultant-photo-search-v120 input{width:100%;height:38px;padding:0 12px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#131e34;color:#edf4ff;font:inherit;font-size:11px;text-transform:none;letter-spacing:0;outline:none}
body.ux-v120 .consultant-photo-search-v120 input:focus{border-color:rgba(96,165,250,.7);box-shadow:0 0 0 3px rgba(59,130,246,.1)}
body.ux-v120 #consultant-photo-clear-all-v60{height:38px;padding:0 13px;border:1px solid rgba(251,113,133,.24);border-radius:10px;background:rgba(190,24,93,.09);color:#fecdd3;font-size:9px;font-weight:850;cursor:pointer}
body.ux-v120 .consultant-photo-list-v60{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:18px 22px 24px!important;background:#0b1424}
body.ux-v120 .consultant-photo-row-v60{grid-template-columns:62px minmax(0,1fr) auto!important;min-height:92px;gap:13px!important;padding:14px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(20,31,53,.96),rgba(15,25,44,.96))!important;transition:border-color .15s ease,transform .15s ease}
body.ux-v120 .consultant-photo-row-v60:hover{border-color:rgba(96,165,250,.36)!important;transform:translateY(-1px)}
body.ux-v120 .consultant-photo-row-v60.has-photo-v120{border-color:rgba(52,211,153,.24)!important}
body.ux-v120 .consultant-photo-row-v60 .consultant-avatar-v59.size-lg{width:58px!important;height:58px!important;min-width:58px!important;font-size:14px!important}
body.ux-v120 .consultant-photo-person-v120{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body.ux-v120 .consultant-photo-person-v120>strong{width:100%;color:#f7f9ff;font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:break-word}
body.ux-v120 .consultant-photo-status-v120{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:800}
body.ux-v120 .consultant-photo-status-v120 i{width:6px;height:6px;border-radius:50%}
body.ux-v120 .consultant-photo-status-v120.saved{background:rgba(16,185,129,.1);color:#a7f3d0}.consultant-photo-status-v120.saved i{background:#34d399}
body.ux-v120 .consultant-photo-status-v120.missing{background:rgba(148,163,184,.08);color:#aebbd0}.consultant-photo-status-v120.missing i{background:#64748b}
body.ux-v120 .consultant-photo-actions-v60{min-width:112px;align-items:stretch!important;gap:7px!important}
body.ux-v120 .consultant-photo-actions-v60 label,body.ux-v120 .consultant-photo-actions-v60 button{min-height:34px;padding:8px 11px!important;border-radius:9px!important;font-size:9px!important;font-weight:850;text-align:center;white-space:nowrap}
body.ux-v120 .consultant-photo-upload-v120{border-color:rgba(96,165,250,.34)!important;background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(124,58,237,.25))!important;color:#fff!important}
body.ux-v120 .consultant-photo-remove-v120{border-color:rgba(251,113,133,.22)!important;background:rgba(190,24,93,.08)!important;color:#fecdd3!important}
body.ux-v120 .consultant-photo-empty-v120{grid-column:1/-1;display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed rgba(148,163,184,.18);border-radius:16px;color:#94a3b8;text-align:center}
body.ux-v120 .consultant-photo-empty-v120 strong{color:#e2e8f0;font-size:14px}.consultant-photo-empty-v120 span{font-size:10px}
@media(max-width:820px){body.ux-v120 .consultant-photo-toolbar-v60{align-items:stretch!important;flex-direction:column}body.ux-v120 .consultant-photo-toolbar-actions-v120{align-items:stretch;flex-direction:column}body.ux-v120 .consultant-photo-search-v120{min-width:0}body.ux-v120 .consultant-photo-list-v60{grid-template-columns:1fr!important}}
@media(max-width:520px){body.ux-v120 .consultant-photo-row-v60{grid-template-columns:52px minmax(0,1fr)!important}.consultant-photo-actions-v60{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr}.consultant-photo-row-v60 .consultant-avatar-v59.size-lg{width:50px!important;height:50px!important;min-width:50px!important}}


/* ===== V143 visual source block 24 ===== */

body.ux-v121 .v121-panel{margin-top:14px;padding:17px;border:1px solid rgba(96,165,250,.17);border-radius:18px;background:linear-gradient(180deg,#121d32,#0e182b);box-shadow:0 14px 34px rgba(2,6,23,.12)}
body.ux-v121 .v121-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
body.ux-v121 .v121-head strong{display:block;color:#f4f7ff;font-size:14px;line-height:1.3}
body.ux-v121 .v121-head span{display:block;margin-top:4px;color:#91a3bd;font-size:10px;line-height:1.5}
body.ux-v121 .v121-badge{flex:0 0 auto;padding:6px 9px;border:1px solid rgba(103,232,249,.25);border-radius:999px;background:rgba(8,145,178,.10);color:#b8f4ff;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
body.ux-v121 .v121-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
body.ux-v121 .v121-kpi{min-width:0;padding:12px;border:1px solid rgba(96,165,250,.13);border-radius:13px;background:#111b30}
body.ux-v121 .v121-kpi small{display:block;color:#8495b0;font-size:8px;font-weight:900;line-height:1.35;text-transform:uppercase;letter-spacing:.045em}
body.ux-v121 .v121-kpi strong{display:block;margin-top:7px;color:#f4f7ff;font-size:18px;line-height:1.08;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.ux-v121 .v121-kpi span{display:block;margin-top:6px;color:#9eafc7;font-size:8px;line-height:1.4}
body.ux-v121 .v121-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:11px}
body.ux-v121 .v121-box{min-width:0;padding:13px 14px;border:1px solid rgba(96,165,250,.12);border-radius:14px;background:rgba(11,20,37,.72)}
body.ux-v121 .v121-box-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}
body.ux-v121 .v121-box-head strong{color:#eef4ff;font-size:11px}.v121-box-head span{color:#8193af;font-size:8px;text-align:right}
body.ux-v121 .v121-bars{display:grid;gap:8px}
body.ux-v121 .v121-bar>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:4px}
body.ux-v121 .v121-bar span{min-width:0;color:#b6c3d6;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v121 .v121-bar strong{flex:0 0 auto;color:#eef4ff;font-size:8px;font-variant-numeric:tabular-nums}
body.ux-v121 .v121-bar i{display:block;height:7px;border-radius:999px;background:#202b40;overflow:hidden}
body.ux-v121 .v121-bar i b{display:block;height:100%;width:var(--w,0%);border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
body.ux-v121 .v121-schedule{display:grid;gap:6px;max-height:244px;overflow:auto;padding-right:3px}
body.ux-v121 .v121-schedule-row{display:grid;grid-template-columns:74px 1fr auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(148,163,184,.09);border-radius:9px;background:#101a2e}
body.ux-v121 .v121-schedule-row span{color:#aebbd0;font-size:8px}.v121-schedule-row i{height:6px;border-radius:999px;background:#202b40;overflow:hidden}.v121-schedule-row i b{display:block;height:100%;width:var(--w,0%);border-radius:inherit;background:linear-gradient(90deg,#10b981,#22d3ee)}
body.ux-v121 .v121-schedule-row strong{color:#eff5ff;font-size:8px;font-variant-numeric:tabular-nums}
body.ux-v121 .v121-note{margin-top:11px;padding:10px 12px;border:1px solid rgba(245,158,11,.16);border-radius:11px;background:rgba(120,53,15,.08);color:#c9b99d;font-size:9px;line-height:1.5}
body.ux-v121 .v121-method-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:11px}
body.ux-v121 .v121-method-card{min-width:0;padding:12px;border:1px solid rgba(96,165,250,.12);border-radius:13px;background:#111b30}
body.ux-v121 .v121-method-card>strong{display:block;color:#f0f5ff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v121 .v121-method-card>span{display:block;margin-top:4px;color:#8192ad;font-size:8px}
body.ux-v121 .v121-method-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 0}.v121-method-card dl div{padding:7px;border-radius:8px;background:#0d1729}.v121-method-card dt{color:#788aa6;font-size:7px;font-weight:900;text-transform:uppercase}.v121-method-card dd{margin:4px 0 0;color:#eef4ff;font-size:10px;font-weight:850}
body.ux-v121 .v121-team-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}
body.ux-v121 .v121-team-strip>div{padding:11px 12px;border:1px solid rgba(96,165,250,.12);border-radius:12px;background:#111b30}.v121-team-strip small{display:block;color:#8192ad;font-size:7px;font-weight:900;text-transform:uppercase}.v121-team-strip strong{display:block;margin-top:6px;color:#f1f6ff;font-size:15px}.v121-team-strip span{display:block;margin-top:4px;color:#9aabc3;font-size:8px}
body.ux-v121 .v121-consultant-installments{margin-top:11px}
body.ux-v121 .v121-empty{padding:16px;border:1px dashed rgba(148,163,184,.18);border-radius:11px;color:#8799b5;font-size:9px;text-align:center}
@media(max-width:1250px){body.ux-v121 .v121-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}body.ux-v121 .v121-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.ux-v121 .v121-grid{grid-template-columns:1fr}body.ux-v121 .v121-kpis,body.ux-v121 .v121-team-strip{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v121 .v121-method-grid{grid-template-columns:1fr}.v121-head{flex-direction:column}}


/* ===== V143 visual source block 25 ===== */

/* V123 — evolução mensal financeira no Centro de análise. */
.v123-monthly-result{margin-top:14px;padding:18px;border:1px solid rgba(96,165,250,.20);border-radius:18px;background:linear-gradient(180deg,#121d32,#0e182b);box-shadow:0 12px 28px rgba(2,6,23,.12)}
.v123-monthly-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.v123-monthly-title strong{display:block;color:#f4f7ff;font-size:15px;line-height:1.3}.v123-monthly-title span{display:block;margin-top:4px;color:#99aac4;font-size:10px;line-height:1.5;max-width:760px}
.v123-monthly-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.v123-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(148,163,184,.16);border-radius:11px;background:#0b1324}
.v123-switch button{min-height:32px;padding:6px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#91a2bc;font:inherit;font-size:9px;font-weight:850;cursor:pointer}
.v123-switch button.active{border-color:rgba(103,232,249,.42);background:linear-gradient(135deg,rgba(37,99,235,.32),rgba(124,58,237,.28));color:#fff}
.v123-monthly-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.v123-monthly-kpi{min-width:0;padding:13px 14px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:#111b30}
.v123-monthly-kpi small{display:block;color:#8fa0ba;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;line-height:1.35}
.v123-monthly-kpi strong{display:block;margin-top:7px;color:#f5f7ff;font-size:clamp(17px,1.3vw,23px);line-height:1.08;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v123-monthly-kpi span{display:block;margin-top:6px;color:#91a2bc;font-size:9px;line-height:1.4}
.v123-monthly-kpi.good strong{color:#55e6b0}.v123-monthly-kpi.bad strong{color:#fb7185}.v123-monthly-kpi.info strong{color:#67e8f9}
.v123-monthly-chart-card{padding:14px;border:1px solid rgba(148,163,184,.13);border-radius:15px;background:#0d1729}
.v123-monthly-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#95a6c0;font-size:9px;line-height:1.4}
.v123-monthly-chart{position:relative;height:350px;min-height:350px}
.v123-coverage{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:10px 12px;border:1px solid rgba(245,158,11,.20);border-radius:11px;background:rgba(120,53,15,.10);color:#b7c2d6;font-size:9px;line-height:1.5}
.v123-coverage b{color:#fde68a}.v123-coverage i{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:7px;background:rgba(245,158,11,.14);color:#fbbf24;font-style:normal;font-weight:900}
.v123-month-list{margin-top:14px;border:1px solid rgba(148,163,184,.13);border-radius:14px;overflow:hidden;background:#0d1628}
.v123-month-list-head,.v123-month-row{display:grid;grid-template-columns:minmax(90px,1.15fr) repeat(3,minmax(72px,.8fr)) repeat(4,minmax(105px,1.15fr));align-items:center;gap:8px;padding:10px 12px}
.v123-month-list-head{background:#131d32;color:#91a2bc;font-size:8px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.v123-month-row{border-top:1px solid rgba(148,163,184,.10);color:#dbe5f6;font-size:10px;font-variant-numeric:tabular-nums}
.v123-month-row:hover{background:rgba(59,130,246,.045)}.v123-month-row>span:not(:first-child),.v123-month-list-head>span:not(:first-child){text-align:right}
.v123-month-name{display:flex;flex-direction:column;gap:2px}.v123-month-name b{color:#f4f7ff;font-size:10px}.v123-month-name small{color:#7687a2;font-size:8px}
.v123-value-good{color:#55e6b0;font-weight:850}.v123-value-bad{color:#fb7185;font-weight:850}.v123-value-muted{color:#64748b}
.v123-month-empty{padding:30px;text-align:center;color:#91a2bc;font-size:10px}
@media(max-width:1350px){.v123-monthly-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.v123-month-list-head,.v123-month-row{grid-template-columns:minmax(85px,1fr) repeat(2,minmax(68px,.7fr)) repeat(3,minmax(100px,1fr))}.v123-col-hide-1350{display:none}}
@media(max-width:900px){.v123-monthly-head{flex-direction:column}.v123-monthly-actions{justify-content:flex-start}.v123-monthly-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v123-monthly-chart{height:300px;min-height:300px}.v123-month-list-head{display:none}.v123-month-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.v123-month-row>span{text-align:left!important}.v123-month-name{grid-column:1/-1;padding-bottom:7px;border-bottom:1px solid rgba(148,163,184,.10)}.v123-month-row>span::before{content:attr(data-label);display:block;margin-bottom:3px;color:#8292ac;font-size:7px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}}
@media(max-width:560px){.v123-monthly-kpis{grid-template-columns:1fr}.v123-switch{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.v123-switch.v123-mode{grid-template-columns:repeat(3,minmax(0,1fr))}.v123-switch button{padding:6px 5px}.v123-month-row{grid-template-columns:1fr}}


/* ===== V143 visual source block 26 ===== */

body.ux-v125 .v123-monthly-result{border-color:rgba(74,222,128,.20);background:linear-gradient(180deg,#121f30,#0d1827)}
body.ux-v125 .v123-monthly-title span{max-width:820px}
body.ux-v125 .v123-coverage+.v123-coverage{margin-top:8px;border-color:rgba(96,165,250,.18);background:rgba(30,64,175,.08)}
body.ux-v125 .v123-coverage+.v123-coverage b{color:#bfdbfe}
body.ux-v125 .v123-coverage+.v123-coverage i{background:rgba(59,130,246,.14);color:#60a5fa}
@media(max-width:560px){body.ux-v125 .v123-switch.v123-view{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== V143 visual source block 27 ===== */

/* Vertical wheel must keep scrolling the page over the campaign comparison. */
body.performance-v55 #tab-overview .table-container,
body.ux-v75 #tab-overview .table-container{
    overscroll-behavior-x:contain!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-x pan-y!important;
}
/* Keep financial rank values fully visible in three-column cards. */
body .v96-rank-row{
    grid-template-columns:minmax(0,1.05fr) minmax(68px,1.15fr) minmax(88px,max-content)!important;
    gap:8px!important;
    min-width:0!important;
}
body .v96-rank-row .track{min-width:68px!important}
body .v96-rank-row>span:last-child{
    min-width:88px!important;
    text-align:right!important;
    white-space:nowrap!important;
    overflow:visible!important;
}
body .v96-rank,body .v96-grid-3>.v96-card{min-width:0!important;overflow:hidden!important}
@media(max-width:1180px){
    body .v96-grid-3{grid-template-columns:1fr!important}
    body .v96-rank-row{grid-template-columns:minmax(160px,1fr) minmax(140px,2fr) minmax(100px,max-content)!important}
}


/* ===== V143 visual source block 28 ===== */

:root{
    --ui64-bg:#080D1A;
    --ui64-surface:#0F1628;
    --ui64-surface-2:#121B30;
    --ui64-surface-3:#18213A;
    --ui64-border:rgba(148,163,184,.16);
    --ui64-border-strong:rgba(96,165,250,.28);
    --ui64-text:#F5F7FF;
    --ui64-muted:#9CABCA;
    --ui64-subtle:#70809F;
    --ui64-blue:#3B82F6;
    --ui64-cyan:#22D3EE;
    --ui64-purple:#8B5CF6;
    --ui64-green:#10B981;
    --ui64-orange:#F59E0B;
    --ui64-danger:#FB7185;
    --ui64-radius:20px;
    --ui64-radius-sm:13px;
    --ui64-shadow:0 16px 36px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025);
    --ui64-footer-h:76px;
}
*{box-sizing:border-box}
body.ux-v64{background:var(--ui64-bg);color:var(--ui64-text)}
body.ux-v64 .main-container{padding-bottom:28px!important}
body.ux-v64.consultant-footer-visible-v64 .main-container{padding-bottom:calc(var(--ui64-footer-h) + 38px)!important}

/* Unified structural rhythm, using Público das campanhas as the visual reference. */
body.ux-v64 .tab-content{gap:16px}
body.ux-v64 .tab-content:not(#tab-public-profile) :is(h1,h2,h3,h4){color:var(--ui64-text);letter-spacing:-.015em}
body.ux-v64 .tab-content:not(#tab-public-profile) h2{font-size:22px;line-height:1.2}
body.ux-v64 .tab-content:not(#tab-public-profile) h3{font-size:16px;line-height:1.25}
body.ux-v64 .tab-content:not(#tab-public-profile) h4{font-size:13px;line-height:1.3}
body.ux-v64 .tab-content:not(#tab-public-profile) p,
body.ux-v64 .tab-content:not(#tab-public-profile) small,
body.ux-v64 .tab-content:not(#tab-public-profile) .muted{color:var(--ui64-muted);line-height:1.5}

body.ux-v64 .ui-card-v64{
    min-width:0;
    border:1px solid var(--ui64-border)!important;
    border-radius:var(--ui64-radius)!important;
    background:linear-gradient(180deg,rgba(18,27,48,.98),rgba(11,17,31,.98))!important;
    box-shadow:var(--ui64-shadow)!important;
    isolation:isolate;
}
body.ux-v64 .ui-card-v64:hover{border-color:rgba(148,163,184,.22)!important}
body.ux-v64 .ui-chart-card-v64{overflow:hidden;padding:16px!important}
body.ux-v64 .ui-chart-card-v64 canvas{max-width:100%!important}
body.ux-v64 .ui-kpi-v64{
    position:relative;overflow:hidden;min-width:0;min-height:122px;padding:16px!important;
    border:1px solid var(--ui64-border)!important;border-radius:17px!important;
    background:linear-gradient(180deg,rgba(18,25,45,.98),rgba(12,17,31,.98))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.ux-v64 .ui-kpi-v64::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--ui64-blue),var(--ui64-purple),transparent);opacity:.76}
body.ux-v64 .ui-kpi-v64 :is(.kpi-label,.mini-kpi-label,.commercial-kpi-label,.forecast-kpi-label,.financial-kpi-label,.sim-kpi>span,.decision-answer>span,.origin-summary-kpi>span){
    color:#AEBBD3!important;font-size:10px!important;font-weight:850!important;letter-spacing:.055em!important;text-transform:uppercase!important;line-height:1.35!important;
}
body.ux-v64 .ui-kpi-v64 :is(.kpi-value,.mini-kpi-value,.commercial-kpi-value,.forecast-kpi-value,.financial-kpi-value,.sim-kpi>strong,.decision-answer>strong,.origin-summary-kpi>strong){
    display:block;color:#F8FAFC!important;font-size:24px!important;font-weight:900!important;line-height:1.08!important;letter-spacing:-.025em!important;margin-top:10px!important;
}
body.ux-v64 .ui-kpi-v64 :is(.commercial-kpi-note,.profile-kpi-sub,.forecast-kpi-sub,.financial-kpi-note,.sim-kpi>small,.decision-answer>small,.origin-summary-kpi>small){
    display:block;color:#8999B9!important;font-size:10px!important;line-height:1.45!important;margin-top:9px!important;
}

/* Shared headers and explanatory cards */
body.ux-v64 .ui-section-head-v64{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid rgba(148,163,184,.11)}
body.ux-v64 .ui-section-head-v64 strong{font-size:14px!important;color:var(--ui64-text)!important;line-height:1.25}
body.ux-v64 .ui-section-head-v64 span{display:block;margin-top:4px;color:var(--ui64-muted)!important;font-size:10px!important;line-height:1.45}
body.ux-v64 .scope-banner,body.ux-v64 .commercial-data-rule,body.ux-v64 .forecast-history-banner,
body.ux-v64 .financial-scope-banner,body.ux-v64 .profile-scope-banner{
    border:1px solid var(--ui64-border)!important;border-radius:17px!important;background:linear-gradient(135deg,rgba(21,31,55,.96),rgba(12,18,32,.98))!important;box-shadow:none!important;
}

/* Forms and filters */
body.ux-v64 :is(select,input[type="text"],input[type="number"],input[type="date"],input[type="month"]){
    min-height:42px!important;border:1px solid rgba(148,163,184,.18)!important;border-radius:12px!important;
    background:#131C31!important;color:#F4F7FF!important;font-size:11px!important;padding:9px 12px!important;outline:none!important;
}
body.ux-v64 :is(select,input):focus{border-color:rgba(96,165,250,.52)!important;box-shadow:0 0 0 3px rgba(59,130,246,.10)!important}
body.ux-v64 label{color:#AEBBD3;font-size:9px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
body.ux-v64 .btn{min-height:40px;border-radius:12px;font-size:10px;font-weight:800}
body.ux-v64 .floating-period-indicator{position:relative!important;inset:auto!important;transform:none!important;max-width:250px!important;z-index:auto!important;box-shadow:none!important}

/* Tables */
body.ux-v64 .ui-table-wrap-v64{overflow:auto;border:1px solid rgba(148,163,184,.10);border-radius:15px;background:rgba(7,12,24,.28)}
body.ux-v64 table{border-collapse:separate;border-spacing:0;width:100%}
body.ux-v64 table thead th{position:sticky;top:0;z-index:2;background:#0D1425!important;color:#AEBBD3!important;font-size:9px!important;font-weight:850!important;letter-spacing:.05em;text-transform:uppercase;padding:12px 11px!important;border-bottom:1px solid rgba(148,163,184,.14)!important}
body.ux-v64 table tbody td{color:#DCE5F6;font-size:10.5px!important;line-height:1.35;padding:12px 11px!important;border-bottom:1px solid rgba(148,163,184,.09)!important}
body.ux-v64 table tbody tr:hover td{background:rgba(59,130,246,.055)}

/* Grids */
body.ux-v64 :is(.kpi-grid,.mini-kpi-grid,.commercial-kpi-grid,.financial-kpi-grid,.forecast-kpi-grid,.commercial-reconciliation-grid,.consultant-detail-grid,.profile-chart-grid,.year-comparison-grid,.management-insight-grid){gap:14px!important}
body.ux-v64 :is(.kpi-grid,.mini-kpi-grid,.commercial-kpi-grid,.financial-kpi-grid,.forecast-kpi-grid,.commercial-reconciliation-grid)>*{min-width:0}

/* Chart standardization */
body.ux-v64 .commercial-chart-stage,body.ux-v64 .forecast-chart-stage,body.ux-v64 .profile-chart-canvas,
body.ux-v64 .consultant-mix-chart,body.ux-v64 .decision-chart-stage,body.ux-v64 .origin-plan-chart{min-height:300px!important}
body.ux-v64 .commercial-card-header,body.ux-v64 .forecast-chart-header,body.ux-v64 .financial-table-header{padding:17px 18px 12px!important}
body.ux-v64 .commercial-card-header strong,body.ux-v64 .forecast-chart-title,body.ux-v64 .financial-table-header strong{font-size:14px!important;color:#F4F7FF!important}
body.ux-v64 .commercial-card-header span,body.ux-v64 .forecast-chart-description,body.ux-v64 .financial-table-header span{font-size:10px!important;color:var(--ui64-muted)!important;line-height:1.45}

/* Forecast restored to a current operational forecast, no historical ledger over actual dates. */
body.ux-v64 #tab-forecast .forecast-toolbar{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:12px;padding:16px!important}
body.ux-v64 #tab-forecast .forecast-chart-card{padding:0!important}
body.ux-v64 #tab-forecast .forecast-chart-stage{padding:2px 16px 16px}
body.ux-v64 #tab-forecast #forecast-snapshot-select{pointer-events:none;opacity:.86}
body.ux-v64 #tab-forecast .forecast-history-proof{gap:10px}
body.ux-v64 #tab-forecast .forecast-history-proof>span{border-radius:12px;background:rgba(255,255,255,.035);padding:10px}

body.ux-v64 #tab-forecast .forecast-scenarios-panel{padding:17px!important;border:1px solid var(--ui64-border)!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(18,27,48,.98),rgba(11,17,31,.98))!important;box-shadow:var(--ui64-shadow)!important}
body.ux-v64 #tab-forecast .forecast-scenario-card{min-height:118px;border-color:var(--ui64-border);background:rgba(255,255,255,.025)}
body.ux-v64 #tab-forecast .forecast-scenario-chart-stage{height:235px}
body.ux-v64 .consultant-kpi-section-badge-v59{display:flex;align-items:center;gap:8px;padding:0 17px 12px;color:#AEBBD3;font-size:11px;font-weight:800}
body.ux-v64 .consultant-kpi-section-badge-v59 .metric-icon-v59{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:rgba(96,165,250,.10);color:#BFDBFE}

/* Completely redesigned simulations and goals. */
body.ux-v64 #tab-simulation-lab{display:none;flex-direction:column;gap:16px}
body.ux-v64 #tab-simulation-lab.active{display:flex}
body.ux-v64 #tab-simulation-lab .v64-sim-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border:1px solid rgba(139,92,246,.25);border-radius:22px;background:radial-gradient(circle at 88% 12%,rgba(59,130,246,.15),transparent 32%),linear-gradient(135deg,#171033,#10172B 60%,#0D1727);box-shadow:var(--ui64-shadow)}
body.ux-v64 #tab-simulation-lab .v64-sim-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(34,211,238,.09);border:1px solid rgba(34,211,238,.18);color:#A5F3FC;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
body.ux-v64 #tab-simulation-lab .v64-sim-hero h2{margin:12px 0 6px;font-size:24px}
body.ux-v64 #tab-simulation-lab .v64-sim-hero p{margin:0;max-width:760px;font-size:12px;line-height:1.55;color:#B7C2DA}
body.ux-v64 #tab-simulation-lab .v64-source-pills{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ux-v64 #tab-simulation-lab .v64-source-pills span{padding:7px 10px;border:1px solid rgba(148,163,184,.14);border-radius:999px;background:rgba(255,255,255,.045);color:#DCE5F6;font-size:9px;font-weight:800}
body.ux-v64 #tab-simulation-lab .decision-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:7px;border:1px solid var(--ui64-border);border-radius:17px;background:#0B1120}
body.ux-v64 #tab-simulation-lab .decision-nav-button{min-height:58px;padding:11px 14px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;cursor:pointer}
body.ux-v64 #tab-simulation-lab .decision-nav-button:hover{background:rgba(255,255,255,.035)}
body.ux-v64 #tab-simulation-lab .decision-nav-button.active{background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(139,92,246,.19));border-color:rgba(96,165,250,.28)}
body.ux-v64 #tab-simulation-lab .decision-nav-button b{display:block;color:#F4F7FF;font-size:12px}
body.ux-v64 #tab-simulation-lab .decision-nav-button span{display:block;margin-top:4px;color:#8FA0BE;font-size:9px;line-height:1.35}
body.ux-v64 #tab-simulation-lab .decision-view{display:none}
body.ux-v64 #tab-simulation-lab .decision-view.active{display:block}
body.ux-v64 #tab-simulation-lab .v64-sim-layout{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:16px}
body.ux-v64 #tab-simulation-lab .v64-sim-card{padding:18px}
body.ux-v64 #tab-simulation-lab .v64-step-head{display:flex;align-items:center;gap:11px;margin-bottom:15px}
body.ux-v64 #tab-simulation-lab .v64-step-number{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--ui64-purple),var(--ui64-blue));font-size:12px;font-weight:900}
body.ux-v64 #tab-simulation-lab .v64-step-head strong{font-size:14px;color:#F8FAFC}
body.ux-v64 #tab-simulation-lab .v64-step-head span{display:block;margin-top:3px;color:#92A1BE;font-size:9px}
body.ux-v64 #tab-simulation-lab .v64-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ux-v64 #tab-simulation-lab .v64-field{display:flex;flex-direction:column;gap:6px}
body.ux-v64 #tab-simulation-lab .v64-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.ux-v64 #tab-simulation-lab .decision-answer,body.ux-v64 #tab-simulation-lab .origin-summary-kpi{min-height:118px}
body.ux-v64 #tab-simulation-lab .v64-explain{margin:0 0 14px;padding:12px 13px;border:1px solid rgba(34,211,238,.13);border-radius:13px;background:rgba(34,211,238,.045);color:#B8C6DE;font-size:10px;line-height:1.55}
body.ux-v64 #tab-simulation-lab .origin-plan-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0!important}
body.ux-v64 #tab-simulation-lab .origin-plan-field{display:flex;flex-direction:column;gap:6px}
body.ux-v64 #tab-simulation-lab .origin-plan-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}
body.ux-v64 #tab-simulation-lab .origin-plan-sentence{margin:16px 0;padding:14px 16px;border:1px solid rgba(96,165,250,.16);border-radius:14px;background:rgba(59,130,246,.06);color:#DDE8FA;font-size:11px;line-height:1.5}
body.ux-v64 #tab-simulation-lab .origin-plan-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
body.ux-v64 #tab-simulation-lab .origin-plan-panel{padding:16px;border:1px solid var(--ui64-border);border-radius:17px;background:rgba(8,13,26,.34)}
body.ux-v64 #tab-simulation-lab .decision-disclosure{margin-top:14px;border:1px solid var(--ui64-border);border-radius:14px;background:rgba(255,255,255,.025)}
body.ux-v64 #tab-simulation-lab .decision-disclosure summary{padding:13px 15px;color:#DDE7F8;font-size:10px;font-weight:800;cursor:pointer}

/* Consultant dock: actual viewport-fixed footer, no horizontal overflow or floating card. */
body.ux-v64 .consultant-control-dock-v60{display:none!important}
body.ux-v64.consultant-footer-visible-v64 .consultant-control-dock-v60{
    display:grid!important;position:fixed!important;left:var(--app-sidebar-width)!important;right:0!important;bottom:0!important;top:auto!important;z-index:450!important;
    height:var(--ui64-footer-h)!important;min-height:var(--ui64-footer-h)!important;margin:0!important;padding:10px 18px!important;
    grid-template-columns:minmax(480px,1fr) minmax(500px,620px)!important;align-items:center!important;gap:14px!important;
    border:0!important;border-top:1px solid rgba(148,163,184,.18)!important;border-radius:0!important;background:#080D1A!important;
    box-shadow:0 -16px 34px rgba(0,0,0,.38)!important;backdrop-filter:none!important;overflow:hidden!important;
}
body.sidebar-collapsed.ux-v64.consultant-footer-visible-v64 .consultant-control-dock-v60{left:var(--app-sidebar-collapsed)!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-switch{display:grid!important;position:static!important;inset:auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:5px!important;height:56px!important;min-height:56px!important;align-items:center!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:13px!important;background:#0D1425!important;min-width:0!important;overflow:hidden!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-option{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;height:46px!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;transform:none!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-option.active{background:linear-gradient(135deg,rgba(59,130,246,.20),rgba(139,92,246,.20))!important;border-color:rgba(96,165,250,.30)!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:9px!important;background:rgba(255,255,255,.06)!important;font-size:12px!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-option>span:last-child{min-width:0!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-option strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#EDF3FF!important;font-size:11px!important;line-height:1.2!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-analysis-option strong+span,body.ux-v64 .consultant-control-dock-v60 .v59-mode-chip{display:none!important}
body.ux-v64 .consultant-control-dock-v60>.consultant-card{margin:0!important;padding:0!important;height:56px!important;min-height:56px!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-selection-hero-v59{display:none!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar{display:grid!important;grid-template-columns:auto minmax(190px,1fr) auto auto!important;align-items:center!important;gap:8px!important;padding:0!important;height:56px!important;min-height:56px!important;background:transparent!important;white-space:nowrap!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-compact-profile-v60{display:flex!important;align-items:center!important;gap:8px!important;min-width:145px!important;padding:5px 9px 5px 5px!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:11px!important;background:#0D1425!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-compact-profile-v60 strong{display:block;color:#F5F7FF;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}
body.ux-v64 .consultant-control-dock-v60 .consultant-compact-profile-v60 span{display:block;margin-top:2px;color:#8292B2;font-size:7px;text-transform:uppercase}
body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar label{min-width:0!important;width:auto!important;font-size:0!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar label::before{content:'Consultora';display:block;margin-bottom:4px;color:#8798B8;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}
body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar select{width:100%!important;min-width:190px!important;height:38px!important;min-height:38px!important;font-size:10px!important;padding:7px 30px 7px 10px!important}
body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar .btn{height:38px!important;min-height:38px!important;padding:7px 11px!important;font-size:9px!important;white-space:nowrap!important}
body.ux-v64 .consultant-control-dock-v60 #commercial-consultant-filter-note{display:none!important}

/* Consultant photos modal retained and normalized. */
body.ux-v64 .consultant-avatar-v59{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,var(--av1,#60A5FA),var(--av2,#8B5CF6));color:#fff;font-weight:900;overflow:hidden;flex:0 0 auto}
body.ux-v64 .consultant-avatar-v59.size-sm{width:28px;height:28px;font-size:8px}
body.ux-v64 .consultant-avatar-v59.size-md{width:38px;height:38px;font-size:10px}
body.ux-v64 .consultant-avatar-v59.size-lg{width:52px;height:52px;font-size:13px}
body.ux-v64 .consultant-avatar-v59 img{width:100%;height:100%;object-fit:cover;display:block}
body.ux-v64 .consultant-photo-modal-v60{position:fixed;inset:0;z-index:3000;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(4,7,16,.84);backdrop-filter:blur(8px)}
body.ux-v64 .consultant-photo-modal-v60.open{display:flex}
body.ux-v64 .consultant-photo-dialog-v60{width:min(780px,calc(100vw - 28px));max-height:calc(100vh - 38px);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--ui64-border);border-radius:22px;background:#0F1628;box-shadow:0 30px 80px rgba(0,0,0,.48)}
body.ux-v64 .consultant-photo-header-v60,body.ux-v64 .consultant-photo-toolbar-v60{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid rgba(148,163,184,.11)}
body.ux-v64 .consultant-photo-header-v60 h3{margin:0;font-size:17px}
body.ux-v64 .consultant-photo-header-v60 p{margin:4px 0 0;font-size:10px}
body.ux-v64 .consultant-photo-list-v60{overflow:auto;padding:14px 18px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ux-v64 .consultant-photo-row-v60{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid var(--ui64-border);border-radius:15px;background:rgba(255,255,255,.025)}
body.ux-v64 .consultant-photo-actions-v60{display:flex;flex-direction:column;gap:5px}
body.ux-v64 .consultant-photo-actions-v60 label,body.ux-v64 .consultant-photo-actions-v60 button{padding:7px 9px;border:1px solid rgba(148,163,184,.16);border-radius:9px;background:rgba(255,255,255,.04);color:#DCE5F6;font-size:8px;cursor:pointer}
body.ux-v64 .consultant-photo-actions-v60 input{display:none}
body.ux-v64 .management-insight-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;padding:0 16px 16px!important}
body.ux-v64 .management-insight-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:176px!important;padding:16px!important;border:1px solid var(--ui64-border)!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(18,26,46,.98),rgba(11,16,29,.98))!important;overflow:hidden!important}
body.ux-v64 .management-insight-card b{display:block!important;font-size:12px!important;line-height:1.35!important;margin-bottom:6px!important;color:#F8FAFC!important}
body.ux-v64 .management-insight-person-v60{display:flex;align-items:center;gap:11px;margin:12px 0 10px!important;min-width:0!important}
body.ux-v64 .management-insight-person-v60 .person-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;flex:1 1 auto!important}
body.ux-v64 .management-insight-person-v60 strong{display:block!important;font-size:12px!important;line-height:1.35!important;color:#F8FAFC!important;white-space:normal!important;word-break:break-word!important}
body.ux-v64 .management-insight-person-v60 small{display:block!important;font-size:10px!important;line-height:1.35!important;color:#8FA1C5!important;white-space:normal!important;word-break:break-word!important}
body.ux-v64 .management-insight-card>span{display:block!important;font-size:10px!important;line-height:1.62!important;color:#AEBAD1!important;white-space:normal!important;word-break:break-word!important}
body.ux-v64 .management-dimension-section{grid-column:1/-1;min-width:0;margin-top:8px;padding-top:17px;border-top:1px solid rgba(148,163,184,.13)}
body.ux-v64 .management-dimension-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 1px 12px}
body.ux-v64 .management-dimension-head strong{display:block;color:#F8FAFC;font-size:13px;line-height:1.35}
body.ux-v64 .management-dimension-head span{display:block;max-width:850px;margin-top:4px;color:#899AB8;font-size:9px;line-height:1.5}
body.ux-v64 .management-dimension-head em{flex:0 0 auto;padding:6px 9px;border:1px solid rgba(96,165,250,.18);border-radius:999px;background:rgba(59,130,246,.07);color:#9CC4FF;font-size:8px;font-style:normal;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
body.ux-v64 .management-dimension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
body.ux-v64 .management-dimension-card{min-height:158px!important}
body.ux-v64 .management-dimension-card>b{font-size:13px!important;color:#DBEAFE!important}
body.ux-v64 .management-dimension-card.muted{opacity:.74;border-style:dashed!important}


/* Responsive rules */
@media(max-width:1180px){
 body.ux-v64 #tab-forecast .forecast-toolbar{grid-template-columns:repeat(2,minmax(170px,1fr))}
 body.ux-v64 #tab-simulation-lab .v64-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ux-v64 #tab-simulation-lab .origin-plan-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ux-v64 #tab-simulation-lab .origin-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.ux-v64.consultant-footer-visible-v64 .consultant-control-dock-v60{grid-template-columns:minmax(420px,1fr) minmax(430px,520px)!important;padding-inline:10px!important}
 body.ux-v64 .consultant-control-dock-v60 .consultant-compact-profile-v60{display:none!important}
 body.ux-v64 .consultant-control-dock-v60 .consultant-toolbar{grid-template-columns:minmax(180px,1fr) auto auto!important}
}
@media(max-width:1100px){
 body.ux-v64 .management-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ux-v64 .management-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 body.ux-v64.consultant-footer-visible-v64 .consultant-control-dock-v60{left:0!important;grid-template-columns:1fr!important;height:126px!important;min-height:126px!important;gap:7px!important;padding:8px!important}
 body.ux-v64{--ui64-footer-h:126px}
 body.ux-v64 #tab-simulation-lab .v64-sim-layout,body.ux-v64 #tab-simulation-lab .origin-plan-layout{grid-template-columns:1fr}
 body.ux-v64 #tab-simulation-lab .decision-nav{grid-template-columns:1fr}
 body.ux-v64 #tab-simulation-lab .v64-sim-hero{flex-direction:column}
 body.ux-v64 #tab-simulation-lab .v64-source-pills{justify-content:flex-start}
 body.ux-v64 .management-insight-grid{grid-template-columns:1fr!important}
 body.ux-v64 .management-dimension-grid{grid-template-columns:1fr!important}
 body.ux-v64 .management-dimension-head{align-items:flex-start;flex-direction:column}
}

@media(max-width:650px){
 body.ux-v64 #tab-forecast .forecast-toolbar,body.ux-v64 #tab-simulation-lab .v64-form-grid,body.ux-v64 #tab-simulation-lab .v64-result-grid,body.ux-v64 #tab-simulation-lab .origin-plan-form,body.ux-v64 #tab-simulation-lab .origin-plan-summary{grid-template-columns:1fr}
 body.ux-v64 .consultant-photo-list-v60{grid-template-columns:1fr}
}


/* ===== V143 visual source block 29 ===== */

body.ux-v64 .consultant-control-dock-v60{display:none!important}
body.ux-v64 .v64-consultant-footer{display:none}
body.ux-v64.consultant-footer-visible-v64 .v64-consultant-footer{display:grid;position:fixed;left:var(--app-sidebar-width);right:0;bottom:0;z-index:520;height:var(--ui64-footer-h);grid-template-columns:minmax(480px,1fr) minmax(500px,620px);align-items:center;gap:14px;padding:10px 18px;border-top:1px solid rgba(148,163,184,.20);background:#080D1A;box-shadow:0 -16px 34px rgba(0,0,0,.42)}
body.sidebar-collapsed.ux-v64.consultant-footer-visible-v64 .v64-consultant-footer{left:var(--app-sidebar-collapsed)}
body.ux-v64 .v64-footer-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;height:56px;padding:5px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:#0D1425}
body.ux-v64 .v64-footer-mode{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;border:1px solid transparent;border-radius:10px;background:transparent;color:#B7C3D9;font:800 11px Inter,system-ui,sans-serif;cursor:pointer}
body.ux-v64 .v64-footer-mode:hover{background:rgba(255,255,255,.04);color:#F8FAFC}
body.ux-v64 .v64-footer-mode.active{background:linear-gradient(135deg,rgba(59,130,246,.22),rgba(139,92,246,.22));border-color:rgba(96,165,250,.30);color:#F8FAFC}
body.ux-v64 .v64-footer-mode i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.06);font-style:normal;font-size:12px;flex:0 0 auto}
body.ux-v64 .v64-footer-mode span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v64 .v64-footer-tools{display:grid;grid-template-columns:auto minmax(190px,1fr) auto auto;align-items:center;gap:8px;height:56px}
body.ux-v64 .v64-footer-profile{display:flex;align-items:center;gap:8px;min-width:145px;max-width:190px;height:42px;padding:5px 9px 5px 5px;border:1px solid rgba(148,163,184,.13);border-radius:11px;background:#0D1425}
body.ux-v64 .v64-footer-profile .copy{min-width:0}
body.ux-v64 .v64-footer-profile strong{display:block;color:#F5F7FF;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v64 .v64-footer-profile span{display:block;margin-top:2px;color:#8292B2;font-size:7px;text-transform:uppercase}
body.ux-v64 .v64-footer-select{display:flex;flex-direction:column;gap:4px;min-width:0}
body.ux-v64 .v64-footer-select label{font-size:8px}
body.ux-v64 .v64-footer-select select{width:100%;height:38px!important;min-height:38px!important;padding:7px 30px 7px 10px!important;font-size:10px!important}
body.ux-v64 .v64-footer-action{height:38px;padding:0 12px;border:1px solid rgba(148,163,184,.16);border-radius:11px;background:#11192B;color:#E2E8F0;font:800 9px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
body.ux-v64 .v64-footer-action:hover{border-color:rgba(96,165,250,.32);background:#16213A}
body.ux-v64 .v64-footer-action.photo{border-color:rgba(139,92,246,.30);background:rgba(139,92,246,.12)}
@media(max-width:1180px){body.ux-v64.consultant-footer-visible-v64 .v64-consultant-footer{grid-template-columns:minmax(420px,1fr) minmax(420px,520px);padding-inline:10px}body.ux-v64 .v64-footer-profile{display:none}body.ux-v64 .v64-footer-tools{grid-template-columns:minmax(180px,1fr) auto auto}}
@media(max-width:900px){body.ux-v64.consultant-footer-visible-v64 .v64-consultant-footer{left:0;height:126px;grid-template-columns:1fr;gap:7px;padding:8px}body.ux-v64 .v64-footer-modes,body.ux-v64 .v64-footer-tools{height:52px}}


/* ===== V143 visual source block 30 ===== */

:root{
    --ui65-blue:#4F8EF7;
    --ui65-cyan:#22D3EE;
    --ui65-purple:#8B5CF6;
    --ui65-green:#10B981;
    --ui65-border:rgba(148,163,184,.16);
}
/* Simulações e metas: layout elástico, sem valores cortados ou cards comprimidos. */
body.ux-v65 #tab-simulation-lab{overflow:visible!important}
body.ux-v65 #tab-simulation-lab .v64-sim-hero{padding:20px!important}
body.ux-v65 #tab-simulation-lab .v64-sim-layout{
    display:grid!important;
    grid-template-columns:minmax(370px,.88fr) minmax(520px,1.12fr)!important;
    align-items:start!important;
    gap:16px!important;
}
body.ux-v65 #tab-simulation-lab .v64-sim-card{min-width:0!important;width:100%!important;overflow:visible!important}
body.ux-v65 #tab-simulation-lab .v64-form-grid{grid-template-columns:1fr!important}
body.ux-v65 #tab-simulation-lab .v64-result-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
}
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="today"] .v64-sim-card:first-child .v64-result-grid,
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="scale"] .v64-sim-card:first-child .v64-result-grid{
    grid-template-columns:1fr!important;
}
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="today"] .v64-sim-card:first-child .decision-answer,
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="scale"] .v64-sim-card:first-child .decision-answer{
    min-height:80px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:18px!important;
}
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="today"] .v64-sim-card:first-child .decision-answer>span,
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="scale"] .v64-sim-card:first-child .decision-answer>span{
    margin:0!important;
}
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="today"] .v64-sim-card:first-child .decision-answer>strong,
body.ux-v65 #tab-simulation-lab .decision-view[data-decision-view="scale"] .v64-sim-card:first-child .decision-answer>strong{
    margin:0!important;text-align:right!important;
}
body.ux-v65 #tab-simulation-lab .decision-answer,
body.ux-v65 #tab-simulation-lab .origin-summary-kpi{
    min-width:0!important;
    min-height:116px!important;
    padding:16px!important;
    overflow:hidden!important;
}
body.ux-v65 #tab-simulation-lab .decision-answer>strong,
body.ux-v65 #tab-simulation-lab .origin-summary-kpi>strong{
    max-width:100%!important;
    font-size:clamp(20px,1.55vw,27px)!important;
    line-height:1.12!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
}
body.ux-v65 #tab-simulation-lab .decision-answer>small{font-size:10.5px!important}
body.ux-v65 #tab-simulation-lab .origin-plan-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ux-v65 #tab-simulation-lab .origin-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ux-v65 #tab-simulation-lab .origin-plan-layout{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr)!important}
body.ux-v65 #tab-simulation-lab .origin-plan-panel{min-width:0!important;overflow:hidden!important}
body.ux-v65 #tab-simulation-lab .decision-nav-button b{font-size:13px!important}
body.ux-v65 #tab-simulation-lab .decision-nav-button span{font-size:10px!important}
body.ux-v65 #tab-simulation-lab .v64-step-head strong{font-size:15px!important}
body.ux-v65 #tab-simulation-lab .v64-step-head span{font-size:10px!important}

/* Projeção dos próximos meses na comparação anual. */
body.ux-v65 #tab-year-comparison .yoy-forecast-panel-v65{
    padding:18px!important;
    border:1px solid rgba(96,165,250,.22)!important;
    border-radius:20px!important;
    background:radial-gradient(circle at 92% 4%,rgba(139,92,246,.13),transparent 32%),linear-gradient(180deg,rgba(17,26,47,.99),rgba(10,16,30,.99))!important;
    box-shadow:0 18px 38px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.ux-v65 .yoy-forecast-head-v65{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}
body.ux-v65 .yoy-forecast-head-v65 .copy{min-width:0}
body.ux-v65 .yoy-forecast-head-v65 .eyebrow{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(34,211,238,.08);border:1px solid rgba(34,211,238,.17);color:#A5F3FC;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
body.ux-v65 .yoy-forecast-head-v65 h3{margin:9px 0 4px!important;font-size:17px!important;color:#F7F9FF!important}
body.ux-v65 .yoy-forecast-head-v65 p{margin:0!important;max-width:760px;font-size:10.5px!important;color:#9EADCA!important;line-height:1.5!important}
body.ux-v65 .yoy-forecast-badge-v65{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:rgba(16,185,129,.09);border:1px solid rgba(16,185,129,.22);color:#A7F3D0;font-size:9px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
body.ux-v65 .yoy-forecast-kpis-v65{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}
body.ux-v65 .yoy-forecast-kpi-v65{position:relative;min-width:0;min-height:112px;padding:15px;border:1px solid var(--ui65-border);border-radius:16px;background:rgba(255,255,255,.025);overflow:hidden}
body.ux-v65 .yoy-forecast-kpi-v65::after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--ui65-blue),var(--ui65-purple),transparent)}
body.ux-v65 .yoy-forecast-kpi-v65 span{display:block;color:#AAB7CF;font-size:9px;font-weight:850;letter-spacing:.055em;text-transform:uppercase;line-height:1.35}
body.ux-v65 .yoy-forecast-kpi-v65 strong{display:block;margin-top:9px;color:#F8FAFC;font-size:24px;line-height:1.08;letter-spacing:-.025em}
body.ux-v65 .yoy-forecast-kpi-v65 small{display:block;margin-top:8px;color:#8999B8;font-size:10px;line-height:1.4}
body.ux-v65 .yoy-forecast-layout-v65{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:14px;align-items:stretch}
body.ux-v65 .yoy-forecast-chart-card-v65,body.ux-v65 .yoy-forecast-month-card-v65{min-width:0;padding:15px;border:1px solid rgba(148,163,184,.12);border-radius:17px;background:rgba(5,10,21,.28)}
body.ux-v65 .yoy-forecast-chart-title-v65{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
body.ux-v65 .yoy-forecast-chart-title-v65 strong{font-size:13px;color:#F4F7FF}
body.ux-v65 .yoy-forecast-chart-title-v65 span{display:block;margin-top:3px;color:#8D9DBC;font-size:9.5px;line-height:1.4}
body.ux-v65 .yoy-forecast-chart-stage-v65{height:310px;min-height:310px}
body.ux-v65 .yoy-forecast-month-card-v65 h4{margin:0 0 4px;font-size:13px!important}
body.ux-v65 .yoy-forecast-month-card-v65>p{margin:0 0 11px!important;font-size:9.5px!important}
body.ux-v65 .yoy-forecast-month-list-v65{display:flex;flex-direction:column;gap:8px}
body.ux-v65 .yoy-forecast-month-v65{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid rgba(148,163,184,.10);border-radius:12px;background:rgba(255,255,255,.025)}
body.ux-v65 .yoy-forecast-month-v65 .month{display:flex;align-items:center;gap:8px;color:#DDE6F7;font-size:10.5px;font-weight:800}
body.ux-v65 .yoy-forecast-month-v65 .dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--ui65-blue),var(--ui65-purple));box-shadow:0 0 0 4px rgba(96,165,250,.08)}
body.ux-v65 .yoy-forecast-month-v65 strong{color:#F8FAFC;font-size:12px}
body.ux-v65 .yoy-forecast-month-v65 small{display:block;color:#7F91B1;font-size:8.5px;margin-top:2px;text-align:right}
body.ux-v65 .yoy-forecast-note-v65{margin-top:13px;padding:11px 13px;border:1px solid rgba(34,211,238,.12);border-radius:12px;background:rgba(34,211,238,.035);color:#9FB2D0;font-size:9.5px;line-height:1.5}
body.ux-v65 .yoy-forecast-empty-v65{padding:18px;border:1px dashed rgba(148,163,184,.18);border-radius:14px;color:#9EADCA;font-size:10.5px;text-align:center}

@media(max-width:1320px){
 body.ux-v65 #tab-simulation-lab .v64-sim-layout{grid-template-columns:minmax(340px,.82fr) minmax(460px,1.18fr)!important}
 body.ux-v65 #tab-simulation-lab .origin-plan-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ux-v65 #tab-simulation-lab .origin-plan-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ux-v65 .yoy-forecast-kpis-v65{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1080px){
 body.ux-v65 #tab-simulation-lab .v64-sim-layout,body.ux-v65 #tab-simulation-lab .origin-plan-layout{grid-template-columns:1fr!important}
 body.ux-v65 .yoy-forecast-layout-v65{grid-template-columns:1fr}
}
@media(max-width:700px){
 body.ux-v65 #tab-simulation-lab .v64-result-grid,body.ux-v65 #tab-simulation-lab .origin-plan-form,body.ux-v65 #tab-simulation-lab .origin-plan-summary{grid-template-columns:1fr!important}
 body.ux-v65 .yoy-forecast-kpis-v65{grid-template-columns:1fr}
 body.ux-v65 .yoy-forecast-head-v65{flex-direction:column}
}


/* ===== V143 visual source block 31 ===== */

/* V67 — correção estrutural. Mantém o grid estável da V65 e abre o menu sem duplicar margens. */
@media (min-width:901px){
    body.ux-v67 .main-container.v54-grid-layout,
    body.sidebar-collapsed.ux-v67 .main-container.v54-grid-layout{
        width:100%!important;
        max-width:none!important;
        margin:14px 0 0!important;
        padding:0 16px 38px!important;
        grid-template-columns:280px minmax(0,1fr)!important;
        column-gap:16px!important;
        box-sizing:border-box!important;
    }
    body.ux-v67 .main-container.v54-grid-layout>.app-sidebar,
    body.sidebar-collapsed.ux-v67 .main-container.v54-grid-layout>.app-sidebar{
        position:sticky!important;
        left:auto!important;
        top:82px!important;
        bottom:auto!important;
        width:280px!important;
        height:calc(100vh - 98px)!important;
        min-height:520px!important;
        transform:none!important;
        align-self:start!important;
    }
    body.ux-v67 .main-container.v54-grid-layout>:not(.app-sidebar),
    body.sidebar-collapsed.ux-v67 .main-container.v54-grid-layout>:not(.app-sidebar){
        grid-column:2!important;
        min-width:0!important;
        width:100%!important;
        box-sizing:border-box!important;
    }
    body.ux-v67 .sidebar-brand-copy,
    body.sidebar-collapsed.ux-v67 .sidebar-brand-copy,
    body.ux-v67 .sidebar-nav-copy,
    body.sidebar-collapsed.ux-v67 .sidebar-nav-copy,
    body.ux-v67 .sidebar-period-copy,
    body.sidebar-collapsed.ux-v67 .sidebar-period-copy{display:flex!important}
    body.ux-v67 .sidebar-logo,
    body.sidebar-collapsed.ux-v67 .sidebar-logo{display:grid!important}
    body.ux-v67 .sidebar-brand-row,
    body.sidebar-collapsed.ux-v67 .sidebar-brand-row{justify-content:flex-start!important;padding:12px 14px!important}
    body.ux-v67 .sidebar-nav-button,
    body.sidebar-collapsed.ux-v67 .sidebar-nav-button,
    body.ux-v67 .sidebar-period-button,
    body.sidebar-collapsed.ux-v67 .sidebar-period-button{justify-content:flex-start!important}
    body.ux-v67 .sidebar-nav-button,
    body.sidebar-collapsed.ux-v67 .sidebar-nav-button{padding:8px 10px!important}
    body.ux-v67 .sidebar-group-title,
    body.sidebar-collapsed.ux-v67 .sidebar-group-title{
        height:auto!important;margin:0!important;padding:0 10px 7px!important;
        color:#9DA3C6!important;background:transparent!important;overflow:visible!important
    }
    body.ux-v67 .sidebar-collapse-button,
    body.ux-v67 .sidebar-reopen-fab,
    body.ux-v67 .sidebar-toggle-top{display:none!important}
}

/* Resumo: duas áreas largas; o bloco mensal usa toda a largura. */
body.ux-v67 #tab-overview .overview-kpi-sections,
body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="complete"],
body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="executive"]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
}
body.ux-v67 #tab-overview .overview-kpi-section{
    min-width:0!important;
    padding:18px!important;
}
body.ux-v67 #tab-overview .overview-kpi-section[data-tone="forecast"]{
    grid-column:1 / -1!important;
}
body.ux-v67 #tab-overview .overview-kpi-grid,
body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="complete"] .overview-kpi-grid,
body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="executive"] .overview-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
}
body.ux-v67 #tab-overview .overview-kpi-section[data-tone="forecast"] .overview-kpi-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.ux-v67 #tab-overview .overview-kpi-section-head strong{font-size:15px!important;line-height:1.25!important}
body.ux-v67 #tab-overview .overview-kpi-section-head span{font-size:10px!important;line-height:1.5!important}
body.ux-v67 #tab-overview .overview-kpi-grid .kpi-card{
    min-width:0!important;
    min-height:148px!important;
    padding:16px!important;
}
body.ux-v67 #tab-overview .overview-kpi-grid .kpi-card .kpi-title{
    min-height:30px!important;
    font-size:11px!important;
    line-height:1.35!important;
}
body.ux-v67 #tab-overview .overview-kpi-grid .kpi-card .kpi-value{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px 0!important;
    font-size:clamp(21px,1.75vw,29px)!important;
    line-height:1.08!important;
    letter-spacing:-.04em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
}
body.ux-v67 #tab-overview .overview-kpi-grid .kpi-card .kpi-badge{
    max-width:100%!important;
    font-size:10px!important;
    line-height:1.4!important;
    white-space:normal!important;
}
/* Fallback caso os cards ainda não tenham sido agrupados pelo JavaScript. */
body.ux-v67 #tab-overview>:scope>.kpi-grid,
body.ux-v67 #tab-overview>.kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
}
body.ux-v67 #tab-overview>.kpi-grid>.kpi-card{min-width:0!important;min-height:144px!important;padding:16px!important}
body.ux-v67 #tab-overview>.kpi-grid .kpi-value{font-size:clamp(22px,1.8vw,30px)!important;white-space:nowrap!important}

/* Tabela de campanhas: cabe em desktop sem esmagar colunas. */
body.ux-v67 #tab-overview .panel.compact-panel,
body.ux-v67 #tab-overview>.panel{width:100%!important;min-width:0!important;overflow:hidden!important}
@media (min-width:1180px){
    body.ux-v67 #tab-overview .table-container{
        width:100%!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
    }
    body.ux-v67 #tab-overview .data-table{
        width:100%!important;
        min-width:0!important;
        table-layout:fixed!important;
    }
    body.ux-v67 #tab-overview .data-table col:nth-child(1){width:24%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(2){width:8%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(3){width:10%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(4){width:8%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(5){width:8%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(6){width:8%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(7){width:15%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(8){width:15%!important}
    body.ux-v67 #tab-overview .data-table col:nth-child(9){width:4%!important}
}
body.ux-v67 #tab-overview .data-table th,
body.ux-v67 #tab-overview .data-table td{padding:13px 8px!important}
body.ux-v67 #tab-overview .data-table th{
    font-size:9px!important;line-height:1.3!important;letter-spacing:.035em!important;white-space:normal!important
}
body.ux-v67 #tab-overview .data-table th small{font-size:8px!important;line-height:1.25!important}
body.ux-v67 #tab-overview .data-table td{font-size:10.5px!important;line-height:1.35!important}
body.ux-v67 #tab-overview .data-table td:first-child{
    padding-left:14px!important;padding-right:12px!important;font-size:11px!important;font-weight:750!important;
    white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important
}
body.ux-v67 #tab-overview .compact-number-stack strong{font-size:13px!important}
body.ux-v67 #tab-overview .compact-number-stack small{font-size:8px!important;line-height:1.25!important}
body.ux-v67 #tab-overview .metric-line{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
    gap:6px!important;padding:5px 7px!important;white-space:normal!important
}
body.ux-v67 #tab-overview .metric-line .metric-label{
    min-width:0!important;font-size:8px!important;line-height:1.2!important;white-space:normal!important
}
body.ux-v67 #tab-overview .metric-line .metric-value{font-size:10.5px!important;white-space:nowrap!important}
body.ux-v67 #tab-overview .overview-details-panel{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;padding-left:18px!important
}

@media (max-width:1250px) and (min-width:901px){
    body.ux-v67 #tab-overview .overview-kpi-sections,
    body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="complete"],
    body.ux-v67 #tab-overview .overview-kpi-sections[data-ui-mode="executive"]{grid-template-columns:1fr!important}
    body.ux-v67 #tab-overview .overview-kpi-section[data-tone="forecast"]{grid-column:auto!important}
    body.ux-v67 #tab-overview .overview-kpi-section[data-tone="forecast"] .overview-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:1179px){
    body.ux-v67 #tab-overview .table-container{overflow-x:auto!important}
    body.ux-v67 #tab-overview .data-table{min-width:1040px!important}
}
@media (max-width:760px){
    body.ux-v67 #tab-overview .overview-kpi-grid,
    body.ux-v67 #tab-overview .overview-kpi-section[data-tone="forecast"] .overview-kpi-grid,
    body.ux-v67 #tab-overview>.kpi-grid{grid-template-columns:1fr!important}
}


/* ===== V143 visual source block 32 ===== */

/* V68 — gráficos do Público das campanhas com altura determinística.
   Evita o ciclo Chart.js: canvas 100% -> pai flex automático -> novo resize durante a rolagem. */
body.ux-v68 #tab-public-profile .profile-chart-card:not([data-v58-target]) .profile-chart-canvas.profile-stage-stable-v68{
    position:relative!important;
    display:block!important;
    flex:0 0 var(--profile-stage-height-v68,300px)!important;
    width:100%!important;
    height:var(--profile-stage-height-v68,300px)!important;
    min-height:var(--profile-stage-height-v68,300px)!important;
    max-height:var(--profile-stage-height-v68,300px)!important;
    overflow:hidden!important;
    contain:size layout paint!important;
    box-sizing:border-box!important;
}
body.ux-v68 #tab-public-profile .profile-chart-card:not([data-v58-target]) .profile-chart-canvas.profile-stage-stable-v68>canvas{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
}
/* Os gráficos visuais em HTML (faixa etária/tipo de aluno) mantêm altura pelo próprio conteúdo. */
body.ux-v68 #tab-public-profile .profile-chart-card[data-v58-target] .profile-chart-canvas{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex:1 1 auto!important;
    contain:layout paint!important;
}
/* Mapa e blocos não-Chart.js não entram no congelamento de canvas. */
body.ux-v68 #tab-public-profile .profile-brazil-state-map-card .profile-chart-canvas,
body.ux-v68 #tab-public-profile .profile-region-map .profile-chart-canvas{
    height:auto!important;
    max-height:none!important;
    contain:layout paint!important;
}
/* A transformação de hover não deve alterar a geometria percebida enquanto a página rola. */
body.ux-v68 #tab-public-profile .profile-chart-card:hover{
    transform:none!important;
}
@media(max-width:760px){
    body.ux-v68 #tab-public-profile .profile-chart-card:not([data-v58-target]) .profile-chart-canvas.profile-stage-stable-v68{
        --profile-stage-height-v68:270px!important;
    }
}


/* ===== V143 visual source block 33 ===== */

/* V69 keeps the approved visual language from Público das campanhas. */
body.ux-v69{
    --v69-bg:#080D1A;
    --v69-surface:#0E1628;
    --v69-surface-2:#121A30;
    --v69-surface-soft:#171D36;
    --v69-border:rgba(113,132,183,.20);
    --v69-text:#F5F7FF;
    --v69-muted:#9BA9C6;
    --v69-blue:#3B82F6;
    --v69-cyan:#22D3EE;
    --v69-purple:#8B5CF6;
    --v69-green:#10B981;
    --v69-amber:#F59E0B;
    --v69-red:#EF4444;
    --v69-radius:18px;
    --v69-shadow:0 18px 44px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
body.ux-v69.sidebar-collapsed{--sidebar-width:280px!important}
body.ux-v69 #app-sidebar{width:280px!important;min-width:280px!important;transform:none!important;display:flex!important;visibility:visible!important}
body.ux-v69 #sidebar-collapse-button,body.ux-v69 #sidebar-toggle-top,body.ux-v69 #sidebar-reopen-fab{display:none!important}
body.ux-v69 .main-container{grid-template-columns:280px minmax(0,1fr)!important;padding-left:0!important;margin-left:0!important}
body.ux-v69 .sidebar-scroll{padding-bottom:88px}
body.ux-v69 .sidebar-group{margin-bottom:10px}
body.ux-v69 .sidebar-group-title{font-size:9px;letter-spacing:.11em;color:#8492B2}
body.ux-v69 .sidebar-nav-button{min-height:57px;border-radius:14px}
body.ux-v69 .sidebar-nav-copy strong{font-size:11.5px}
body.ux-v69 .sidebar-nav-copy span{font-size:9px;line-height:1.35}
body.ux-v69 .sidebar-nav-icon{font-size:15px}
body.ux-v69 .v69-subnav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:7px;border:1px solid var(--v69-border);border-radius:16px;background:rgba(8,13,26,.78);box-shadow:var(--v69-shadow)}
body.ux-v69 .v69-subnav button{min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#AEBBD5;font-size:10.5px;font-weight:800;cursor:pointer}
body.ux-v69 .v69-subnav button:hover{background:rgba(255,255,255,.04);color:#F8FAFC}
body.ux-v69 .v69-subnav button.active{border-color:rgba(96,165,250,.27);background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(139,92,246,.18));color:#F8FAFC}
body.ux-v69 .v69-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border:1px solid rgba(96,165,250,.20);border-radius:22px;background:radial-gradient(circle at 90% 12%,rgba(34,211,238,.10),transparent 28%),linear-gradient(135deg,#171132,#0F182D 58%,#0B1526);box-shadow:var(--v69-shadow)}
body.ux-v69 .v69-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(34,211,238,.18);border-radius:999px;background:rgba(34,211,238,.08);color:#A5F3FC;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
body.ux-v69 .v69-hero h2{margin:12px 0 7px;color:#F8FAFC;font-size:24px;line-height:1.15}
body.ux-v69 .v69-hero p{margin:0;max-width:820px;color:#B6C1D8;font-size:11.5px;line-height:1.6}
body.ux-v69 .v69-hero-meta{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ux-v69 .v69-hero-meta span{padding:7px 10px;border:1px solid rgba(148,163,184,.13);border-radius:999px;background:rgba(255,255,255,.04);color:#D8E2F4;font-size:9px;font-weight:800;white-space:nowrap}
body.ux-v69 .v69-grid{display:grid;gap:14px}
body.ux-v69 .v69-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:14px}
body.ux-v69 .v69-kpi{position:relative;min-width:0;min-height:145px;padding:16px;border:1px solid var(--v69-border);border-radius:18px;background:linear-gradient(180deg,rgba(19,25,48,.98),rgba(12,18,34,.98));box-shadow:var(--v69-shadow);overflow:hidden}
body.ux-v69 .v69-kpi::after{content:'';position:absolute;left:13px;right:13px;bottom:0;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--tone,#60A5FA),#8B5CF6,transparent)}
body.ux-v69 .v69-kpi-head{display:flex;align-items:center;gap:9px;color:#AAB6D0;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;line-height:1.35}
body.ux-v69 .v69-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 auto;border:1px solid rgba(148,163,184,.14);border-radius:10px;background:rgba(255,255,255,.05);color:#DCE9FF;font-size:12px}
body.ux-v69 .v69-kpi strong{display:block;margin-top:13px;color:#F8FAFC;font-size:22px;line-height:1.08;letter-spacing:-.025em;overflow-wrap:anywhere}
body.ux-v69 .v69-kpi-note{display:block;margin-top:8px;color:#8FA0BF;font-size:9.5px;line-height:1.45}
body.ux-v69 .v69-delta{display:inline-flex;align-items:center;gap:5px;margin-top:9px;padding:5px 8px;border:1px solid rgba(148,163,184,.12);border-radius:999px;background:rgba(255,255,255,.035);color:#B9C4D9;font-size:8.5px;font-weight:800}
body.ux-v69 .v69-delta.up{color:#6EE7B7;background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.14)}
body.ux-v69 .v69-delta.down{color:#FCA5A5;background:rgba(239,68,68,.07);border-color:rgba(239,68,68,.14)}
body.ux-v69 .v69-content-grid{grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);margin-top:14px}
body.ux-v69 .v69-card{min-width:0;padding:18px;border:1px solid var(--v69-border);border-radius:20px;background:linear-gradient(180deg,rgba(15,22,41,.98),rgba(10,15,29,.98));box-shadow:var(--v69-shadow)}
body.ux-v69 .v69-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
body.ux-v69 .v69-card-head strong{display:block;color:#F8FAFC;font-size:14px;line-height:1.2}
body.ux-v69 .v69-card-head span{display:block;margin-top:4px;color:#95A4C2;font-size:9.5px;line-height:1.45}
body.ux-v69 .v69-badge{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid rgba(148,163,184,.14);border-radius:999px;background:rgba(255,255,255,.04);color:#DCE5F5;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
body.ux-v69 .v69-quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.ux-v69 .v69-quality-item{padding:12px;border:1px solid rgba(148,163,184,.11);border-radius:14px;background:rgba(255,255,255,.025)}
body.ux-v69 .v69-quality-item span{display:block;color:#9EACC8;font-size:8.5px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
body.ux-v69 .v69-quality-item strong{display:block;margin-top:8px;color:#F8FAFC;font-size:17px}
body.ux-v69 .v69-progress{height:7px;margin-top:9px;border-radius:999px;background:rgba(148,163,184,.11);overflow:hidden}
body.ux-v69 .v69-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE);width:var(--p,0%)}
body.ux-v69 .v69-alert-list{display:flex;flex-direction:column;gap:9px}
body.ux-v69 .v69-alert{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid rgba(148,163,184,.11);border-radius:14px;background:rgba(255,255,255,.025)}
body.ux-v69 .v69-alert-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(59,130,246,.10);color:#BFDBFE}
body.ux-v69 .v69-alert.warning{border-color:rgba(245,158,11,.18)}
body.ux-v69 .v69-alert.warning .v69-alert-icon{background:rgba(245,158,11,.10);color:#FCD34D}
body.ux-v69 .v69-alert.good{border-color:rgba(16,185,129,.16)}
body.ux-v69 .v69-alert.good .v69-alert-icon{background:rgba(16,185,129,.10);color:#6EE7B7}
body.ux-v69 .v69-alert b{display:block;color:#EDF2FF;font-size:10.5px}
body.ux-v69 .v69-alert span{display:block;margin-top:3px;color:#93A2C0;font-size:9.5px;line-height:1.45}
body.ux-v69 .v69-chart-stage{height:360px;min-height:360px;position:relative}
body.ux-v69 .v69-paid-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
body.ux-v69 .v69-ranking{display:flex;flex-direction:column;gap:9px}
body.ux-v69 .v69-ranking-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,1.3fr) auto;gap:9px;align-items:center}
body.ux-v69 .v69-ranking-row label{min-width:0;color:#DCE5F5;font-size:9.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v69 .v69-ranking-track{height:8px;border-radius:999px;background:rgba(148,163,184,.11);overflow:hidden}
body.ux-v69 .v69-ranking-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE);width:var(--w,0%)}
body.ux-v69 .v69-ranking-row strong{color:#F8FAFC;font-size:10px}
body.ux-v69 .v69-sim-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:7px;border:1px solid var(--v69-border);border-radius:16px;background:#0A1120}
body.ux-v69 .v69-sim-tabs button{min-height:54px;padding:10px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#AEBBD4;text-align:left;cursor:pointer}
body.ux-v69 .v69-sim-tabs button b{display:block;color:#F8FAFC;font-size:12px}
body.ux-v69 .v69-sim-tabs button span{display:block;margin-top:4px;font-size:9px;line-height:1.35}
body.ux-v69 .v69-sim-tabs button.active{border-color:rgba(96,165,250,.25);background:linear-gradient(135deg,rgba(59,130,246,.18),rgba(139,92,246,.18))}
body.ux-v69 .v69-sim-view{display:none;margin-top:14px}
body.ux-v69 .v69-sim-view.active{display:block}
body.ux-v69 .v69-sim-layout{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr);gap:14px}
body.ux-v69 .v69-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.ux-v69 .v69-field{display:flex;flex-direction:column;gap:6px}
body.ux-v69 .v69-field label{color:#AAB6CF;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
body.ux-v69 .v69-field input,body.ux-v69 .v69-field select{width:100%;min-width:0;min-height:43px;padding:9px 11px;border:1px solid rgba(120,135,180,.20);border-radius:12px;background:#11182B;color:#F4F7FF;font-size:11px;outline:none}
body.ux-v69 .v69-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.ux-v69 .v69-result{min-width:0;min-height:118px;padding:14px;border:1px solid rgba(148,163,184,.12);border-radius:15px;background:linear-gradient(180deg,#151B32,#10162A)}
body.ux-v69 .v69-result span{display:block;color:#A5B1CA;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;line-height:1.35}
body.ux-v69 .v69-result strong{display:block;margin-top:11px;color:#F8FAFC;font-size:20px;line-height:1.12;overflow-wrap:anywhere}
body.ux-v69 .v69-result small{display:block;margin-top:8px;color:#8FA0BE;font-size:9px;line-height:1.4}
body.ux-v69 .v69-assumption{margin-top:12px;padding:11px 12px;border:1px solid rgba(34,211,238,.13);border-radius:13px;background:rgba(34,211,238,.045);color:#B8C7DF;font-size:9.5px;line-height:1.55}
body.ux-v69 #tab-link-audit .v69-data-quality{margin-bottom:16px}
body.ux-v69 #tab-overview .v69-opportunity-card{margin:16px 0}
body.ux-v69 #commercial-open,body.ux-v69 #commercial-lost,body.ux-v69 #commercial-loss-rate{display:none!important}
body.ux-v69 #financial-nonpost-share,body.ux-v69 #financial-post-reserve{pointer-events:none;opacity:.68}
body.ux-v69 .financial-rule-fields::after{content:'Regras fixas aprovadas';display:inline-flex;align-items:center;padding:6px 9px;border:1px solid rgba(16,185,129,.18);border-radius:999px;background:rgba(16,185,129,.07);color:#6EE7B7;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
body.ux-v69 .commercial-table th,body.ux-v69 .financial-table th{font-size:9px!important}
body.ux-v69 .commercial-table td,body.ux-v69 .financial-table td{font-size:10px!important}
@media(max-width:1180px){
 body.ux-v69 .v69-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.ux-v69 .v69-paid-grid{grid-template-columns:1fr}
 body.ux-v69 .v69-content-grid{grid-template-columns:1fr}
 body.ux-v69 .v69-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 body.ux-v69 #app-sidebar{transform:translateX(-105%)!important;position:fixed!important;z-index:9999}
 body.ux-v69.sidebar-mobile-open #app-sidebar{transform:translateX(0)!important}
 body.ux-v69 .main-container{display:block!important}
 body.ux-v69 #sidebar-toggle-top{display:inline-flex!important}
 body.ux-v69 .v69-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ux-v69 .v69-sim-layout{grid-template-columns:1fr}
}
@media(max-width:620px){
 body.ux-v69 .v69-kpi-grid,body.ux-v69 .v69-quality-grid,body.ux-v69 .v69-result-grid,body.ux-v69 .v69-form-grid{grid-template-columns:1fr}
 body.ux-v69 .v69-hero{flex-direction:column}
 body.ux-v69 .v69-hero-meta{justify-content:flex-start}
 body.ux-v69 .v69-sim-tabs{grid-template-columns:1fr}
}


/* ===== V143 visual source block 34 ===== */

/* V70 — matriz financeira e encerramento correto da rolagem. */
html{height:auto!important;min-height:100%!important;overflow-x:hidden!important}
body.ux-v70{height:auto!important;min-height:100vh!important;padding-bottom:0!important;overflow-x:hidden!important;overflow-y:auto!important;align-items:stretch!important}
body.ux-v70 .main-container,
body.ux-v70 .main-container.v54-grid-layout{height:auto!important;min-height:0!important;max-height:none!important;grid-auto-rows:auto!important;align-items:start!important;padding-bottom:24px!important;margin-bottom:0!important;overflow:visible!important}
body.ux-v70 .tab-content{height:auto!important;min-height:0!important;max-height:none!important;margin-bottom:0!important;padding-bottom:18px!important;overflow:visible!important}
body.ux-v70 .tab-content:not(.active){display:none!important}
body.ux-v70 .tab-content.active{display:block!important;position:relative!important}
body.ux-v70:not(.consultant-footer-visible-v64) .main-container{padding-bottom:24px!important}
body.ux-v70 .v70-opportunity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 16px 14px}
body.ux-v70 .v70-opportunity-stat{min-width:0;padding:12px 13px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:linear-gradient(180deg,rgba(17,25,44,.94),rgba(11,17,31,.96))}
body.ux-v70 .v70-opportunity-stat span{display:block;color:#93A4C3;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;line-height:1.3}
body.ux-v70 .v70-opportunity-stat strong{display:block;margin-top:7px;color:#F8FAFC;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v70 .v70-opportunity-stat small{display:block;margin-top:5px;color:#8FA0BE;font-size:9px;line-height:1.35}
body.ux-v70 #v69-opportunity-card .v69-chart-stage{height:390px!important;min-height:390px!important;max-height:390px!important}
body.ux-v70 #v69-opportunity-card canvas{height:390px!important;max-height:390px!important}
@media(max-width:900px){body.ux-v70 .v70-opportunity-summary{grid-template-columns:1fr}body.ux-v70 #v69-opportunity-card .v69-chart-stage,body.ux-v70 #v69-opportunity-card canvas{height:360px!important;min-height:360px!important;max-height:360px!important}}


/* ===== V143 visual source block 35 ===== */

/* V72 — correção segura, sem MutationObserver de estilos. */
body.ux-v72 .main-container.v54-grid-layout{
  grid-auto-rows:max-content!important;
  row-gap:0!important;
  align-items:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-bottom:0!important;
  overflow:visible!important;
}
/* O sidebar não pode criar centenas de linhas implícitas no grid. */
body.ux-v72 .main-container.v54-grid-layout>#app-sidebar,
body.ux-v72 .main-container.v54-grid-layout>.app-sidebar{
  grid-row:1!important;
  grid-column:1!important;
  align-self:start!important;
}
body.ux-v72 .tab-content{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-bottom:0!important;
  overflow:visible!important;
}
body.ux-v72 .tab-content:not(.active){display:none!important}
body.ux-v72 .tab-content.active{display:block!important}
/* O controle antigo serve apenas como fonte de dados para o rodapé novo. */
body.ux-v72 .consultant-control-dock-v60{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  opacity:0!important;
}
body.ux-v72 #tab-consultant-efficiency.active{
  padding-bottom:calc(var(--ui64-footer-h,76px) + 22px)!important;
}
body.ux-v72:not(.consultant-footer-visible-v64) .main-container.v54-grid-layout{
  padding-bottom:24px!important;
}
body.ux-v72 .v64-consultant-footer{box-sizing:border-box!important}
@media(max-width:900px){
  body.ux-v72 #tab-consultant-efficiency.active{padding-bottom:148px!important}
}


/* ===== V143 visual source block 36 ===== */

/* V75 — interface estável, conteúdo da visão de campanhas preservado e sem rotinas contínuas. */
@media (min-width:901px){
  body.ux-v75 .main-container.v54-grid-layout > #app-sidebar,
  body.ux-v75 .main-container.v54-grid-layout > .app-sidebar,
  body.sidebar-collapsed.ux-v75 .main-container.v54-grid-layout > #app-sidebar,
  body.sidebar-collapsed.ux-v75 .main-container.v54-grid-layout > .app-sidebar{
    position:relative!important;
    top:auto!important;
    bottom:auto!important;
    left:auto!important;
    height:max-content!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    align-self:start!important;
  }
  body.ux-v75 #app-sidebar .sidebar-scroll,
  body.ux-v75 .app-sidebar .sidebar-scroll{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
    padding-bottom:16px!important;
    scrollbar-width:none!important;
  }
  body.ux-v75 #app-sidebar .sidebar-scroll::-webkit-scrollbar,
  body.ux-v75 .app-sidebar .sidebar-scroll::-webkit-scrollbar{display:none!important}
}
body.ux-v75 .sidebar-nav-icon{color:#B9C7E8!important;font-size:0!important}
body.ux-v75 .sidebar-nav-icon svg{
  display:block!important;width:19px!important;height:19px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important
}
body.ux-v75 .sidebar-nav-button:hover .sidebar-nav-icon{
  color:#E3ECFF!important;background:rgba(96,165,250,.13)!important
}
body.ux-v75 .sidebar-nav-button.active .sidebar-nav-icon{
  color:#FFF!important;background:linear-gradient(135deg,#2563EB,#3B82F6)!important;
  box-shadow:0 8px 18px rgba(37,99,235,.30)!important
}
body.ux-v75 .v64-footer-mode{position:relative!important;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important}
body.ux-v75 .v64-footer-mode.active{
  background:linear-gradient(135deg,rgba(37,99,235,.34),rgba(124,58,237,.30))!important;
  border-color:rgba(96,165,250,.62)!important;color:#FFF!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 8px 22px rgba(37,99,235,.16)!important
}
body.ux-v75 .v64-footer-mode.active::after{
  content:"";position:absolute;left:12px;right:12px;bottom:3px;height:2px;border-radius:999px;
  background:linear-gradient(90deg,#60A5FA,#A78BFA)
}
body.ux-v75 .v64-footer-mode.active i{
  background:linear-gradient(135deg,rgba(59,130,246,.40),rgba(139,92,246,.36))!important;color:#FFF!important
}
body.ux-v75 #tab-consultant-efficiency .consultant-analysis-option.active{
  border-color:rgba(96,165,250,.52)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 10px 24px rgba(37,99,235,.10)!important
}
/* The campaign table and everything after it must stay in the normal document flow. */
body.ux-v75 #tab-overview,
body.ux-v75 #tab-overview .panel,
body.ux-v75 #tab-overview .table-container{
  height:auto!important;min-height:0!important;max-height:none!important
}
body.ux-v75 #tab-overview .panel{overflow:visible!important}
body.ux-v75 #tab-overview .table-container{
  overflow-x:auto!important;overflow-y:visible!important;display:block!important
}
body.ux-v75 #campaign-tbody{display:table-row-group!important;visibility:visible!important;opacity:1!important}
body.ux-v75 #campaign-tfoot{display:table-footer-group!important;visibility:visible!important;opacity:1!important}
body.ux-v75 #v69-opportunity-card{position:relative!important;display:block!important;clear:both!important;margin-top:16px!important}
body.ux-v75 #v69-opportunity-card .v70-opportunity-summary{display:grid!important}


/* ===== V143 visual source block 37 ===== */

/* V78 — período no canto inferior direito, textos explícitos e performance sem blocos duplicados. */
body.ux-v78 #floating-period-indicator{display:none!important}
body.ux-v78 #floating-period-indicator-v78,
body.ux-v76.ux-v78 #floating-period-indicator-v78{
  position:fixed!important;
  top:auto!important;
  right:18px!important;
  bottom:18px!important;
  left:auto!important;
  z-index:1900!important;
  min-width:260px!important;
  max-width:330px!important;
  margin:0!important;
  transform:none!important;
  box-shadow:0 18px 42px rgba(0,0,0,.42)!important;
}
body.ux-v78.consultant-footer-visible-v64 #floating-period-indicator-v78{
  bottom:calc(var(--ui64-footer-h,76px) + 18px)!important;
}
body.ux-v78 .period-comparison-strip-v76{
  top:auto!important;
  right:18px!important;
  bottom:82px!important;
}
body.ux-v78.consultant-footer-visible-v64 .period-comparison-strip-v76{
  bottom:calc(var(--ui64-footer-h,76px) + 82px)!important;
}
body.ux-v78 #floating-period-indicator-v78 .v78-period-rule{
  display:block;margin-top:3px;color:#8FA1C0;font-size:7.5px;line-height:1.2;
  font-weight:650;white-space:normal;text-align:left;
}
body.ux-v78 .v78-comparison-explainer{
  display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:11px 13px;
  border:1px solid rgba(96,165,250,.18);border-radius:14px;background:rgba(15,29,50,.72);
  color:#9EACC5;font-size:10px;line-height:1.45;
}
body.ux-v78 .v78-comparison-explainer strong{display:block;color:#E8F0FF;font-size:10.5px;margin-bottom:2px}
body.ux-v78 .v78-comparison-explainer .v78-info-icon{
  flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border-radius:9px;
  color:#DCEAFF;background:rgba(59,130,246,.18);font-weight:900;
}
body.ux-v78 .v69-delta{white-space:normal!important;line-height:1.35!important}
body.ux-v78 #campaign-daily-wrapper-v73 .profile-chart-grid{grid-template-columns:1fr!important}
body.ux-v78 #campaign-daily-wrapper-v73 .profile-chart-card:not(.profile-chart-daily),
body.ux-v78 #campaign-daily-wrapper-v73 #profile-bi-selection{display:none!important}
body.ux-v78 #campaign-daily-wrapper-v73 .profile-chart-daily{display:block!important;grid-column:1!important}
body.ux-v78 #campaign-daily-wrapper-v73 .profile-chart-daily .profile-chart-canvas{
  height:320px!important;min-height:320px!important;max-height:320px!important;
}
body.ux-v78 #campaign-daily-wrapper-v73 .v78-moved-note{
  margin:0 13px 14px;padding:10px 12px;border:1px solid rgba(148,163,184,.12);
  border-radius:12px;background:rgba(15,23,42,.58);color:#91A1BD;font-size:9px;line-height:1.45;
}
body.ux-v78 #v69-opportunity-card .v78-cac-rule{
  margin:0 0 12px;padding:9px 11px;border:1px solid rgba(34,211,238,.16);border-radius:12px;
  background:rgba(8,30,46,.48);color:#9FC3D0;font-size:9px;line-height:1.45;
}
body.ux-v78 #kpi-transferidos{cursor:help}
@media(max-width:900px){
  body.ux-v78 #floating-period-indicator-v78,
  body.ux-v76.ux-v78 #floating-period-indicator-v78{right:12px!important;left:12px!important;bottom:12px!important;max-width:none!important;min-width:0!important}
  body.ux-v78 .period-comparison-strip-v76{right:12px!important;left:12px!important;bottom:80px!important;width:auto!important}
  body.ux-v78.consultant-footer-visible-v64 #floating-period-indicator-v78{bottom:150px!important}
  body.ux-v78.consultant-footer-visible-v64 .period-comparison-strip-v76{bottom:218px!important}
}


/* ===== V143 visual source block 38 ===== */

/* V79 — gráfico diário isolado e barra comercial clara, sem sobreposição do período. */
body.ux-v79 #campaign-daily-wrapper-v73 .profile-chart-daily{
  min-height:0!important;
}
body.ux-v79 #campaign-daily-wrapper-v73 .profile-chart-daily .profile-chart-canvas{
  position:relative!important;
  height:340px!important;
  min-height:340px!important;
  max-height:340px!important;
  overflow:hidden!important;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:11px 0 2px;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat{
  min-width:0;
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.13);
  border-radius:12px;
  background:rgba(15,23,42,.62);
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat span{
  display:block;
  color:#8292B2;
  font-size:8px;
  font-weight:850;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat strong{
  display:block;
  margin-top:4px;
  color:#F5F7FF;
  font-size:18px;
  line-height:1.1;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-stat small{
  display:block;
  margin-top:4px;
  color:#94A3B8;
  font-size:8px;
  line-height:1.35;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-empty{
  position:absolute;
  inset:18px;
  display:none;
  place-items:center;
  padding:28px;
  border:1px dashed rgba(148,163,184,.20);
  border-radius:14px;
  background:rgba(8,13,26,.72);
  color:#94A3B8;
  text-align:center;
  font-size:11px;
  line-height:1.55;
}
body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-empty.open{display:grid}

/* O rodapé comercial é único e sempre legível. */
body.ux-v79 .v64-consultant-footer{display:none!important}
body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
  display:grid!important;
  position:fixed!important;
  left:var(--app-sidebar-width,286px)!important;
  right:0!important;
  bottom:0!important;
  z-index:1840!important;
  height:88px!important;
  min-height:88px!important;
  grid-template-columns:minmax(500px,1fr) minmax(500px,610px)!important;
  align-items:center!important;
  gap:14px!important;
  padding:10px 18px!important;
  border-top:1px solid rgba(96,165,250,.22)!important;
  background:rgba(7,12,24,.985)!important;
  box-shadow:0 -18px 42px rgba(0,0,0,.48)!important;
  backdrop-filter:blur(16px)!important;
}
body.sidebar-collapsed.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
  left:var(--app-sidebar-collapsed,82px)!important;
}
body.ux-v79.commercial-footer-visible-v79 .main-container{
  padding-bottom:122px!important;
}
body.ux-v79 .v64-footer-modes{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  height:66px!important;
  padding:5px!important;
  border:1px solid rgba(148,163,184,.15)!important;
  border-radius:15px!important;
  background:#0D1425!important;
}
body.ux-v79 .v64-footer-mode{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:9px!important;
  min-width:0!important;
  height:56px!important;
  padding:6px 10px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#B7C3D9!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.ux-v79 .v64-footer-mode:hover{
  border-color:rgba(96,165,250,.18)!important;
  background:rgba(255,255,255,.045)!important;
  color:#F8FAFC!important;
}
body.ux-v79 .v64-footer-mode.active{
  border-color:rgba(96,165,250,.48)!important;
  background:linear-gradient(135deg,rgba(37,99,235,.30),rgba(124,58,237,.27))!important;
  color:#FFFFFF!important;
  box-shadow:inset 0 -3px 0 rgba(96,165,250,.85),0 8px 20px rgba(37,99,235,.12)!important;
}
body.ux-v79 .v64-footer-mode i{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.075)!important;
  color:#DDE8FF!important;
  font-style:normal!important;
  font-size:14px!important;
}
body.ux-v79 .v64-footer-mode .v79-mode-copy{min-width:0!important}
body.ux-v79 .v64-footer-mode .v79-mode-copy strong{
  display:block!important;
  color:inherit!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.15!important;
  white-space:normal!important;
}
body.ux-v79 .v64-footer-mode .v79-mode-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#8292B2!important;
  font-size:7.5px!important;
  font-weight:650!important;
  line-height:1.15!important;
  white-space:normal!important;
}
body.ux-v79 .v64-footer-mode.active .v79-mode-copy small{color:#BFD5FF!important}
body.ux-v79 .v64-footer-tools{
  display:grid!important;
  grid-template-columns:auto minmax(190px,1fr) auto auto!important;
  align-items:center!important;
  gap:9px!important;
  height:66px!important;
}
body.ux-v79 .v64-footer-profile{
  height:48px!important;
  min-width:148px!important;
  max-width:190px!important;
}
body.ux-v79 .v64-footer-select label{
  color:#91A2C0!important;
  font-size:8px!important;
  font-weight:850!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
body.ux-v79 .v64-footer-select select,
body.ux-v79 .v64-footer-action{
  height:42px!important;
  min-height:42px!important;
  font-size:10px!important;
}
body.ux-v79 .v64-footer-action{padding-inline:13px!important}

/* O período permanece no canto inferior direito, mas sobe acima do rodapé comercial. */
body.ux-v79.commercial-footer-visible-v79 #floating-period-indicator-v78{
  max-width:315px!important;
}
body.ux-v79.commercial-footer-visible-v79 .period-comparison-strip-v76{
  bottom:174px!important;
}

@media(max-width:1280px){
  body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
    grid-template-columns:minmax(450px,1fr) minmax(410px,500px)!important;
    padding-inline:10px!important;
  }
  body.ux-v79 .v64-footer-profile{display:none!important}
  body.ux-v79 .v64-footer-tools{grid-template-columns:minmax(180px,1fr) auto auto!important}
}
@media(max-width:900px){
  body.ux-v79.commercial-footer-visible-v79 .v64-consultant-footer{
    left:0!important;
    height:154px!important;
    min-height:154px!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:8px!important;
  }
  body.ux-v79 .v64-footer-modes,body.ux-v79 .v64-footer-tools{height:64px!important}
  body.ux-v79 .v64-footer-mode{height:54px!important;padding:5px 7px!important;grid-template-columns:28px minmax(0,1fr)!important;gap:6px!important}
  body.ux-v79 .v64-footer-mode i{width:28px!important;height:28px!important;font-size:12px!important}
  body.ux-v79 .v64-footer-mode .v79-mode-copy strong{font-size:9px!important}
  body.ux-v79 .v64-footer-mode .v79-mode-copy small{display:none!important}
  body.ux-v79.commercial-footer-visible-v79 .main-container{padding-bottom:186px!important}
  body.ux-v79 #campaign-daily-wrapper-v73 .v79-daily-summary{grid-template-columns:1fr!important}
}


/* ===== V143 visual source block 39 ===== */

body.ux-v81 #campaign-daily-wrapper-v73 .v81-daily-diagnostic{
  display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 2px;color:#8FA0BE;font-size:9px;line-height:1.45
}
body.ux-v81 #campaign-daily-wrapper-v73 .v81-daily-diagnostic span{
  padding:5px 8px;border:1px solid rgba(148,163,184,.13);border-radius:999px;background:rgba(15,23,42,.62)
}
body.ux-v81 #campaign-daily-wrapper-v73 .v81-daily-diagnostic b{color:#DDE7F8}


/* ===== V143 visual source block 40 ===== */

body.ap84-unprocessed #main-container{visibility:hidden!important}
body.ap84-processing{overflow:hidden!important}
#ap84-session-gate{position:fixed;inset:54px 0 0 0;z-index:900;display:grid;place-items:center;padding:24px;background:#07101d}
#ap84-session-gate.hidden{display:none}
.ap84-gate-card{width:min(650px,calc(100vw - 36px));padding:30px;border:1px solid rgba(96,165,250,.24);border-radius:24px;background:linear-gradient(180deg,#101a2e,#0b1323);box-shadow:0 30px 90px rgba(0,0,0,.45)}
.ap84-gate-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#60A5FA}
.ap84-gate-card h2{margin:8px 0 8px;font-size:25px;color:#F8FAFC}
.ap84-gate-card p{margin:0;color:#A9B6CC;font-size:12px;line-height:1.65}
.ap84-session-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.ap84-session-count{padding:13px 14px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:rgba(15,23,42,.7)}
.ap84-session-count span{display:block;color:#8091AF;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.ap84-session-count strong{display:block;margin-top:5px;color:#F8FAFC;font-size:19px}
.ap84-gate-actions{display:flex;gap:10px;flex-wrap:wrap}
.ap84-gate-actions .btn{min-height:42px}
#ap84-process-top{margin-left:6px}
#ap84-session-note{margin-top:14px;padding:10px 12px;border-radius:12px;background:rgba(37,99,235,.10);border:1px solid rgba(96,165,250,.18);color:#BFD3F6;font-size:10px;line-height:1.5}
.ap84-import-process-card{margin-top:14px;padding:14px;border:1px solid rgba(96,165,250,.22);border-radius:16px;background:rgba(15,23,42,.66)}
.ap84-import-process-card strong{display:block;color:#EDF4FF;margin-bottom:4px}.ap84-import-process-card span{display:block;color:#95A5C0;font-size:10px;line-height:1.5;margin-bottom:10px}
body.ap84-processing #portable-restore-overlay-v76{display:grid!important;background:#050A13!important;z-index:2147483000!important;backdrop-filter:none!important}
body.ap84-processing #portable-restore-overlay-v76 .portable-restore-card-v76{width:min(500px,calc(100vw - 34px));padding:30px;border-radius:24px;background:linear-gradient(180deg,#101A2E,#0A1120)}
@media(max-width:720px){.ap84-session-counts{grid-template-columns:1fr}.ap84-gate-actions{flex-direction:column}.ap84-gate-actions .btn{width:100%}}


/* ===== V143 visual source block 41 ===== */

body.ux-v69 #v69-exec-kpis .v69-kpi .v69-kpi-note{line-height:1.45}
body.ux-v69 #v69-exec-kpis .v69-kpi:nth-child(8){--tone:#F59E0B}
body.ux-v69 #v69-exec-kpis .v69-kpi:nth-child(9){--tone:#EF4444}


/* ===== V143 visual source block 42 ===== */

/* V90 — alterações pontuais sobre a V88. Sem observadores, loops ou gráficos adicionais. */
body.ux-v69 .v90-target-context{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px;
}
body.ux-v69 .v90-target-context article{
  min-width:0;padding:10px 12px;border:1px solid var(--border-color);border-radius:10px;background:rgba(2,6,23,.22)
}
body.ux-v69 .v90-target-context span{display:block;color:var(--text-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}
body.ux-v69 .v90-target-context strong{display:block;margin-top:5px;color:#F8FAFC;font-size:18px;line-height:1.1}
body.ux-v69 .v90-target-context small{display:block;margin-top:4px;color:#94A3B8;font-size:9px;line-height:1.35}
body.ux-v69 .forecast-kpi.v90-goal-kpi{border-color:rgba(139,92,246,.34);background:linear-gradient(145deg,rgba(139,92,246,.08),var(--bg-card) 62%)}
body.ux-v69 .forecast-kpi.v90-goal-kpi .forecast-kpi-value{color:#C4B5FD}
body.ux-v69 .v90-consultant-panel{margin-top:14px;overflow:hidden}
body.ux-v69 .v90-consultant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--border-color)}
body.ux-v69 .v90-consultant-head h3{margin:0;color:#F8FAFC;font-size:15px}
body.ux-v69 .v90-consultant-head p{margin:5px 0 0;max-width:760px;color:var(--text-muted);font-size:10px;line-height:1.5}
body.ux-v69 .v90-consultant-badge{white-space:nowrap;padding:7px 10px;border:1px solid rgba(96,165,250,.26);border-radius:999px;background:rgba(59,130,246,.09);color:#BFDBFE;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
body.ux-v69 .v90-consultant-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px}
body.ux-v69 .v90-consultant-summary article{min-width:0;padding:11px 12px;border:1px solid var(--border-color);border-radius:10px;background:rgba(2,6,23,.22)}
body.ux-v69 .v90-consultant-summary span{display:block;color:var(--text-muted);font-size:8px;font-weight:850;text-transform:uppercase}
body.ux-v69 .v90-consultant-summary strong{display:block;margin-top:5px;color:#F8FAFC;font-size:19px;line-height:1.1}
body.ux-v69 .v90-consultant-table-wrap{max-height:500px;overflow:auto;border-top:1px solid var(--border-color)}
body.ux-v69 .v90-consultant-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0}
body.ux-v69 .v90-consultant-table th,body.ux-v69 .v90-consultant-table td{padding:10px 13px;border-bottom:1px solid var(--border-color);font-size:10px;text-align:right}
body.ux-v69 .v90-consultant-table th{position:sticky;top:0;z-index:2;background:#111827;color:#93A4C2;font-size:8px;text-transform:uppercase;letter-spacing:.045em}
body.ux-v69 .v90-consultant-table th:first-child,body.ux-v69 .v90-consultant-table td:first-child{text-align:left}
body.ux-v69 .v90-consultant-table tbody tr:hover td{background:rgba(59,130,246,.035)}
body.ux-v69 .v90-forecast-value{color:#60A5FA;font-weight:900}
body.ux-v69 .v90-additional{color:#34D399;font-weight:850}
body.ux-v69 .v90-share-track{display:inline-flex;align-items:center;gap:7px;min-width:115px;justify-content:flex-end}
body.ux-v69 .v90-share-track i{display:block;width:64px;height:5px;border-radius:999px;background:#202A3D;overflow:hidden}
body.ux-v69 .v90-share-track i::after{content:"";display:block;width:var(--p);height:100%;border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE)}
@media(max-width:1050px){body.ux-v69 .v90-consultant-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.ux-v69 .v90-target-context,body.ux-v69 .v90-consultant-summary{grid-template-columns:1fr}body.ux-v69 .v90-consultant-head{flex-direction:column}}


/* ===== V143 visual source block 43 ===== */

body.ux-v91 #tab-consultant-efficiency .commercial-page-header-v91{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:14px;
  margin:0 0 14px;padding:20px 22px;border:1px solid rgba(96,165,250,.23);
  border-radius:20px;background:linear-gradient(135deg,rgba(17,27,49,.98),rgba(12,22,40,.96));
  box-shadow:0 16px 34px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025)
}
body.ux-v91 .commercial-page-title-v91 span{display:block;margin-bottom:7px;color:#67E8F9;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
body.ux-v91 .commercial-page-title-v91 h2{margin:0;color:#F7F9FF;font-size:23px;line-height:1.12;letter-spacing:-.025em}
body.ux-v91 .commercial-page-title-v91 p{margin:8px 0 0;color:#AAB7CF;font-size:11px;line-height:1.55;max-width:760px}
body.ux-v91 .commercial-page-scope-v91{display:grid;grid-template-columns:1fr;gap:8px;align-content:center}
body.ux-v91 .commercial-page-scope-item-v91{padding:11px 12px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:rgba(15,23,42,.62)}
body.ux-v91 .commercial-page-scope-item-v91 strong{display:block;color:#EEF3FF;font-size:10px;line-height:1.25}
body.ux-v91 .commercial-page-scope-item-v91 small{display:block;margin-top:4px;color:#8FA0BE;font-size:8.5px;line-height:1.42}
body.ux-v91 .commercial-page-scope-item-v91.primary{border-color:rgba(16,185,129,.28);background:rgba(6,78,59,.16)}
body.ux-v91 .commercial-page-scope-item-v91.primary strong{color:#A7F3D0}
body.ux-v91 #tab-consultant-efficiency .consultant-analysis-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ux-v91 #tab-consultant-efficiency .consultant-analysis-option[data-mode="general"]{order:1}
body.ux-v91 #tab-consultant-efficiency .consultant-analysis-option[data-mode="automatic"]{order:2}
body.ux-v91 #tab-consultant-efficiency .consultant-analysis-option[data-mode="mix"]{order:3}
body.ux-v91 #consultant-footer-v64 .v64-footer-mode[data-mode="general"]{order:1}
body.ux-v91 #consultant-footer-v64 .v64-footer-mode[data-mode="automatic"]{order:2}
body.ux-v91 #consultant-footer-v64 .v64-footer-mode[data-mode="mix"]{order:3}
body.ux-v91 #consultant-panel-general .scope-banner-general{border-color:rgba(16,185,129,.30)!important;background:linear-gradient(135deg,rgba(6,78,59,.20),rgba(15,23,42,.92))!important}
body.ux-v91 #tab-consultant-efficiency .consultant-separation-note>div:first-child{order:2}
body.ux-v91 #tab-consultant-efficiency .consultant-separation-note>div:last-child{order:1;border-color:rgba(16,185,129,.26)!important;background:rgba(6,78,59,.12)!important}
@media(max-width:980px){body.ux-v91 #tab-consultant-efficiency .commercial-page-header-v91{grid-template-columns:1fr}}
@media(max-width:720px){body.ux-v91 #tab-consultant-efficiency .consultant-analysis-switch{grid-template-columns:1fr!important}}


/* ===== V143 visual source block 44 ===== */

body.ux-v93 .v93-audit-panel{margin:16px 0;border:1px solid rgba(96,165,250,.24);border-radius:18px;background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(8,15,29,.98));overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.18)}
body.ux-v93 .v93-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid rgba(148,163,184,.13)}
body.ux-v93 .v93-audit-head h3{margin:0;color:#F8FAFC;font-size:17px;line-height:1.2}
body.ux-v93 .v93-audit-head p{margin:6px 0 0;max-width:820px;color:#A5B3CA;font-size:10px;line-height:1.55}
body.ux-v93 .v93-audit-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.ux-v93 .v93-audit-status{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(16,185,129,.28);background:rgba(6,78,59,.20);color:#A7F3D0;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap}
body.ux-v93 .v93-audit-status.is-error{border-color:rgba(239,68,68,.34);background:rgba(127,29,29,.20);color:#FECACA}
body.ux-v93 .v93-audit-status.is-warning{border-color:rgba(245,158,11,.34);background:rgba(120,53,15,.20);color:#FDE68A}
body.ux-v93 .v93-audit-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 18px}
body.ux-v93 .v93-audit-summary article{min-width:0;padding:12px 13px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:rgba(2,6,23,.28)}
body.ux-v93 .v93-audit-summary span{display:block;color:#8494B1;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}
body.ux-v93 .v93-audit-summary strong{display:block;margin-top:5px;color:#F8FAFC;font-size:18px;line-height:1.1}
body.ux-v93 .v93-audit-summary small{display:block;margin-top:4px;color:#94A3B8;font-size:8px;line-height:1.35}
body.ux-v93 .v93-audit-table-wrap{overflow:auto;border-top:1px solid rgba(148,163,184,.12)}
body.ux-v93 .v93-audit-table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0}
body.ux-v93 .v93-audit-table th,body.ux-v93 .v93-audit-table td{padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.10);vertical-align:top;font-size:9px;line-height:1.4}
body.ux-v93 .v93-audit-table th{position:sticky;top:0;z-index:2;background:#111A2D;color:#91A1BD;text-align:left;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
body.ux-v93 .v93-audit-table td{color:#CAD4E5}
body.ux-v93 .v93-audit-table td:nth-child(1){width:110px}
body.ux-v93 .v93-audit-table td:nth-child(2){width:190px;color:#F1F5F9;font-weight:800}
body.ux-v93 .v93-audit-table td:nth-child(3){width:300px}
body.ux-v93 .v93-audit-table td:nth-child(4){width:210px;color:#A5B4FC}
body.ux-v93 .v93-audit-table td:nth-child(5){min-width:230px;color:#94A3B8}
body.ux-v93 .v93-check{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:25px;padding:0 8px;border-radius:999px;border:1px solid rgba(16,185,129,.28);background:rgba(6,78,59,.18);color:#A7F3D0;font-size:8px;font-weight:900;text-transform:uppercase}
body.ux-v93 .v93-check.error{border-color:rgba(239,68,68,.35);background:rgba(127,29,29,.18);color:#FECACA}
body.ux-v93 .v93-check.warning{border-color:rgba(245,158,11,.35);background:rgba(120,53,15,.18);color:#FDE68A}
body.ux-v93 .v93-reconciliation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 16px 14px}
body.ux-v93 .v93-reconciliation>div{padding:10px 11px;border:1px solid rgba(16,185,129,.22);border-radius:11px;background:rgba(6,78,59,.10)}
body.ux-v93 .v93-reconciliation>div.is-error{border-color:rgba(239,68,68,.32);background:rgba(127,29,29,.13)}
body.ux-v93 .v93-reconciliation span{display:block;color:#8EA0BE;font-size:8px;font-weight:850;text-transform:uppercase}
body.ux-v93 .v93-reconciliation strong{display:block;margin-top:4px;color:#F8FAFC;font-size:14px}
body.ux-v93 .v93-consistency-note{margin:0 18px 16px;padding:11px 13px;border:1px solid rgba(96,165,250,.18);border-radius:12px;background:rgba(30,64,175,.08);color:#B9C9E4;font-size:9px;line-height:1.55}
body.ux-v93 .v93-top-consistency{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding:7px 9px;border:1px solid rgba(16,185,129,.27);border-radius:999px;background:rgba(6,78,59,.17);color:#A7F3D0;font-size:8px;font-weight:900;text-transform:uppercase;white-space:nowrap}
body.ux-v93 .v93-top-consistency.is-error{border-color:rgba(239,68,68,.32);background:rgba(127,29,29,.16);color:#FECACA}
@media(max-width:1150px){body.ux-v93 .v93-audit-summary{grid-template-columns:repeat(3,minmax(0,1fr))}body.ux-v93 .v93-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.ux-v93 .v93-audit-head{flex-direction:column}body.ux-v93 .v93-audit-actions{justify-content:flex-start}body.ux-v93 .v93-audit-summary,body.ux-v93 .v93-reconciliation{grid-template-columns:1fr}}


/* ===== V143 visual source block 45 ===== */

body.ux-v94 .v94-paid-kpi{border-color:rgba(16,185,129,.31)!important;background:linear-gradient(145deg,rgba(6,78,59,.13),var(--bg-card) 64%)!important}
body.ux-v94 .v94-paid-kpi .forecast-kpi-value{color:#34D399!important}
body.ux-v94 .v94-paid-panel,body.ux-v94 .v94-history-panel{margin-top:14px;overflow:hidden}
body.ux-v94 .v94-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--border-color)}
body.ux-v94 .v94-panel-head h3{margin:0;color:#F8FAFC;font-size:15px;line-height:1.2}
body.ux-v94 .v94-panel-head p{margin:5px 0 0;max-width:820px;color:var(--text-muted);font-size:10px;line-height:1.5}
body.ux-v94 .v94-panel-badge{white-space:nowrap;padding:7px 10px;border:1px solid rgba(16,185,129,.27);border-radius:999px;background:rgba(6,78,59,.14);color:#A7F3D0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
body.ux-v94 .v94-paid-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 16px}
body.ux-v94 .v94-paid-summary article{min-width:0;padding:11px 12px;border:1px solid var(--border-color);border-radius:11px;background:rgba(2,6,23,.24)}
body.ux-v94 .v94-paid-summary span{display:block;color:var(--text-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}
body.ux-v94 .v94-paid-summary strong{display:block;margin-top:5px;color:#F8FAFC;font-size:18px;line-height:1.1}
body.ux-v94 .v94-paid-summary small{display:block;margin-top:4px;color:#94A3B8;font-size:8px;line-height:1.35}
body.ux-v94 .v94-paid-table-wrap,body.ux-v94 .v94-history-table-wrap{max-height:520px;overflow:auto;border-top:1px solid var(--border-color)}
body.ux-v94 .v94-paid-table,body.ux-v94 .v94-history-table{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0}
body.ux-v94 .v94-paid-table th,body.ux-v94 .v94-paid-table td,body.ux-v94 .v94-history-table th,body.ux-v94 .v94-history-table td{padding:10px 12px;border-bottom:1px solid var(--border-color);font-size:9px;text-align:right;vertical-align:middle}
body.ux-v94 .v94-paid-table th,body.ux-v94 .v94-history-table th{position:sticky;top:0;z-index:2;background:#111827;color:#93A4C2;font-size:8px;text-transform:uppercase;letter-spacing:.045em}
body.ux-v94 .v94-paid-table th:first-child,body.ux-v94 .v94-paid-table td:first-child,body.ux-v94 .v94-history-table th:first-child,body.ux-v94 .v94-history-table td:first-child{text-align:left}
body.ux-v94 .v94-paid-table tbody tr:hover td,body.ux-v94 .v94-history-table tbody tr:hover td{background:rgba(59,130,246,.035)}
body.ux-v94 .v94-paid-now{color:#34D399;font-weight:850}
body.ux-v94 .v94-paid-forecast{color:#6EE7B7;font-weight:900}
body.ux-v94 .v94-paid-additional{color:#67E8F9;font-weight:850}
body.ux-v94 .v94-paid-reconciliation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 16px 14px}
body.ux-v94 .v94-paid-reconciliation>div{padding:10px 11px;border:1px solid rgba(16,185,129,.22);border-radius:11px;background:rgba(6,78,59,.10)}
body.ux-v94 .v94-paid-reconciliation>div.is-error{border-color:rgba(239,68,68,.32);background:rgba(127,29,29,.13)}
body.ux-v94 .v94-paid-reconciliation span{display:block;color:#8EA0BE;font-size:8px;font-weight:850;text-transform:uppercase}
body.ux-v94 .v94-paid-reconciliation strong{display:block;margin-top:4px;color:#F8FAFC;font-size:14px}
body.ux-v94 .v94-method-note{margin:0 16px 14px;padding:11px 13px;border:1px solid rgba(96,165,250,.18);border-radius:12px;background:rgba(30,64,175,.08);color:#B9C9E4;font-size:9px;line-height:1.55}
body.ux-v94 .v94-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:14px 16px}
body.ux-v94 .v94-history-summary article{padding:10px 12px;border:1px solid var(--border-color);border-radius:11px;background:rgba(2,6,23,.24)}
body.ux-v94 .v94-history-summary span{display:block;color:#8798B6;font-size:8px;font-weight:850;text-transform:uppercase}
body.ux-v94 .v94-history-summary strong{display:block;margin-top:4px;color:#F8FAFC;font-size:16px}
body.ux-v94 .v94-history-current td{background:rgba(59,130,246,.055)}
body.ux-v94 .v94-history-tag{display:inline-flex;padding:4px 7px;border-radius:999px;border:1px solid rgba(96,165,250,.22);background:rgba(30,64,175,.11);color:#BFDBFE;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v94 .v94-audit-paid{border-color:rgba(16,185,129,.25)!important;background:rgba(6,78,59,.12)!important}
@media(max-width:1180px){body.ux-v94 .v94-paid-summary{grid-template-columns:repeat(3,minmax(0,1fr))}body.ux-v94 .v94-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.ux-v94 .v94-panel-head{flex-direction:column}body.ux-v94 .v94-paid-summary,body.ux-v94 .v94-history-summary,body.ux-v94 .v94-paid-reconciliation{grid-template-columns:1fr}}


/* ===== V143 visual source block 46 ===== */

:root{--bi96-bg:#0a1120;--bi96-panel:#10192d;--bi96-card:#131d33;--bi96-border:rgba(148,163,184,.16);--bi96-blue:#3b82f6;--bi96-purple:#8b5cf6;--bi96-cyan:#22d3ee;--bi96-green:#10b981;--bi96-amber:#f59e0b;--bi96-red:#ef4444}
body.ux-v96 .sidebar-group-title{font-size:9px!important;letter-spacing:.12em!important}
body.ux-v96 .sidebar-nav-button{min-height:68px!important}
body.ux-v96 .sidebar-nav-icon{width:38px!important;height:38px!important;border-radius:12px!important}
body.ux-v96 .sidebar-nav-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ux-v96 .v96-group-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:7px;border:1px solid var(--bi96-border);border-radius:16px;background:#0b1324}
body.ux-v96 .v96-group-subnav button{min-height:42px;padding:9px 14px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aebbd2;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
body.ux-v96 .v96-group-subnav button:hover{background:rgba(255,255,255,.04);color:#fff}
body.ux-v96 .v96-group-subnav button.active{border-color:rgba(96,165,250,.38);background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(124,58,237,.24));color:#fff}
#tab-bi-center{display:none;gap:16px}
#tab-bi-center.active{display:flex;flex-direction:column}
.v96-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border:1px solid rgba(96,165,250,.24);border-radius:22px;background:radial-gradient(circle at 88% 12%,rgba(34,211,238,.13),transparent 30%),linear-gradient(135deg,#171033,#10172b 58%,#0d1727);box-shadow:0 18px 46px rgba(0,0,0,.18)}
.v96-eyebrow{display:inline-flex;padding:6px 10px;border:1px solid rgba(34,211,238,.22);border-radius:999px;background:rgba(34,211,238,.08);color:#a5f3fc;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.v96-hero h2{margin:11px 0 6px;color:#f7f9ff;font-size:27px;letter-spacing:-.035em}.v96-hero p{margin:0;max-width:850px;color:#b7c2da;font-size:12px;line-height:1.55}
.v96-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v96-btn{min-height:40px;padding:9px 13px;border:1px solid var(--bi96-border);border-radius:11px;background:#111a2d;color:#e7eefc;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.v96-btn:hover{border-color:rgba(96,165,250,.38);background:#16223b}.v96-btn.primary{border-color:rgba(139,92,246,.45);background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff}
.v96-filter-panel{padding:16px;border:1px solid var(--bi96-border);border-radius:19px;background:linear-gradient(180deg,rgba(16,25,45,.98),rgba(11,18,33,.98))}
.v96-filter-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.v96-filter-head strong{color:#f3f6ff;font-size:14px}.v96-filter-head span{color:#8998b4;font-size:9px}
.v96-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v96-field{display:flex;flex-direction:column;gap:5px;min-width:0}.v96-field label{color:#8d9bb5;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.v96-field select,.v96-field input{width:100%;min-width:0;height:42px;padding:0 11px;border:1px solid rgba(148,163,184,.17);border-radius:11px;background:#121d33;color:#edf2ff;font:inherit;font-size:10px;outline:none}.v96-field select:focus,.v96-field input:focus{border-color:rgba(96,165,250,.6);box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.v96-filter-actions{display:flex;align-items:flex-end;gap:8px}.v96-filter-actions .v96-btn{flex:1}
.v96-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.v96-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(96,165,250,.22);border-radius:999px;background:rgba(37,99,235,.09);color:#d9e7ff;font-size:9px;font-weight:800}.v96-chip button{border:0;background:none;color:#93c5fd;cursor:pointer;font-size:13px;line-height:1}.v96-chip-context{color:#7f8da8;font-size:9px;align-self:center}
.v96-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:7px;border:1px solid var(--bi96-border);border-radius:17px;background:#0b1221}.v96-tabs button{min-height:48px;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#9eacc5;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.v96-tabs button.active{border-color:rgba(96,165,250,.38);background:linear-gradient(135deg,rgba(37,99,235,.25),rgba(124,58,237,.23));color:#fff}.v96-tabs button:hover{color:#fff;background:rgba(255,255,255,.035)}
.v96-panel{display:none}.v96-panel.active{display:block}
.v96-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v96-kpi{position:relative;min-width:0;min-height:138px;padding:16px;border:1px solid var(--bi96-border);border-radius:17px;background:linear-gradient(180deg,#141e34,#10192c);overflow:hidden;cursor:pointer}.v96-kpi:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--tone,#3b82f6),#8b5cf6)}.v96-kpi:hover{transform:translateY(-1px);border-color:rgba(96,165,250,.34)}.v96-kpi small{display:block;color:#8f9db7;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;line-height:1.35;padding-right:16px}.v96-kpi strong{display:block;margin-top:10px;color:#f5f7ff;font-size:clamp(22px,1.75vw,30px);line-height:1.04;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.v96-kpi strong.money{font-size:clamp(19px,1.45vw,25px);line-height:1.06}.v96-kpi span{display:block;margin-top:8px;color:#9dabc4;font-size:9px;line-height:1.4}.v96-kpi em{position:absolute;right:12px;top:11px;color:#6f7f9c;font-style:normal;font-size:10px}
.v96-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.v96-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.v96-card{min-width:0;padding:18px;border:1px solid var(--bi96-border);border-radius:19px;background:linear-gradient(180deg,#121c31,#0f182b)}.v96-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.v96-card-head strong{display:block;color:#f3f6ff;font-size:14px}.v96-card-head span{display:block;margin-top:4px;color:#8493ae;font-size:9px;line-height:1.4}.v96-card-head .v96-btn{min-height:34px;padding:7px 9px}.v96-chart{position:relative;height:320px;min-height:320px}.v96-chart.sm{height:270px;min-height:270px}.v96-chart canvas{width:100%!important;height:100%!important}
.v96-table-wrap{overflow:auto;border:1px solid rgba(148,163,184,.12);border-radius:14px}.v96-table{width:100%;border-collapse:collapse;min-width:850px}.v96-table th{padding:11px 10px;background:#121c31;color:#91a0bb;font-size:8px;letter-spacing:.05em;text-transform:uppercase;text-align:left;position:sticky;top:0;z-index:1}.v96-table td{padding:11px 10px;border-top:1px solid rgba(148,163,184,.1);color:#dce5f5;font-size:9px}.v96-table tbody tr{cursor:pointer}.v96-table tbody tr:hover{background:rgba(59,130,246,.07)}.v96-table td.num{text-align:right;font-variant-numeric:tabular-nums}.v96-table .muted{color:#8391aa}.v96-table .good{color:#34d399}.v96-table .warn{color:#fbbf24}.v96-table .bad{color:#fb7185}
.v96-rank{display:flex;flex-direction:column;gap:8px}.v96-rank-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,2fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid rgba(148,163,184,.11);border-radius:11px;background:rgba(15,23,42,.48);cursor:pointer}.v96-rank-row:hover{border-color:rgba(96,165,250,.27)}.v96-rank-row b{min-width:0;color:#dfe7f5;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v96-rank-row .track{height:8px;border-radius:999px;background:#202b40;overflow:hidden}.v96-rank-row .track i{display:block;height:100%;width:var(--w);border-radius:999px;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}.v96-rank-row span{color:#f2f6ff;font-size:9px;font-weight:850;font-variant-numeric:tabular-nums}
.v96-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.v96-funnel-step{position:relative;padding:15px;border:1px solid var(--bi96-border);border-radius:15px;background:#111b30}.v96-funnel-step:not(:last-child):after{content:"→";position:absolute;right:-10px;top:50%;transform:translateY(-50%);z-index:2;color:#64748b;font-weight:900}.v96-funnel-step small{display:block;color:#8796b0;font-size:8px;font-weight:900;text-transform:uppercase}.v96-funnel-step strong{display:block;margin-top:8px;color:#f5f7ff;font-size:21px}.v96-funnel-step span{display:block;margin-top:4px;color:#8fa0bc;font-size:8px}.v96-funnel-step i{display:block;height:3px;margin-top:10px;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#8b5cf6)}
.v96-alerts{display:flex;flex-direction:column;gap:9px}.v96-alert{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:#111a2d;cursor:pointer}.v96-alert:hover{border-color:rgba(96,165,250,.3)}.v96-alert-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(245,158,11,.11);color:#fbbf24;font-weight:900}.v96-alert strong{display:block;color:#eef3ff;font-size:10px}.v96-alert span{display:block;margin-top:3px;color:#8d9bb5;font-size:8px;line-height:1.4}.v96-alert em{color:#7f8ca4;font-size:8px;font-style:normal}
.v96-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v96-summary-item{padding:13px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:#111a2d}.v96-summary-item span{display:block;color:#8998b3;font-size:8px;font-weight:850;text-transform:uppercase}.v96-summary-item strong{display:block;margin-top:7px;color:#f3f6ff;font-size:18px}.v96-summary-item small{display:block;margin-top:4px;color:#8291ac;font-size:8px;line-height:1.35}
.v96-empty{display:grid;place-items:center;min-height:220px;padding:30px;border:1px dashed rgba(148,163,184,.18);border-radius:14px;color:#8594ae;font-size:10px;text-align:center}
.v96-modal{position:fixed;inset:0;z-index:99990;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,6,16,.76);backdrop-filter:blur(10px)}.v96-modal.open{display:flex}.v96-modal-card{width:min(980px,96vw);max-height:88vh;overflow:auto;border:1px solid rgba(96,165,250,.25);border-radius:22px;background:#0d1628;box-shadow:0 30px 90px rgba(0,0,0,.55)}.v96-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:19px 20px;border-bottom:1px solid var(--bi96-border)}.v96-modal-head strong{display:block;color:#f7f9ff;font-size:17px}.v96-modal-head span{display:block;margin-top:5px;color:#91a0ba;font-size:9px}.v96-close{width:36px;height:36px;border:1px solid var(--bi96-border);border-radius:10px;background:#121d32;color:#e7eefc;cursor:pointer}.v96-modal-body{padding:20px}.v96-formula{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:10px;align-items:center;margin:15px 0;padding:15px;border:1px solid rgba(96,165,250,.17);border-radius:14px;background:#101a2e}.v96-formula div{padding:11px;border-radius:10px;background:#151f35}.v96-formula small{display:block;color:#8493ad;font-size:8px;text-transform:uppercase}.v96-formula strong{display:block;margin-top:5px;color:#f3f6ff;font-size:15px}.v96-formula b{color:#7dd3fc;font-size:18px}.v96-explain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v96-explain-grid>div{padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:#111a2d}.v96-explain-grid small{display:block;color:#8492aa;font-size:8px;text-transform:uppercase}.v96-explain-grid strong{display:block;margin-top:6px;color:#edf3ff;font-size:10px;line-height:1.45}
.v96-drill-tools{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.v96-drill-tools input{flex:1;min-width:240px;height:39px;padding:0 11px;border:1px solid var(--bi96-border);border-radius:10px;background:#121d32;color:#fff}
.v96-saved-list{display:flex;flex-direction:column;gap:8px}.v96-saved-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid rgba(148,163,184,.13);border-radius:12px;background:#111a2d}.v96-saved-row strong{color:#eef3ff;font-size:10px}.v96-saved-row span{display:block;margin-top:4px;color:#8392ac;font-size:8px}.v96-saved-actions{display:flex;gap:6px}.v96-saved-actions button{padding:7px 9px;border:1px solid var(--bi96-border);border-radius:9px;background:#152039;color:#dce6f7;font-size:8px;cursor:pointer}
body.ux-v96 #consultant-footer-v64,body.ux-v96 .v64-consultant-footer{display:none!important}
@media(max-width:1250px){.v96-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.v96-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v96-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.v96-hero{grid-template-columns:1fr}.v96-hero-actions{justify-content:flex-start}.v96-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v96-grid-2,.v96-grid-3{grid-template-columns:1fr}.v96-funnel{grid-template-columns:1fr}.v96-funnel-step:not(:last-child):after{content:"↓";right:auto;left:50%;top:auto;bottom:-14px}.v96-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.v96-filter-grid,.v96-kpis,.v96-tabs,.v96-summary-strip{grid-template-columns:1fr}.v96-formula{grid-template-columns:1fr}.v96-formula b{text-align:center}.v96-explain-grid{grid-template-columns:1fr}}


/* ===== V143 visual source block 47 ===== */

body.ux-v96 .v96-chip.active{padding:9px 12px!important;border-color:rgba(139,92,246,.62)!important;background:linear-gradient(135deg,rgba(37,99,235,.36),rgba(124,58,237,.38))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(139,92,246,.18) inset,0 10px 24px rgba(76,29,149,.18)}
body.ux-v96 .v96-chip.active button{color:#fff!important}
body.ux-v96 .v96-chip-context{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px dashed rgba(96,165,250,.28);border-radius:999px;background:rgba(15,23,42,.65);color:#98a8c4;font-size:9px;font-weight:700}
body.ux-v96 .v96-field.has-selection label{color:#c4b5fd!important}
body.ux-v96 .v96-field.has-selection select,
body.ux-v96 .v96-field.has-selection input{border-color:rgba(139,92,246,.62)!important;background:linear-gradient(180deg,rgba(37,99,235,.16),rgba(124,58,237,.12))!important;box-shadow:0 0 0 3px rgba(124,58,237,.10)!important}
body.ux-v96 .v96-card.is-filtered{border-color:rgba(139,92,246,.42)!important;box-shadow:0 0 0 1px rgba(139,92,246,.12) inset}
body.ux-v96 .v96-card-head .v97-active-note{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(139,92,246,.38);border-radius:999px;background:rgba(124,58,237,.12);color:#ddd6fe;font-size:8px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
body.ux-v96 .v96-rank-row.is-selected,
body.ux-v96 .v96-table tbody tr.is-selected{border-color:rgba(139,92,246,.5)!important;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(124,58,237,.14))!important}
body.ux-v96 .v96-funnel-step.is-selected{border-color:rgba(139,92,246,.44)!important;background:linear-gradient(180deg,rgba(28,39,64,.98),rgba(20,29,52,.98))}
body.ux-v96 .v96-funnel-step small{letter-spacing:.05em}
body.ux-v96 .v96-funnel-note{grid-column:1/-1;padding:10px 12px;border:1px dashed rgba(96,165,250,.22);border-radius:12px;background:rgba(15,23,42,.55);color:#91a4c0;font-size:8px;line-height:1.45}


/* ===== V143 visual source block 48 ===== */

/* V98 — recorte global explícito, navegação clara e páginas especializadas independentes. */
body.ux-v96 .sidebar-nav-button.active{
  border-color:rgba(96,165,250,.78)!important;
  background:linear-gradient(135deg,rgba(37,99,235,.32),rgba(124,58,237,.30))!important;
  box-shadow:inset 4px 0 0 #60a5fa,0 0 0 1px rgba(96,165,250,.14),0 10px 28px rgba(37,99,235,.12)!important;
}
body.ux-v96 .sidebar-nav-button.active .sidebar-nav-copy strong{color:#fff!important}
body.ux-v96 .v96-tabs{position:relative;border-color:rgba(96,165,250,.24)!important}
body.ux-v96 .v96-tabs button{position:relative;font-size:10px!important;transition:.16s ease}
body.ux-v96 .v96-tabs button.active{
  border-color:rgba(125,211,252,.78)!important;
  background:linear-gradient(135deg,#2563eb,#6d3de4)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(37,99,235,.24),inset 0 -3px 0 #67e8f9!important;
}
body.ux-v96 .v96-tabs button.active:after{content:"ABA ATUAL";display:block;margin-top:3px;color:#dff8ff;font-size:6px;font-weight:950;letter-spacing:.08em}
body.ux-v96 .v96-group-subnav button.active,
body.ux-v96 .v69-subnav button.active{
  border-color:rgba(96,165,250,.75)!important;
  background:linear-gradient(135deg,rgba(37,99,235,.35),rgba(124,58,237,.32))!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 #60a5fa!important;
}
body.ux-v96 .v96-filter-panel{border-color:rgba(96,165,250,.32)!important;box-shadow:0 12px 32px rgba(2,6,23,.18)}
body.ux-v96 .v96-field.has-selection{padding:7px;border:1px solid rgba(34,211,238,.68)!important;border-radius:13px;background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(16,185,129,.09))!important;box-shadow:0 0 0 3px rgba(34,211,238,.06)}
body.ux-v96 .v96-field.has-selection label{color:#a5f3fc!important}
body.ux-v96 .v96-field.has-selection select,
body.ux-v96 .v96-field.has-selection input{border-color:rgba(103,232,249,.62)!important;background:#0c1b32!important;color:#fff!important;font-weight:850}
body.ux-v96 .v96-chip.active{padding:9px 12px!important;border-color:rgba(103,232,249,.72)!important;background:linear-gradient(135deg,rgba(37,99,235,.35),rgba(16,185,129,.20))!important;color:#fff!important;box-shadow:0 7px 18px rgba(37,99,235,.16)}
body.ux-v96 .v97-recorte-badge{display:none!important}
.v98-scope-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:15px 17px;border:1px solid rgba(103,232,249,.42);border-radius:18px;background:linear-gradient(135deg,rgba(13,38,68,.98),rgba(30,22,72,.96));box-shadow:0 14px 35px rgba(2,6,23,.22)}
.v98-scope-copy small{display:block;color:#67e8f9;font-size:8px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.v98-scope-copy strong{display:block;margin-top:5px;color:#fff;font-size:16px;line-height:1.25}.v98-scope-copy span{display:block;margin-top:5px;color:#aebed7;font-size:9px;line-height:1.45}.v98-scope-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v98-scope-stat{min-width:92px;padding:9px 11px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:rgba(9,17,34,.64)}.v98-scope-stat small{display:block;color:#8ea0bd;font-size:7px;font-weight:900;text-transform:uppercase}.v98-scope-stat strong{display:block;margin-top:4px;color:#fff;font-size:15px}.v98-scope-clear{min-height:40px;padding:9px 12px;border:1px solid rgba(251,113,133,.32);border-radius:11px;background:rgba(190,24,93,.10);color:#fecdd3;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.v96-card.is-filtered,.v96-kpi.is-filtered{border-color:rgba(103,232,249,.32)!important}.v97-active-note{border-color:rgba(103,232,249,.5)!important;background:rgba(6,182,212,.16)!important;color:#cffafe!important;font-size:9px!important;font-weight:900!important}
body.ux-v96 #floating-period-widget,body.ux-v96 .floating-period-widget,body.ux-v96 .period-floating-widget{max-width:300px;opacity:.94}body.ux-v96 #floating-period-widget strong,body.ux-v96 .floating-period-widget strong,body.ux-v96 .period-floating-widget strong{font-size:20px}
.v96-funnel{grid-template-columns:repeat(5,minmax(0,1fr))!important}.v96-funnel-note{grid-column:1/-1;margin-top:3px;padding:11px 13px;border:1px solid rgba(103,232,249,.2);border-radius:12px;background:rgba(8,26,48,.75);color:#a9bdd8;font-size:9px;line-height:1.5}.v96-funnel-note b{color:#67e8f9}.v96-funnel-step.v98-current{border-color:rgba(103,232,249,.55)!important;background:linear-gradient(180deg,rgba(25,56,91,.95),rgba(17,27,48,.98))!important}
.v98-consultant-selection{display:none;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding:9px 11px;border:1px solid rgba(96,165,250,.35);border-radius:11px;background:rgba(37,99,235,.10);color:#dbeafe;font-size:9px;font-weight:850}.v98-consultant-selection.show{display:flex}.v98-consultant-selection button{border:1px solid rgba(251,113,133,.28);border-radius:8px;background:rgba(190,24,93,.10);color:#fecdd3;padding:6px 9px;font:inherit;font-size:8px;font-weight:900;cursor:pointer}
.v98-financial-guide{margin:0 0 16px;padding:18px;border:1px solid rgba(96,165,250,.25);border-radius:20px;background:linear-gradient(135deg,#101b31,#15162f)}.v98-financial-guide h3{margin:0;color:#fff;font-size:18px}.v98-financial-guide>p{margin:6px 0 15px;color:#93a5c1;font-size:9px;line-height:1.5}.v98-fin-flow{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.v98-fin-step{position:relative;min-width:0;padding:12px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:#101a2e}.v98-fin-step:not(:last-child):after{content:"→";position:absolute;right:-8px;top:50%;z-index:2;color:#64748b;font-weight:900}.v98-fin-step small{display:block;color:#8fa0bc;font-size:7px;font-weight:900;text-transform:uppercase;line-height:1.35}.v98-fin-step strong{display:block;margin-top:7px;color:#fff;font-size:15px;line-height:1.1;overflow-wrap:anywhere}.v98-fin-step span{display:block;margin-top:5px;color:#7f91ae;font-size:7px;line-height:1.35}.v98-fin-step.good{border-color:rgba(16,185,129,.35)}.v98-fin-step.cost{border-color:rgba(245,158,11,.32)}.v98-fin-detail-title{margin:15px 0 10px;padding-top:14px;border-top:1px solid rgba(148,163,184,.12);color:#c8d5e9;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.v98-forecast-check{margin-top:8px;padding:8px 10px;border:1px solid rgba(16,185,129,.26);border-radius:10px;background:rgba(16,185,129,.08);color:#a7f3d0;font-size:8px;line-height:1.4}
.v98-empty-state{display:grid;place-items:center;min-height:120px;padding:22px;border:1px dashed rgba(148,163,184,.22);border-radius:13px;background:rgba(8,15,28,.44);color:#91a2bd;font-size:9px;text-align:center;line-height:1.55}
@media(max-width:1180px){.v98-fin-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.v98-scope-banner{grid-template-columns:1fr}.v98-scope-stats{justify-content:flex-start}}
@media(max-width:760px){.v98-fin-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.v98-scope-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.v96-funnel{grid-template-columns:1fr!important}.v96-funnel-step:after{display:none!important}}


/* ===== V143 visual source block 49 ===== */

body.ux-v96 .v96-funnel.v102-coverage-mode{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.ux-v96 .v96-funnel.v102-coverage-mode .v96-funnel-step:after{display:none!important}
body.ux-v96 .v96-funnel.v102-coverage-mode .v96-funnel-step{border-color:rgba(34,211,238,.28);background:linear-gradient(145deg,rgba(15,31,55,.96),rgba(16,25,45,.98))}
body.ux-v96 .v96-funnel.v102-coverage-mode .v96-funnel-step strong{font-size:24px}
body.ux-v96 .v96-funnel.v102-coverage-mode .v96-funnel-step span{min-height:26px;line-height:1.45}
body.ux-v96 .v102-forecast-context{grid-column:1/-1;padding:11px 13px;border:1px solid rgba(34,211,238,.22);border-radius:12px;background:rgba(8,47,73,.25);color:#b9e9f5;font-size:9px;line-height:1.55}
body.ux-v96 .v102-forecast-context b{color:#67e8f9}
body.ux-v96 .v102-no-forecast{grid-column:1/-1;padding:16px;border:1px dashed rgba(148,163,184,.25);border-radius:13px;background:rgba(15,23,42,.52);color:#a9b7ce;font-size:10px;line-height:1.55}
body.ux-v96 .v102-no-forecast strong{display:block;margin-bottom:5px;color:#eef5ff;font-size:12px}
@media(max-width:980px){body.ux-v96 .v96-funnel.v102-coverage-mode{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== V143 visual source block 50 ===== */

html,body{overflow-x:hidden!important}
body.ux-v130 .v109-table-wrap,body.ux-v130 .financial-table-wrap{overflow:visible!important;max-height:none!important;scrollbar-gutter:auto!important}
body.ux-v130 .v109-table,body.ux-v130 .v109-table.v111-wide-table,body.ux-v130 .v109-table.v111-medium-table,body.ux-v130 .financial-table{display:block!important;width:100%!important;min-width:0!important;table-layout:fixed!important}
body.ux-v130 .v109-table thead,body.ux-v130 .financial-table thead{display:none!important}
body.ux-v130 .v109-table tbody,body.ux-v130 .financial-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:10px!important}
body.ux-v130 .v109-table tbody tr,body.ux-v130 .financial-table tbody tr{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border:1px solid rgba(148,163,184,.15)!important;border-radius:13px!important;background:linear-gradient(180deg,#111c30,#0d1729)!important;overflow:hidden!important}
body.ux-v130 .v109-table tbody td,body.ux-v130 .financial-table tbody td{display:flex!important;min-width:0!important;padding:10px 11px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;border:0!important;border-right:1px solid rgba(148,163,184,.08)!important;border-bottom:1px solid rgba(148,163,184,.08)!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.ux-v130 .v109-table tbody td:first-child,body.ux-v130 .financial-table tbody td:first-child{grid-column:1/-1!important;padding:12px!important;background:rgba(59,130,246,.055)!important;color:#f3f7ff!important;font-size:10px!important;font-weight:900!important}
body.ux-v130 .v109-table tbody td::before,body.ux-v130 .financial-table tbody td::before{content:attr(data-label);display:block;color:#7f90ae;font-size:7px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
body.ux-v130 .v109-table tbody td:first-child::before,body.ux-v130 .financial-table tbody td:first-child::before{display:none}
body.ux-v130 .v109-table .num{align-items:flex-start!important;text-align:left!important}
body.ux-v130 .v123-monthly-result,body.ux-v130 .financial-chart-card,body.ux-v130 .financial-table-card{min-width:0!important;max-width:100%!important;overflow:hidden!important}
body.ux-v130 .v123-monthly-chart{min-width:0!important}
@media(max-width:1100px){body.ux-v130 .v109-table tbody tr,body.ux-v130 .financial-table tbody tr{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){body.ux-v130 .v109-table tbody tr,body.ux-v130 .financial-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* ===== V143 visual source block 51 ===== */

body.ux-v134 .v134-intelligence-panel{margin-bottom:18px;overflow:hidden}
body.ux-v134 .v134-intelligence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
body.ux-v134 .v134-intelligence-head .header-title-group strong{display:block;color:#F8FAFC;font-size:16px;line-height:1.2}
body.ux-v134 .v134-intelligence-head .header-title-group span{display:block;margin-top:5px;max-width:900px;color:#8FA1C5;font-size:10px;line-height:1.55}
body.ux-v134 .v134-scope-badge{white-space:nowrap;padding:7px 11px;border-radius:999px;border:1px solid rgba(96,165,250,.25);background:rgba(37,99,235,.10);color:#BFDBFE;font-size:8px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
body.ux-v134 .v134-view-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:12px 18px;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);background:rgba(2,6,23,.18)}
body.ux-v134 .v134-view-tabs button{border:1px solid rgba(148,163,184,.16);border-radius:999px;background:#10192c;color:#9AAAC5;padding:8px 12px;font-size:9px;font-weight:850;cursor:pointer}
body.ux-v134 .v134-view-tabs button.active{border-color:rgba(52,211,153,.35);background:rgba(6,78,59,.22);color:#A7F3D0}
body.ux-v134 .v134-view{display:none;padding:15px 18px 18px}
body.ux-v134 .v134-view.active{display:block}
body.ux-v134 .v134-general-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr);gap:16px}
body.ux-v134 .v134-funnel-graphic{display:flex;flex-direction:column;gap:9px;justify-content:center;min-width:0}
body.ux-v134 .v134-funnel-step{position:relative;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border:1px solid rgba(96,165,250,.16);border-radius:17px;clip-path:polygon(3% 0,100% 0,97% 100%,0 100%);background:linear-gradient(180deg,#13213a,#0f192b);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
body.ux-v134 .v134-funnel-step[data-stage="1"]{background:linear-gradient(90deg,rgba(59,130,246,.19),rgba(30,64,175,.06) 75%),linear-gradient(180deg,#13213a,#0f192b)}
body.ux-v134 .v134-funnel-step[data-stage="2"]{background:linear-gradient(90deg,rgba(16,185,129,.17),rgba(5,150,105,.05) 75%),linear-gradient(180deg,#13213a,#0f192b)}
body.ux-v134 .v134-funnel-step[data-stage="3"]{background:linear-gradient(90deg,rgba(168,85,247,.18),rgba(124,58,237,.05) 75%),linear-gradient(180deg,#13213a,#0f192b)}
body.ux-v134 .v134-funnel-step[data-stage="4"]{background:linear-gradient(90deg,rgba(34,211,238,.16),rgba(8,145,178,.05) 75%),linear-gradient(180deg,#13213a,#0f192b)}
body.ux-v134 .v134-funnel-step::after{content:"";position:absolute;inset:auto 18px 0 18px;height:3px;border-radius:999px;background:linear-gradient(90deg,rgba(167,139,250,.9),rgba(34,211,238,.95))}
body.ux-v134 .v134-step-copy{min-width:0}.v134-step-copy small{display:block;color:#A7F3D0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.v134-step-copy b{display:block;margin-top:4px;color:#F8FAFC;font-size:13px}.v134-step-copy span{display:block;margin-top:3px;color:#93A7C7;font-size:9px;line-height:1.45}
body.ux-v134 .v134-step-value{flex:0 0 auto;text-align:right}.v134-step-value strong{display:block;color:#F8FAFC;font-size:27px;line-height:1}.v134-step-value span{display:block;margin-top:5px;color:#A5B4FC;font-size:9px;font-weight:850}
body.ux-v134 .v134-connector{display:flex;justify-content:center}.v134-connector span{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:rgba(15,23,42,.76);color:#AEBAD1;font-size:8px;font-weight:850}.v134-connector b{color:#F8FAFC;font-size:10px}
body.ux-v134 .v134-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}
body.ux-v134 .v134-metric{min-width:0;padding:12px 13px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:linear-gradient(180deg,rgba(15,23,42,.94),rgba(9,14,25,.98))}.v134-metric small{display:block;color:#8FA1C5;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.v134-metric strong{display:block;margin-top:6px;color:#F8FAFC;font-size:18px;line-height:1.1}.v134-metric span{display:block;margin-top:5px;color:#AEBAD1;font-size:8px;line-height:1.45}
body.ux-v134 .v134-note{margin-top:13px;color:#AEBAD1;font-size:9px;line-height:1.6}
body.ux-v134 .v134-empty{padding:18px;border:1px dashed rgba(148,163,184,.20);border-radius:15px;background:rgba(15,23,42,.44);color:#8FA1C5;font-size:10px;line-height:1.55}
body.ux-v134 .v134-compare-toolbar{display:grid;grid-template-columns:150px repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}.v134-compare-toolbar label{display:flex;flex-direction:column;gap:5px;color:#8FA1C5;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.v134-compare-toolbar select{min-width:0;width:100%;height:36px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#10192c;color:#E5EDF9;padding:0 9px;font-size:9px}
body.ux-v134 .v134-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ux-v134 .v134-compare-card{min-width:0;padding:14px;border:1px solid rgba(148,163,184,.14);border-radius:17px;background:linear-gradient(180deg,#111c30,#0c1525)}.v134-compare-card h4{margin:0;color:#F8FAFC;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.v134-compare-card>small{display:block;margin-top:4px;color:#8092B0;font-size:8px}.v134-mini-funnel{display:grid;gap:7px;margin-top:12px}.v134-mini-stage{display:grid;grid-template-columns:minmax(90px,1fr) 1.4fr auto;align-items:center;gap:8px}.v134-mini-stage label{color:#AEBAD1;font-size:8px;font-weight:800}.v134-mini-track{height:8px;border-radius:999px;background:#202D43;overflow:hidden}.v134-mini-track i{display:block;height:100%;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE)}.v134-mini-stage strong{color:#F8FAFC;font-size:10px}.v134-compare-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.v134-compare-stats div{padding:8px;border:1px solid rgba(148,163,184,.11);border-radius:10px;background:rgba(2,6,23,.20)}.v134-compare-stats small{display:block;color:#7F91AD;font-size:7px;font-weight:900;text-transform:uppercase}.v134-compare-stats strong{display:block;margin-top:4px;color:#F8FAFC;font-size:11px}.v134-score-pill{display:inline-flex;margin-top:10px;padding:6px 9px;border-radius:999px;background:rgba(16,185,129,.13);border:1px solid rgba(16,185,129,.22);color:#A7F3D0;font-size:8px;font-weight:900}
body.ux-v134 .v134-section-copy{margin-bottom:12px}.v134-section-copy strong{display:block;color:#F8FAFC;font-size:13px}.v134-section-copy span{display:block;margin-top:4px;color:#8FA1C5;font-size:9px;line-height:1.5}
body.ux-v134 .v134-quality-grid,body.ux-v134 .v134-consultant-grid,body.ux-v134 .v134-modality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.ux-v134 .v134-rank-card{min-width:0;padding:13px;border:1px solid rgba(148,163,184,.14);border-radius:15px;background:linear-gradient(180deg,#111c30,#0d1728)}.v134-rank-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.v134-rank-head h4{margin:0;color:#F8FAFC;font-size:10px;line-height:1.35;overflow-wrap:anywhere}.v134-rank-head b{flex:0 0 auto;color:#A7F3D0;font-size:18px}.v134-rank-sub{display:block;margin-top:4px;color:#7F91AD;font-size:8px}.v134-rank-bars{display:grid;gap:7px;margin-top:11px}.v134-rank-line{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:7px}.v134-rank-line span{color:#91A3BF;font-size:7px}.v134-rank-line i{display:block;height:6px;border-radius:999px;background:#202D43;overflow:hidden}.v134-rank-line i::after{content:"";display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE)}.v134-rank-line strong{color:#E8EEF9;font-size:8px}.v134-card-foot{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.v134-card-foot span{padding:5px 7px;border-radius:999px;background:rgba(59,130,246,.09);border:1px solid rgba(59,130,246,.14);color:#BFD2EF;font-size:7px;font-weight:800}
body.ux-v134 .v134-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v134-alert{display:flex;gap:11px;padding:12px 13px;border:1px solid rgba(245,158,11,.22);border-radius:14px;background:rgba(120,53,15,.08)}.v134-alert.critical{border-color:rgba(239,68,68,.28);background:rgba(127,29,29,.10)}.v134-alert.good{border-color:rgba(16,185,129,.24);background:rgba(6,78,59,.10)}.v134-alert-icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:rgba(245,158,11,.13);color:#FCD34D;font-weight:900}.v134-alert.critical .v134-alert-icon{background:rgba(239,68,68,.13);color:#FCA5A5}.v134-alert.good .v134-alert-icon{background:rgba(16,185,129,.13);color:#6EE7B7}.v134-alert-copy b{display:block;color:#F8FAFC;font-size:10px}.v134-alert-copy span{display:block;margin-top:4px;color:#AEBAD1;font-size:8px;line-height:1.5}
@media(max-width:1160px){body.ux-v134 .v134-quality-grid,body.ux-v134 .v134-consultant-grid,body.ux-v134 .v134-modality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v134-compare-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:930px){body.ux-v134 .v134-general-body{grid-template-columns:1fr}.v134-compare-grid{grid-template-columns:1fr!important}.v134-alert-grid{grid-template-columns:1fr!important}}
@media(max-width:700px){body.ux-v134 .v134-quality-grid,body.ux-v134 .v134-consultant-grid,body.ux-v134 .v134-modality-grid{grid-template-columns:1fr}.v134-compare-toolbar{grid-template-columns:1fr!important}.v134-metric-grid{grid-template-columns:1fr!important}.v134-intelligence-head{flex-direction:column}.v134-funnel-step{clip-path:none!important;border-radius:15px!important}.v134-compare-stats{grid-template-columns:1fr 1fr!important}}


/* ===== V143 visual source block 52 ===== */

body.ux-v135 .v135-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 13px}
body.ux-v135 .v135-summary-card{min-width:0;padding:11px 12px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:linear-gradient(180deg,rgba(17,28,48,.96),rgba(11,19,33,.98))}
body.ux-v135 .v135-summary-card small{display:block;color:#8294B2;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
body.ux-v135 .v135-summary-card strong{display:block;margin-top:6px;color:#F8FAFC;font-size:17px;line-height:1.08}
body.ux-v135 .v135-summary-card span{display:block;margin-top:4px;color:#A8B5CC;font-size:8px;line-height:1.4}
body.ux-v135 .v135-summary-card.good{border-color:rgba(16,185,129,.23);background:linear-gradient(180deg,rgba(6,78,59,.13),rgba(11,19,33,.98))}
body.ux-v135 .v135-summary-card.warn{border-color:rgba(245,158,11,.24);background:linear-gradient(180deg,rgba(120,53,15,.10),rgba(11,19,33,.98))}
body.ux-v135 .v135-consultant-diagnostics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 13px}
body.ux-v135 .v135-diagnostic-box{min-width:0;padding:12px 13px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:rgba(15,23,42,.54)}
body.ux-v135 .v135-diagnostic-box h4{margin:0;color:#F8FAFC;font-size:10px}
body.ux-v135 .v135-diagnostic-list{display:grid;gap:7px;margin-top:9px}
body.ux-v135 .v135-diagnostic-item{display:flex;align-items:flex-start;gap:8px;padding:8px 9px;border:1px solid rgba(148,163,184,.10);border-radius:10px;background:rgba(2,6,23,.18)}
body.ux-v135 .v135-diagnostic-item i{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:8px;background:rgba(16,185,129,.13);color:#6EE7B7;font-size:9px;font-style:normal;font-weight:900}
body.ux-v135 .v135-diagnostic-item.warn i{background:rgba(245,158,11,.14);color:#FCD34D}
body.ux-v135 .v135-diagnostic-item.data i{background:rgba(59,130,246,.14);color:#93C5FD}
body.ux-v135 .v135-diagnostic-item b{display:block;color:#EDF3FC;font-size:8px;line-height:1.35}
body.ux-v135 .v135-diagnostic-item span{display:block;margin-top:2px;color:#95A5BF;font-size:7px;line-height:1.45}
body.ux-v135 .v135-consultant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.ux-v135 .v135-consultant-card{min-width:0;padding:13px;border:1px solid rgba(148,163,184,.14);border-radius:15px;background:linear-gradient(180deg,#111c30,#0d1728)}
body.ux-v135 .v135-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
body.ux-v135 .v135-card-head h4{margin:0;color:#F8FAFC;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
body.ux-v135 .v135-card-value{text-align:right;flex:0 0 auto}
body.ux-v135 .v135-card-value strong{display:block;color:#A7F3D0;font-size:18px;line-height:1}
body.ux-v135 .v135-card-value small{display:block;margin-top:3px;color:#8496B4;font-size:7px}
body.ux-v135 .v135-status-pill{display:inline-flex;margin-top:7px;padding:5px 7px;border-radius:999px;border:1px solid rgba(148,163,184,.15);background:rgba(59,130,246,.08);color:#BCD0EF;font-size:7px;font-weight:900}
body.ux-v135 .v135-status-pill.good{border-color:rgba(16,185,129,.22);background:rgba(6,78,59,.14);color:#A7F3D0}
body.ux-v135 .v135-status-pill.warn{border-color:rgba(245,158,11,.25);background:rgba(120,53,15,.13);color:#FCD34D}
body.ux-v135 .v135-status-pill.data{border-color:rgba(59,130,246,.24);background:rgba(30,64,175,.13);color:#BFDBFE}
body.ux-v135 .v135-card-bars{display:grid;gap:7px;margin-top:11px}
body.ux-v135 .v135-bar{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:7px}
body.ux-v135 .v135-bar span{color:#91A3BF;font-size:7px;line-height:1.25}
body.ux-v135 .v135-bar i{display:block;height:6px;border-radius:999px;background:#202D43;overflow:hidden}
body.ux-v135 .v135-bar i::after{content:"";display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#8B5CF6,#22D3EE)}
body.ux-v135 .v135-bar strong{color:#E8EEF9;font-size:8px;white-space:nowrap}
body.ux-v135 .v135-card-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:11px}
body.ux-v135 .v135-card-metrics div{min-width:0;padding:7px;border:1px solid rgba(148,163,184,.10);border-radius:9px;background:rgba(2,6,23,.18)}
body.ux-v135 .v135-card-metrics small{display:block;color:#7E90AE;font-size:6px;font-weight:900;text-transform:uppercase}
body.ux-v135 .v135-card-metrics b{display:block;margin-top:4px;color:#F2F6FC;font-size:9px;overflow-wrap:anywhere}
body.ux-v135 .v135-card-diagnosis{display:grid;gap:6px;margin-top:10px}
body.ux-v135 .v135-card-diagnosis span{display:block;padding:7px 8px;border-radius:9px;background:rgba(6,78,59,.10);border:1px solid rgba(16,185,129,.16);color:#A7DCC6;font-size:7px;line-height:1.4}
body.ux-v135 .v135-card-diagnosis span.warn{background:rgba(120,53,15,.09);border-color:rgba(245,158,11,.18);color:#E7C88B}
body.ux-v135 .v135-card-diagnosis span.data{background:rgba(30,64,175,.09);border-color:rgba(59,130,246,.18);color:#BBD0F0}
body.ux-v135 .v135-panel{margin-top:16px;overflow:hidden}
body.ux-v135 .v135-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid var(--border-color)}
body.ux-v135 .v135-panel-head h3{margin:0;color:#F8FAFC;font-size:14px}
body.ux-v135 .v135-panel-head p{margin:5px 0 0;max-width:900px;color:#8FA1C5;font-size:9px;line-height:1.5}
body.ux-v135 .v135-panel-badge{white-space:nowrap;padding:7px 10px;border-radius:999px;border:1px solid rgba(96,165,250,.22);background:rgba(37,99,235,.09);color:#BFDBFE;font-size:7px;font-weight:900;text-transform:uppercase}
body.ux-v135 .v135-panel-body{padding:13px 16px 16px}
body.ux-v135 .v135-center-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.ux-v135 .v135-center-lists{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:11px}
body.ux-v135 .v135-method-note{margin-top:10px;padding:9px 11px;border:1px solid rgba(96,165,250,.16);border-radius:10px;background:rgba(30,64,175,.07);color:#AEBAD1;font-size:7px;line-height:1.5}
body.ux-v135 #v134-consultant-grid.v135-consultant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ux-v135 .v135-alert-extension{grid-column:1/-1;margin-top:4px;padding:11px 12px;border:1px solid rgba(96,165,250,.17);border-radius:14px;background:rgba(30,64,175,.06)}
body.ux-v135 .v135-alert-extension>strong{display:block;color:#F8FAFC;font-size:10px;margin-bottom:8px}
body.ux-v135 .v135-alert-extension-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:1180px){body.ux-v135 .v135-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.ux-v135 .v135-consultant-grid,body.ux-v135 #v134-consultant-grid.v135-consultant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v135 .v135-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.ux-v135 .v135-summary-grid,body.ux-v135 .v135-center-grid{grid-template-columns:1fr 1fr}body.ux-v135 .v135-consultant-diagnostics,body.ux-v135 .v135-center-lists,body.ux-v135 .v135-alert-extension-list{grid-template-columns:1fr}body.ux-v135 .v135-consultant-grid,body.ux-v135 #v134-consultant-grid.v135-consultant-grid{grid-template-columns:1fr}}
@media(max-width:520px){body.ux-v135 .v135-summary-grid,body.ux-v135 .v135-center-grid{grid-template-columns:1fr}body.ux-v135 .v135-card-metrics{grid-template-columns:1fr 1fr}}


/* ===== V143 visual source block 53 ===== */

/* Evita que os valores das colunas roláveis atravessem as colunas fixas no hover. */
body.ux-v136 .control-daily-table th:first-child,
body.ux-v136 .control-daily-table td:first-child{
    z-index:12!important;
    background:#0D1728!important;
    box-shadow:1px 0 0 rgba(148,163,184,.16),10px 0 18px rgba(2,6,23,.16)!important;
    isolation:isolate!important;
}
body.ux-v136 .control-daily-table th:nth-child(2),
body.ux-v136 .control-daily-table td:nth-child(2){
    z-index:11!important;
    background:#101A2C!important;
    box-shadow:1px 0 0 rgba(148,163,184,.14)!important;
    isolation:isolate!important;
}
body.ux-v136 .control-daily-table thead th:first-child,
body.ux-v136 .control-daily-table thead th:nth-child(2){
    z-index:18!important;
    background:#111C31!important;
}
body.ux-v136 .control-daily-table tbody tr:hover td:first-child{
    background:#182744!important;
    color:#F8FAFC!important;
}
body.ux-v136 .control-daily-table tbody tr:hover td:nth-child(2){
    background:#17233A!important;
    color:#CBD5E1!important;
}
body.ux-v136 .control-daily-table tbody tr:hover td:not(:first-child):not(:nth-child(2)){
    background:#172746!important;
}
body.ux-v136 .control-daily-table .control-group-row td,
body.ux-v136 .control-daily-table .control-group-row:hover td{
    z-index:16!important;
    background:#070D17!important;
    color:#F8FAFC!important;
    box-shadow:none!important;
}
body.ux-v136 .control-daily-table td:first-child,
body.ux-v136 .control-daily-table td:nth-child(2){
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}


/* ===== V143 visual source block 54 ===== */

body.ux-v137 .control-daily-table .control-group-row td{font-size:10px!important;letter-spacing:.045em!important}
body.ux-v137 .control-daily-table .control-group-row td{background:#070c15!important}
body.ux-v137 .control-daily-table .control-group-row td[colspan]{box-shadow:inset 4px 0 0 rgba(96,165,250,.78)!important}
body.ux-v137 .control-daily-table .control-group-row:nth-of-type(n) td{isolation:isolate!important}
body.ux-v137 #control-daily-note{max-width:none!important;padding:8px 10px!important;border:1px solid rgba(96,165,250,.16)!important;border-radius:10px!important;background:rgba(30,64,175,.07)!important}


/* ===== V143 visual source block 55 ===== */

body.ux-v138 #v138-team-executive{margin:14px 0;display:flex;flex-direction:column;gap:12px}
body.ux-v138 .v138-team-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.ux-v138 .v138-team-kpi{min-width:0;padding:12px 13px;border:1px solid rgba(148,163,184,.14);border-radius:14px;background:linear-gradient(180deg,#121d31,#0d1728)}
body.ux-v138 .v138-team-kpi small{display:block;color:#8294b3;font-size:8px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
body.ux-v138 .v138-team-kpi strong{display:block;margin-top:6px;color:#f8fafc;font-size:19px;line-height:1.05;overflow-wrap:anywhere}
body.ux-v138 .v138-team-kpi span{display:block;margin-top:5px;color:#a9b7cf;font-size:9px;line-height:1.4}
body.ux-v138 .v138-team-kpi.good{border-color:rgba(16,185,129,.25);background:linear-gradient(180deg,rgba(6,78,59,.13),#0d1728)}
body.ux-v138 .v138-team-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:12px}
body.ux-v138 .v138-box{min-width:0;padding:14px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:linear-gradient(180deg,#111c30,#0d1728)}
body.ux-v138 .v138-box-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
body.ux-v138 .v138-box-head strong{display:block;color:#f8fafc;font-size:12px}
body.ux-v138 .v138-box-head span{display:block;margin-top:4px;color:#8fa1c1;font-size:9px;line-height:1.45}
body.ux-v138 .v138-badge{padding:6px 9px;border:1px solid rgba(96,165,250,.23);border-radius:999px;background:rgba(37,99,235,.10);color:#bfdbfe;font-size:7px;font-weight:900;text-transform:uppercase;white-space:nowrap}
body.ux-v138 .v138-ranking{display:flex;flex-direction:column;gap:7px}
body.ux-v138 .v138-rank-row{display:grid;grid-template-columns:minmax(135px,1.2fr) minmax(90px,.8fr) 76px 84px 82px;align-items:center;gap:9px;padding:9px 10px;border:1px solid rgba(148,163,184,.10);border-radius:11px;background:rgba(15,23,42,.54)}
body.ux-v138 .v138-rank-name{min-width:0}
body.ux-v138 .v138-rank-name b{display:block;color:#f8fafc;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v138 .v138-rank-name small{display:block;margin-top:3px;color:#7f91b0;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v138 .v138-rank-track{height:8px;border-radius:999px;background:#22304a;overflow:hidden}
body.ux-v138 .v138-rank-track i{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#22d3ee)}
body.ux-v138 .v138-rank-metric{text-align:right;min-width:0}
body.ux-v138 .v138-rank-metric small{display:block;color:#7f91b0;font-size:7px;text-transform:uppercase}
body.ux-v138 .v138-rank-metric b{display:block;margin-top:2px;color:#edf4ff;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v138 .v138-signals{display:flex;flex-direction:column;gap:8px}
body.ux-v138 .v138-signal{display:flex;gap:9px;padding:9px 10px;border:1px solid rgba(148,163,184,.12);border-radius:11px;background:rgba(15,23,42,.48)}
body.ux-v138 .v138-signal i{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:rgba(16,185,129,.12);color:#6ee7b7;font-style:normal;font-size:9px;font-weight:900}
body.ux-v138 .v138-signal.warn i{background:rgba(245,158,11,.12);color:#fcd34d}
body.ux-v138 .v138-signal.data i{background:rgba(96,165,250,.12);color:#bfdbfe}
body.ux-v138 .v138-signal div{min-width:0}
body.ux-v138 .v138-signal b{display:block;color:#f8fafc;font-size:9px;line-height:1.3}
body.ux-v138 .v138-signal span{display:block;margin-top:3px;color:#9eabc2;font-size:8px;line-height:1.45}
body.ux-v138 .v138-concentration{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
body.ux-v138 .v138-concentration>div{padding:9px;border:1px solid rgba(148,163,184,.10);border-radius:10px;background:rgba(15,23,42,.48)}
body.ux-v138 .v138-concentration small{display:block;color:#7f91b0;font-size:7px;text-transform:uppercase}
body.ux-v138 .v138-concentration strong{display:block;margin-top:4px;color:#f8fafc;font-size:14px}
body.ux-v138 .v138-concentration span{display:block;margin-top:3px;color:#9eabc2;font-size:7px;line-height:1.35}
body.ux-v138 #tab-bi-center .v138-card-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px;padding-top:9px;border-top:1px solid rgba(148,163,184,.10)}
body.ux-v138 #tab-bi-center .v138-card-extra>div{min-width:0;padding:7px 8px;border-radius:9px;background:rgba(15,23,42,.54)}
body.ux-v138 #tab-bi-center .v138-card-extra small{display:block;color:#7f91b0;font-size:7px;text-transform:uppercase}
body.ux-v138 #tab-bi-center .v138-card-extra b{display:block;margin-top:3px;color:#edf4ff;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ux-v138 #tab-bi-center .v138-card-alert{margin-top:8px;padding:7px 9px;border-radius:9px;border:1px solid rgba(16,185,129,.18);background:rgba(6,78,59,.10);color:#a7f3d0;font-size:8px;line-height:1.4}
body.ux-v138 #tab-bi-center .v138-card-alert.warn{border-color:rgba(245,158,11,.25);background:rgba(120,53,15,.11);color:#fde68a}
body.ux-v138 #tab-bi-center .v138-card-alert.data{border-color:rgba(96,165,250,.24);background:rgba(30,64,175,.10);color:#bfdbfe}
@media(max-width:1180px){body.ux-v138 .v138-team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v138 .v138-team-layout{grid-template-columns:1fr}body.ux-v138 .v138-rank-row{grid-template-columns:minmax(130px,1.2fr) minmax(90px,.8fr) 72px 80px}}
@media(max-width:760px){body.ux-v138 .v138-team-kpis{grid-template-columns:1fr}body.ux-v138 .v138-rank-row{grid-template-columns:1fr 80px 70px}body.ux-v138 .v138-rank-row>.v138-rank-metric:nth-last-child(-n+2){display:none}body.ux-v138 #tab-bi-center .v138-card-extra{grid-template-columns:1fr 1fr}body.ux-v138 .v138-concentration{grid-template-columns:1fr}}


/* ===== V143 visual source block 56 ===== */

body.ux-v139 #control-daily-note{border-color:rgba(16,185,129,.24)!important;background:rgba(6,78,59,.10)!important;color:#B9EBD7!important}
body.ux-v139 .control-daily-table .control-group-row td{box-shadow:inset 4px 0 0 rgba(16,185,129,.78)!important}


/* ===== V143 visual source block 57 ===== */

.radiante-process-guaranteed{display:flex;flex-direction:column;gap:7px;margin-top:12px;padding:12px;border:1px solid rgba(139,92,246,.28);border-radius:14px;background:rgba(76,29,149,.10)}
.radiante-process-guaranteed strong{font-size:11px;color:#F8FAFC}.radiante-process-guaranteed span{font-size:9px;line-height:1.5;color:#AAB8D1}.radiante-process-guaranteed .btn{width:100%;min-height:42px}
.radiante-header-schema-note{margin:0 0 12px;padding:10px 12px;border:1px solid rgba(16,185,129,.24);border-radius:12px;background:rgba(16,185,129,.08);font-size:9px;line-height:1.5;color:#CFFBE8}


/* ===== Modern feature: radiante-distribution-style.css ===== */
html,body{overflow-x:hidden!important}
body.radiante-distribution #importCenterModal{z-index:2147483000!important}
body.radiante-distribution #importCenterModal[style*="display: flex"]{display:flex!important}
body.radiante-distribution #ap84-process-top{display:none!important}
body.radiante-distribution #btn-import-center{min-width:154px}
body.radiante-distribution #btn-import-center .top-import-button-copy strong{font-size:10px}
body.radiante-distribution #radiante-export-json-top{white-space:nowrap;border-color:rgba(163,230,53,.22);color:#d9f99d;background:rgba(77,124,15,.12)}
body.radiante-distribution #ap84-session-gate{inset:0!important;z-index:2147482000!important;background:radial-gradient(circle at 18% 10%,rgba(132,204,22,.10),transparent 35%),linear-gradient(145deg,#07130f,#07101d 58%,#090d18)!important}
body.radiante-distribution .radiante-start-card{width:min(620px,calc(100vw - 34px));padding:34px;border:1px solid rgba(163,230,53,.22);border-radius:28px;background:linear-gradient(180deg,rgba(13,29,25,.98),rgba(8,17,25,.99));box-shadow:0 35px 110px rgba(0,0,0,.52)}
body.radiante-distribution .radiante-start-logo{width:54px;height:54px;display:grid;place-items:center;margin-bottom:18px;border-radius:18px;background:linear-gradient(135deg,#163d2d,#84cc16);color:#fff;font-size:18px;font-weight:950;letter-spacing:-.04em;box-shadow:0 15px 40px rgba(132,204,22,.18)}
body.radiante-distribution .radiante-start-kicker{color:#bef264;font-size:9px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
body.radiante-distribution .radiante-start-card h1{margin:8px 0 8px;color:#f8fafc;font-size:28px;line-height:1.08;letter-spacing:-.035em}
body.radiante-distribution .radiante-start-card p{margin:0;color:#a9b8c8;font-size:12px;line-height:1.65}
body.radiante-distribution .radiante-start-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
body.radiante-distribution .radiante-json-button{width:100%;min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;border:1px solid rgba(190,242,100,.30);border-radius:15px;background:linear-gradient(135deg,#166534,#65a30d);color:#fff;font:900 11px/1.25 inherit;cursor:pointer;box-shadow:0 14px 32px rgba(22,101,52,.24)}
body.radiante-distribution .radiante-json-button.secondary{border-color:rgba(96,165,250,.24);background:linear-gradient(135deg,#15233a,#1e3a5f);box-shadow:none;color:#dbeafe}
body.radiante-distribution .radiante-json-button:hover{filter:brightness(1.07)}
body.radiante-distribution .radiante-json-button:disabled{opacity:.55;cursor:wait}
body.radiante-distribution .radiante-start-note{margin-top:13px;padding:11px 12px;border:1px solid rgba(148,163,184,.13);border-radius:12px;background:rgba(15,23,42,.52);color:#93a4ba;font-size:9px;line-height:1.55}
body.radiante-distribution .radiante-start-status{margin-top:12px;min-height:20px;color:#d9f99d;font-size:10px;font-weight:750;line-height:1.45}
#radiante-processing-overlay{position:fixed;inset:0;z-index:2147483600;display:none;place-items:center;padding:24px;background:radial-gradient(circle at 50% 20%,rgba(132,204,22,.09),transparent 38%),#050a10}
#radiante-processing-overlay.open{display:grid}
.radiante-processing-card{width:min(520px,calc(100vw - 36px));padding:31px;border:1px solid rgba(163,230,53,.20);border-radius:25px;background:linear-gradient(180deg,#0e1c19,#09121c);box-shadow:0 32px 100px rgba(0,0,0,.55)}
.radiante-processing-card small{display:block;color:#bef264;font-size:9px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}
.radiante-processing-card h2{margin:8px 0 7px;color:#f8fafc;font-size:22px;line-height:1.15}
.radiante-processing-card p{margin:0;color:#a8b6c8;font-size:11px;line-height:1.6}
.radiante-progress-track{height:8px;margin-top:20px;overflow:hidden;border-radius:999px;background:#172235}
.radiante-progress-track i{display:block;width:5%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#65a30d,#bef264);transition:width .22s ease}
.radiante-processing-meta{display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:#8292aa;font-size:9px}
.radiante-processing-actions{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
#radiante-processing-overlay.is-error .radiante-processing-actions{display:grid}
#radiante-processing-overlay.is-error .radiante-progress-track i{background:linear-gradient(90deg,#b91c1c,#fb7185)}
.radiante-processing-actions button{min-height:42px;border:1px solid rgba(190,242,100,.30);border-radius:12px;background:linear-gradient(135deg,#166534,#65a30d);color:#fff;font:850 10px/1 inherit;cursor:pointer}
.radiante-processing-actions button.secondary{border-color:rgba(148,163,184,.22);background:#172235;color:#dbeafe}
.radiante-processing-actions button:hover{filter:brightness(1.08)}
body.radiante-distribution .brand-badge{border-color:rgba(163,230,53,.24)!important;background:rgba(77,124,15,.15)!important;color:#d9f99d!important}
@media(max-width:760px){body.radiante-distribution #radiante-export-json-top{display:none}body.radiante-distribution .radiante-start-choices{grid-template-columns:1fr}.radiante-processing-actions{grid-template-columns:1fr}}
@media(max-width:640px){body.radiante-distribution .radiante-start-card{padding:25px}body.radiante-distribution .radiante-start-card h1{font-size:23px}}


/* ===== Modern feature: radiante-performance-kernel-style.css ===== */
/* Conteúdo oculto não participa de layout/pintura; reduz custo ao trocar filtros. */
.tab-content:not(.active){display:none!important}
.tab-content.active{contain:layout style}
body.radiante-performance-ready *{scroll-behavior:auto!important}

/* ===== Modern feature: radiante-consultant-performance-style.css ===== */
/* Cards fora da área visível deixam de consumir pintura e layout até se aproximarem da tela. */
#tab-consultant-efficiency .consultant-card,
#tab-consultant-efficiency .commercial-chart-card,
#tab-consultant-efficiency .management-dimension-section,
#tab-bi-center .v113-consultant-card,
#tab-bi-center .v138-rank-row,
#v134-consultant-grid > article{content-visibility:auto;contain-intrinsic-size:1px 170px}
#tab-consultant-efficiency .management-dimension-section{border:1px solid rgba(148,163,184,.14);border-radius:14px;overflow:hidden;background:rgba(15,23,42,.34)}
#tab-consultant-efficiency details.management-dimension-lazy>summary{cursor:pointer;list-style:none;padding:13px 14px;color:#f8fafc;font-size:10px;font-weight:850;display:flex;align-items:center;justify-content:space-between;gap:12px}
#tab-consultant-efficiency details.management-dimension-lazy>summary::-webkit-details-marker{display:none}
#tab-consultant-efficiency details.management-dimension-lazy>summary span{color:#8fa1c5;font-size:8px;font-weight:700}
#tab-consultant-efficiency details.management-dimension-lazy[open]>summary{border-bottom:1px solid rgba(148,163,184,.12)}
#tab-consultant-efficiency .management-dimension-lazy-body{padding:12px}
body.consultant-calculating #tab-consultant-efficiency{cursor:progress}

/* ===== Modern feature: radiante-workforce-v152.css ===== */
.radiante-workforce-panel-v152{margin:14px 0;padding:18px 20px}
.v152-section-head{align-items:flex-start;display:flex;gap:18px;justify-content:space-between}
.v152-section-head>div>span{color:#9ae62f;display:block;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.v152-section-head h3{color:#f8fafc;font-size:16px;margin:3px 0}
.v152-section-head p{color:#a9b7cc;font-size:11px;line-height:1.45;margin:0}
.v152-workforce-summary{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}
.v152-workforce-summary article{background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.16);border-radius:12px;padding:13px 14px}
.v152-workforce-summary span{color:#94a3b8;display:block;font-size:10px;font-weight:800;text-transform:uppercase}
.v152-workforce-summary strong{color:#f8fafc;display:block;font-size:22px;margin:6px 0 4px}
.v152-workforce-summary small{color:#a9b7cc;font-size:11px}.v152-workforce-summary .is-positive strong{color:#86efac}.v152-workforce-summary .is-negative strong{color:#fca5a5}
.v152-workforce-modal-card{max-height:min(88vh,820px);max-width:1050px;overflow:hidden;width:calc(100vw - 38px)}
.v152-add-person{align-items:end;background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.17);border-radius:12px;display:grid;gap:10px;grid-template-columns:minmax(220px,1fr) 190px auto;margin:14px 0;padding:12px}
.v152-add-person label{color:#a9b7cc;display:grid;font-size:10px;font-weight:800;gap:5px;text-transform:uppercase}
.v152-add-person input,.v152-workforce-table input,.v152-workforce-table select{background:#0b1220;border:1px solid rgba(148,163,184,.24);border-radius:8px;color:#f8fafc;padding:9px 10px}
.v152-workforce-table-wrap{max-height:50vh;overflow:auto}.v152-workforce-table{border-collapse:collapse;width:100%}.v152-workforce-table th{color:#94a3b8;font-size:9px;letter-spacing:.05em;padding:9px;text-align:left;text-transform:uppercase}.v152-workforce-table td{border-top:1px solid rgba(148,163,184,.13);padding:9px;vertical-align:middle}.v152-workforce-table td:first-child{min-width:240px}.v152-workforce-table td strong{color:#f8fafc;display:block;font-size:11px}.v152-workforce-table td small{color:#8493aa;display:block;font-size:9px;margin-top:3px}.v152-workforce-table input{min-width:135px}.v152-workforce-table select{min-width:165px}.v152-remove-config{background:transparent;border:0;color:#94a3b8;cursor:pointer;font-size:10px;text-decoration:underline}.v152-workforce-help{background:rgba(15,23,42,.45);border-left:3px solid #9ae62f;border-radius:7px;color:#a9b7cc;font-size:10px;line-height:1.4;margin-top:12px;padding:9px 11px}
@media(max-width:760px){.v152-section-head{display:block}.v152-section-head button{margin-top:10px}.v152-workforce-summary{grid-template-columns:1fr}.v152-add-person{grid-template-columns:1fr}.v152-workforce-table-wrap{overflow:auto}.v152-workforce-table{min-width:800px}}


/* ===== Modern feature: radiante-forecast-adaptive-v144.css ===== */
.radiante-adaptive-summary,.radiante-records-panel,.radiante-outlook-panel{margin-top:12px;padding:14px 16px!important;overflow:hidden}
.radiante-v141-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.radiante-v141-head span{display:block;color:#8da2bd;font-size:8px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
.radiante-v141-head h3{margin:2px 0 0;color:#f1f5f9;font-size:14px;line-height:1.2}
.radiante-v141-head>b,.radiante-v141-head>small{border:0;background:none;color:#94a3b8;padding:0;font-size:9px;font-weight:600;white-space:nowrap}
.radiante-v141-grid,.radiante-record-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid rgba(148,163,184,.12)}
.radiante-v141-grid article,.radiante-record-grid article{min-width:0;border:0;border-right:1px solid rgba(148,163,184,.12);border-radius:0;background:none;padding:10px 14px 4px 0;margin-right:14px}
.radiante-v141-grid article:last-child,.radiante-record-grid article:last-child{border-right:0;margin-right:0}
.radiante-v141-grid span,.radiante-record-grid span{display:block;color:#7f8da3;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.radiante-v141-grid strong,.radiante-record-grid strong{display:block;margin:5px 0 3px;color:#e8edf5;font-size:17px;line-height:1}
.radiante-v141-grid small,.radiante-record-grid small{display:block;color:#8492a6;font-size:9px;line-height:1.3}
.radiante-record-note{margin-top:8px;color:#7f8da3;font-size:9px}
.radiante-outlook-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid rgba(148,163,184,.12)}
.radiante-outlook-grid article{padding:10px 12px 2px 0;margin-right:12px;border-right:1px solid rgba(148,163,184,.12)}
.radiante-outlook-grid article:last-child{border-right:0;margin-right:0}
.radiante-outlook-grid span{display:block;color:#94a3b8;font-size:9px;text-transform:capitalize}
.radiante-outlook-grid strong{display:block;margin:4px 0 2px;color:#e8edf5;font-size:16px}
.radiante-outlook-grid small{color:#718096;font-size:8px}
.forecast-memory-tag{display:inline-block;margin-left:5px;color:#86a8d8;font-size:8px;font-weight:600;white-space:nowrap}
@media(max-width:900px){.radiante-v141-grid,.radiante-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px}.radiante-outlook-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}}
@media(max-width:560px){.radiante-v141-head{align-items:flex-start}.radiante-v141-grid,.radiante-record-grid{grid-template-columns:1fr 1fr}.radiante-outlook-grid{display:flex;overflow-x:auto}.radiante-outlook-grid article{min-width:108px}.radiante-v141-grid strong,.radiante-record-grid strong{font-size:16px}}


/* ===== Modern feature: radiante-modality-forecast-v152.css ===== */
.radiante-modality-forecast-v152{margin:14px 0;padding:18px 20px}.radiante-modality-forecast-v152 .v152-section-head>b{border:1px solid rgba(154,230,47,.3);border-radius:999px;color:#c5f76d;font-size:10px;padding:7px 10px;white-space:nowrap}
.v152-modality-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.v152-modality-grid button{background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.16);border-radius:11px;color:inherit;cursor:pointer;display:grid;gap:6px;grid-template-columns:minmax(0,1fr) auto;overflow:hidden;padding:11px 12px;position:relative;text-align:left}.v152-modality-grid button:hover{border-color:rgba(154,230,47,.36);transform:translateY(-1px)}.v152-modality-copy,.v152-modality-values{position:relative;z-index:1}.v152-modality-copy strong{color:#f8fafc;display:block;font-size:11px}.v152-modality-copy small,.v152-modality-values small{color:#96a4ba;display:block;font-size:9px;margin-top:3px}.v152-modality-values{text-align:right}.v152-modality-values b{color:#dbeafe;font-size:16px}.v152-modality-grid i{background:linear-gradient(90deg,rgba(59,130,246,.19),rgba(154,230,47,.12));bottom:0;height:3px;left:0;position:absolute}.v152-modality-note{color:#94a3b8;font-size:10px;line-height:1.45;margin-top:10px}
@media(max-width:760px){.v152-modality-grid{grid-template-columns:1fr}}


/* ===== Modern feature: radiante-forecast-coordinator-v149.css ===== */
.v149-forecast-head{white-space:nowrap;color:#bfdbfe!important}
.v149-forecast-cell{min-width:112px;white-space:nowrap}
.v149-forecast-cell strong{display:block;color:#7dd3fc;font-size:12px}
.v149-forecast-cell small{display:block;margin-top:2px;color:#7f8ba5;font-size:8px;font-weight:500;white-space:normal}
.v149-card-forecast b{color:#7dd3fc!important}


/* ===== Modern feature: radiante-forecast-timeline-v151.css ===== */
.radiante-forecast-timeline-v151{padding:18px 20px;margin:14px 0}
.v151-timeline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.v151-timeline-head span{display:block;color:#9ae62f;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.v151-timeline-head h3{font-size:16px;margin:3px 0 0;color:#f8fafc}
.v151-timeline-head b{border:1px solid rgba(154,230,47,.3);border-radius:999px;color:#c5f76d;font-size:10px;font-weight:800;padding:7px 10px;white-space:nowrap}
.v151-timeline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v151-timeline-grid article{background:rgba(15,23,42,.58);border:1px solid rgba(148,163,184,.16);border-radius:13px;min-width:0;padding:13px 14px}
.v151-timeline-grid article.is-current{background:rgba(49,46,129,.14);border-color:rgba(129,140,248,.34)}
.v151-timeline-grid article.is-goal{background:rgba(20,83,45,.10);border-color:rgba(154,230,47,.24)}
.v151-timeline-grid span{color:#94a3b8;display:block;font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.v151-timeline-grid strong{color:#f8fafc;display:block;font-size:22px;line-height:1.1;margin:8px 0 6px}
.v151-timeline-grid small{color:#a9b7cc;display:block;font-size:11px;line-height:1.4}
.v151-timeline-explanation{background:rgba(15,23,42,.46);border-left:3px solid #9ae62f;border-radius:8px;color:#cbd5e1;font-size:11px;line-height:1.5;margin-top:11px;padding:9px 11px}
.goal-month-picker-v151{align-items:end;background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.18);border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(140px,210px) 1fr;margin:14px 0;padding:12px 14px}
.goal-month-picker-v151 label{color:#dbeafe;font-size:11px;font-weight:800;grid-column:1}
.goal-month-picker-v151 input{background:#0b1220;border:1px solid rgba(148,163,184,.25);border-radius:8px;color:#f8fafc;grid-column:1;padding:9px 10px}
.goal-month-picker-v151 span{align-self:center;color:#a9b7cc;font-size:11px;grid-column:2;grid-row:1 / span 2;line-height:1.4}
.goal-progress-card-v76.goal-achieved-v151{border-color:rgba(154,230,47,.45);background:rgba(20,83,45,.14)}
.goal-progress-card-v76.goal-achieved-v151 small{color:#bef264}
@media(max-width:1000px){.v151-timeline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.v151-timeline-grid{grid-template-columns:1fr}.v151-timeline-head{display:block}.v151-timeline-head b{display:inline-block;margin-top:9px}.goal-month-picker-v151{grid-template-columns:1fr}.goal-month-picker-v151 span{grid-column:1;grid-row:auto}}


/* ===== Modern feature: radiante-center-analysis-v156.css ===== */
/* V157 — Centro de análise confiável, comparável e com histórico de pagamentos. */
body.ux-v156-center #tab-bi-center{padding-bottom:32px}
body.ux-v156-center #tab-bi-center .v96-kpi{appearance:none;width:100%;font:inherit;text-align:left;cursor:pointer}
body.ux-v156-center #tab-bi-center .v96-kpi:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--tone) 48%,transparent)}
body.ux-v156-center #tab-bi-center .v96-kpi:focus-visible,
body.ux-v156-center #tab-bi-center button:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
body.ux-v156-center .v156-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
body.ux-v156-center .v156-period-inline{appearance:none;display:grid;grid-template-columns:auto auto;column-gap:9px;row-gap:2px;min-width:230px;padding:9px 11px;border:1px solid rgba(96,165,250,.25);border-radius:11px;background:rgba(30,64,175,.08);color:#edf4ff;text-align:left;cursor:pointer}
body.ux-v156-center .v156-period-inline small{grid-column:1;color:#93a4c0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
body.ux-v156-center .v156-period-inline strong{grid-column:1;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
body.ux-v156-center .v156-period-inline span{grid-column:2;grid-row:1/3;align-self:center;color:#93c5fd;font-size:9px;font-weight:800;white-space:nowrap}
body.ux-v156-center:has(#tab-bi-center.active) #floating-period-indicator,
body.ux-v156-center:has(#tab-bi-center.active) #floating-period-indicator-v78{display:none!important}
body.ux-v156-center #v135-center-panel{display:none!important}
body.ux-v156-center .v156-card-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ux-v156-center .v156-payment-section{margin-top:12px;padding-top:12px;border-top:1px solid rgba(148,163,184,.12)}
body.ux-v156-center .v156-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
body.ux-v156-center .v156-section-title strong{color:#f8fafc;font-size:11px}
body.ux-v156-center .v156-section-title span{color:#91a2bd;font-size:9px;line-height:1.4;text-align:right}
body.ux-v156-center .v156-payment-grid,
body.ux-v156-center .v111-payment-center-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}
body.ux-v156-center .v156-payment-compare{appearance:none;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:12px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:linear-gradient(180deg,rgba(17,28,48,.96),rgba(11,19,33,.98));color:#e9f1ff;text-align:left;cursor:pointer;overflow:hidden}
body.ux-v156-center .v156-payment-compare::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--method-color,#64748b)}
body.ux-v156-center .v156-payment-compare:hover,
body.ux-v156-center .v156-payment-compare.active{border-color:var(--method-color,#60a5fa);background:linear-gradient(180deg,rgba(30,41,69,.98),rgba(11,19,33,.98))}
body.ux-v156-center .v156-payment-compare.no-current{opacity:.62;cursor:not-allowed}
body.ux-v156-center .v156-payment-compare.no-current:hover{transform:none;border-color:rgba(148,163,184,.14);background:linear-gradient(180deg,rgba(17,28,48,.96),rgba(11,19,33,.98))}
body.ux-v156-center .v156-payment-compare.active::after{content:"Filtro ativo — clique para remover";position:absolute;top:8px;right:8px;padding:3px 5px;border-radius:6px;background:rgba(59,130,246,.16);color:#bfdbfe;font-size:7px;font-weight:800}
body.ux-v156-center .v156-payment-name{padding-right:92px;color:#cbd7ea;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
body.ux-v156-center .v156-payment-compare>strong{color:#fff;font-size:21px;line-height:1.05}
body.ux-v156-center .v156-payment-compare>strong small{margin-left:4px;color:#9fb0ca;font-size:9px;font-weight:700}
body.ux-v156-center .v156-payment-period{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;border-top:1px solid rgba(148,163,184,.09);color:#b8c5d9;font-size:8px;line-height:1.35}
body.ux-v156-center .v156-payment-period b{color:#8193b0;font-size:7px;text-transform:uppercase;white-space:nowrap}
body.ux-v156-center .v156-payment-unavailable{grid-column:1/-1;display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid rgba(245,158,11,.22);border-radius:13px;background:rgba(120,53,15,.08)}
body.ux-v156-center .v156-payment-unavailable strong{color:#fde68a;font-size:11px}
body.ux-v156-center .v156-payment-unavailable span{color:#c7b994;font-size:9.5px;line-height:1.55}
body.ux-v156-center .v156-payment-unavailable small{color:#9e9278;font-size:8.5px;line-height:1.45}
body.ux-v156-center .v156-payment-unavailable.compact{padding:10px}
body.ux-v156-center .v156-payment-history{grid-column:1/-1;margin-top:11px;padding-top:11px;border-top:1px solid rgba(148,163,184,.12)}
body.ux-v156-center .v156-alert-card{overflow:visible}
body.ux-v156-center .v96-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ux-v156-center .v156-alert{appearance:none;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid rgba(96,165,250,.16);border-radius:13px;background:rgba(30,64,175,.06);color:#dfe8f6;text-align:left;cursor:pointer}
body.ux-v156-center .v156-alert.warn{border-color:rgba(245,158,11,.26);background:rgba(120,53,15,.08)}
body.ux-v156-center .v156-alert.good{border-color:rgba(16,185,129,.22);background:rgba(6,78,59,.08)}
body.ux-v156-center .v156-alert.data{border-color:rgba(148,163,184,.18);background:rgba(51,65,85,.10)}
body.ux-v156-center .v156-alert.rule{border-color:rgba(34,211,238,.22);background:rgba(8,47,73,.10)}
body.ux-v156-center .v156-alert:hover{transform:translateY(-1px);filter:brightness(1.08)}
body.ux-v156-center .v156-alert-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(96,165,250,.14);color:#bfdbfe;font-size:12px;font-weight:900}
body.ux-v156-center .v156-alert.warn .v156-alert-icon{background:rgba(245,158,11,.15);color:#fde68a}
body.ux-v156-center .v156-alert.good .v156-alert-icon{background:rgba(16,185,129,.14);color:#a7f3d0}
body.ux-v156-center .v156-alert-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
body.ux-v156-center .v156-alert-copy>strong{color:#f8fafc;font-size:11px;line-height:1.35}
body.ux-v156-center .v156-alert-copy>span{color:#aebbd0;font-size:9px;line-height:1.5}
body.ux-v156-center .v156-alert-copy b{color:#dce7f7}
body.ux-v156-center .v156-alert>em{grid-column:2;color:#93c5fd;font-size:8px;font-style:normal;font-weight:800}
body.ux-v156-center .v156-origin-rule{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;padding:11px 13px;border:1px solid rgba(34,211,238,.18);border-radius:13px;background:rgba(8,47,73,.09)}
body.ux-v156-center .v156-origin-rule strong{flex:0 0 auto;color:#a5f3fc;font-size:10px}
body.ux-v156-center .v156-origin-rule span{color:#abc2d1;font-size:9px;line-height:1.5}
body.ux-v156-center .v96-modal-card{max-width:min(920px,calc(100vw - 30px))}
body.ux-v156-center .v156-formula-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.ux-v156-center .v156-formula-grid>div{padding:12px;border:1px solid rgba(148,163,184,.13);border-radius:12px;background:rgba(15,23,42,.54)}
body.ux-v156-center .v156-formula-grid>div.result{border-color:rgba(34,211,238,.24);background:rgba(8,47,73,.10)}
body.ux-v156-center .v156-formula-grid small{display:block;color:#8495b2;font-size:8px;font-weight:900;text-transform:uppercase;line-height:1.35}
body.ux-v156-center .v156-formula-grid strong{display:block;margin-top:6px;color:#f8fafc;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
body.ux-v156-center .v156-explain-note{display:flex;flex-direction:column;gap:5px;margin-top:11px;padding:11px 13px;border:1px solid rgba(96,165,250,.18);border-radius:12px;background:rgba(30,64,175,.07)}
body.ux-v156-center .v156-explain-note.warn{border-color:rgba(245,158,11,.24);background:rgba(120,53,15,.08)}
body.ux-v156-center .v156-explain-note strong{color:#f8fafc;font-size:10px}
body.ux-v156-center .v156-explain-note span{color:#aebbd0;font-size:9px;line-height:1.5}
body.ux-v156-center .v156-comparison{margin-top:13px}
body.ux-v156-center .v156-comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body.ux-v156-center .v156-comparison-grid>div{padding:11px;border:1px solid rgba(148,163,184,.12);border-radius:11px;background:rgba(15,23,42,.48)}
body.ux-v156-center .v156-comparison-grid small{display:block;color:#8294b1;font-size:8px;line-height:1.4}
body.ux-v156-center .v156-comparison-grid strong{display:block;margin-top:5px;color:#f8fafc;font-size:15px}
body.ux-v156-center .v156-comparison-grid span{display:block;margin-top:4px;color:#a8b5ca;font-size:8.5px;line-height:1.4}
body.ux-v156-center .v156-team-method{margin:0 0 11px;padding:11px 13px;border:1px solid rgba(96,165,250,.17);border-radius:12px;background:rgba(30,64,175,.06);color:#aebdd2;font-size:9px;line-height:1.55}
body.ux-v156-center .v156-team-method strong{color:#f1f6ff}
body.ux-v156-center .v138-team-kpi small,
body.ux-v156-center .v138-rank-metric small,
body.ux-v156-center .v138-card-extra small,
body.ux-v156-center .v138-concentration small{font-size:9px!important}
body.ux-v156-center .v138-team-kpi span,
body.ux-v156-center .v138-box-head span,
body.ux-v156-center .v138-signal span,
body.ux-v156-center .v138-rank-name small,
body.ux-v156-center .v138-card-alert{font-size:10px!important;line-height:1.5!important}
body.ux-v156-center .v138-box-head strong{font-size:13px!important}
body.ux-v156-center .v138-signal b,
body.ux-v156-center .v138-rank-name b,
body.ux-v156-center .v138-rank-metric b,
body.ux-v156-center .v138-card-extra b{font-size:10px!important}
body.ux-v156-center .v135-summary-card small,
body.ux-v156-center .v135-diagnostic-item span,
body.ux-v156-center .v135-card-metrics small,
body.ux-v156-center .v135-card-diagnosis span,
body.ux-v156-center .v135-method-note{font-size:9px!important;line-height:1.5!important}
body.ux-v156-center .v135-diagnostic-item b,
body.ux-v156-center .v135-card-metrics b{font-size:10px!important}
@media(max-width:900px){
  body.ux-v156-center .v96-filter-head{align-items:stretch}
  body.ux-v156-center .v156-filter-actions{justify-content:stretch;flex-wrap:wrap}
  body.ux-v156-center .v156-period-inline{flex:1;min-width:min(230px,100%)}
  body.ux-v156-center .v96-alerts{grid-template-columns:1fr}
  body.ux-v156-center .v156-formula-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  body.ux-v156-center .v156-comparison-grid{grid-template-columns:1fr}
  body.ux-v156-center .v156-section-title{align-items:flex-start;flex-direction:column}
  body.ux-v156-center .v156-section-title span{text-align:left}
}


/* ===== Modern feature: radiante-daily-update-v159.css ===== */
/* V160 — central de dados consolidada */
body.v160-import-center #importCenterModal .import-center-content{
 width:min(1020px,calc(100vw - 32px))!important;max-width:1020px!important;
 max-height:min(760px,calc(100vh - 28px))!important;border-radius:18px!important;
 border:1px solid #26354b!important;background:#0c1423!important;
 box-shadow:0 30px 90px rgba(0,0,0,.58)!important
}
body.v160-import-center #importCenterModal .import-center-header{
 min-height:72px;padding:15px 20px!important;background:#111c2e!important;
 border-bottom:1px solid #243249!important
}
body.v160-import-center #importCenterModal .import-center-logo{
 width:40px;height:40px;border-radius:11px;color:#a7f3d0;
 background:rgba(16,185,129,.09);border-color:rgba(16,185,129,.25)
}
body.v160-import-center #importCenterModal .import-center-header h3{font-size:18px!important;letter-spacing:-.01em}
body.v160-import-center #importCenterModal .import-center-header p{font-size:10.5px!important;color:#94a3b8!important}
body.v160-import-center #importCenterModal .icon-close{
 width:34px;height:34px;border-radius:9px;background:#162237;border-color:#2d3b52;color:#91a0b7
}
body.v160-import-center #importCenterModal .icon-close:hover{background:#1b2b42;border-color:#3d516e;color:#f8fafc}
body.v160-import-center #importCenterModal .import-center-body{padding:0!important;background:#0a1120}
.v160-import-center-body>:not(#v159-daily-update){display:none!important}

.v160-import-shell{min-height:0;color:#e7edf6}
.v160-tabs{
 display:flex;gap:4px;padding:0 22px;border-bottom:1px solid #223049;background:#0f1829
}
.v160-tabs button{
 position:relative;min-height:50px;padding:0 15px;border:0;background:transparent;color:#7f8da3;
 font:700 11px/1 inherit;cursor:pointer;transition:color .16s ease
}
.v160-tabs button:after{
 content:"";position:absolute;left:15px;right:15px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;
 background:#10b981;transform:scaleX(0);transition:transform .16s ease
}
.v160-tabs button:hover{color:#cbd5e1}
.v160-tabs button.is-active{color:#f8fafc}
.v160-tabs button.is-active:after{transform:scaleX(1)}
.v160-page{padding:22px;animation:v160-page-in .16s ease}
.v160-page[hidden]{display:none!important}
@keyframes v160-page-in{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}

.v160-daily-card{max-width:930px;margin:0 auto}
.v160-daily-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px}
.v160-daily-head span,.v160-section-head span{
 display:block;margin-bottom:4px;color:#5ee2b5;font-size:8.5px;font-weight:850;letter-spacing:.14em
}
.v160-daily-head h4,.v160-section-head h4{margin:0 0 5px;color:#f8fafc;font-size:18px;letter-spacing:-.02em}
.v160-daily-head p,.v160-section-head p{max-width:720px;margin:0;color:#94a3b8;font-size:11px;line-height:1.45}
.v160-daily-head>b{
 flex:none;min-width:58px;padding:7px 10px;border:1px solid #2c3b52;border-radius:9px;
 background:#131e30;color:#a7b4c7;text-align:center;font-size:10px
}
.v160-file-picker{
 display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;
 min-height:66px;padding:12px 14px;border:1px dashed #3a4d68;border-radius:13px;
 background:#111b2d;color:inherit;cursor:pointer;transition:.16s ease
}
.v160-file-picker:hover{border-color:#2da67f;background:#122238}
.v160-file-picker>i{
 display:grid;width:36px;height:36px;place-items:center;border-radius:10px;
 background:rgba(16,185,129,.10);color:#6ee7b7;font-style:normal
}
.v160-file-picker svg{width:18px;height:18px}
.v160-file-picker strong,.v160-file-picker small{display:block}
.v160-file-picker strong{color:#f1f5f9;font-size:12px}
.v160-file-picker small{margin-top:3px;color:#7f8da3;font-size:9.5px}
.v160-file-picker em{
 padding:8px 11px;border:1px solid #38506b;border-radius:8px;background:#19263a;
 color:#dce6f3;font-size:9.5px;font-style:normal;font-weight:750
}
.v160-file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.v160-file-row{
 display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;
 min-width:0;min-height:48px;padding:8px 9px;border:1px solid #25334a;border-radius:10px;
 background:#0f1828;cursor:pointer;transition:.16s ease
}
.v160-file-row:hover{border-color:#3b4e69;background:#121e31}
.v160-file-row>i{
 display:grid;width:24px;height:24px;place-items:center;border-radius:7px;background:#1b283b;
 color:#8291a7;font-size:9px;font-style:normal;font-weight:800
}
.v160-file-row>span{min-width:0}
.v160-file-row strong,.v160-file-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v160-file-row strong{color:#ced8e6;font-size:9.5px}
.v160-file-row small{margin-top:2px;color:#65758d;font-size:8.5px}
.v160-file-row>b{visibility:hidden;color:#77d9b8;font-size:8px}
.v160-file-row.is-ready{border-color:rgba(16,185,129,.35);background:rgba(16,185,129,.055)}
.v160-file-row.is-ready>i{background:rgba(16,185,129,.16);color:#86efc7}
.v160-file-row.is-ready small{color:#8bd7bd}
.v160-file-row.is-ready>b{visibility:visible}

.v160-primary-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.v160-button{
 display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;
 border:1px solid transparent;border-radius:9px;font:750 10.5px/1 inherit;cursor:pointer;transition:.16s ease
}
.v160-button-primary{background:linear-gradient(135deg,#128662,#0b6f56);border-color:#249976;color:#f8fffc;box-shadow:0 8px 20px rgba(6,95,70,.16)}
.v160-button-primary:hover{background:linear-gradient(135deg,#15936d,#0d795e);transform:translateY(-1px)}
.v160-button-secondary{background:#182438;border-color:#34445d;color:#dce5f2}
.v160-button-secondary:hover{background:#1d2b41;border-color:#465b78}
.v160-button:disabled{opacity:.38;cursor:not-allowed;box-shadow:none;transform:none}

.v159-progress{display:none;margin-top:10px;padding:10px 11px;border:1px solid #26354b;border-radius:10px;background:#0d1626}
.v159-progress.is-visible{display:block}
.v159-progress>div{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px}
.v159-progress strong{color:#a7f3d0;font-size:9.5px}.v159-progress span{color:#8190a7;font-size:9px}
.v159-progress-track{display:block;height:4px;overflow:hidden;border-radius:99px;background:#1e2b40}
.v159-progress-track i{display:block;width:3%;height:100%;border-radius:inherit;background:#10b981;transition:width .25s ease}
.v159-message{display:flex;gap:7px;margin-top:10px;padding:9px 11px;border:1px solid #26354b;border-radius:9px;background:#101a2b}
.v159-message strong{flex:none;color:#d7e0ec;font-size:9px}.v159-message span{color:#8190a7;font-size:9px;line-height:1.4}
.v159-message.success{border-color:rgba(16,185,129,.34);background:rgba(16,185,129,.06)}
.v159-message.success strong{color:#a7f3d0}.v159-message.warn{border-color:rgba(245,158,11,.32)}
.v159-message.error{border-color:rgba(239,71,111,.40);background:rgba(239,71,111,.07)}.v159-message.error strong{color:#fecdd3}
.v159-result{margin-top:10px;padding:11px;border:1px solid rgba(16,185,129,.28);border-radius:10px;background:rgba(5,46,39,.16)}
.v159-result>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:9px}
.v159-result>div:first-child strong{color:#a7f3d0;font-size:10px}.v159-result>div:first-child span{color:#9dabc0;font-size:9px}
.v159-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.v159-result-grid>span{padding:8px;border-left:2px solid #2d8f72;background:rgba(15,23,42,.38)}
.v159-result-grid small,.v159-result-grid b,.v159-result-grid em{display:block}
.v159-result-grid small{color:#718198;font-size:8px}.v159-result-grid b{margin:3px 0;color:#f8fafc;font-size:14px}
.v159-result-grid em{color:#8392a8;font-size:8px;font-style:normal;line-height:1.3}

.v160-section-head{margin-bottom:16px}
.v160-maintenance-list,.v160-settings-list{overflow:hidden;border:1px solid #26354b;border-radius:12px;background:#0f1828}
.v160-maintenance-row{
 display:grid;grid-template-columns:minmax(220px,1fr) minmax(340px,1.25fr);align-items:center;gap:16px;
 min-height:68px;padding:11px 14px;border-bottom:1px solid #223047
}
.v160-maintenance-row:last-child{border-bottom:0}
.v160-maintenance-row>div:first-child strong,.v160-maintenance-row>div:first-child span{display:block}
.v160-maintenance-row>div:first-child strong{color:#e5ecf5;font-size:11px}
.v160-maintenance-row>div:first-child span{margin-top:3px;color:#77869c;font-size:9px}
.v160-maintenance-row>div:last-child{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.v160-maintenance-row label{
 display:inline-flex;align-items:center;min-height:31px;padding:0 10px;border:1px solid #35465f;border-radius:8px;
 background:#172337;color:#cbd5e1;font-size:9px;font-weight:750;cursor:pointer;transition:.16s ease
}
.v160-maintenance-row label:hover{border-color:#47705f;background:#192b3d;color:#f1f5f9}
.v160-process-bar{
 display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:12px 14px;
 border:1px solid #294038;border-radius:11px;background:rgba(16,185,129,.045)
}
.v160-process-bar strong,.v160-process-bar span{display:block}.v160-process-bar strong{color:#dce7e2;font-size:10px}
.v160-process-bar span{margin-top:3px;color:#7f918a;font-size:8.5px}

.v160-settings-row{
 display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:13px 15px;
 border-bottom:1px solid #223047
}
.v160-settings-row:last-child{border-bottom:0}
.v160-settings-row>div{display:flex;align-items:center;gap:11px;min-width:0}
.v160-settings-row>div>i{display:grid;flex:none;width:30px;height:30px;place-items:center;border-radius:9px;background:#1a283c;color:#82d9bb;font-size:8px;font-style:normal;font-weight:850}
.v160-settings-row strong,.v160-settings-row small{display:block}.v160-settings-row strong{color:#e5edf6;font-size:11px}
.v160-settings-row small{margin-top:4px;color:#7f8da2;font-size:9px;line-height:1.35}
.v160-history{margin-top:12px;border:1px solid #26354b;border-radius:10px;background:#0f1828}
.v160-history>summary{padding:11px 13px;color:#a9b5c7;font-size:9.5px;font-weight:750;cursor:pointer}
.v160-history .import-history{display:block!important;margin:0;padding:0 13px 12px}.v160-history .import-history>summary{display:none}

/* Qualidade da origem na página de pagamentos */
.v159-payment-quality{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,2.3fr);gap:14px;margin:0 0 16px;padding:15px;border:1px solid rgba(16,185,129,.23);border-radius:14px;background:rgba(16,185,129,.04)}
.v159-payment-quality>div:first-child span,.v159-payment-quality>div:first-child strong{display:block}.v159-payment-quality>div:first-child span{margin-bottom:5px;color:#6ee7b7;font-size:9px;font-weight:850;letter-spacing:.12em}.v159-payment-quality>div:first-child strong{color:#f8fafc;font-size:13px}
.v159-payment-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.v159-payment-quality-grid b{padding:9px;border:1px solid #2b374c;border-radius:9px;background:rgba(15,23,42,.62);color:#f8fafc;font-size:15px}.v159-payment-quality-grid small{display:block;margin-top:3px;color:#91a0b7;font-size:8px;font-weight:500;line-height:1.35}.v159-payment-quality>p{grid-column:1/-1;margin:0;color:#9eabc0;font-size:9px;line-height:1.5}

@media(max-width:820px){
 body.v160-import-center #importCenterModal .import-center-content{width:calc(100vw - 18px)!important;max-height:calc(100vh - 18px)!important}
 .v160-file-list{grid-template-columns:repeat(2,minmax(0,1fr))}.v159-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v160-maintenance-row{grid-template-columns:1fr;gap:9px}.v160-maintenance-row>div:last-child{justify-content:flex-start}
 .v159-payment-quality{grid-template-columns:1fr}.v159-payment-quality>p{grid-column:auto}
}
@media(max-width:560px){
 body.v160-import-center #importCenterModal .import-center-header{padding:12px!important}.v160-tabs{padding:0 10px}.v160-tabs button{padding:0 10px}.v160-tabs button:after{left:10px;right:10px}
 .v160-page{padding:14px}.v160-daily-head{display:block}.v160-daily-head>b{display:inline-block;margin-top:9px}
 .v160-file-picker{grid-template-columns:34px 1fr}.v160-file-picker em{grid-column:1/-1;text-align:center}.v160-file-list{grid-template-columns:1fr}
 .v160-primary-actions,.v160-process-bar,.v160-settings-row{align-items:stretch;flex-direction:column}.v160-primary-actions .v160-button,.v160-process-bar .v160-button,.v160-settings-row>.v160-button{width:100%}
 .v159-progress>div,.v159-result>div:first-child{display:block}.v159-progress span,.v159-result>div:first-child span{display:block;margin-top:3px}
 .v159-payment-quality-grid,.v159-result-grid{grid-template-columns:1fr}
}


/* ===== Modern feature: radiante-global-filter-v165.css ===== */
/* Analytics Pro V165 — filtro persistente, sempre visível e sem cobrir conteúdo. */
:root{
  --v165-bg:rgba(17,27,39,.96);
  --v165-bg-soft:#182534;
  --v165-card:#1d2a3a;
  --v165-line:rgba(202,216,233,.22);
  --v165-line-strong:rgba(158,197,235,.42);
  --v165-text:#f7f9fc;
  --v165-muted:#b5c0cf;
  --v165-sky:#9ec5eb;
  --v165-mint:#8ed7c2;
  --v165-butter:#e4d18b;
  --v165-sage:#afcb9e;
  --v165-apricot:#e9b58f;
}
body.ux-v165{padding-bottom:118px!important}
body.ux-v165 .main-container{padding-bottom:22px!important}
body.ux-v165 #floating-period-indicator,
body.ux-v165 #floating-period-indicator-v78{display:none!important}
body.ux-v165 #tab-bi-center .v161-filter-shell{position:relative!important;top:auto!important;z-index:2!important}

body.ux-v165 .v165-filter-dock{
  position:fixed;left:calc(var(--r162-sidebar,286px) + 22px);right:22px;bottom:16px;z-index:1680;
  display:flex;align-items:center;gap:12px;min-height:68px;padding:9px 10px 9px 11px;
  border:1px solid var(--v165-line-strong);border-radius:18px;background:var(--v165-bg);
  box-shadow:0 18px 48px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035);backdrop-filter:blur(18px) saturate(1.06);
}
body.ux-v165.sidebar-collapsed .v165-filter-dock{left:104px}
body.ux-v165 .v165-filter-dock::before{content:"";position:absolute;inset:0 14px auto;height:1px;background:linear-gradient(90deg,transparent,var(--v165-sky),var(--v165-mint),var(--v165-butter),transparent);opacity:.65}
body.ux-v165 .v165-filter-dock-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}
body.ux-v165 .v165-filter-scope{display:flex;align-items:center;gap:9px;min-width:205px;max-width:300px;padding:7px 9px;border:0;background:transparent;color:var(--v165-text);text-align:left;cursor:pointer}
body.ux-v165 .v165-filter-symbol{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(158,197,235,.28);border-radius:11px;background:rgba(158,197,235,.09);color:#cbe2f7}
body.ux-v165 .v165-filter-symbol svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ux-v165 .v165-filter-scope>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ux-v165 .v165-filter-scope small{color:var(--v165-muted)!important;font-size:10.5px!important;font-weight:750;text-transform:uppercase;letter-spacing:.045em}
body.ux-v165 .v165-filter-scope strong{display:block;overflow:hidden;color:var(--v165-text)!important;font-size:11.5px!important;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
body.ux-v165 .v165-period-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:170px;max-width:240px;padding:7px 11px;border:1px solid rgba(228,209,139,.26);border-radius:12px;background:rgba(228,209,139,.07);cursor:pointer}
body.ux-v165 .v165-period-chip:hover{border-color:rgba(228,209,139,.48);background:rgba(228,209,139,.11)}
body.ux-v165 .v165-period-chip small{color:#d7c998!important;font-size:10px!important;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
body.ux-v165 .v165-period-chip strong{max-width:220px;overflow:hidden;color:#f3e8bc!important;font-size:11.5px!important;text-overflow:ellipsis;white-space:nowrap}
body.ux-v165 .v165-active-chips{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);padding-right:25px}
body.ux-v165 .v165-filter-chip{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;max-width:310px;min-height:34px;padding:5px 6px 5px 10px;border:1px solid rgba(142,215,194,.30);border-radius:999px;background:rgba(142,215,194,.08);color:#d8eee8}
body.ux-v165 .v165-filter-chip b{overflow:hidden;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
body.ux-v165 .v165-filter-chip button,.v165-drawer-chip button{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border:0;border-radius:999px;background:rgba(255,255,255,.06);color:#dbe6ef;font-size:16px;line-height:1;cursor:pointer}
body.ux-v165 .v165-filter-chip button:hover,.v165-drawer-chip button:hover{background:rgba(230,163,163,.17);color:#ffd2d2}
body.ux-v165 .v165-no-filter{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;color:var(--v165-muted);font-size:11px;white-space:nowrap}
body.ux-v165 .v165-filter-dock-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
body.ux-v165 .v165-filter-total{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 9px;border-radius:999px;background:rgba(169,188,211,.08);color:#c3cfdd;font-size:10.5px;font-weight:800;white-space:nowrap}
body.ux-v165.v165-has-filters .v165-filter-total{background:rgba(142,215,194,.11);color:#cfece3}
body.ux-v165 .v165-dock-button{min-height:38px;padding:8px 12px;border:1px solid var(--v165-line);border-radius:11px;font:inherit;font-size:11px;font-weight:850;cursor:pointer;white-space:nowrap}
body.ux-v165 .v165-dock-button.ghost{background:rgba(255,255,255,.025);color:#d9e2ec}
body.ux-v165 .v165-dock-button.primary{border-color:rgba(158,197,235,.40);background:rgba(158,197,235,.14);color:#eaf5ff}
body.ux-v165 .v165-dock-button:hover{transform:translateY(-1px);filter:brightness(1.08)}
body.ux-v165 .v165-dock-button:disabled{opacity:.38;cursor:not-allowed;transform:none;filter:none}

body.ux-v165 .v165-filter-drawer{position:fixed;inset:0;z-index:1900;visibility:hidden;pointer-events:none}
body.ux-v165 .v165-filter-drawer.open{visibility:visible;pointer-events:auto}
body.ux-v165 .v165-drawer-backdrop{position:absolute;inset:0;background:rgba(3,8,14,.63);opacity:0;transition:opacity .18s ease;backdrop-filter:blur(4px)}
body.ux-v165 .v165-filter-drawer.open .v165-drawer-backdrop{opacity:1}
body.ux-v165 .v165-drawer-card{position:absolute;top:0;right:0;display:flex;flex-direction:column;width:min(620px,94vw);height:100%;padding:22px;border-left:1px solid var(--v165-line-strong);background:linear-gradient(180deg,#111b27,#0d1621);box-shadow:-28px 0 70px rgba(0,0,0,.42);transform:translateX(104%);transition:transform .22s ease;overflow-y:auto}
body.ux-v165 .v165-filter-drawer.open .v165-drawer-card{transform:translateX(0)}
body.ux-v165.v165-filter-drawer-open{overflow:hidden!important}
body.ux-v165 .v165-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--v165-line)}
body.ux-v165 .v165-drawer-head>div{min-width:0}
body.ux-v165 .v165-drawer-head small{color:var(--v165-sky)!important;font-size:10px!important;font-weight:900;letter-spacing:.08em}
body.ux-v165 .v165-drawer-head h3{margin:4px 0 5px!important;color:var(--v165-text)!important;font-size:21px!important}
body.ux-v165 .v165-drawer-head p{max-width:500px;margin:0!important;color:var(--v165-muted)!important;font-size:12px!important;line-height:1.55!important}
body.ux-v165 .v165-close{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--v165-line);border-radius:11px;background:rgba(255,255,255,.025);color:#e9eef5;font-size:22px;cursor:pointer}
body.ux-v165 .v165-drawer-period{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin-top:16px;padding:12px 14px;border:1px solid rgba(228,209,139,.27);border-radius:14px;background:rgba(228,209,139,.065);text-align:left;cursor:pointer}
body.ux-v165 .v165-drawer-period span{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ux-v165 .v165-drawer-period small{color:#d7c998!important;font-size:10px!important;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
body.ux-v165 .v165-drawer-period strong{color:#f5eac0!important;font-size:13px!important}
body.ux-v165 .v165-drawer-period b{color:#f0dda0;font-size:11px;white-space:nowrap}
body.ux-v165 .v165-drawer-status{display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:2px;margin:12px 0 4px;padding:10px 12px;border:1px solid rgba(142,215,194,.18);border-radius:12px;background:rgba(142,215,194,.045)}
body.ux-v165 .v165-status-dot{grid-row:1/3;width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--v165-mint);box-shadow:0 0 0 4px rgba(142,215,194,.09)}
body.ux-v165 .v165-drawer-status strong{color:#dcebe7;font-size:11.5px}
body.ux-v165 .v165-drawer-status>span:last-child{color:var(--v165-muted);font-size:11px}
body.ux-v165 .v165-drawer-grid{display:flex;flex-direction:column;gap:12px;margin-top:12px}
body.ux-v165 .v165-drawer-section{padding:12px;border:1px solid rgba(202,216,233,.14);border-radius:15px;background:rgba(255,255,255,.012)}
body.ux-v165 .v165-drawer-section-day{border-color:rgba(228,209,139,.16);background:rgba(228,209,139,.025)}
body.ux-v165 .v165-drawer-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
body.ux-v165 .v165-drawer-section-head strong{color:#e8edf4;font-size:12px!important}
body.ux-v165 .v165-drawer-section-head span{color:var(--v165-muted);font-size:10.5px!important;text-align:right}
body.ux-v165 .v165-drawer-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.ux-v165 .v165-drawer-section-day .v165-drawer-section-grid{grid-template-columns:minmax(0,1fr)}
body.ux-v165 .v165-drawer-field{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--v165-line);border-radius:13px;background:rgba(255,255,255,.018)}
body.ux-v165 .v165-drawer-field.active{border-color:rgba(142,215,194,.38);background:rgba(142,215,194,.055)}
body.ux-v165 .v165-drawer-field>span{color:#b9c5d3;font-size:10.5px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}
body.ux-v165 .v165-drawer-field.active>span{color:#d4ede6}
body.ux-v165 .v165-drawer-field :is(select,input){width:100%;height:43px;padding:0 10px;border:1px solid rgba(202,216,233,.19);border-radius:10px;background:#101a26;color:#f3f7fb;font-size:12px;outline:none}
body.ux-v165 .v165-drawer-field :is(select,input):focus{border-color:rgba(158,197,235,.60);box-shadow:0 0 0 3px rgba(158,197,235,.09)}
body.ux-v165 .v165-drawer-active{margin-top:16px;padding-top:15px;border-top:1px solid var(--v165-line)}
body.ux-v165 .v165-drawer-active>div:first-child{display:flex;flex-direction:column;gap:2px}
body.ux-v165 .v165-drawer-active>div:first-child strong{color:var(--v165-text);font-size:12px}
body.ux-v165 .v165-drawer-active>div:first-child span{color:var(--v165-muted);font-size:11px}
body.ux-v165 .v165-drawer-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
body.ux-v165 .v165-drawer-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 6px 5px 10px;border:1px solid rgba(142,215,194,.28);border-radius:999px;background:rgba(142,215,194,.07);color:#dceee9}
body.ux-v165 .v165-drawer-chip b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ux-v165 .v165-drawer-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:auto;padding-top:20px}

body.ux-v165 #tab-bi-center .v165-filter-scope-note{margin:0 14px;padding:9px 11px;border-top:1px solid rgba(202,216,233,.11);color:var(--ap163-muted,#aeb9c8);font-size:11px;line-height:1.45}
body.ux-v165 #tab-bi-center .v165-filter-scope-note strong{color:var(--ap163-text-2,#d7dee8)}
body.ux-v165 #tab-bi-center .v161-filter-copy span{max-width:760px!important;color:var(--ap163-muted,#aeb9c8)!important;font-size:11.5px!important}
body.ux-v165 #tab-bi-center .v161-filter-copy strong{font-size:13px!important}
body.ux-v165 #tab-bi-center .v161-filter-shell .v96-chips{padding-top:2px!important}

@media(max-width:1180px){
  body.ux-v165 .v165-filter-dock{left:104px}
  body.ux-v165 .v165-filter-scope{min-width:52px;max-width:52px;padding:7px}
  body.ux-v165 .v165-filter-scope>span:last-child{display:none}
  body.ux-v165 .v165-period-chip{min-width:150px;max-width:190px}
  body.ux-v165 .v165-filter-total{display:none}
}
@media(max-width:960px){
  body.ux-v165{padding-bottom:132px!important}
  body.ux-v165 .v165-filter-dock{left:12px;right:12px;bottom:10px;flex-wrap:wrap;gap:7px;padding:8px}
  body.ux-v165 .v165-filter-dock-main{width:100%}
  body.ux-v165 .v165-filter-scope{display:none}
  body.ux-v165 .v165-period-chip{min-width:138px;max-width:175px}
  body.ux-v165 .v165-filter-dock-actions{margin-left:auto}
}
@media(max-width:620px){
  body.ux-v165{padding-bottom:154px!important}
  body.ux-v165 .v165-period-chip{min-width:118px;max-width:145px;padding:6px 8px}
  body.ux-v165 .v165-active-chips{min-width:0}
  body.ux-v165 .v165-filter-chip{max-width:220px}
  body.ux-v165 .v165-dock-button{min-height:36px;padding:7px 9px}
  body.ux-v165 .v165-drawer-card{width:100%;padding:16px}
  body.ux-v165 .v165-drawer-section-grid{grid-template-columns:1fr}
  body.ux-v165 .v165-drawer-section-head{align-items:flex-start;flex-direction:column;gap:2px}
  body.ux-v165 .v165-drawer-section-head span{text-align:left}
}
@media(prefers-reduced-motion:reduce){body.ux-v165 .v165-filter-drawer *{transition:none!important}body.ux-v165 .v165-dock-button:hover{transform:none}}


/* ===== Modern feature: radiante-financial-center-v168.css ===== */
/* Analytics Pro V168 — Centro Financeiro Profundo e Unificado
   Camada final. Não altera fórmulas; reorganiza o Financeiro em leitura operacional. */
body.ux-v167{--v167-bg:#0b131e;--v167-surface:#111c2b;--v167-card:#172437;--v167-card-2:#1b2a3e;--v167-line:#2b3c52;--v167-text:#f4f7fb;--v167-muted:#b9c5d5;--v167-soft:#8fa1b7;--v167-mint:#9adfc6;--v167-sky:#9bcaf3;--v167-butter:#ead58f;--v167-peach:#efb895;--v167-sage:#aecaa8;--v167-rose:#e4a4ae}
body.ux-v167 #tab-financial.v167-finance-ready{background:transparent!important;padding-bottom:130px}
body.ux-v167 #tab-financial.v167-finance-ready>:not(#v167-finance-root){display:none!important}
#v167-finance-root{display:block;color:var(--v167-text);font-size:14px;line-height:1.45}
#v167-finance-root *{box-sizing:border-box}
.v167-finance-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:24px 26px;border:1px solid var(--v167-line);border-radius:22px;background:linear-gradient(135deg,rgba(155,202,243,.10),rgba(154,223,198,.055) 52%,rgba(234,213,143,.045));box-shadow:0 16px 40px rgba(0,0,0,.12)}
.v167-finance-hero-copy small{display:block;margin-bottom:6px;color:var(--v167-mint);font-weight:850;text-transform:uppercase;letter-spacing:.095em;font-size:11.5px}
.v167-finance-hero h2{margin:0;font-size:25px;line-height:1.15;color:var(--v167-text)}
.v167-finance-hero p{max-width:780px;margin:8px 0 0;color:var(--v167-muted);font-size:13px}
.v167-finance-hero-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.v167-source-pill,.v167-limit-pill{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.v167-source-pill{color:#dff9ee;background:rgba(154,223,198,.09);border:1px solid rgba(154,223,198,.27)}
.v167-limit-pill{color:#fff2ce;background:rgba(234,213,143,.08);border:1px solid rgba(234,213,143,.26)}
.v167-settings-button{min-height:36px;border:1px solid var(--v167-line);border-radius:11px;background:var(--v167-card);color:var(--v167-text);font-weight:800;padding:8px 12px;cursor:pointer}
.v167-settings-button:hover{border-color:#55708f;background:var(--v167-card-2)}
.v167-finance-tabs{display:flex;gap:7px;margin:14px 0 18px;padding:5px;border:1px solid var(--v167-line);border-radius:15px;background:#0e1825;position:sticky;top:76px;z-index:20;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.v167-finance-tabs button{flex:1;min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--v167-muted);font-weight:800;font-size:12px;cursor:pointer}
.v167-finance-tabs button.active{background:var(--v167-card-2);color:var(--v167-text);box-shadow:inset 0 -2px 0 var(--v167-mint)}
.v167-finance-view{display:none}.v167-finance-view.active{display:block}
.v167-settings-panel{display:none;margin:0 0 18px;padding:16px;border:1px solid var(--v167-line);border-radius:16px;background:var(--v167-surface)}
.v167-settings-panel.open{display:block}
.v167-settings-panel .financial-toolbar{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(190px,1fr))!important;gap:12px!important}
.v167-settings-panel .financial-rule-fields{display:grid!important;grid-template-columns:repeat(2,minmax(180px,1fr))!important;gap:12px!important;grid-column:1/-1}
.v167-settings-panel .financial-rule-note{grid-column:1/-1!important;color:var(--v167-muted)!important;font-size:12px!important;background:#0e1825!important;border:1px solid var(--v167-line)!important;border-radius:12px!important;padding:11px 12px!important}
.v167-settings-panel label{color:var(--v167-muted)!important;font-size:11.5px!important;font-weight:750!important}
.v167-settings-panel select,.v167-settings-panel input{margin-top:5px!important;min-height:39px!important;background:#0d1724!important;color:var(--v167-text)!important;border:1px solid var(--v167-line)!important;border-radius:10px!important;padding:8px 10px!important;font-size:12px!important}
.v167-section{margin:0 0 18px;padding:20px;border:1px solid var(--v167-line);border-radius:19px;background:var(--v167-surface)}
.v167-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:15px}
.v167-section-title{display:flex;gap:11px;align-items:flex-start}
.v167-step{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:9px;background:rgba(155,202,243,.13);border:1px solid rgba(155,202,243,.27);color:var(--v167-sky);font-weight:900;font-size:11px}
.v167-section h3{margin:1px 0 3px;font-size:16px;color:var(--v167-text)}
.v167-section-head p{margin:0;color:var(--v167-muted);font-size:12px;max-width:760px}
.v167-data-note{display:flex;gap:11px;align-items:flex-start;padding:12px 14px;border-radius:13px;background:rgba(234,213,143,.055);border:1px solid rgba(234,213,143,.22);color:var(--v167-muted);font-size:12px;margin-bottom:15px}
.v167-data-note strong{color:#f7e7af}.v167-data-note b{color:var(--v167-text)}
.v167-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.v167-kpi{position:relative;min-height:118px;padding:15px;border:1px solid var(--v167-line);border-radius:15px;background:var(--v167-card);overflow:hidden}
.v167-kpi:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--tone,var(--v167-sky));opacity:.9}
.v167-kpi small{display:block;color:var(--v167-muted);font-size:10.5px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;margin-bottom:8px}
.v167-kpi strong{display:block;color:var(--v167-text);font-size:22px;line-height:1.1;letter-spacing:-.02em}
.v167-kpi span{display:block;margin-top:8px;color:var(--v167-muted);font-size:11.5px;line-height:1.35}
.v167-kpi.mint{--tone:var(--v167-mint)}.v167-kpi.sky{--tone:var(--v167-sky)}.v167-kpi.butter{--tone:var(--v167-butter)}.v167-kpi.peach{--tone:var(--v167-peach)}.v167-kpi.sage{--tone:var(--v167-sage)}.v167-kpi.rose{--tone:var(--v167-rose)}
.v167-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.v167-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.v167-card{border:1px solid var(--v167-line);border-radius:15px;background:var(--v167-card);padding:15px;min-width:0}
.v167-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:11px}.v167-card-head strong{font-size:13px;color:var(--v167-text)}.v167-card-head span{display:block;margin-top:3px;color:var(--v167-muted);font-size:11px}
.v167-chart{height:280px;position:relative}.v167-chart.tall{height:340px}.v167-chart.compact{height:230px}
.v167-chart canvas{max-width:100%;max-height:100%}
.v167-window-switch{display:flex;gap:5px}.v167-window-switch button{border:1px solid var(--v167-line);background:#0e1825;color:var(--v167-muted);border-radius:8px;padding:6px 8px;font-size:10.5px;font-weight:800;cursor:pointer}.v167-window-switch button.active{color:var(--v167-text);border-color:rgba(154,223,198,.45);background:rgba(154,223,198,.09)}
.v167-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.v167-status{padding:12px;border:1px solid var(--v167-line);border-radius:12px;background:#111d2c}.v167-status small{color:var(--v167-muted);font-size:10px;font-weight:850;text-transform:uppercase}.v167-status strong{display:block;margin-top:4px;font-size:18px;color:var(--v167-text)}.v167-status span{display:block;color:var(--v167-muted);font-size:10.5px;margin-top:4px}
.v167-next-list{display:grid;gap:7px;max-height:325px;overflow:auto;padding-right:3px}.v167-next-row{display:grid;grid-template-columns:88px 1fr auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #26384d;border-radius:10px;background:#0f1a28}.v167-next-row time{font-size:10.5px;color:var(--v167-sky);font-weight:850}.v167-next-row div{min-width:0}.v167-next-row b{display:block;color:var(--v167-text);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v167-next-row small{display:block;color:var(--v167-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v167-next-row strong{font-size:12px;color:var(--v167-mint);white-space:nowrap}
.v167-rank{display:grid;gap:8px}.v167-rank-row{display:grid;grid-template-columns:minmax(120px,1.4fr) minmax(80px,.65fr) minmax(80px,.65fr) minmax(80px,.65fr);gap:10px;align-items:center;padding:9px 10px;border-bottom:1px solid #26374a}.v167-rank-row:last-child{border-bottom:0}.v167-rank-row.head{color:var(--v167-muted);font-size:10px;text-transform:uppercase;font-weight:850;letter-spacing:.035em}.v167-rank-row b{color:var(--v167-text);font-size:11.5px}.v167-rank-row span{color:var(--v167-muted);font-size:11px;text-align:right}.v167-rank-row strong{color:var(--v167-mint);font-size:11px;text-align:right}
.v167-table-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px}.v167-table-tools input{width:min(380px,100%);min-height:38px;border-radius:10px;border:1px solid var(--v167-line);background:#0e1825;color:var(--v167-text);padding:8px 11px;font-size:12px}.v167-table-tools button{min-height:38px;border:1px solid var(--v167-line);border-radius:10px;background:var(--v167-card-2);color:var(--v167-text);font-weight:800;padding:8px 11px;cursor:pointer}
.v167-table-wrap{overflow:auto;max-height:510px;border:1px solid var(--v167-line);border-radius:12px}.v167-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1280px}.v167-table th{position:sticky;top:0;z-index:2;background:#101c2b;color:#c7d4e5;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.035em;padding:10px;border-bottom:1px solid #33475f}.v167-table td{padding:10px;border-bottom:1px solid #233549;color:#dce5f0;font-size:11px;vertical-align:top}.v167-table tr:hover td{background:rgba(155,202,243,.025)}.v167-table td small{display:block;color:var(--v167-muted);font-size:10px;margin-top:2px}.v167-table .money{font-variant-numeric:tabular-nums;white-space:nowrap}.v167-table .ok{color:var(--v167-mint)}.v167-table .warn{color:var(--v167-butter)}
.v167-quality-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.v167-quality{padding:13px;border:1px solid var(--v167-line);border-radius:12px;background:var(--v167-card)}.v167-quality small{color:var(--v167-muted);font-size:10px;font-weight:800}.v167-quality strong{display:block;font-size:18px;color:var(--v167-text);margin:5px 0}.v167-quality span{color:var(--v167-muted);font-size:10.5px}
.v167-empty{padding:22px;text-align:center;color:var(--v167-muted);font-size:12px;border:1px dashed #3a4d64;border-radius:12px;background:#0e1825}
/* Centro de análise: a partir da V167 só existe fluxo contratual, sem abas semânticas ambíguas. */
body.ux-v167 #v123-monthly-result .v123-mode{display:none!important}
body.ux-v167 #v123-monthly-result .v123-monthly-title strong{font-size:14px!important}
body.ux-v167 #v123-monthly-result .v123-monthly-title span{font-size:11.5px!important;color:var(--v167-muted)!important}
/* Marketing: sem alternância resumo/visão completa. */
body.ux-v167 #tab-overview .executive-view-header,body.ux-v167 #tab-overview .overview-detail-hint{display:none!important}
@media(max-width:1180px){.v167-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v167-quality-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v167-grid-3{grid-template-columns:1fr 1fr}.v167-finance-tabs{top:70px}.v167-finance-hero{grid-template-columns:1fr}}
@media(max-width:760px){.v167-grid-2,.v167-grid-3{grid-template-columns:1fr}.v167-kpis{grid-template-columns:1fr 1fr}.v167-quality-grid{grid-template-columns:1fr 1fr}.v167-finance-tabs{overflow:auto;position:relative;top:auto}.v167-finance-tabs button{min-width:140px}.v167-settings-panel .financial-toolbar{grid-template-columns:1fr!important}.v167-settings-panel .financial-rule-fields{grid-template-columns:1fr!important}.v167-status-grid{grid-template-columns:1fr 1fr}.v167-finance-hero{padding:18px}.v167-section{padding:15px}}

/* V168 — leitura financeira unificada, Meta por modalidade e acumulados */
body.ux-v168 .v168-cumulative-grid{display:grid;grid-template-columns:1fr;gap:13px}
body.ux-v168 .v168-cumulative-grid .v167-card{padding:16px 17px}
body.ux-v168 .v168-cumulative-grid .v167-card-head>b{font-size:15px;color:var(--v167-sky);white-space:nowrap;font-variant-numeric:tabular-nums}
body.ux-v168 .v168-cumulative-grid .v167-chart{height:300px}
body.ux-v168 .v168-meta-table-wrap{overflow:auto;border:1px solid var(--v167-line);border-radius:13px;background:#101b2a}
body.ux-v168 .v168-meta-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1080px}
body.ux-v168 .v168-meta-table th{position:sticky;top:0;z-index:1;padding:11px 12px;background:#132033;color:#c7d5e7;border-bottom:1px solid #33475f;text-align:right;font-size:10.5px;text-transform:uppercase;letter-spacing:.035em}
body.ux-v168 .v168-meta-table th:first-child{text-align:left}
body.ux-v168 .v168-meta-table td{padding:12px;border-bottom:1px solid #26384c;color:#dfe8f3;text-align:right;font-size:11.5px;font-variant-numeric:tabular-nums}
body.ux-v168 .v168-meta-table td:first-child{text-align:left;min-width:190px}
body.ux-v168 .v168-meta-table td b{display:block;color:var(--v167-text);font-size:12px}
body.ux-v168 .v168-meta-table td small{display:block;margin-top:3px;color:var(--v167-muted);font-size:10.5px}
body.ux-v168 .v168-meta-table tr:last-child td{border-bottom:0}
body.ux-v168 .v168-meta-table tr:hover td{background:rgba(155,202,243,.025)}
body.ux-v168 .v168-meta-table td strong{color:var(--v167-mint)}
body.ux-v168 .v168-meta-table tr.negative td strong,body.ux-v168 .v168-meta-table tr.negative td:last-child{color:var(--v167-rose)}
body.ux-v168 #v167-due-daily,body.ux-v168 #v167-due-monthly{image-rendering:auto}
body.ux-v168 #v96-fin-summary .v96-summary-item small{line-height:1.35}
@media(max-width:760px){body.ux-v168 .v168-cumulative-grid .v167-chart{height:270px}}


/* ===== Modern feature: radiante-pdf-report-v170.css ===== */
body.ux-v162 #tab-overview .scope-banner-marketing{display:flex;align-items:center;gap:12px}
body.ux-v162 #tab-overview .scope-banner-marketing .scope-banner-copy{flex:1;min-width:0}
body.ux-v162 #v170-report-button{margin-left:auto;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(154,223,198,.34);background:rgba(154,223,198,.09);color:#d9f4ea;border-radius:10px;padding:9px 12px;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap;transition:.18s ease}
body.ux-v162 #v170-report-button:hover{background:rgba(154,223,198,.16);border-color:rgba(154,223,198,.5);transform:translateY(-1px)}
body.ux-v162 #v170-report-button span{font-size:15px;color:#9adfc6}
body.ux-v162 #v170-report-button b{font-weight:800}
body.ux-v162 #extended-actions #btn-export-pdf{width:100%;justify-content:flex-start;gap:8px}
@media(max-width:900px){body.ux-v162 #tab-overview .scope-banner-marketing{align-items:flex-start;flex-wrap:wrap}body.ux-v162 #v170-report-button{margin-left:0}}


/* ===== Modern feature: radiante-report-center-v171.css ===== */
/* V171 - Central de Relatórios */
body.ux-v162 #v171-report-modal{position:fixed;inset:0;z-index:2600;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(3,9,15,.76);backdrop-filter:blur(10px)}
body.ux-v162 #v171-report-modal.open{display:flex}
body.ux-v162 .v171-dialog{width:min(1040px,96vw);max-height:min(860px,92vh);overflow:auto;border:1px solid rgba(184,204,220,.22);border-radius:22px;background:#101a27;box-shadow:0 28px 80px rgba(0,0,0,.46);color:#edf3f8}
body.ux-v162 .v171-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid rgba(184,204,220,.14);background:linear-gradient(135deg,rgba(154,223,198,.08),rgba(158,197,235,.06))}
body.ux-v162 .v171-dialog-head small{display:block;margin-bottom:5px;color:#9adfc6;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
body.ux-v162 .v171-dialog-head h2{margin:0;font-size:23px;letter-spacing:-.02em}
body.ux-v162 .v171-dialog-head p{margin:6px 0 0;max-width:720px;color:#aebdca;font-size:12px;line-height:1.5}
body.ux-v162 .v171-close{width:38px;height:38px;border-radius:11px;border:1px solid rgba(184,204,220,.18);background:#152233;color:#d9e2eb;font-size:20px;cursor:pointer}
body.ux-v162 .v171-dialog-body{padding:20px 24px 24px}
body.ux-v162 .v171-section-label{margin:0 0 10px;color:#c9d5df;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.ux-v162 .v171-report-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.ux-v162 .v171-type{min-height:104px;padding:13px;border:1px solid rgba(184,204,220,.14);border-radius:15px;background:#142131;color:#edf3f8;text-align:left;cursor:pointer;transition:.16s ease}
body.ux-v162 .v171-type:hover{transform:translateY(-1px);border-color:rgba(154,223,198,.36);background:#172637}
body.ux-v162 .v171-type.active{border-color:#8fcfb8;box-shadow:0 0 0 2px rgba(143,207,184,.12) inset;background:linear-gradient(135deg,rgba(143,207,184,.12),#162536)}
body.ux-v162 .v171-type b{display:block;margin-bottom:5px;font-size:13px}
body.ux-v162 .v171-type span{display:block;color:#9fadb9;font-size:10.5px;line-height:1.42}
body.ux-v162 .v171-options{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:18px}
body.ux-v162 .v171-box{border:1px solid rgba(184,204,220,.14);border-radius:15px;background:#131f2e;padding:14px}
body.ux-v162 .v171-period-presets{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
body.ux-v162 .v171-period-presets button{border:1px solid rgba(184,204,220,.16);border-radius:9px;background:#182638;color:#cdd7e0;padding:8px 10px;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}
body.ux-v162 .v171-period-presets button.active{background:#dff3ea;color:#204f40;border-color:#a7d7c6}
body.ux-v162 .v171-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body.ux-v162 .v171-field label{display:block;margin-bottom:5px;color:#9fadb9;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
body.ux-v162 .v171-field input,body.ux-v162 .v171-field select{width:100%;height:39px;border:1px solid rgba(184,204,220,.18);border-radius:9px;background:#0f1a28;color:#eef4f8;padding:0 10px;font:inherit;font-size:11px;outline:none}
body.ux-v162 .v171-field input:focus,body.ux-v162 .v171-field select:focus{border-color:#8fcfb8;box-shadow:0 0 0 3px rgba(143,207,184,.1)}
body.ux-v162 .v171-checks{display:grid;gap:8px}
body.ux-v162 .v171-check{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border:1px solid rgba(184,204,220,.11);border-radius:10px;background:#101a27}
body.ux-v162 .v171-check input{margin-top:2px;accent-color:#8fcfb8}
body.ux-v162 .v171-check b{display:block;font-size:10.5px}
body.ux-v162 .v171-check span{display:block;margin-top:2px;color:#93a4b3;font-size:9.5px;line-height:1.35}
body.ux-v162 .v171-context{margin-top:12px;padding:10px 11px;border-radius:10px;background:rgba(158,197,235,.07);border:1px solid rgba(158,197,235,.15);color:#aebdca;font-size:10px;line-height:1.45}
body.ux-v162 .v171-context b{color:#dce8f1}
body.ux-v162 .v171-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(184,204,220,.13)}
body.ux-v162 .v171-dialog-foot p{margin:0;max-width:630px;color:#94a5b4;font-size:9.8px;line-height:1.45}
body.ux-v162 .v171-actions{display:flex;gap:8px}
body.ux-v162 .v171-actions button{height:40px;border-radius:10px;padding:0 14px;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
body.ux-v162 .v171-cancel{border:1px solid rgba(184,204,220,.18);background:#162335;color:#d9e3eb}
body.ux-v162 .v171-generate{border:1px solid #a7d7c6;background:#9adfc6;color:#173f33}
body.ux-v162 .v171-generate[disabled]{opacity:.55;cursor:wait}
body.ux-v162 #v170-report-button.v171-report-button{border-color:rgba(158,197,235,.32);background:rgba(158,197,235,.08);color:#ddebfa}
body.ux-v162 #v170-report-button.v171-report-button span{color:#9ec5eb}
@media(max-width:900px){body.ux-v162 .v171-report-types{grid-template-columns:repeat(2,minmax(0,1fr))}body.ux-v162 .v171-options{grid-template-columns:1fr}}
@media(max-width:600px){body.ux-v162 #v171-report-modal{padding:8px}body.ux-v162 .v171-dialog-head,body.ux-v162 .v171-dialog-body{padding-left:15px;padding-right:15px}body.ux-v162 .v171-report-types{grid-template-columns:1fr}body.ux-v162 .v171-date-grid{grid-template-columns:1fr}body.ux-v162 .v171-dialog-foot{align-items:stretch;flex-direction:column}body.ux-v162 .v171-actions{justify-content:flex-end}}



/* ==========================================================================\n   V185 CLASSIC RESTORATION — one final design system, derived from the V143/V95\n   visual language supplied by the user. Newer functional components inherit\n   the same navy / blue / purple / cyan system.\n   ========================================================================== */
:root{
  --v185-bg:#0B0F19;--v185-panel:#0F1628;--v185-card:#111827;--v185-card-2:#151E32;
  --v185-hover:#1F2937;--v185-line:#26334A;--v185-line-soft:rgba(148,163,184,.16);
  --v185-text:#F8FAFC;--v185-muted:#A8B4C8;--v185-dim:#73839F;
  --v185-blue:#3B82F6;--v185-cyan:#22D3EE;--v185-purple:#8B5CF6;--v185-green:#10B981;
  --v185-yellow:#F59E0B;--v185-red:#EF4444;
  --v165-bg:rgba(12,19,34,.97);--v165-bg-soft:#10192D;--v165-card:#131D33;
  --v165-line:rgba(148,163,184,.18);--v165-line-strong:rgba(59,130,246,.38);
  --v165-text:#F8FAFC;--v165-muted:#A8B4C8;--v165-sky:#60A5FA;--v165-mint:#34D399;
  --v165-butter:#FBBF24;--v165-sage:#22C55E;--v165-apricot:#FB923C;
}
html,body{background:var(--v185-bg)!important;color:var(--v185-text)!important}
body{scrollbar-color:#334155 #0B0F19}
/* Brand is centralized by V185; legacy scripts can change hidden text without visual flicker. */
body .brand .brand-badge:not(#date-range-display){font-size:0!important;white-space:nowrap}
body .brand .brand-badge:not(#date-range-display)::after{content:"V188 • UX CONSOLIDADA";font-size:10px!important;line-height:1.2;color:inherit}
/* Keep the approved classic shell compact and dark. */
.top-bar{background:#080D18!important;border-color:rgba(148,163,184,.14)!important}
.app-sidebar,.v69-sidebar{background:linear-gradient(180deg,#110D20,#0C1020)!important;border-color:rgba(139,92,246,.20)!important}
.main-container{background:var(--v185-bg)!important}
.tab-content{background:transparent!important}
/* New global filter: same old visual language, no expensive blur. */
body.ux-v165 .v165-filter-dock{background:rgba(10,17,32,.98)!important;border-color:rgba(59,130,246,.34)!important;box-shadow:0 16px 38px rgba(0,0,0,.34)!important;backdrop-filter:none!important}
body.ux-v165 .v165-filter-dock::before{background:linear-gradient(90deg,transparent,var(--v185-blue),var(--v185-cyan),var(--v185-purple),transparent)!important}
body.ux-v165 .v165-period-chip{border-color:rgba(245,158,11,.25)!important;background:rgba(245,158,11,.06)!important}
body.ux-v165 .v165-period-chip small{color:#FBBF24!important} body.ux-v165 .v165-period-chip strong{color:#FDE68A!important}
body.ux-v165 .v165-filter-chip{border-color:rgba(34,211,238,.28)!important;background:rgba(34,211,238,.07)!important;color:#CFFAFE!important}
body.ux-v165 .v165-drawer-backdrop{backdrop-filter:none!important}
body.ux-v165 .v165-drawer-card{background:linear-gradient(180deg,#10192D,#0B1120)!important;border-color:#26334A!important}
/* Financial V167/168: restore classic surfaces while preserving all new calculations. */
body.ux-v167{--v167-bg:#0B0F19;--v167-surface:#0F1628;--v167-card:#111827;--v167-card-2:#151E32;--v167-line:#26334A;--v167-text:#F8FAFC;--v167-muted:#A8B4C8;--v167-soft:#73839F;--v167-mint:#34D399;--v167-sky:#60A5FA;--v167-butter:#FBBF24;--v167-peach:#FB923C;--v167-sage:#22C55E;--v167-rose:#FB7185}
.v167-finance-hero,.v167-finance-section,.v167-flow-shell,.v167-profit-shell,.v167-reconciliation-shell{background:#0F1628!important;border-color:#26334A!important;box-shadow:none!important}
.v167-finance-hero{background:linear-gradient(135deg,rgba(59,130,246,.10),rgba(139,92,246,.07))!important}
.v167-kpi,.v167-mini-kpi,.v167-flow-card,.v167-profit-card{background:#111827!important;border-color:#26334A!important}
/* Modern forecast/workforce additions */
.radiante-workforce-panel-v152,.radiante-forecast-timeline-v151{background:#0F1628!important;border:1px solid #26334A!important;border-radius:16px!important}
.v152-workforce-summary article,.v151-timeline-grid article,.goal-month-picker-v151{background:#111827!important;border-color:#26334A!important}
.v152-workforce-help,.v151-timeline-explanation{border-left-color:var(--v185-purple)!important}
/* Daily update / Central de dados should feel like the older V143 import center. */
.v160-import-center,.v160-page{color:var(--v185-text)!important}
.v160-daily-card,.v160-process-bar,.v160-maintenance-row,.v160-settings-row,.v159-result{background:#111827!important;border-color:#26334A!important}
.v160-file-picker{background:#0E172A!important;border-color:rgba(59,130,246,.38)!important}
.v160-tabs{background:#0A1120!important;border-color:#26334A!important}
.v160-tabs button{color:#94A3B8!important}.v160-tabs button.is-active{color:#F8FAFC!important;border-color:#22D3EE!important}
/* Keep newer report center dark; reports themselves remain print-white. */
.v171-report-center,.v171-report-dialog,.v171-report-card,.v171-report-modal-card{background:#0F1628!important;color:#F8FAFC!important;border-color:#26334A!important}
/* Processing overlay: classic dark, lightweight, and no white card. */
#radiante-processing-overlay{background:#050914!important}
.radiante-processing-card{background:#0F1628!important;border-color:rgba(59,130,246,.28)!important;border-radius:18px!important;box-shadow:0 28px 80px rgba(0,0,0,.48)!important}
.radiante-processing-card small{color:#60A5FA!important}.radiante-progress-track{background:#1E293B!important}.radiante-progress-track i{background:linear-gradient(90deg,#3B82F6,#8B5CF6,#22D3EE)!important}
body.radiante-distribution #ap84-session-gate{background:#050914!important}
body.radiante-distribution .radiante-start-card{background:#0F1628!important;border-color:rgba(59,130,246,.26)!important;border-radius:20px!important;box-shadow:0 30px 90px rgba(0,0,0,.5)!important}
body.radiante-distribution .radiante-start-logo{background:linear-gradient(135deg,#3B82F6,#8B5CF6)!important}
body.radiante-distribution .radiante-start-kicker{color:#60A5FA!important}
body.radiante-distribution .radiante-json-button{background:linear-gradient(135deg,#2563EB,#7C3AED)!important;border-color:rgba(96,165,250,.35)!important;box-shadow:none!important}
body.radiante-distribution .radiante-json-button.secondary{background:#151E32!important;border-color:#334155!important}
/* Avoid heavy continuous compositing on sticky/fixed UI. */
.v165-filter-dock,.floating-period-indicator,.floating-goals-indicator-v76,.top-bar,.app-sidebar{backdrop-filter:none!important}
/* Strong legibility guard for the dark theme. */
:is(.panel,.kpi-card,.mini-kpi,.v96-card,.v113-consultant-card,.financial-card,.commercial-card,.forecast-panel) :is(p,span,small,label){text-shadow:none}
:is(.panel,.kpi-card,.mini-kpi,.v96-card,.v113-consultant-card,.financial-card,.commercial-card,.forecast-panel) small{color:#94A3B8}
/* Selected/active elements never turn into low-contrast grey blocks. */
:is(.v113-consultant-card,.consultant-card,.campaign-card).active,:is(.v113-consultant-card,.consultant-card,.campaign-card).selected{background:#151E32!important;border-color:rgba(96,165,250,.48)!important;color:#F8FAFC!important}
/* Desktop density close to the reference V95: informative, not oversized. */
@media(min-width:1100px){.kpi-card{min-height:110px}.v96-kpi{min-height:106px}.panel{margin-bottom:18px}.v96-card{border-radius:16px}.v165-filter-dock{min-height:60px!important;padding-top:7px!important;padding-bottom:7px!important}}

/* V188 — UX consolidada de filtros: uma única superfície de controle. */
body.ux-v165 #tab-bi-center .v161-filter-shell{display:none!important}
body.ux-v165 .v165-filter-scope{cursor:default!important}
body.ux-v165 #v165-clear-all:disabled{display:none!important}
body.ux-v108-menu .v108-filter-link{display:none!important}
body.ux-v165 .v165-filter-dock{min-height:58px!important}
body.ux-v165 .v165-active-chips{scrollbar-width:thin}
body.ux-v165 .v165-dock-button.primary{min-width:82px}
