/* 6.2.8.16.9.4.9 – Performance Axes Internal Composition Repair
   Contract-safe presentation layer: no provider/data/business/DOM reparenting. */

/* The axes card itself is a compact 2-column dashboard card. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes{
  --btc-axis-accent:#a85cff;
  display:grid!important;
  grid-template-columns:minmax(220px,.82fr) minmax(310px,1.18fr)!important;
  grid-template-rows:auto auto repeat(6,minmax(34px,max-content))!important;
  column-gap:14px!important;
  row-gap:3px!important;
  align-items:start!important;
  align-content:start!important;
  min-height:250px!important;
  height:auto!important;
  padding:12px 14px!important;
  overflow:hidden!important;
}

/* Header + compact explanatory subtitle, exactly like the reference card. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes > :is(h2,h3,h4):first-child{
  grid-column:1 / -1!important;
  grid-row:1!important;
  position:relative!important;
  min-height:31px!important;
  margin:0!important;
  padding:3px 0 0 42px!important;
  font-size:20px!important;
  line-height:1.15!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes > :is(h2,h3,h4):first-child::before{
  content:'↗'!important;
  position:absolute!important;
  left:0!important;top:0!important;
  width:32px!important;height:32px!important;
  border-radius:50%!important;
  display:grid!important;place-items:center!important;
  color:#b969ff!important;
  border:1px solid rgba(180,105,255,.48)!important;
  background:rgba(132,68,188,.22)!important;
  font-size:16px!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes > :is(h2,h3,h4):first-child::after{
  content:'Deine aktuellen Stärken & Entwicklungsfelder'!important;
  display:block!important;
  margin-top:1px!important;
  color:#a9bfd4!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  line-height:1.25!important;
}

/* Radar occupies one stable column and spans all axis rows – no vertical stretching. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host{
  grid-column:1!important;
  grid-row:2 / 9!important;
  width:100%!important;
  height:200px!important;
  min-height:200px!important;
  margin:0!important;
  padding:0 4px!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  overflow:visible!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host svg{
  width:220px!important;
  height:190px!important;
  max-width:100%!important;
  max-height:190px!important;
  overflow:visible!important;
}

/* Existing native bars become six compact semantic rows. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars{
  grid-column:2!important;
  min-width:0!important;
  min-height:34px!important;
  height:auto!important;
  margin:0!important;
  padding:4px 34px 4px 38px!important;
  position:relative!important;
  display:block!important;
  border:1px solid rgba(92,133,165,.22)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(16,44,63,.72),rgba(10,32,48,.68))!important;
  overflow:hidden!important;
  font-size:11px!important;
  line-height:1.12!important;
  color:#f3f7fb!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars:nth-of-type(n){align-self:stretch!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='0']{grid-row:2!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='1']{grid-row:3!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='2']{grid-row:4!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='3']{grid-row:5!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='4']{grid-row:6!important;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-index='5']{grid-row:7!important;}

/* Semantic icon badge sourced from existing axis identity, not invented values. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars::before{
  content:attr(data-btc-axis-icon)!important;
  position:absolute!important;
  left:7px!important;top:50%!important;
  transform:translateY(-50%)!important;
  width:24px!important;height:24px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  color:var(--btc-axis-color,#b969ff)!important;
  border:1px solid color-mix(in srgb,var(--btc-axis-color,#b969ff) 72%,transparent)!important;
  background:color-mix(in srgb,var(--btc-axis-color,#b969ff) 13%,transparent)!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars::after{
  content:attr(data-btc-axis-desc)!important;
  display:block!important;
  margin-top:1px!important;
  color:#a8bdd0!important;
  font-size:9.5px!important;
  line-height:1.12!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='technik']{--btc-axis-color:#ef414c;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='mental']{--btc-axis-color:#f5b800;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='position']{--btc-axis-color:#20c56b;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='pocket']{--btc-axis-color:#ff781f;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='matchstaerke']{--btc-axis-color:#ae5cf4;}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars[data-btc-axis-key='konstanz']{--btc-axis-color:#ee5c44;}

/* Preserve native value but remove the huge progress-bar visualization from this compact card. */
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars :is(progress,.progress,[class*='progress'],[class*='bar']){
  max-height:5px!important;
  margin:2px 0 0!important;
}
html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars [data-btc-axis-value-badge]{
  position:absolute!important;
  right:7px!important;top:6px!important;
  font-size:10px!important;
  font-weight:800!important;
  color:#f3f7fb!important;
}

@media(max-width:860px){
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
  }
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-axes-radar-host{
    grid-column:1!important;grid-row:auto!important;height:190px!important;
  }
  html body.btc-rc4836 .btc62816935-boundary-authority .btc628169-slot-axes .btc628169-axes-native-bars{
    grid-column:1!important;grid-row:auto!important;
  }
}
