/* Integração do caso às decisões comuns r188. */
#ad01-panel .rp50-system dl{margin:12px 0;background:#f3f8fb;border-radius:8px;padding:8px 12px}
#ad01-panel .rp50-system dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;border-bottom:1px dotted #c6d8e7}
#ad01-panel .rp50-system dl>div:last-child{border:0}
#ad01-panel .rp50-system dt{color:#587a97}#ad01-panel .rp50-system dd{margin:0;text-align:right;font-weight:700}
#ad01-panel .rp50-query-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px;font-size:12px}
#ad01-panel .rp50-premise-notes{margin-top:12px}#ad01-panel .rp50-premise-notes p{padding:0 12px;margin:10px 0}

#ad01-panel#ad01-panel.rp39[data-ac-theme="50"]{height:var(--ac-panel-height)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"].ad01-expanded{height:100%!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .ad01-body{padding:var(--ac-panel-padding)!important;gap:var(--ac-gap)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .panel-header{height:var(--ac-header-height)!important;min-height:var(--ac-header-height)!important;flex:0 0 var(--ac-header-height)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .panel-nav{height:var(--ac-nav-height)!important;min-height:var(--ac-nav-height)!important;padding:0 14px!important;flex:0 0 var(--ac-nav-height)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .panel-nav button{height:32px!important;min-height:32px!important;padding:4px 10px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-hero,.rp39-hypothesis){padding:var(--ac-card-padding)!important;gap:var(--ac-gap)!important;min-height:0!important;height:auto!important;align-self:start!important;border-radius:var(--ac-radius)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-hero{grid-template-columns:minmax(0,1.65fr) minmax(260px,.9fr)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-hero h1{font-size:25px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-hero,.rp39-hypothesis,.rp39-page-head,.rp39-card,.rp43-conclusion) p{font-size:var(--ac-size)!important;line-height:1.45!important;margin:6px 0!important;flex:none!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.card-head h2,.rp39-hypothesis h3,.rp39-purpose h2,.rp40-possibilities>h2){font-size:var(--ac-title)!important;line-height:1.25!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-hypotheses,.rp39-premise-grid,.rp41-domain-possibilities){gap:var(--ac-gap)!important;align-items:start!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-premise-grid{grid-template-columns:1fr 1fr!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-premise-grid table{height:auto!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-card,.rp39-hypothesis){border-left-width:var(--ac-card-filet)!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-card>.card-head{padding:8px 12px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-analysis-grid{display:grid!important;grid-template-columns:minmax(0,65fr) minmax(0,35fr)!important;gap:12px!important;align-items:start!important;height:auto!important;flex:none!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-profile-card,.rp39-class-card,.rp39-comparison-card){height:auto!important;min-height:0!important;max-height:none!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult{height:auto!important;max-height:540px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-result-table{max-height:360px!important;overflow:auto!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(th,td){font-size:12px!important;line-height:1.35!important;padding:6px 8px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] td{height:32px!important;text-align:center!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] th small{font-size:12px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-result-table :is(th,td):first-child{width:34%!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.chart-legend,.rp39-band-legend,.rp39-class-legend){font-size:12px!important;justify-content:flex-start!important;margin-left:0!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .chart-legend :is(span,button){font-size:12px!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] td.ac-pressure-cell{border-left-width:4px!important}
@media(max-width:760px){#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] :is(.rp39-analysis-grid,.rp39-hero,.rp39-premise-grid){grid-template-columns:1fr!important}}

#ad01-panel#ad01-panel.rp39 .panel-nav{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
#ad01-panel#ad01-panel.rp39 .panel-nav button{flex:0 0 auto!important;white-space:nowrap!important}

/* Correções51: dimensão conforme a função do gráfico e proporção dos grupos. */
#ad01-panel#ad01-panel.rp39 .rp41-domain-possibilities{grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;align-items:stretch!important}
#ad01-panel#ad01-panel.rp39 .rp41-domain-frame .rp39-hypotheses{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px!important}
#ad01-panel#ad01-panel.rp39 .rp41-domain-frame:last-child .rp39-hypotheses{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ad01-panel#ad01-panel.rp39 .rp39-hypothesis h3{font-size:18px!important;line-height:1.2!important;margin:0!important}
#ad01-panel#ad01-panel.rp39 .rp39-hypothesis{gap:8px!important}
#ad01-panel#ad01-panel.rp39 .rp39-hypothesis p{font-size:14px!important;line-height:1.4!important}
#ad01-panel#ad01-panel.rp39 .rp39-class-plot{height:var(--ac-purpose-height,178px)!important;min-height:0!important;flex:0 0 auto!important}
#ad01-panel#ad01-panel.rp39 .rp39-comparison-plot{min-height:0!important;flex:0 0 auto!important}
#ad01-panel#ad01-panel.rp39 .rp39-analysis-grid{align-items:stretch!important}
#ad01-panel#ad01-panel.rp39 .rp39-profile-card{display:flex!important;flex-direction:column!important}
#ad01-panel#ad01-panel.rp39 #ad01-main-plot{height:clamp(340px,calc(100vh - 360px),580px)!important;min-height:340px!important;flex:1 0 auto!important}
#ad01-panel#ad01-panel.rp39 .rp39-consult{max-height:640px!important}
@media(max-width:1050px){#ad01-panel#ad01-panel.rp39 .rp41-domain-possibilities{grid-template-columns:1fr!important}}
@media(max-width:640px){#ad01-panel#ad01-panel.rp39 .rp41-domain-frame .rp39-hypotheses,#ad01-panel#ad01-panel.rp39 .rp41-domain-frame:last-child .rp39-hypotheses{grid-template-columns:1fr!important}}

/* Versão 53 · consulta por domínio, com todos os resultados acessíveis. */
#ad01-panel .rp53-comparison-selectors{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
#ad01-panel .rp53-comparison-selectors>div{display:flex;gap:5px;flex-wrap:wrap}
@media(min-width:900px){
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors){gap:6px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors)>.rp39-page-head h1{font-size:20px!important;margin:0!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors)>.rp39-page-head p{font-size:12px!important;margin:2px 0!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp45-domain-shell>.rp45-domain-head{padding:6px 10px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp45-domain-head h2{font-size:18px!important;margin:0!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp45-domain-head p{font-size:12px!important;line-height:1.25!important;margin:3px 0 0!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp45-domain-content{padding:7px 9px!important;gap:6px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp39-card>.card-head{padding:5px 9px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp39-card>.card-head h2{font-size:16px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp42-effect-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp42-change-card{padding:6px 8px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp42-gravity-gain{padding:6px 10px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp42-gravity-gain p{font-size:11px!important;margin:2px 0!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) .rp42-gravity-gain h2{font-size:14px!important}
 #ad01-panel#ad01-panel.rp39 .ad01-body:has(.rp53-comparison-selectors) td{height:28px!important;padding:4px 7px!important}
 #ad01-panel#ad01-panel.rp39 [data-comparison-group="combination"] .rp43-quantity-cards .rp39-metric{min-height:38px!important;padding:5px 9px!important}
 #ad01-panel#ad01-panel.rp39 [data-comparison-group="combination"] .rp45-domain-content{gap:4px!important;padding-top:5px!important;padding-bottom:5px!important}
 #ad01-panel#ad01-panel.rp39 [data-comparison-group="combination"] .rp43-contribution{padding:0!important;gap:2px!important}
 #ad01-panel#ad01-panel.rp39 [data-comparison-group="combination"] .rp43-share-track{height:3px!important}
 #ad01-panel#ad01-panel.rp39 [data-comparison-group="combination"] tbody :is(th,td){height:28px!important;padding:3px 7px!important;line-height:1.2!important}
}

/* Versão 57 · símbolos físicos e consulta alinhada ao perfil. */
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] #rp50-results{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
#ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult .rp39-result-table{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow:auto!important}
#ad01-panel#ad01-panel.rp39 .rp57-station{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important}
#ad01-panel#ad01-panel.rp39 .rp57-point-symbol{display:inline-block!important;flex:none!important;width:19px!important;height:21px!important;object-fit:contain!important;vertical-align:middle!important}
#ad01-panel#ad01-panel.rp39 [data-physical-point="pump"] .rp57-point-symbol{width:15px!important;height:22px!important}
#ad01-panel#ad01-panel.rp39 [data-physical-point="box"] .rp57-point-symbol{height:15px!important}
@media(min-width:761px){
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult{contain:size!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult .table-scroll{height:0!important;flex:1 1 0!important;max-height:none!important}
}
@media(max-width:760px){
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult{flex:0 0 auto!important;contain:none!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] #rp50-results{flex:0 1 auto!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-consult .rp39-result-table{flex:0 1 auto!important;max-height:360px!important}
}

/* Versão 58 · referências curtas e hierarquia da síntese. */
#ad01-panel .rp58-premise-stack{display:grid;gap:var(--ac-gap,12px);min-width:0}
#ad01-panel#ad01-panel.rp39 .rp39-result-table td:first-child>small{white-space:normal!important}
#ad01-panel#ad01-panel.rp39 .rp43-conclusion-grid{gap:var(--ac-gap,12px)!important}
#ad01-panel#ad01-panel.rp39 .rp43-conclusion{padding:var(--ac-card-padding,12px)!important}
#ad01-panel#ad01-panel.rp39 .rp43-conclusion h2{font-size:var(--ac-title,20px)!important;font-weight:700!important;line-height:1.25!important;margin:0 0 8px!important}
#ad01-panel#ad01-panel.rp39 .rp45-summary-intro{font-size:var(--ac-size,15px)!important;line-height:1.45!important;margin:0!important}
#ad01-panel#ad01-panel.rp39 .rp43-conclusion .rp58-diameter{white-space:nowrap!important}
#ad01-panel#ad01-panel.rp39 .rp43-conclusion .rp58-diameter,#ad01-panel#ad01-panel.rp39 .rp43-conclusion .rp58-diameter *{font-weight:700!important}

/* Versão 60: premissas niveladas e etiquetas de domínio com margem própria. */
@media(min-width:761px){
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-premise-grid{align-items:stretch!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp39-premise-grid>.rp39-card{align-self:stretch!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp58-premise-stack{grid-template-rows:repeat(2,minmax(min-content,1fr))!important;align-self:stretch!important}
 #ad01-panel#ad01-panel.rp39[data-ac-theme="50"] .rp58-premise-stack>.rp39-card{align-self:stretch!important}
}
#ad01-panel#ad01-panel.rp39 .rp43-contribution-table .rp43-domain-name{border:0!important;border-radius:5px!important;background:var(--domain-color)!important;color:#fff!important;padding:4px 8px!important;font-weight:700!important;line-height:1.35!important;box-decoration-break:clone;white-space:normal!important}
