/* Informational diagrams share the same role symbols as the data tables. */
.ph-t:has(>.role-glyph),.d-l:has(>.role-glyph){display:inline-flex;align-items:center;gap:9px}
.ph-t>.role-glyph,.d-l>.role-glyph{color:var(--accent);width:19px;height:19px}
.allocation-label{display:inline-flex;align-items:center;gap:8px;line-height:1.6}
.allocation-label>.role-glyph{color:var(--accent);width:16px;height:16px}
.allocation-label.node-fund>.role-glyph{color:var(--up)}
.fund-allocation .kvt td:first-child{width:62%}
.fund-allocation .splitbar{background:transparent;border:0;gap:10px;height:auto;min-height:40px}
.fund-allocation .splitbar .sb{background:var(--bg-2);border:1px solid var(--line);border-radius:5px;color:var(--text-2);padding:10px 6px;min-width:0;font-size:11px;font-weight:500}
.fund-allocation .splitbar .sb i{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;font-style:normal}
.fund-allocation .splitbar .sb:first-child{border-top:2px solid var(--accent)}
.fund-allocation .splitbar .sb:last-child{border-top:2px solid var(--up)}
.validator-overview{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:stretch}
.validator-overview .validator-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.validator-overview .validator-summary>div:nth-child(3){border-left:0}
.validator-overview .validator-summary>div:nth-child(n+3){border-top:1px solid var(--line)}
.validator-overview .validator-summary strong{font-size:24px}
.node-map{border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:18px 20px;min-width:0}
.node-map-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.node-map-header h2{font-family:var(--heading,var(--sans));font-size:15px;line-height:1.5;font-weight:600;margin:0;color:var(--text)}
.node-map-header>span{font-size:11px;color:var(--text-3)}
.node-map-body{display:grid;grid-template-columns:minmax(0,.8fr) 40px minmax(0,1.2fr);grid-template-rows:1fr 1fr;gap:12px 0;min-height:176px;align-items:stretch}
.node-role{display:flex;align-items:center;gap:12px;min-width:0;border:1px solid var(--line);border-radius:6px;padding:12px;background:var(--bg-2)}
.node-role>div{min-width:0}
.node-role .role-art{display:grid;place-items:center;flex:none;width:38px;height:42px;color:var(--accent)}
.node-role .role-art svg{display:block;width:32px;height:32px;max-width:100%}
.node-role h3{font-family:var(--heading,var(--sans));font-size:13px;font-weight:600;line-height:1.5;color:var(--text);margin:0 0 4px}
.node-role p{font-size:11px;line-height:1.7;margin:0;color:var(--text-3)}
.node-role-source{grid-column:1;grid-row:1/3;flex-direction:column;justify-content:center;text-align:center;gap:12px;border-color:#3b4e68;background:#19222e}
.node-role-source .role-art{width:62px;height:62px;border:1px solid #3b4e68;border-radius:12px;background:#202f43}
.node-role-source .role-art svg{width:38px;height:38px}
.node-role-source h3{font-size:15px}
.node-role-readonly{grid-column:3;grid-row:1}
.node-role-readonly .role-art{color:var(--text-2)}
.node-role-validator{grid-column:3;grid-row:2;border-style:dashed}
.node-role-validator .role-art{color:var(--up)}
.node-role-validator h3{color:var(--up)}
.node-map-lines{grid-column:2;grid-row:1/3;align-self:stretch;color:var(--accent)}
.node-map-lines svg{width:100%;height:100%;display:block;overflow:visible}
.node-map-lines path{fill:none;stroke:currentColor;stroke-width:1.2;vector-effect:non-scaling-stroke}
.node-map-lines .future{stroke:var(--text-3);stroke-dasharray:3 4}
.node-role small{display:inline-block;font-size:10px;line-height:1.5;color:var(--text-3);margin-top:4px}
@media(max-width:1240px){
 .validator-overview{grid-template-columns:minmax(0,1fr)}
 .validator-overview .validator-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
 .validator-overview .validator-summary>div:nth-child(3){border-left:1px solid var(--line)}
 .validator-overview .validator-summary>div:nth-child(n+3){border-top:0}
 .node-map-body{grid-template-columns:minmax(0,.8fr) 64px minmax(0,1.2fr);min-height:176px}
}
@media(max-width:760px){
 .validator-overview{gap:16px}
 .validator-overview .validator-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .validator-overview .validator-summary>div:nth-child(3){border-left:0}
 .validator-overview .validator-summary>div:nth-child(n+3){border-top:1px solid var(--line)}
 .validator-overview .validator-summary strong{font-size:22px}
 .node-map{padding:16px 14px}
 .node-map-body{grid-template-columns:minmax(0,.85fr) 28px minmax(0,1.15fr);min-height:198px}
 .node-role{padding:10px 8px;gap:6px}
 .node-role:not(.node-role-source){align-items:flex-start;flex-direction:column;gap:5px}
 .node-role:not(.node-role-source) .role-art{width:24px;height:24px}
 .node-role:not(.node-role-source) .role-art svg{width:24px;height:24px}
 .node-role-source .role-art{width:54px;height:54px}
 .node-role-source h3{font-size:14px}
 .node-map-header h2{font-size:14px}
 .fund-allocation .splitbar .sb{font-size:10px;padding:9px 4px}
}
