.vhxh-stack {
  min-width: 0;
  min-height: 0;
  display: flex;
}

.vhxh-stack[data-vhxh] > .module-body {
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0.65rem;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.vhxh-stack[data-vhxh] > .module-body > .grp {
  position: relative;
  gap: 0.3rem;
  padding: 0.45rem 0.65rem;
  border: var(--border-panel);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-panel-top), var(--color-panel) 28%, var(--alpha-deep-011435-97));
  box-shadow: none;
}

.vhxh-stack[data-vhxh] .grp .grp__head {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-height: 2rem;
}

.vhxh-stack .grp__head-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0.1rem solid transparent;
  border-radius: var(--radius-md);
  color: var(--tone);
  background: transparent;
  box-shadow: none;
}

.vhxh-stack .grp__head-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.vhxh-stack[data-vhxh] .grp .grp__head-title {
  overflow: visible;
  white-space: normal;
  font-size: var(--text-panel-title);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-text);
}

.vhxh-stack .grp__head-period {
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  font-size: var(--text-md);
  border: 0.0625rem solid transparent;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-period-badge-top), var(--color-period-badge-bottom));
  box-shadow: none;
}

.vhxh-stack .grp__head-period svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-text);
}

.vhxh-stack[data-vhxh] .grp--tree .tree__total {
  flex: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.6rem;
  padding: 0.3rem 0.55rem;
  border: 0.0625rem solid color-mix(in srgb, var(--tone) 26%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--tone) 7%, var(--color-panel));
  box-shadow: none;
}

.vhxh-stack .tree__total-icon {
  flex: none;
  display: flex;
  color: var(--tone);
}

.vhxh-stack .tree__total-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.vhxh-stack[data-vhxh] .grp--tree .tree__total b {
  font-size: var(--text-kpi);
  white-space: nowrap;
  color: var(--tone);
}

.vhxh-stack[data-vhxh] .grp--tree .tree__total > span {
  flex: 1;
  padding-left: 0.6rem;
  border-left: 0.0625rem solid color-mix(in srgb, var(--tone) 26%, transparent);
  color: var(--color-text);
}

.vhxh-stack .tree__total-rule {
  display: none;
}

.vhxh-stack[data-vhxh] .grp--tree .tree__branches {
  margin-left: 0.55rem;
  padding: 0.1rem 0;
  gap: 0.15rem;
  justify-content: space-evenly;
  border-color: color-mix(in srgb, var(--tone) 32%, transparent);
}

.vhxh-stack[data-vhxh] .grp--tree .tree__row {
  gap: 0.4rem;
  min-height: 1.4rem;
}

.vhxh-stack[data-vhxh] .grp--tree .tree__stub {
  width: 0.35rem;
  background: var(--tone);
}

.vhxh-stack .tree__stub::after {
  right: 0;
  background: var(--tone);
  box-shadow: none;
}

.vhxh-stack .tree__icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.75rem;
  height: 1.75rem;
  border: 0.0625rem solid color-mix(in srgb, var(--tone) 26%, transparent);
  border-radius: 50%;
  color: var(--tone);
  background: transparent;
}

.vhxh-stack .tree__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.vhxh-stack[data-vhxh] .grp--tree .tree__lbl {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: 1.2;
}

.vhxh-stack[data-vhxh] .grp--tree .tree__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-width: 8rem;
  padding: 0.18rem 0.4rem;
  border: 0.0625rem solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-xl);
  background: color-mix(in srgb, var(--tone) 9%, var(--color-panel));
}

.vhxh-stack[data-vhxh] .grp--tree .tree__unit {
  margin-left: 0.2rem;
  font-size: var(--text-md);
  color: var(--color-text);
}

.vhxh-stack .brief {
  gap: 0.25rem;
  justify-content: space-evenly;
}

.vhxh-stack[data-vhxh] .grp--brief .brief__line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.45rem;
  border: 0.0625rem solid color-mix(in srgb, var(--tone) 26%, transparent);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: 1.25;
  background: color-mix(in srgb, var(--tone) 6%, var(--color-panel));
}

.vhxh-stack .brief__icon {
  position: static;
  display: grid;
  place-items: center;
  flex: 0 0 1.55rem;
  height: 1.55rem;
  border: 0.0625rem solid transparent;
  border-radius: 50%;
  box-shadow: none;
}

.vhxh-stack .brief__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
