#sacral { --center-color:rgb(193, 78, 78);}
#identity { --center-color: rgb(236, 233, 4); }
#throat { --center-color: rgb(153, 111, 94); }
#root { --center-color: rgb(153, 111, 94); }
#heart { --center-color: rgb(193, 78, 78); }
#spleen { --center-color: rgb(153, 111, 94); } 
#emotion { --center-color: rgb(153, 111, 94);}
#head { --center-color: rgb(236, 233, 4); }
#ajna { --center-color: rgb(143, 247, 75); }
.gate-ellipse1 { --gate-color: #434549; }
.gate-ellipse2 { --gate-color: #DE5850; }
.gate-ellipse3 { --gate-color: #8B4A8A; }

.body {
    margin: 0;
    padding: 20px 16px;
    background: #faf9f7;
    font-family: system-ui,sans-serif;
}

.free-chart-container {
  display: grid;
  justify-content: center;
  margin-bottom: 25px;
}

.hd-layout {
  display: flex;
  gap: 24px;
  flex-wrap: wrap; /* <-- belangrijk */
  
}


.hd-chart {
  position: relative;
  margin-top: 25px;
  margin-left: 10px;
  margin-right: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  --red: #DE5850;
  --dark: #434549;
  --purple: #8B4A8A;
  --border: #e6eff1;
  
}

.center {
  stroke: #777;
  stroke-width: 0.5px;
  cursor: pointer;
}

.center:hover,
.center.hover {
  filter: url(#light-outline-glow-gate-defined);  
}

.center.defined {
  fill: var(--center-color);
  stroke: rgb(119, 119, 119);
  stroke-width: 0.5px;
}

.center.undefined {
  fill: white;
  stroke: rgb(119, 119, 119);
  stroke-width: 0.5px;
}


.channel-border.defined {
  opacity: 0;
  cursor: pointer;
  
}

.channel-border.defined:hover {   
  opacity: 1;
  fill:none; 
  stroke:#67BDFF; 
  stroke-width:2px;  
}



.gate.defined {
    fill: rgb(0, 0, 0);    
}

.gate.undefined {
    fill: none;    
}


.gate-text.undefined {
    user-select: none;
    fill: rgb(133, 133, 133); 
    font-family: Arial; 
    font-size: 8px; 
    font-weight: 600; 
    white-space: pre;
}



.gate-text.active-center1 {
    user-select: none;
    fill: white; 
    font-family: Arial; 
    font-size: 8px; 
    font-weight: 600; 
    white-space: pre;
}

.gate-text.active-center2 {
    user-select: none;
    fill: black; 
    font-family: Arial; 
    font-size: 8px; 
    font-weight: 600; 
    white-space: pre;
}

.gate-text.defined {
      user-select: none; 
      fill: #fff;        
      font-family: Arial; 
      font-size: 8px; 
      font-weight: 600; 
      white-space: pre;
}

.gate-text.undefined,
.gate-text.defined {
  transform: translate(-2px, 9px); /* x = 20px, y = 50px */
}


.gate-activation.prs {
  fill: #434549; /* zwart */
}

.gate-activation.des {
  fill: #DE5850; /* rood */
}

.channel-segment.defined {
    fill: #434549; 
}

.gate-activation.undefined {
  fill: #ccc;
}

.gate-border { 
  fill: rgba(0,0,0,0.001); /* onzichtbaar maar hoverbaar */
  stroke: none;
  pointer-events: all;
  cursor: pointer;
}

.gate-border:hover {
  opacity: 1;
  fill:none; 
  stroke:#67BDFF; 
  stroke-width: 2;  
  filter: url(#gate-glow);

}

.gate-border.hover {
  opacity: 1;
  fill: none;
  stroke: #67BDFF;
  stroke-width: 2;
  filter: url(#gate-glow);
}

.gate-ellipse {
  cursor: pointer;
}
.gate-ellipse:hover {
  filter: url(#light-outline-glow-gate-defined);
}

.channel-glow {
  fill: #67BDFF;
  fill-opacity: 0.8;
  stroke: none;
  pointer-events: none;
}

.gate-glow-group {
  pointer-events: none;
}
.gate-ellipse {
  fill: black;
  stroke: black;
  stroke-width: .5px;
}

.gate-ellipse1 {
  fill: var(--gate-color);
  stroke: var(--gate-color);
  stroke-width: .5px;
}

.gate-ellipse2 {
  fill: var(--gate-color);
  stroke: var(--gate-color);
  stroke-width: .5px;
}

.gate-ellipse3 {
  fill: var(--gate-color);
  stroke: var(--gate-color);
  stroke-width: .5px;
}

g.variable {
  pointer-events: all;
  cursor: pointer;
}


.variable-arrow.des {
    fill: #DE5850;
}

.variable-arrow.prs {
    fill: #434549;

}

.variable-label {
    fill: rgb(255, 255, 255); 
    font-family: Arial, sans-serif; 
    font-size: 11px; 
    font-weight: 700; 
    white-space: pre;
    cursor: pointer;
}

.variable-label-shape {
  fill: none; 
  stroke: rgb(255, 255, 255); 
  stroke-width: 0.9px;
  cursor: pointer;
}

.hd-gate.defined {
  fill: var(--red);
  
}

.hd-gate.undefined {
  fill: white;
}

.channel.undefined {
    fill: rgb(255, 255, 255); 
    stroke: #777; 
    stroke-width: 0.5px;
}

/* Planeet kolommen */
.hd-planet-col {
  flex: 1 1 auto;
  max-width: 100px; /* of 100px */
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:55px;
  position:relative;
  overflow:visible; 
  margin-top: 30px;  
}

.hd-planet-col-prs {
  margin-left: 4px;
}

.hd-planet-col-des {
  margin-right: 4px;
  
}

.hd-planet-col-header {
  font-size:13px;
  text-align:center;  
  margin-bottom:3px;
  font-weight:600;
  letter-spacing:0.05em;  
   
}

.hd-planet-col-header-personality {
  color:#434549;
}

.hd-planet-col-header-design {
  color:#DE5850;
}

.hd-planet-row {  
  display:flex;
  flex-direction:row;
  align-items:center;
  background:#fff;
  border:1px solid #e6eff1;
  border-radius: 1px;
  border-width: 0.5px;
  padding:3px 6px;
  margin-left: 1px;
  margin-bottom:2px;
  gap:5px;
  height: 35px;
  max-width: 70px;
  border-radius:6px;
  transition:background 0.12s; 
  cursor: pointer;
  
}


 /*.hd-planet-row-prs {
   background-color:#434549;
}

.hd-planet-row-des {
   background-color:#DE5850;
} */

.hd-planet-row-prs:hover,
.hd-planet-row-prs.hover {
  background: #434549; 
  box-shadow: 0 0 0 1.5px #67BDFF;  
  fill: none;
  
  stroke-width: 2;
  filter: url(#gate-glow);
}
.hd-planet-row-prs:hover .hd-planet-text-prs,
.hd-planet-row-prs.hover .hd-planet-text-prs {    
  color: #FFFFFF;
  
}
.hd-planet-row-prs:hover .hd-planet-icon-prs,
.hd-planet-row-prs.hover .hd-planet-icon-prs {   
  color: #FFFFFF; 
  
}

.hd-planet-row-prs:hover .hd-planet-retro,
.hd-planet-row-prs.hover .hd-planet-retro {
   fill: #FFFFFF; 
   
}

.hd-planet-row-des:hover,
.hd-planet-row-des.hover {
  background: #DE5850;; 
  box-shadow: 0 0 0 1.5px #67BDFF;  
  fill: none;
  
  stroke-width: 2;
  filter: url(#gate-glow);
}

.hd-planet-row-des:hover .hd-planet-text-des,
.hd-planet-row-des.hover .hd-planet-text-des {    
  color: #FFFFFF; 

}
.hd-planet-row-des:hover .hd-planet-icon-des,
.hd-planet-row-des.hover .hd-planet-icon-des {  
  color: #FFFFFF;  

}

.hd-planet-row-des:hover .hd-planet-retro,
.hd-planet-row-des.hover .hd-planet-retro {
   fill: #FFFFFF; 
   
}

.hd-planet-icon {   
  width:25px;
  height: 25px;
  margin-bottom: 6px;   
  margin-top: 13px; 
  flex-shrink:0;  
}


.hd-planet-icon-prs {       
  color:#434549;
 /* color: #FFFFFF; */
}

.hd-planet-icon-des {
  color:#DE5850;
/*  color: #FFFFFF; */

} 

.hd-planet-text {
  font-size:18px;  
  font-weight:500px;
  white-space:nowrap; 
  margin-left: -3px
         
}

.hd-planet-text-prs {
 color:#434549;
 /* color: #FFFFFF; */  
}

.hd-planet-retro.prs {
  color:#434549;
}

.hd-planet-retro.des {
  fill:#DE5850;
}
.hd-planet-text-des {
 color:#DE5850; 
 /* color: #FFFFFF; */       
}

.hd-planet-retro {  
  margin-left:-2px;
  display:flex;
  align-items:center;
}

