/* Estrutura própria do DN 400. Tipografia, controles e alturas vêm da camada universal. */
#transientes .study-visual{min-width:0;max-width:100%}
#dn400-panel{width:100%;max-width:100%;min-width:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.dn-body{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain}
.dn-header{justify-content:space-between}
.dn-controls,.dn-tools,.dn-toolset{display:flex;min-width:0;max-width:100%;align-items:center;flex-wrap:wrap;gap:6px}
.dn-tools{justify-content:flex-end}
.dn-scenarios{display:flex;flex-wrap:wrap;gap:5px}
.dn-case-tag{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 4px;border-radius:4px;background:var(--case,#003366);color:#fff;font-size:10px;font-weight:700;line-height:1.2}
button .dn-case-tag{margin-right:5px}
.dn-fixed-case{display:inline-flex;align-items:center;gap:5px}
.dn-home-metrics{display:flex;flex-direction:column;gap:8px;min-width:0}
.dn-home-cases{display:grid;gap:6px}
.dn-home-cases>div{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.dn-home-case-label{min-width:0;flex:1}
.dn-home-cases small{margin-left:auto;white-space:nowrap}
.dn-secondary-controls{display:flex;justify-content:flex-end}
#dn400-panel .premise-intro{display:flex;flex-direction:column;gap:12px;padding:14px 16px}
.premise-badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.premise-badges>div{min-width:0;padding:10px;border:1px solid #d7e6ee;border-radius:8px;background:#f3f8fb}
.premise-badges h2{margin:0 0 6px;font-size:11px}
.premise-badges strong,.premise-badges small{display:block}
.premise-badges strong{font-size:13px}
.premise-badges small{font-size:10px;margin-top:5px;color:#607b90}
.dn-profile-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(340px,1fr);gap:14px;flex:1 0 300px;min-height:300px}
.dn-profile-grid>.chart-card,.dn-profile-grid>.table-card{display:flex;flex-direction:column;min-width:0;min-height:0}
.dn-chart-stage{display:flex;flex-direction:column;flex:1 0 300px;min-height:300px;min-width:0}
.dn-plot{width:100%;height:100%;min-height:0;min-width:0;flex:1}
.dn-chart-foot{flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 14px}
.dn-chart-foot span{display:inline-flex;align-items:center;gap:5px}
.dn-chart-foot i{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}
.dn-series-control{display:inline-flex;align-items:center;gap:6px}
.dn-series-control[aria-pressed=false]{opacity:.45;text-decoration:line-through}
.dn-series-control i.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c);border:1px solid var(--c)}
.dn-consult-heading,.dn-consult-controls{display:flex;align-items:center;gap:6px;min-width:0}
.dn-consult-heading{justify-content:space-between}
.dn-consult-controls{flex:0 0 auto;flex-wrap:nowrap}
.dn-consult-controls button{flex:0 0 auto}
.dn-results{display:flex;flex-direction:column;flex:1;min-height:0}
.dn-results .table-scroll{flex:1;min-height:0}
#dn400-panel .dn-results .table-scroll table[data-columns="4"]{width:100%;max-width:100%;min-width:0;table-layout:fixed}
#dn400-panel .dn-results .table-scroll table[data-columns="4"] th{width:25%}
#dn400-panel .dn-results .table-scroll table[data-columns="4"] td{overflow-wrap:anywhere}
.dn-text-button{font:inherit;border:0;background:transparent;color:inherit;padding:0;min-height:0}
.dn-text-button:hover{text-decoration:underline;text-underline-offset:3px}
.dn-pressure-cell{box-shadow:inset 4px 0 var(--pressure-band)}
.dn-pagination{justify-content:space-between;flex:0 0 auto;border-top:1px solid #c6d8e7}
.dn-pagination button{width:30px}
.dn-readout{flex:1;overflow:auto;min-height:0;padding:10px 12px}
.dn-table-search{display:flex;align-items:center;gap:6px;margin-top:8px;min-width:0}
.dn-table-search input{flex:1;min-width:0;width:auto}
.dn-operation-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}
.dn-point-picker{display:flex;align-items:center;gap:6px;flex:1 1 200px;min-width:0;max-width:100%}
.dn-point-picker select{flex:1;min-width:0;width:0;max-width:100%}
.dn-device-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-width:0;align-items:start}
.dn-device-layout>.surface-card{min-width:0}
.dn-tank-layout{flex:1 0 280px;min-height:280px;align-items:stretch}
.dn-tank-layout>.calculation{align-self:start}
.dn-tank-card{display:flex;flex-direction:column;min-height:0}
.dn-scheme{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;padding:6px 10px}
.dn-scheme svg{display:block;width:100%;height:100%;max-height:100%;min-width:0;min-height:0}
#dn400-panel .dn-compact-values{margin:8px 0;padding:2px 10px}
#dn400-panel .dn-compact-values>div{padding:5px 0;gap:6px}
#dn400-panel .dn-param-values dt,#dn400-panel .dn-param-values dd{line-height:1.3}
.dn-inline-details summary{cursor:pointer;margin:7px 0}
.dn-valve-symbol{display:flex;justify-content:center;margin:0 0 10px}
.dn-valve-symbol img{display:block;width:44px;height:44px}
.dn-comparison-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dn-comparison-cards>.surface-card{min-width:0;padding:8px 12px;border-left:4px solid var(--case,#003366)}
.dn-comparison-cards h2{display:flex;align-items:center;gap:5px}
.dn-vapor-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 12px;font-size:10px}
.dn-vapor-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dn-vapor-legend i{display:block;flex-shrink:0;border-radius:50%;background:transparent}
.dn-details{padding:0;border:1px solid #c6d8e7;border-radius:9px;background:#fff}
.dn-details summary{cursor:pointer;padding:10px 14px}
.dn-details .table-scroll{max-height:300px}
.dn-dialog{padding:0;border:0;border-radius:12px;width:calc(100vw - 28px);max-width:none;height:calc(100dvh - 28px);max-height:none;overflow:hidden;background:transparent;margin:auto}
.dn-dialog::backdrop{background:#092f4de8}
#dn400-panel.dn-expanded{height:100%;max-height:100%;width:100%}
#dn400-panel .review-check-table[data-columns="7"]{min-width:1040px;table-layout:fixed}
#dn400-panel .review-check-table[data-columns="6"]{min-width:850px;table-layout:fixed}
#dn400-panel .review-check-table td{white-space:normal;overflow-wrap:break-word}
@media(max-width:900px){.dn-profile-grid{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr)}}
@media(max-width:759px){
 .dn-tools{justify-content:flex-start}
 .premise-badges{grid-template-columns:repeat(2,minmax(0,1fr))}
 button .dn-case-name{display:none}
 button .dn-case-tag{margin:0}
 .dn-device-layout,.dn-comparison-cards{grid-template-columns:1fr}
 .dn-tank-layout{flex:none;min-height:0}
 .dn-tank-card{min-height:285px}
 .dn-scheme{min-height:220px}
 .dn-profile-grid{display:flex;flex-direction:column;flex:none;min-height:0}
 .dn-profile-grid>.chart-card{height:360px;min-height:360px}
 .dn-profile-grid>.table-card{height:350px;min-height:350px}
 .dn-chart-stage{flex:none;min-height:340px}
 .dn-point-picker{flex-basis:100%;width:100%}
 .dn-operation-chart .dn-plot{min-height:230px}
 .dn-dialog{width:calc(100vw - 6px);height:calc(100dvh - 6px)}
}

/* Dispositivos compactos e leitura dos pontos de interesse. */
#dn400-panel .dn-pump-grid .table-scroll table{width:100%;min-width:0;table-layout:fixed}
#dn400-panel .dn-pump-grid table th:first-child{width:54%}
#dn400-panel .dn-pump-grid table td{overflow-wrap:break-word}
#dn400-panel .dn-pump-grid table td:first-child{text-align:left}
#dn400-panel .dn-pump-chart .dn-legend>span{display:inline-flex;align-items:center;gap:5px}
.dn-cross{border:0!important;font-style:normal;font-size:21px;line-height:12px;color:#000!important;width:14px!important;transform:none!important}
.dn-profile-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.dn-poi-key{display:inline-flex;align-items:center;gap:4px;font-size:10px}
.dn-poi-key i{font-style:normal}
.dn-poi-label{display:block;font-size:10px;line-height:1.25;font-weight:400}
@media(max-width:759px){#dn400-panel .dn-pump-grid .dn-pump-chart{min-height:340px}#dn400-panel .dn-pump-grid .dn-plot{min-height:240px}}

#dn400-panel .ac-pump-parameters td{padding:4px 8px}
#dn400-panel .dn-pump-chart .dn-cross{height:auto!important;background:transparent!important;align-self:center}


/* Composição das premissas e respostas na versão 31. */
#dn400-panel .dn-premises-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#dn400-panel .dn-premises-grid>.surface-card{min-width:0;overflow:hidden}
#dn400-panel .dn-premises-grid table{table-layout:fixed;width:100%;min-width:0}
#dn400-panel .dn-premises-grid th:first-child{width:47%}
#dn400-panel .dn-premises-grid th:nth-child(2){width:35%}
#dn400-panel .dn-premises-grid th:last-child{width:18%}
#dn400-panel .dn-premises-grid td{padding:7px 9px;overflow-wrap:break-word;text-align:left}
#dn400-panel .dn-premises-story p{margin:0;max-width:110ch}
#dn400-panel .dn-premise-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dn400-panel .dn-premise-cases>.dn-case-card{border-left:4px solid var(--case);padding:13px 15px;min-width:0}
#dn400-panel .dn-premise-cases h2{display:flex;align-items:center;gap:5px}
#dn400-panel .dn-premise-cases p{margin:8px 0 0}
#dn400-panel .dn-premise-cases{align-items:stretch!important}
#dn400-panel .dn-premise-cases>.dn-case-card{align-self:stretch!important}
#dn400-panel .dn-pressure-key{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;font-size:11px}
#dn400-panel .dn-pressure-key span{display:inline-flex;align-items:center;gap:5px}
#dn400-panel .dn-pressure-key i{width:8px;height:8px;border-radius:50%}
#dn400-panel .ac-chart-heading>.ac-plot-heading:empty{display:none}
#dn400-panel[data-view="operation"] .dn-operation-chart{min-height:350px;flex:1 0 350px}
#dn400-panel.dn-expanded[data-view="operation"] .dn-operation-chart{flex-basis:calc(100dvh - 240px);min-height:430px}
@media(max-width:759px){#dn400-panel .dn-premises-grid,#dn400-panel .dn-premise-cases{grid-template-columns:1fr}#dn400-panel.dn-expanded[data-view="operation"] .dn-operation-chart{flex-basis:auto;min-height:430px}}

#dn400-panel .dn-premises-story{display:block!important}
#dn400-panel .dn-premises-story p{max-width:none!important;width:auto!important}

#dn400-panel .dn-toolbar .kicker .dn-context{text-transform:none}
#dn400-panel .dn-toolbar .review-page-head>.kicker{text-transform:none!important}

/* Versão 32: prioridade à área de leitura. */
@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 60: atuação do tanque com as mesmas variáveis e cores do início. */
#dn400-panel .dn-device-response60{padding:0!important;min-width:0;overflow:hidden;border:1px solid #bfd3e5;border-radius:12px;background:#fff}
#dn400-panel .dn-device-response60>.card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px!important}
#dn400-panel .dn-response-explanation60{margin:0!important;padding:10px 12px!important;font-size:12px!important;line-height:1.6!important;color:#4d739b}
#dn400-panel .dn-response-pair60{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:0 10px 10px!important;min-width:0!important}
#dn400-panel .dn-response-pair60>.dn-operation-device-chart{min-width:0!important;margin:0!important}
#dn400-panel .dn-response-pair60>.dn-operation-device-chart>.card-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;padding:10px 12px!important;background:#f7fafc!important}
#dn400-panel .dn-response-pair60 .ac-plot-heading{flex:0 0 auto!important;min-width:0!important}
#dn400-panel .dn-response-pair60 .review-chart-bar{flex:0 0 auto!important;justify-content:flex-start!important;min-width:0!important}
#dn400-panel .dn-response-pair60 .card-head h2{font-size:14px!important;line-height:1.3!important}
#dn400-panel .dn-response-pair60 .dn-legend{padding:0!important;margin:0!important}
@media(max-width:800px){
 #dn400-panel .dn-response-pair60{grid-template-columns:minmax(0,1fr)!important}
 #dn400-panel .dn-device-response60>.card-head{flex-wrap:wrap!important}
 #dn400-panel .dn-premise-cases>.dn-case-card{align-self:start!important}
}
#dn400-panel .ac-pump-grid{flex:0 0 auto!important;min-height:0!important}
#dn400-panel .ac-pump-grid>.ac-pump-parameters{height:auto!important;align-self:stretch!important}
#dn400-panel .ac-pump-grid>.ac-pump-parameters>.table-scroll{flex:0 0 auto!important;height:auto!important;max-height:none!important}
#dn400-panel .ac-pump-grid>.ac-pump-curves{min-height:0!important;flex:1 1 0!important}
#dn400-panel .dn-scheme svg{max-height:325px!important}
@media(max-width:759px){
 #dn400-panel .ac-pump-grid>.ac-pump-curves{height:350px!important;min-height:350px!important;flex:0 0 350px!important}
}

/* Versão 33: cabeçalhos e consultas compactos, sem retirar os dados. */
#dn400-panel .panel-header{min-height:38px!important;padding:4px 12px!important}
#dn400-panel .panel-nav{min-height:36px!important;padding:3px 12px!important;gap:3px!important}
#dn400-panel .panel-nav button{min-height:28px!important;padding:4px 10px!important;font-size:12px!important}
#dn400-panel .card-head{padding:6px 10px!important;min-height:0!important}
#dn400-panel .card-head h2{font-size:14px!important;line-height:1.25!important;letter-spacing:0!important}
#dn400-panel .card-head p{margin-top:3px!important;font-size:10px!important}
#dn400-panel th{font-size:11px!important;line-height:1.15!important;padding:5px 7px!important}
#dn400-panel th .head-inner{gap:5px!important;padding:0!important}
#dn400-panel th small{font-size:10px!important;padding-top:2px!important;margin-top:2px!important}
#dn400-panel td{font-size:11px!important;line-height:1.3!important;padding:4px 7px!important}
#dn400-panel .ac-toolbar{gap:5px 10px!important;margin-bottom:0!important}
#dn400-panel .review-page-head h1{font-size:20px!important;line-height:1.2!important}
#dn400-panel .ac-pagination{padding:3px 8px!important;min-height:28px!important}
#dn400-panel .ac-pagination button{min-height:23px!important;height:23px!important}

#dn400-panel .dn-readout .ac-pressure-number{color:inherit!important;box-shadow:none!important}
#dn400-panel .dn-pressure-cell{box-shadow:none!important;color:inherit!important}
#dn400-panel .dn-pressure-key{font-size:10px;gap:4px 8px}
#dn400-panel .dn-pressure-key i{border-radius:0;width:16px;height:2px}

/* Versão 53 · o comparativo usa a altura disponível do painel. */
@media(min-width:900px){
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-body:has(.dn-stacked-comparison){gap:6px!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-body:has(.dn-stacked-comparison)>.dn-toolbar h1{font-size:20px!important;margin:0!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-body:has(.dn-stacked-comparison)>.dn-toolbar p{font-size:12px!important;margin:2px 0!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison .dn-plot{height:var(--ac-current-plot-height,280px)!important;min-height:0!important;flex:0 0 auto!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison>.card-head{padding:5px 8px!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison .dn-pressure-key{gap:4px 8px!important;font-size:11px!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison .dn-pressure-key>span{flex:0 1 auto!important;white-space:nowrap!important;align-items:center!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison .dn-pressure-key small{font-size:10px!important;display:inline!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-stacked-comparison .dn-pressure-key i{margin:0!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-comparison-cards>.surface-card{padding:6px 9px!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-comparison-cards h2{font-size:16px!important;margin:0!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-comparison-cards p{font-size:12px!important;line-height:1.3!important;margin:3px 0 0!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-chart-foot{font-size:10px!important;padding:4px 8px!important;min-height:0!important}
}
#dn400-panel .dn-tank-layout{flex:0 0 auto!important;min-height:0!important;align-items:stretch!important}
#dn400-panel .dn-tank-card{height:auto!important;max-height:100%!important;align-self:stretch!important}
#dn400-panel .dn-scheme{min-height:0!important;max-height:310px!important}
#dn400-panel .dn-scheme svg{height:auto!important;max-height:290px!important;max-width:100%!important}
#dn400-panel .dn-param-values>div{padding:4px 0!important}
#dn400-panel .dn-tank-card .dn-scheme svg{height:100%!important;max-height:100%!important}
#dn400-panel .dn-results .dn-position{max-width:100%;white-space:normal!important}
#dn400-panel .dn-results .dn-poi-label{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
#dn400-panel .dn-premises-grid td{padding:4px 7px!important}
@media(max-width:759px){#dn400-panel .dn-tank-card{min-height:250px!important}#dn400-panel .dn-scheme{min-height:205px!important}}
@media(max-width:899px){
 #dn400-panel#dn400-panel[data-ac-theme="50"] .panel-nav{flex-wrap:nowrap!important;white-space:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;flex:0 0 var(--ac-nav-height)!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .panel-nav button{flex:0 0 auto!important;white-space:nowrap!important}
}

/* Versão 54 · mesmas referências, consultas e molduras nos dois comparativos. */
#dn400-panel#dn400-panel[data-ac-theme="50"] :is(.dn-v54-comparison,.dn-operation-chart,.dn-chart-stage){height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;overflow:visible!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-v54-legend-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border:1px solid #bfd3e5;border-radius:9px;padding:8px 10px;background:#eff6fb;width:100%;box-sizing:border-box}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-v54-legend-box .dn-vapor-legend{margin:0!important;padding:0!important;max-width:100%;flex:1 1 100%;justify-content:flex-start!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-v54-legend-box .dn-pressure-key{flex:1 1 480px}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-poi-key{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-poi-key>span{display:inline-flex;align-items:center;gap:5px}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-v54-bands{display:grid;gap:12px}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-bands-table{min-width:0!important;table-layout:fixed!important;width:100%!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-bands-table small{font-size:10px!important;line-height:1.2!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult .table-scroll{overflow-x:visible!important;overflow-y:auto!important;height:auto!important;max-height:none!important;flex:1 1 auto!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult :is(table,.review-check-table){width:100%!important;min-width:0!important;table-layout:fixed!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult :is(th,td){min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important;padding-inline:5px!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult .dn-results{display:flex;flex-direction:column;min-height:0;flex:1 1 0}
@media(min-width:760px){
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-profile-grid{grid-template-columns:minmax(0,61%) minmax(0,39%)!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-pressure-grid>.dn-consult{height:var(--dn-consult-height,900px)!important;max-height:none!important;min-height:0!important;align-self:stretch!important}
}

#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-v54-legend-box>.dn-legend{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important}

/* Versão 58 · consulta contínua com o menu e os símbolos comuns. */
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult>.dn-results.table-scroll{display:block!important;min-height:0!important;flex:1 1 0!important;overflow-y:auto!important;overflow-x:hidden!important;position:relative}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult .dn-curated-table th:first-child{width:auto!important;padding-right:32px!important;position:relative}
#dn400-panel .dn-curated-table .header-menu{position:static;text-align:center;font-size:11px}
#dn400-panel .dn-curated-table .header-menu summary{display:block;min-height:15px;line-height:15px;text-align:center;cursor:pointer;list-style:none}
#dn400-panel .dn-curated-table .header-menu summary::-webkit-details-marker{display:none}
#dn400-panel .dn-curated-table .header-menu[open]{z-index:12}
#dn400-panel .dn-curated-table .filter-chevron{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:23px;height:23px;border:1px solid #ffffff80;border-radius:4px}
#dn400-panel .dn-curated-table .filter-chevron svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.5;fill:none}
#dn400-panel .dn-curated-table summary:focus-visible{outline:2px solid #fff;outline-offset:3px}
#dn400-panel .dn-curated-table .point-menu-content{position:absolute;top:100%;left:0;width:240px;max-width:calc(100vw - 65px);max-height:260px;overflow:auto;padding:10px;background:#fff;color:#003366;border:1px solid #b8cfe1;border-radius:6px;box-shadow:0 4px 12px #00336625;z-index:20;white-space:normal;font-weight:400;text-align:left}
#dn400-panel .dn-curated-table .point-menu-content label{display:grid;gap:6px;font-size:11px}
#dn400-panel .dn-curated-table .point-menu-content select{width:100%;max-width:100%;font:inherit;color:inherit;border:1px solid #b8cfe1;background:#fff;border-radius:4px}
#dn400-panel .dn-curated-table .point-menu-content option{padding:5px;white-space:normal}
#dn400-panel .dn-curated-table tbody td:first-child{text-align:center!important;line-height:1.25}
#dn400-panel .dn-curated-table tbody tr{cursor:pointer}
#dn400-panel .dn-curated-table tbody tr:focus-visible{outline:2px solid #4d93d9;outline-offset:-2px}
#dn400-panel .dn-curated-table tbody td:first-child img{display:inline-block;width:18px;height:22px;object-fit:contain;vertical-align:middle;margin-right:4px}
#dn400-panel .dn-curated-table tbody td:first-child>span{vertical-align:middle}
#dn400-panel .dn-tank-key{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;color:#003366}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-pressure-key-compact{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;flex:0 1 auto!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-pressure-key-compact>span{flex:0 0 auto!important;white-space:nowrap!important;align-items:center!important;font-size:10px!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .ac-pressure-head>.ac-plot-heading{flex:0 0 auto!important;width:auto!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .ac-pressure-head>.review-chart-bar{display:contents!important}
#dn400-panel .dn-point-comparison .dn-poi-label img{width:17px;height:20px;vertical-align:middle;margin-right:4px}
#dn400-panel .dn-consult .selected-reading{flex:0 0 auto;padding:7px 10px!important;font-size:11px!important}
#dn400-panel .dn-consult .selected-reading[hidden]{display:none!important}
#dn400-panel .dn-consult .selected-reading>span{display:block}

/* Versão 61: legendas abertas nos dispositivos e filetes de pressão centrados. */
#dn400-panel#dn400-panel[data-ac-theme="50"][data-view="operation"] .chart-legend{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;justify-content:flex-start!important}
#dn400-panel#dn400-panel[data-ac-theme="50"][data-view="operation"] .chart-legend>button{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-pressure-key>span{display:inline-flex!important;align-items:center!important;gap:6px!important;line-height:1.3!important}
#dn400-panel#dn400-panel[data-ac-theme="50"] .dn-pressure-key>span>i{display:block!important;flex:0 0 24px!important;width:24px!important;height:3px!important;min-height:3px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--c)!important;align-self:center!important;transform:none!important}
@media(min-width:801px){
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-profile-grid>.dn-consult{height:var(--dn-consult-height,500px)!important;max-height:var(--dn-consult-height,500px)!important;min-height:0!important;align-self:start!important}
}
@media(max-width:800px){
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-profile-grid{grid-template-columns:minmax(0,1fr)!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-profile-grid>.dn-consult{height:auto!important;max-height:none!important;min-height:0!important;align-self:start!important}
 #dn400-panel#dn400-panel[data-ac-theme="50"] .dn-consult>.dn-results.table-scroll{height:360px!important;max-height:360px!important;flex:0 1 auto!important}
 #dn400-panel .dn-curated-table :is(th,td){font-size:10px!important;padding-inline:3px!important}
 #dn400-panel .dn-curated-table tbody td:first-child img{width:15px;height:18px}
}
@layer ac-product57 {
 #dn400-panel[data-ac-theme="50"] .dn-premise-cases{align-items:stretch!important}
 #dn400-panel[data-ac-theme="50"] .dn-premise-cases>.dn-case-card{align-self:stretch!important}
 @media(max-width:759px){#dn400-panel[data-ac-theme="50"] .dn-premise-cases>.dn-case-card{align-self:start!important}}
 #dn400-panel[data-ac-theme="50"] .dn-profile-grid{align-items:start!important}
 #dn400-panel[data-ac-theme="50"] .dn-profile-grid>.dn-envelope-chart{height:auto!important;min-height:0!important;max-height:none!important;align-self:start!important}
 #dn400-panel[data-ac-theme="50"] .dn-profile-grid>.dn-consult{align-self:start!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 @media(max-width:800px){
  #dn400-panel[data-ac-theme="50"] .dn-profile-grid>.dn-consult{height:auto!important;max-height:none!important;min-height:0!important;align-self:start!important}
  #dn400-panel[data-ac-theme="50"] .dn-consult>.dn-results.table-scroll{height:360px!important;max-height:360px!important;flex:0 0 360px!important;display:block!important;overflow:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  #dn400-panel[data-ac-theme="50"] .dn-consult .dn-curated-table{width:600px!important;min-width:600px!important;max-width:none!important}
  #dn400-panel[data-ac-theme="50"] .dn-consult .dn-curated-table :is(th,td){white-space:nowrap!important;overflow-wrap:normal!important}
  #dn400-panel[data-ac-theme="50"] .dn-consult .dn-curated-table tbody td:first-child{white-space:normal!important}
  #dn400-panel[data-ac-theme="50"] :is(.dn-profile-grid>.dn-envelope-chart,.dn-pressure-charts>.dn-pressure-chart){height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
 }
}
