:root{font-family:Aptos,Arial,sans-serif;color:#003366;background:#edf2f5;font-size:14px;--line:#c6d8e7;--navy:#003366;--blue:#215c98;--green:#21835b;--orange:#e66b00;--purple:#7b1b6f;--cyan:#00aeef}*{box-sizing:border-box}html,body{margin:0;height:100%;width:100%;overflow:hidden}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button,a,select,input{touch-action:manipulation}button{border:1px solid #b9c9d6;border-radius:7px;background:#f6f9fb;min-height:32px;padding:5px 11px;font-weight:600;font-size:12px}button:hover{background:#e7f1f9}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #4d93d9;outline-offset:2px}button.active,button[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}select,input{border:1px solid #b9c9d6;border-radius:7px;background:white;min-height:32px;padding:5px 9px;max-width:100%}input[type=checkbox]{min-height:auto;accent-color:#003366}button:disabled{opacity:.35;cursor:default}a{color:inherit}[hidden]{display:none!important}body{display:flex;flex-direction:column}.panel-header{display:flex;align-items:center;gap:12px;background:white;border-bottom:1px solid var(--line);padding:5px 14px;min-height:48px;flex-shrink:0}.panel-brand{display:flex}.panel-header>strong{font-size:16px}.case-switch{display:flex;gap:4px;margin-left:auto}.case-switch:empty{margin:0}.panel-header>#expand{margin-left:auto;white-space:nowrap}.case-switch:not(:empty)+#expand{margin-left:0}.panel-nav{display:flex;gap:4px;align-items:center;min-height:43px;padding:5px 14px;background:#f8fafb;border-bottom:1px solid var(--line);flex-shrink:0}.panel-nav button{border:0;background:transparent;font-size:13px;padding:6px 14px}.panel-nav button.active{background:#003366}.panel-nav .data-note{margin-left:auto;font-size:11px;color:#607b90}main{flex:1;min-height:0;overflow:auto;padding:12px 14px 14px;scrollbar-color:#4d93d9 #edf2f5;scrollbar-width:thin}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.kicker{text-transform:uppercase;letter-spacing:.9px;font-size:10px;color:#607b90;font-weight:600;margin:0 0 4px}.page-head h1{font-size:23px;line-height:1.12;letter-spacing:.2px;margin:0}.page-head p:not(.kicker){font-size:12px;margin:4px 0 0;color:#587591}.controls{display:flex;align-items:flex-end;gap:7px;flex-shrink:0}.controls label{font-size:11px;font-weight:600;display:flex;flex-direction:column;gap:4px}.controls select{font-size:12px;font-weight:600}.controls .inline{flex-direction:row;align-items:center}.surface-card{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;min-width:0}.card-head{border-bottom:1px solid var(--line);padding:10px 16px;text-align:center}.card-head h2{margin:0;font-size:17px;letter-spacing:.5px}.card-head p{font-size:11px;color:#607b90;margin:4px 0 0}.chart-card{display:flex;flex-direction:column}.chart-scroll{min-height:0;flex:1;overflow-x:auto;overflow-y:hidden}.plot{width:100%;height:100%;min-height:230px}.chart-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;width:max-content;max-width:95%;margin:10px auto 0;border:1px solid #003366;border-radius:10px;padding:8px;background:#edf5fa;font-size:11px;line-height:1}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{display:inline-block;width:32px;height:0;border-top:3px solid var(--c)}.chart-legend i.dot{width:8px;height:8px;background:var(--c);border:0;border-radius:50%}.chart-legend i.dashed{border-top-style:dashed}.profile-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,.8fr);gap:14px;height:calc(100% - 54px);min-height:270px}.profile-layout .chart-card,.profile-layout .table-card{height:100%}.table-card{display:flex;flex-direction:column}.table-card .card-head{text-align:left}.table-scroll{overflow:auto;min-height:0;flex:1;scrollbar-color:#4d93d9 #edf2f5;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums;text-align:center}th{position:sticky;top:0;z-index:2;background:#003366;color:#fff;font-size:12px;font-weight:700;padding:10px 9px;border-right:1px solid #446684;vertical-align:middle}th:last-child{border-right:0}th .head-inner{display:flex;justify-content:center;align-items:center;gap:10px}th .head-title{display:block}th small{display:table;border-top:1px solid #8ba4bb;padding-top:3px;margin:3px auto 0;color:#c6d8e7;font-size:11px;font-weight:400;line-height:1.1}th button{min-height:26px;height:26px;min-width:26px;width:26px;padding:0;border:1px solid #577d9e;border-radius:4px;color:white;background:transparent;line-height:1;flex-shrink:0}th button:hover{background:#215c98}td{padding:8px 10px;border-bottom:1px dotted #d3dee7}tr:nth-child(even) td{background:#f2f6f8}tr.selected td{background:#deedf7}tbody tr[data-row]{cursor:pointer}tbody tr[data-row]:hover td{background:#e7f1f9}.code-pill{display:inline-block;background:#1b527d;color:#fff;border-radius:6px;padding:5px 8px;white-space:nowrap;font-size:11px;font-weight:700;line-height:1.25}.bar{height:5px;display:block;border-radius:3px;background:#d9e5ed;margin-top:5px;width:100%;min-width:40px}.bar i{display:block;border-radius:3px;height:100%;background:var(--c,#003366);width:var(--w)}.table-tools{display:flex;align-items:center;gap:10px;padding:7px 12px;font-size:11px;color:#607b90;border-bottom:1px solid var(--line);min-height:35px}.table-tools input{min-height:26px;width:135px;font-size:11px;margin-left:auto}.table-tools button{min-height:26px;font-size:11px;padding:3px 8px}.filter-menu{position:fixed;z-index:50;box-shadow:0 6px 24px #00336626;border:1px solid #b9c9d6;border-radius:7px;padding:10px;background:white;width:195px;max-height:85vh;overflow:auto;font-size:12px}.filter-menu>strong{display:block;margin-bottom:8px}.filter-menu button{display:block;width:100%;margin:5px 0}.filter-menu label{display:flex;gap:7px;align-items:center;margin:6px 0}.filter-menu input{width:auto}.filter-menu input[type=search]{width:100%;min-height:28px}.compare-card{height:calc(100% - 54px);min-height:275px}.comparison-plot{min-width:780px}.home-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.6fr);gap:14px;height:100%;min-height:280px}.home-copy{padding:22px;display:flex;flex-direction:column;justify-content:center}.home-copy h1{font-size:27px;line-height:1.15;margin:4px 0 12px}.home-copy p{font-size:13px;line-height:1.55;margin:0 0 14px;color:#476a87}.home-copy .home-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}.home-graphic{display:flex;flex-direction:column}.home-graphic .schematic{width:100%;flex:1;min-height:115px;max-height:190px}.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px}.kpi{border-top:1px solid #c6d8e7;padding:10px 5px 5px}.kpi strong{font-size:22px;display:block;line-height:1.15}.kpi span{font-size:11px;display:block;color:#607b90;margin:4px 0}.case-summary{padding:8px 16px 14px;font-size:12px;line-height:1.4;margin:0;color:#496c89}.basis-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:14px}.basis-copy{padding:18px;line-height:1.6;font-size:13px}.basis-copy h2{font-size:18px;margin:0 0 10px}.basis-copy p{margin:0 0 12px}.basis-copy p:last-child{margin:0}.basis-copy ul{padding-left:18px;margin:8px 0}.basis-table th{position:static}.basis-table td{text-align:left;padding:10px 14px}.basis-table td:nth-child(2){font-weight:600}.reading{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:11px;min-height:29px;padding:5px 14px;background:#f8fafb;border-top:1px solid var(--line);color:#4d6d88}.reading output{font-weight:600;color:#003366}.series-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px;height:calc(100% - 60px);min-height:280px}.series-layout .plot{min-height:200px}.verification-table td{text-align:left}.verification-table td:last-child{max-width:270px}.callout{padding:12px 16px;background:#edf5fa;font-size:12px;line-height:1.5;border-top:1px solid #c6d8e7}.model-status{color:#7b1b6f;font-weight:600}.js-plotly-plot .plotly .modebar{display:none!important}
@media(min-width:1000px){main{padding:12px 16px}.panel-header{padding-inline:16px}.panel-nav{padding-inline:16px}}
@media(max-height:490px) and (min-width:760px){.page-head{margin-bottom:7px}.page-head h1{font-size:20px}.card-head{padding:7px 12px}.card-head h2{font-size:15px}.chart-legend{margin-top:7px;padding:6px}.home-copy{padding:17px}.home-copy h1{font-size:23px}.home-copy p{font-size:12px;margin-bottom:9px}.kpi-row{margin:6px 12px}.kpi{padding-top:6px}.kpi strong{font-size:20px}.home-graphic .schematic{max-height:155px}.panel-header{min-height:42px}.panel-nav{min-height:39px}.home-layout{min-height:250px}}
@media(max-width:759px){.panel-header{gap:7px;padding:6px 9px;flex-wrap:wrap}.panel-header>strong{font-size:13px}.panel-brand{display:none}.case-switch{order:3;width:100%;justify-content:center}.case-switch:empty{display:none}.panel-header>#expand{font-size:11px}.panel-nav{overflow-x:auto;padding:5px;gap:0;min-height:41px}.panel-nav button{font-size:12px;padding:6px 9px;white-space:nowrap}.data-note{display:none}.page-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.page-head h1{font-size:20px}.controls{flex-wrap:wrap}.controls label{font-size:10px}main{padding:10px}.home-layout,.basis-layout{grid-template-columns:1fr;height:auto}.home-copy{padding:17px}.home-copy h1{font-size:25px}.home-graphic{min-height:255px}.profile-layout{grid-template-columns:1fr;height:auto}.profile-layout .chart-card{height:340px}.profile-layout .table-card{height:280px}.profile-layout .plot{min-width:630px}.compare-card{height:340px}.comparison-plot{min-width:830px}.series-layout{grid-template-columns:1fr;height:auto}.series-layout .chart-card{height:290px}.chart-legend{font-size:10px;gap:9px}.chart-legend i{width:20px}.table-scroll table{min-width:570px}.profile-layout .table-scroll table{min-width:390px}.kpi strong{font-size:20px}.basis-table{min-width:0!important}.reading{flex-wrap:wrap}.verification-table{min-width:630px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

@media(min-width:760px){.plot{min-height:0}.profile-layout{min-height:235px}.compare-card{min-height:240px}.series-layout .plot{min-height:0}.series-layout{min-height:225px}.comparison-plot .annotation-text{font-size:13px}}

@media(max-height:490px) and (min-width:760px){.page-head .kicker{display:none}.page-head{min-height:34px;margin-bottom:6px}.page-head h1{font-size:19px}.card-head p{display:none}.compare-card,.profile-layout{height:calc(100% - 42px)}.card-head{padding:8px 12px}.controls label{gap:2px}.controls select{min-height:28px;padding-top:3px;padding-bottom:3px}}

@media(max-width:759px){.compare-card .card-head p:after{content:" Deslize o gráfico para consultar as demais métricas."}.profile-layout .chart-card .card-head p:after{content:" Deslize para percorrer o perfil."}}

.compare-card.table-mode{height:auto;min-height:0}.table-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left}.table-mode .table-scroll{max-height:calc(100svh - 240px);min-height:145px}.table-mode .card-head p:after{content:none}@media(max-width:759px){.table-heading{flex-wrap:wrap}.table-mode .table-scroll{max-height:340px}}

/* A consulta só ocupa espaço quando apresenta um valor. */
.reading:has(output:empty){display:none}
.review-footnote:empty{display:none}

/* Versão 32: prioridade à área de leitura. */
body.ac-panel #view.review-profile-view .review-profile{flex:1 0 330px!important;min-height:330px!important}
body.ac-panel #view.review-profile-view .review-profile .chart-scroll{min-height:250px!important}
body.ac-panel #view.review-profile-view #profile-chart{min-height:250px!important}
@media(min-width:1200px){
 .ac-panel .ac-toolbar>.review-page-head{min-width:0!important;flex:1 1 auto!important}
 .ac-panel .ac-toolbar>.review-page-head h1{white-space:nowrap!important}
}

/* Versão 33: cabeçalhos e consultas compactos, sem retirar os dados. */
body.ac-panel .panel-header{min-height:38px!important;padding:4px 12px!important}
body.ac-panel .panel-nav{min-height:36px!important;padding:3px 12px!important;gap:3px!important}
body.ac-panel .panel-nav button{min-height:28px!important;padding:4px 10px!important;font-size:12px!important}
body.ac-panel .card-head{padding:6px 10px!important;min-height:0!important}
body.ac-panel .card-head h2{font-size:14px!important;line-height:1.25!important;letter-spacing:0!important}
body.ac-panel .card-head p{margin-top:3px!important;font-size:10px!important}
body.ac-panel th{font-size:11px!important;line-height:1.15!important;padding:5px 7px!important}
body.ac-panel th .head-inner{gap:5px!important;padding:0!important}
body.ac-panel th small{font-size:10px!important;padding-top:2px!important;margin-top:2px!important}
body.ac-panel td{font-size:11px!important;line-height:1.3!important;padding:4px 7px!important}
body.ac-panel .ac-toolbar{gap:5px 10px!important;margin-bottom:0!important}
body.ac-panel .review-page-head h1{font-size:20px!important;line-height:1.2!important}
body.ac-panel .ac-pagination{padding:3px 8px!important;min-height:28px!important}
body.ac-panel .ac-pagination button{min-height:23px!important;height:23px!important}
